I downloaded the pluto-current-src and I am having some trouble building it. The docs distributed with the tarball tell me to use maven1 but the online docs tell me to use maven2. Neither will work for me. With maven2 I get the following error:
[EMAIL PROTECTED]:~/programs/pluto$ mvn install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue May 02 10:07:26 CDT 2006
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------
With maven1 I get this:
[EMAIL PROTECTED]:~/programs/pluto$ maven fullDeployment
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v.
1.1-beta-2
org.apache.maven.MavenException: Unknown error reading project
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:146)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java
:99)
at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java
:498)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java
:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
org.apache.maven.MavenException: Error parsing project.xml '/home/blambi/programs/pluto/project.xml'
at org.apache.maven.MavenUtils.getNonJellyProject
(MavenUtils.java:189)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:120)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:99)
at org.apache.maven.MavenSession.initializeRootProject
(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:498)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java
:581)
--- Nested Exception ---
org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'integrationUnitTest' (position: START_TAG seen ...</integrationUnitTestSourceDirectory>\r\n\r\n <integrationUnitTest>... @292:26)
at org.apache.maven.project.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:327)
at org.apache.maven.project.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:992)
at org.apache.maven.project.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:1782)
at org.apache.maven.project.Project.<init>(Project.java:122)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:185)
at org.apache.maven.MavenUtils.getProject
(MavenUtils.java:120)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:99)
at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize
(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:498)
at org.apache.maven.cli.App.main(App.java:1258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
You have encountered an unknown error running Maven.
Please help us to correct this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg 'maven -e jar'
- search the maven-user archives for the error at
http://www.mail-archive.com/[email protected]
- post the output of maven -e to JIRA at ???issueTrackingUrl??? (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above
Total time : 1 seconds
Finished at : Tuesday, May 2, 2006 10:08:09 AM CDT
Does anyone know what I'm doing wrong?
- building pluto from source Brice Lambi
- any memory leak detected? Francesco Savoia
