[jboss-dev] Re: WARNING: Mavenizing Thirdparty (2nd try)
Adrian Brock
abrock at redhat.com
Thu Mar 27 09:17:20 EDT 2008
I get the same results as Dimitris.
Scott probably got a different result because of the "stale"
local maven repository issue.
I blew away my local maven repository before starting so I
could see it downloading the latest component-matrix snapshot (build 13)
createthirdparty:
[java] [INFO] Scanning for projects...
[java] [INFO] snapshot
org.jboss.jbossas:jboss-as-component-matrix:5.0.0-SNAPSHOT: checking for
updates from snapshots.jboss.org
[java] Downloading:
http://snapshots.jboss.org/maven2/org/jboss/jbossas/jboss-as-component-matrix/5.0.0-SNAPSHOT/jboss-as-component-matrix-5.0.0-20080326.001330-13.pom
[java] 1/41K
[java]
2/41K4/41K5/41K7/41K8/41K9/41K11/41K12/41K14/41K15/41K16/41K18/41K19/41K21/41K22/41K24/41K25/41K26/41K28/41K29/41K31/41K32/41K33/41K35/41K36/41K40/41K41/41K41K downloaded[INFO] snapshot org.jboss:jboss-parent:4-SNAPSHOT: checking for updates from snapshots.jboss.org
[java] Downloading:
http://snapshots.jboss.org/maven2/org/jboss/jboss-parent/4-SNAPSHOT/jboss-parent-4-20080321.164951-5.pom
[java] 1/11K
[java] 4/11K5/11K7/11K8/11K9/11K11/11K11K downloaded[INFO]
------------------------------------------------------------------------
[java] [ERROR] FATAL ERROR
[java] [INFO]
------------------------------------------------------------------------
[java] [INFO] Error building POM (may not be this project's POM).
[java] Project ID: org.jboss.jbossas:jboss-as-thirdparty
[java] POM Location: /home/ejort/jboss-head/thirdparty/pom.xml
[java] Validation Messages:
[java] [0] 'dependencies.dependency.version' is missing for
sun-jaxws:jaxws-rt
[java] [1] 'dependencies.dependency.version' is missing for
sun-jaxws:sjsxp
[java] [2] 'dependencies.dependency.version' is missing for
sun-jaxws:saaj-api
[java] [3] 'dependencies.dependency.version' is missing for
sun-jaxws:http
[java] [4] 'dependencies.dependency.version' is missing for
sun-jaxws:FastInfoset
[java] [5] 'dependencies.dependency.version' is missing for
jboss.jbossws:jbossws-context
[java] [6] 'dependencies.dependency.version' is missing for
sun-jaxws:stax-ex
[java] [7] 'dependencies.dependency.version' is missing for
sun-jaxws:saaj-impl
[java] [8] 'dependencies.dependency.version' is missing for
sun-jaxws:streambuffer
[java] [9] 'dependencies.dependency.version' is missing for
wutka-dtdparser:dtdparser
[java] [10] 'dependencies.dependency.version' is missing for
sun-jaxws:jaxws-tools
[java] [11] 'dependencies.dependency.version' is missing for
jboss.jbossws:jbossws-client
[java] [12] 'dependencies.dependency.version' is missing for
sun-jaxws:jsr173_api
[java] [13] 'dependencies.dependency.version' is missing for
jboss.messaging:jboss-messaging-client
[java] [14] 'dependencies.dependency.version' is missing for
xdoclet:xjavadoc
[java] [15] 'dependencies.dependency.version' is missing for
sun-jaxws:jsr250-api
None of these have a version in the component-matrix pom.
On Thu, 2008-03-27 at 06:07 -0500, Paul Gier wrote:
> That looks like it's not finding an up to date component-matrix pom for some
> reason. You can try installing that pom locally, and see if these errors go
> away. I brought up possibly moving the dependencyManagement stuff back into the
> app server poms on the build forum
> (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=132452).
>
> Do you get the same thing if you run "mvn package" from the thirdparty directory?
>
> Scott M Stark wrote:
> > Its not working for me. I just threw away my thirdparty, updated it from
> > svn and then tried to run:
> >
> > [starksm at succubus build]$ ant -f build-maven.xml
> >
> > Buildfile: build-maven.xml
> >
> > check.inhibit.downloads:
> >
> > check.proxy:
> >
> > set.proxy.withoutauth:
> >
> > set.proxy.auth:
> >
> > set.proxy:
> >
> > createthirdparty:
> > [java] [INFO] Scanning for projects...
> > [java] [INFO]
> > ------------------------------------------------------------------------
> > [java] [ERROR] FATAL ERROR
> > [java] [INFO]
> > ------------------------------------------------------------------------
> > [java] [INFO] Error building POM (may not be this project's POM).
> >
> >
> > [java] Project ID: org.jboss.jbossas:jboss-as-thirdparty
> > [java] POM Location: /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> > [java] Validation Messages:
> >
> > [java] [0] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:integration-mdb20-selector
> > [java] [1] 'dependencies.dependency.version' is missing for
> > jboss.web:jsp-api
> > [java] [2] 'dependencies.dependency.version' is missing for
> > jboss.web:jasper-jdt
> > [java] [3] 'dependencies.dependency.version' is missing for
> > sun-jaxws:jaxws-rt
> > [java] [4] 'dependencies.dependency.version' is missing for
> > apache-slide:jakarta-slide-webdavlib
> > [java] [5] 'dependencies.dependency.version' is missing for
> > org.jboss.cl:jboss-classloader
> > [java] [6] 'dependencies.dependency.version' is missing for
> > jboss.web:servlet-api
> > [java] [7] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:integration-mdb20
> > [java] [8] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-vfs
> > [java] [9] 'dependencies.dependency.version' is missing for
> > sun-jaxws:sjsxp
> > [java] [10] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:integration-mdb20-userTransactionDups
> > [java] [11] 'dependencies.dependency.version' is missing for
> > jacorb:jacorb_g
> > [java] [12] 'dependencies.dependency.version' is missing for
> > sun-jaxws:saaj-api
> > [java] [13] 'dependencies.dependency.version' is missing for
> > org.jboss:jboss-mdr
> > [java] [14] 'dependencies.dependency.version' is missing for
> > apache-myfaces:myfaces-api
> > [java] [15] 'dependencies.dependency.version' is missing for
> > sun-jaxws:http
> > [java] [16] 'dependencies.dependency.version' is missing for
> > sun-jaxws:FastInfoset
> > [java] [17] 'dependencies.dependency.version' is missing for
> > sun-opends:OpenDS
> > [java] [18] 'dependencies.dependency.version' is missing for
> > sun-xacml:sunxacml-support
> > [java] [19] 'dependencies.dependency.version' is missing for
> > org.jboss.man:jboss-metatype
> > [java] [20] 'dependencies.dependency.version' is missing for
> > org.jboss.cl:jboss-classloading-vfs
> > [java] [21] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-client-spi
> > [java] [22] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:integration-mdb20-userTransaction
> > [java] [23] 'dependencies.dependency.version' is missing for
> > org.jboss.cl:jboss-classloading
> > [java] [24] 'dependencies.dependency.version' is missing for
> > sun-jaxws:stax-ex
> > [java] [25] 'dependencies.dependency.version' is missing for
> > jboss.common:namespace
> > [java] [26] 'dependencies.dependency.version' is missing for
> > sun-jaxb:jaxb-api
> > [java] [27] 'dependencies.dependency.version' is missing for
> > javassist:javassist
> > [java] [28] 'dependencies.dependency.version' is missing for
> > sun-jaxws:saaj-impl
> > [java] [29] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-impl
> > [java] [30] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-spi
> > [java] [31] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-vfs-spi
> > [java] [32] 'dependencies.dependency.version' is missing for
> > jboss.common:jboss-common-client
> > [java] [33] 'dependencies.dependency.version' is missing for
> > jboss.aop:jboss-aop-jdk50
> > [java] [34] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-core-spi
> > [java] [35] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-client
> > [java] [36] 'dependencies.dependency.version' is missing for
> > org.jboss.deployers:jboss-deployers-structure-spi
> > [java] [37] 'dependencies.dependency.version' is missing for
> > org.jboss:jboss-reflect
> > [java] [38] 'dependencies.dependency.version' is missing for
> > sun-jaxws:streambuffer
> > [java] [39] 'dependencies.dependency.version' is missing for
> > wutka-dtdparser:dtdparser
> > [java] [40] 'dependencies.dependency.version' is missing for
> > org.jboss:jboss-integration
> > [java] [41] 'dependencies.dependency.version' is missing for
> > jboss.aop:jboss-standalone-aspect-library-jdk50
> > [java] [42] 'dependencies.dependency.version' is missing for
> > jacorb:idl_g
> > [java] [43] 'dependencies.dependency.version' is missing for
> > sun-jaxws:jaxws-tools
> > [java] [44] 'dependencies.dependency.version' is missing for
> > sun-fi:FastInfosetUtilities
> > [java] [45] 'dependencies.dependency.version' is missing for
> > jboss.jbossws:jboss-jaxws-ext
> > [java] [46] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:integration-mdb20-durable
> > [java] [47] 'dependencies.dependency.version' is missing for
> > jboss.jbossws:jbossws-client
> > [java] [48] 'dependencies.dependency.version' is missing for
> > jboss.jbossws:jbossws-core
> > [java] [49] 'dependencies.dependency.version' is missing for
> > apache-myfaces:myfaces-impl
> > [java] [50] 'dependencies.dependency.version' is missing for
> > sun-jaxws:jsr173_api
> > [java] [51] 'dependencies.dependency.version' is missing for
> > sun-javamail:mail
> > [java] [52] 'dependencies.dependency.version' is missing for
> > org.jboss.man:jboss-managed
> > [java] [53] 'dependencies.dependency.version' is missing for
> > sun-jaxb:jaxb-xjc
> > [java] [54] 'dependencies.dependency.version' is missing for
> > jboss.jms-integration-tests:jms-integration-tests
> > [java] [55] 'dependencies.dependency.version' is missing for
> > jboss.jbossws-common:jbossws-common
> > [java] [56] 'dependencies.dependency.version' is missing for
> > jboss.remoting:jboss-remoting
> > [java] [57] 'dependencies.dependency.version' is missing for
> > sun-fi:FastInfoset
> > [java] [58] 'dependencies.dependency.version' is missing for
> > jboss.messaging:jboss-messaging-client
> > [java] [59] 'dependencies.dependency.version' is missing for
> > jboss.web:el-api
> > [java] [60] 'dependencies.dependency.version' is missing for
> > sun-jaxb:jaxb-impl
> > [java] [61] 'dependencies.dependency.version' is missing for
> > xdoclet:xjavadoc
> > [java] [62] 'dependencies.dependency.version' is missing for
> > sun-jaxws:jsr250-api
> >
> >
> > [java] Reason: Failed to validate POM for project
> > org.jboss.jbossas:jboss-as-thirdparty at
> > /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> >
> >
> > [java] [INFO]
> > ------------------------------------------------------------------------
> > [java] [INFO] Trace
> > [java] org.apache.maven.reactor.MavenExecutionException: Failed to
> > validate POM for project org.jboss.jbossas:jboss-as-thirdparty at
> > /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> > [java] at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
> > [java] at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
> > [java] at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) [java]
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > [java] at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > [java] at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > [java] at java.lang.reflect.Method.invoke(Method.java:585)
> > [java] at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > [java] at
> > org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > [java] at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > [java] at
> > org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > [java] Caused by:
> > org.apache.maven.project.InvalidProjectModelException: Failed to
> > validate POM for project org.jboss.jbossas:jboss-as-thirdparty at
> > /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> > [java] at
> > org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:996)
> >
> > [java] at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:799)
> >
> > [java] at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:476)
> >
> > [java] at
> > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
> >
> > [java] at
> > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
> > [java] at
> > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
> > [java] at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
> > [java] ... 11 more
> > [java] [INFO]
> > ------------------------------------------------------------------------
> > [java] [INFO] Total time: < 1 second
> > [java] [INFO] Finished at: Wed Mar 26 20:55:30 PDT 2008
> > [java] [INFO] Final Memory: 3M/74M
> > [java] [INFO]
> > ------------------------------------------------------------------------
> > [java] Java Result: 1
> >
> > _buildmagic:init:
> > Trying to override old definition of task property
> >
> > _buildmagic:init:local-properties:
> >
> > _buildmagic:init:buildlog:
> >
> > configure:
> > [echo] groups: default
> > [echo] modules:
> > main,bootstrap,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,jbossmq,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int
> >
> >
> > init:
> >
> > _buildmagic:modules:most:
> >
> > ======================================================================
> > == Executing 'most' in module 'main'...
> > ==
> > /home/svn/JBossHead/jboss-head/thirdparty/libraries.ent could not be found
> >
> > BUILD FAILED
> > /home/svn/JBossHead/jboss-head/tools/etc/buildmagic/buildmagic.ent:1029:
> > java.io.FileNotFoundException:
> > /home/svn/JBossHead/jboss-head/thirdparty/libraries.ent (No such file or
> > directory)
> >
> > Total time: 2 seconds
> > [starksm at succubus build]$ type mvn
> > mvn is /home/starksm/java/maven-2.0.7/bin/mvn
> > _______________________________________________
> > jboss-development mailing list
> > jboss-development at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-development
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jboss-development
mailing list