[weld-issues] [JBoss JIRA] Commented: (WELDX-42) mvn install in extensions/trunk/ fails

Karel Piwko (JIRA) jira-events at lists.jboss.org
Wed Nov 4 07:41:05 EST 2009


    [ https://jira.jboss.org/jira/browse/WELDX-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493062#action_12493062 ] 

Karel Piwko commented on WELDX-42:
----------------------------------

Possible workaround it to add <version>1.0.0-SNAPSHOT</version> for <artifactId>weld-logging</version> to both servlet/int/pom.xml and logger/pom.xml.

Additionally, it is unclear to me what's artifact <i>weld-logging</i>, it looks like old name for <i>weld-logger</i> artifact.

But this version should be propagated from parent's pom. Any suggestions why this is not happening? 

> mvn install in extensions/trunk/ fails
> --------------------------------------
>
>                 Key: WELDX-42
>                 URL: https://jira.jboss.org/jira/browse/WELDX-42
>             Project: Weld Extensions
>          Issue Type: Bug
>          Components: Servlet Containers
>            Reporter: Martin Gencur
>             Fix For: Servlet Containers 1.0.0.CR3
>
>
> When I check-out http://anonsvn.jboss.org/repos/weld/extensions/trunk/ and then run "mvn install" in the root directory, maven outputs an error during compilation phase: (weld-se in the paths below means trunk/ )
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: org.jboss.weld.servlet:weld-servlet-int
> POM Location: /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
> Validation Messages:
>     [0]  'dependencies.dependency.version' is missing for org.jboss.weld:weld-logging
> Reason: Failed to validate POM for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
> 	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> 	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:597)
> 	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 for project org.jboss.weld.servlet:weld-servlet-int at /home/mgencur/Java/Weld/weld-se/servlet/int/pom.xml
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1107)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:877)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
> 	at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
> 	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
> 	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
> 	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
> 	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> 	... 11 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list