[Design the new POJO MicroContainer] - Re: Migration to maven
by alesj
I get the following error while running this: 'C:\projects\microcontainer>mvn install'
| [INFO] Scanning for projects...
| [INFO] ------------------------------------------------------------------------
| [ERROR] FATAL ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Error building POM (may not be this project's POM).
|
|
| Project ID: jboss:jboss-container
| POM Location: C:\projects\microcontainer\container\pom.xml
| Validation Messages:
|
| [0] 'dependencies.dependency.version' is missing for jboss:jbossxb
|
|
| Reason: Failed to validate POM
|
|
| [INFO] ------------------------------------------------------------------------
| [INFO] Trace
| org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
| at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
| 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 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to validate POM
| at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:949)
| at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:760)
| at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
| at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
| at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
| at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
| at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
| at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
| ... 11 more
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: < 1 second
| [INFO] Finished at: Sun Apr 01 09:41:31 CEST 2007
| [INFO] Final Memory: 1M/2M
| [INFO] ------------------------------------------------------------------------
|
What am I missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033508#4033508
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033508
17 years, 8 months