Great. So I can exclude the dependencies of my dependencies. That'll do it!
Regards, -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Carlos Sanchez Skickat: den 27 december 2005 16:35 Till: Maven Users List Ämne: Re: LOTS of dependencies just not found You can exclude dependencies by yourself using <exclusions> Faulty poms are automatically ignored On 12/27/05, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > Hi > > I actually would prefer that dependencies with incomplete and faulty POMs > be discarded. > Because today all I get is messages on errors and warnings, and there is not > a thing I can do to correct them myself. Spending the minutes that remains > of the workday when all the other fixing and trixing around maven publishing > issues on a JIRA.... well, I have to check if that is OK with my employer ;) > Better to get a message: "Sorry, the dependency you are requesting has > an incomplete or non-valid POM. Choose another version" > > Regards, > > > -----Ursprungligt meddelande----- > Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Carlos Sanchez > Skickat: den 27 december 2005 16:18 > Till: Maven Users List > Ämne: Re: LOTS of dependencies just not found > > Well, we could prevent the upload of some artifacts whose dependencies > are not available, but then you would complain about them being > missing, it's a matter of taste. > > Some pointers: > http://maven.apache.org/guides/mini/guide-maven-evangelism.html > http://maven.apache.org/guides/mini/guide-ibiblio-upload.html > http://jira.codehaus.org/browse/MNG-1689 > > > On 12/27/05, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > > Trying to introduce Maven2 (2.0.1) in my organization, the idea is great, > > but alas I find > > the practice to be somewhat dissatisfying. > > > > Trace of a perfectly normal use-case below. POM is very simple with a few > > dependencies, > > but still the number of 'WARNING', 'relocated' and 'missing' is far too > high > > for me to > > dare present it for my fellow programmers. > > > > What can you do about this? > > Should I abandon Maven2 as a tool entirely or just wait for it to mature? > > I really need advice on this, because right now it feels as if I'm > spending > > most effort in manually installing missing libraries and dependencies and > > trying to resolve things that just should work. Out of the box. > > > > You probably can argue that the dependencies and POMs are the > responsibility > > of the ones publishing their work at ibiblio. True. > > But if they can't handle it, well then there's has to be some kind of > > control or validation of the poms to ensure the 'dependencies of the > > dependencies' really exist. Because if this goes on, I won't be the only > one > > to doubt the usability of Maven2 > > > > Regards, > > > > /C > > > > > > > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'eclipse'. > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Building Maven Webapp Archetype > > [INFO] task-segment: [eclipse:eclipse] > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Preparing eclipse:eclipse > > [INFO] No goals needed for project - skipping > > Downloading: > > http://repo1.maven.org/maven2/asn1-ber/asn1-codec/0.3/asn1-codec-0.3.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [WARNING] While downloading servletapi:servletapi:2.3 > > This artifact has been relocated to javax.servlet:servlet-api:2.3. > > > > > > [WARNING] While downloading jcifs:jcifs:1.2.6 > > This artifact has been relocated to org.samba.jcifs:jcifs:1.2.6. > > > > > > [WARNING] POM for 'springframework:spring-mock:pom:1.2.5' is invalid. It > > will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > > Downloading: > > > http://repo1.maven.org/maven2/xdoclet-plugins/xdoclet-plugin-qtags/${pom.cur > > rentVersion}/xdoclet-plugin-qtags-${pom.currentVersion}.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20051211.11 > > 4207.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [WARNING] While downloading servletapi:servletapi:2.3 > > This artifact has been relocated to javax.servlet:servlet-api:2.3. > > > > > > [WARNING] While downloading jstl:jstl:1.0.6 > > This artifact has been relocated to javax.servlet:jstl:1.0.6. > > > > > > Downloading: > > > http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.1/xmlParserAPIs-2.6.1 > > .pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > http://repo1.maven.org/maven2/xerces/xercesImpl/2.2.1/xercesImpl-2.2.1.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [WARNING] While downloading xml-apis:xml-apis:2.0.2 > > This artifact has been relocated to xml-apis:xml-apis:1.0.b2. > > > > > > [WARNING] While downloading icu4j:icu4j:2.6.1 > > This artifact has been relocated to com.ibm.icu:icu4j:2.6.1. > > > > > > [WARNING] While downloading servletapi:servletapi:2.4 > > This artifact has been relocated to javax.servlet:servlet-api:2.4. > > > > > > [WARNING] While downloading tagsoup:tagsoup:0.9.7 > > This artifact has been relocated to > org.ccil.cowan.tagsoup:tagsoup:0.9.7. > > > > > > [WARNING] POM for 'picocontainer:picocontainer:pom:1.0' is invalid. It > will > > be ignored for artifact resolution. Reason: Parse error reading POM. > Reason: > > expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</url>\n > > <logo>http://codehaus.org/codehaus-small.gif</... @13:55) > > [WARNING] POM for 'dom4j:dom4j:pom:1.4-dev-8' is invalid. It will be > ignored > > for artifact resolution. Reason: Parse error reading POM. Reason: TEXT > must > > be immediately followed by END_TAG and not START_TAG (position: START_TAG > > seen ...<artifactId>junit<artifactId>... @47:36) > > Downloading: > > > http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-04/groovy-all-1.0-js > > r-04.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/xpp3/xpp3/1.1.3.4-RC8_min/xpp3-1.1.3.4-RC8_min > > .pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [WARNING] POM for 'picocontainer:picocontainer:pom:1.0' is invalid. It > will > > be ignored for artifact resolution. Reason: Parse error reading POM. > Reason: > > expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</url>\n > > <logo>http://codehaus.org/codehaus-small.gif</... @13:55) > > Downloading: > > http://repo1.maven.org/maven2/freemarker/freemarker/2.3/freemarker-2.3.pom > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20051211.11 > > 4207.jar > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/xpp3/xpp3/1.1.3.4-RC8_min/xpp3-1.1.3.4-RC8_min > > .jar > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/groovy/groovy-all/1.0-jsr-04/groovy-all-1.0-js > > r-04.jar > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/xdoclet-plugins/xdoclet-plugin-qtags/${pom.cur > > rentVersion}/xdoclet-plugin-qtags-${pom.currentVersion}.jar > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > Downloading: > > http://repo1.maven.org/maven2/freemarker/freemarker/2.3/freemarker-2.3.jar > > [WARNING] Unable to get resource from repository central > > (http://repo1.maven.org/maven2) > > [INFO] > > > ---------------------------------------------------------------------------- > > [ERROR] BUILD ERROR > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Failed to resolve artifact. > > > > required artifacts missing: > > generama:qdox:jar:20051211.114207 > > xpp3:xpp3:jar:1.1.3.4-RC8_min > > groovy:groovy-all:jar:1.0-jsr-04 > > xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} > > freemarker:freemarker:jar:2.3 > > > > for the artifact: > > ki.meb.coins:accesscontrol:war:1.0-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Total time: 28 seconds > > [INFO] Finished at: Tue Dec 27 15:45:18 CET 2005 > > [INFO] Final Memory: 3M/6M > > [INFO] > > > ---------------------------------------------------------------------------- > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
