The VM_... errors are really just warnings and can be ignored. I'm not able to reproduce the problems with mvn -X compile on a new archetpye though. What are the stack traces?
- Brett On 11/2/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote: > Hi, thanks for responding. The files in the maven-2.0-bin.tar.gz file > I downloaded are dated 2005-10-18. > > I just cleared out my ~/.m2 directory and did: > > cd ~ > mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app > cd my-app > mvn -X compile > > stdout and stderr for each of the mvn commands attached. > > mvn -X archetype:create gives me an error which I only just noticed: > > [ERROR] ResourceManager : unable to find resource > 'VM_global_library.vm' in any resource loader. > > but reports BUILD SUCCESSFUL at the end. > > mvn -X compile reports the same error with some stack traces. Hope it helps. > > Thanks v. much, > Jeremy > > On 10/31/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Hi Jeremy, > > > > I've never seen this one. Did re-running continue to exhibit this? > > What about using -X? > > > > What version of Maven are you using? > > > > Thanks, > > Brett > > > > On 10/27/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote: > > > Hi, I'm a Maven newbie. I just downloaded Maven2 and started going > > > through 'Getting started'. But got stuck on mvn compile. It failed to > > > build the model from plexus utils 1.0.4. > > > > > > Any help really appreciated. Thx. Jeremy > > > > > > This is the output: > > > > > > [INFO] Scanning for projects... > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [INFO] Building Maven Quick Start Archetype > > > [INFO] task-segment: [compile] > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: > > > checking for updates from central > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.pom > > > 888b downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom > > > 6K downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.jar > > > 10K downloaded > > > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: > > > checking for updates from central > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.pom > > > 1K downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.jar > > > 13K downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom > > > 2K downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom > > > 8K downloaded > > > Downloading: > > > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom > > > 6K downloaded > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [ERROR] BUILD ERROR > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [INFO] Error building POM (may not be this project's POM). > > > > > > > > > Project ID: org.codehaus.plexus:plexus-utils > > > > > > Reason: Failed to build model from file > > > '/home/hughesj/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom'. > > > Error: 'null' > > > > > > > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [INFO] For more information, run Maven with the -e switch > > > [INFO] > > > ---------------------------------------------------------------------------- > > > [INFO] Total time: 14 seconds > > > [INFO] Finished at: Wed Oct 26 15:14:06 BST 2005 > > > [INFO] Final Memory: 3M/7M > > > [INFO] > > > ---------------------------------------------------------------------------- > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
