build break using maven
Closed this issue · 3 comments
Tried to build on my windows machine and this is what I get:
c:\tools\hrider-master>mvn pom.xml
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for h-rider:h-rider:jar:1.0.0.1
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-jar-plugin @ line 117, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 135, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:ideauidesigner-maven-plugin is missing. @ line 101, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building h-rider 1.0.0.1
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/maven-metadata.xml (473 B at 0.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/1.0-beta-1/ideauidesigner-maven-plugin-1.0-beta-1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/1.0-beta-1/ideauidesigner-maven-plugin-1.0-beta-1.pom (3 KB at 8.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/22/mojo-parent-22.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/22/mojo-parent-22.pom (19 KB at 56.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/1.0-beta-1/ideauidesigner-maven-plugin-1.0-beta-1.jar
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/ideauidesigner-maven-plugin/1.0-beta-1/ideauidesigner-maven-plugin-1.0-beta-1.jar (11 KB at 40.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.006s
[INFO] Finished at: Wed Dec 12 09:27:57 IST 2012
[INFO] Final Memory: 6M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "pom.xml". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Availabl
e lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-res
ources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, po
st-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
c:\tools\hrider-master>dir
Ignore that (newbie error).
I should have run mvn package obviously
Can I assume it worked?
yep, sorry. A newbie error
On Wed, Dec 12, 2012 at 10:04 AM, Igor Cher notifications@github.comwrote:
Can I assume it worked?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-11280044.