[ http://jira.codehaus.org/browse/MNG-2107?page=all ]
Kenney Westerhof updated MNG-2107: ---------------------------------- Fix Version/s: (was: 2.0.5) 2.0.6 > Only warn once about invalid poms > --------------------------------- > > Key: MNG-2107 > URL: http://jira.codehaus.org/browse/MNG-2107 > Project: Maven 2 > Issue Type: Improvement > Components: Artifacts and Repositories > Affects Versions: 2.0.3, 2.0.2 > Reporter: Dan Diephouse > Fix For: 2.0.6 > > > Tested this on 2.0.2 and on the 2.0.3 RC. I get warned many many times about > bad poms, it would be great if this only happened once: > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building XFire JAX-WS Support > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [WARNING] POM for 'stax:stax:pom:1.1.2-dev:test' is invalid. It will be > ignored for artifact resolution. Reason: Not a v > 4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > Downloading: > https://maven-repository.dev.java.net/nonav/repository/xfire/poms/sun-saaj-impl-2.0-ea3.pom > [WARNING] Unable to get resource from repository java.net > (https://maven-repository.dev.java.net/nonav/repository) > Downloading: http://dist.codehaus.org//xfire/poms/sun-saaj-impl-2.0-ea3.pom > [WARNING] Unable to get resource from repository codehaus > (http://dist.codehaus.org/) > Downloading: > http://cvs.apache.org/maven-snapshot-repository//xfire/poms/sun-saaj-impl-2.0-ea3.pom > [WARNING] Unable to get resource from repository apache-snapshots > (http://cvs.apache.org/maven-snapshot-repository/) > Downloading: > http://test.maven.codehaus.org/maven2//xfire/sun-saaj-impl/2.0-ea3/sun-saaj-impl-2.0-ea3.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > Downloading: > https://maven-repository.dev.java.net/nonav/repository/xfire/poms/sun-saaj-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository java.net > (https://maven-repository.dev.java.net/nonav/repository) > Downloading: http://dist.codehaus.org//xfire/poms/sun-saaj-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository codehaus > (http://dist.codehaus.org/) > Downloading: > http://cvs.apache.org/maven-snapshot-repository//xfire/poms/sun-saaj-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository apache-snapshots > (http://cvs.apache.org/maven-snapshot-repository/) > Downloading: > http://test.maven.codehaus.org/maven2//xfire/sun-saaj-api/2.0-ea3/sun-saaj-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > Downloading: > https://maven-repository.dev.java.net/nonav/repository/xfire/poms/sun-jaxws-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository java.net > (https://maven-repository.dev.java.net/nonav/repository) > Downloading: http://dist.codehaus.org//xfire/poms/sun-jaxws-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository codehaus > (http://dist.codehaus.org/) > Downloading: > http://cvs.apache.org/maven-snapshot-repository//xfire/poms/sun-jaxws-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository apache-snapshots > (http://cvs.apache.org/maven-snapshot-repository/) > Downloading: > http://test.maven.codehaus.org/maven2//xfire/sun-jaxws-api/2.0-ea3/sun-jaxws-api-2.0-ea3.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [WARNING] POM for 'stax:stax:pom:1.1.2-dev:test' is invalid. It will be > ignored for artifact resolution. Reason: Not a v > 4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > wsgen: > [delete] Deleting directory > C:\eclipse\workspace\xfire\xfire-jaxws\target\test-services > [mkdir] Created dir: > C:\eclipse\workspace\xfire\xfire-jaxws\target\test-services > 0 [main] DEBUG org.codehaus.xfire.transport.DefaultTransportManager - > Registered transport org.codehaus.xfire.transp > [EMAIL PROTECTED] > 16 [main] DEBUG org.codehaus.xfire.transport.DefaultTransportManager - > Registered transport org.codehaus.xfire.transp > [EMAIL PROTECTED] > 16 [main] DEBUG org.codehaus.xfire.transport.DefaultTransportManager - > Registered transport org.codehaus.xfire.transp > [EMAIL PROTECTED] > 32 [main] DEBUG org.codehaus.xfire.transport.DefaultTransportManager - > Registered transport org.codehaus.xfire.transp > [EMAIL PROTECTED] > echo\wrapped\Echo.java > echo\wrapped\EchoResponse.java > echo\wrapped\ObjectFactory.java > echo\wrapped\package-info.java > 2766 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.echo.EchoPortType > 2766 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.echo.EchoImpl > services\echo\EchoImpl.java > services\echo\EchoPortType.java > services\echo\EchoService.java > echo\wrapped\Echo.java > echo\wrapped\EchoResponse.java > echo\wrapped\ObjectFactory.java > echo\wrapped\package-info.java > 2954 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.headerout.EchoPortTy > pe > 2969 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.headerout.EchoImpl > services\headerout\EchoImpl.java > services\headerout\EchoPortType.java > services\headerout\EchoService.java > xfire\authenticate\fault\AuthenticationFault.java > xfire\authenticate\fault\ObjectFactory.java > xfire\authenticate\fault\package-info.java > xfire\authenticate\Authenticate.java > xfire\authenticate\AuthenticateResponse.java > xfire\authenticate\ObjectFactory.java > xfire\authenticate\package-info.java > 3157 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.auth.AuthServicePort > Type > 3157 [main] INFO org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator - > Creating class services.auth.AuthServiceImpl > services\auth\AuthServiceImpl.java > services\auth\AuthServicePortType.java > services\auth\AuthServiceService.java > services\auth\AuthenticationFault_Exception.java > [INFO] Executed tasks > [INFO] Registering compile test source root > c:\eclipse\workspace\xfire\xfire-jaxws\target\test-services > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [WARNING] POM for 'stax:stax:pom:1.1.2-dev:test' is invalid. It will be > ignored for artifact resolution. Reason: Not a v > 4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [INFO] [compiler:testCompile] > Compiling 21 source files to > c:\eclipse\workspace\xfire\xfire-jaxws\target\test-classes > [WARNING] POM for 'stax:stax:pom:1.1.2-dev:test' is invalid. It will be > ignored for artifact resolution. Reason: Not a v > 4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid. It will be > ignored for artifact resolution. Reason: N > ot a v4.0.0 POM. > [WARNING] POM for 'jdom:jdom:pom:1.0:compile' is invalid. It will be ignored > for artifact resolution. Reason: Parse erro > r reading POM. Reason: comment started on line 32 and column 9 was not closed > (position: END_TAG seen ...</dependencies> > \n</project>... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags </dependencies></pro > ject> to close start tag <dependencies> from line 6 and start tag <project> > from line 1, parser stopped on END_TAG seen > ...</dependencies>\n</project>... @40:11 > [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It > will be ignored for artifact resolution. Re > ason: Not a v4.0.0 POM. > [INFO] [surefire:test] > [INFO] Setting reports dir: > c:\eclipse\workspace\xfire\xfire-jaxws\target/surefire-reports -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira