[jira] Updated: (MNG-2107) Only warn once about invalid poms
[ 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 ... > \n... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags ject> to close start tag from line 6 and start tag > from line 1, parser stopped on END_TAG seen > ...\n... @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 ... > \n... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags ject> to close start tag from line 6 and start tag > from line 1, parser stopped on END_TAG seen > ...\n... @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
[jira] Updated: (MNG-2107) Only warn once about invalid poms
[ http://jira.codehaus.org/browse/MNG-2107?page=all ] John Casey updated MNG-2107: Fix Version: 2.0.5 > Only warn once about invalid poms > - > > Key: MNG-2107 > URL: http://jira.codehaus.org/browse/MNG-2107 > Project: Maven 2 > Type: Improvement > Components: Artifacts and Repositories > Versions: 2.0.3, 2.0.2 > Reporter: Dan Diephouse > Fix For: 2.0.5 > > > 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 ... > \n... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags ject> to close start tag from line 6 and start tag > from line 1, parser stopped on END_TAG seen > ...\n... @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 ... > \n... @40:11) caused by: java.io.EOFException: no more data > available - expected end tags ject> to close start tag from line 6 and start tag > from line 1, parser stopped on END_TAG seen > ...\n... @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 i