cd /tmp mvn archetype:generate -DgroupId=org.eclipse.m2e -DartifactId=lifecycle-mapping -Dversion=1.0.0 -DarchetypeArtifactId=maven-archetype-mojo cd lifecycle-mapping mvn clean install mvn install:install-file -Dfile=target/lifecycle-mapping-1.0.0.jar -DpomFile=pom.xml -DcreateChecksum -DlocalRepositoryPath=/path/to/localMavenRepo
Has worked for me!
ReplyDelete