Please do

 mvn dependency:tree > deps.txt
cat deps.txt | grep -B 10 javax.mail

and see who is transitively depending on javax.mail

On Sun, Jul 10, 2011 at 6:54 AM, Supun Malinga <sup...@wso2.com> wrote:

> Hi all,
>
> This seems to be a transitive dependency. Yesterday we got the same error
> for obit/aws bundle. When I searched old build logs found that it had been
> downloading version *1.4.1* but somehow the transitive dependency has
> updated to version *1.4.4*. I'm not sure how exactly this happens but this
> is a really bad situation. We need to manage these transitive dependencies
> properly and be done with it.
>
> However as as azzez pointed out yesterday version 1.4.4 is available in
> java.net repos but not in maven main repo. See [1] & [2],
> [1] http://repo1.maven.org/maven2/javax/mail/mail/
> [2] http://download.java.net/maven/2/javax/mail/mail/
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building WSO2 Carbon - All Mediators Server Feature
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/mediators/3.2.0/mediators-3.2.0.pom
> 5K downloaded  (mediators-3.2.0.pom)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/carbon-components/3.2.0/carbon-components-3.2.0.pom
> 97K downloaded  (carbon-components-3.2.0.pom)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.2.0.v20090520-1800.pom
> 125K downloaded  (org.eclipse.osgi.services-3.2.0.v20090520-1800.pom)
> [WARNING] Unable to get resource
> 'org.eclipse.osgi:org.eclipse.osgi.services:pom:3.2.0.v20090520-1800' from
> repository wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/): Error retrieving
> checksum file for
> org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.2.0.v20090520-1800.pom
> Downloading:
> http://repo1.maven.org/maven2/org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.2.0.v20090520-1800.pom
> [INFO] Unable to find resource
> 'org.eclipse.osgi:org.eclipse.osgi.services:pom:3.2.0.v20090520-1800' in
> repository central (http://repo1.maven.org/maven2)
>  Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/carbon-orbit-parent/3.2.0/carbon-orbit-parent-3.2.0.pom
> 54K downloaded  (carbon-orbit-parent-3.2.0.pom)
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//java-cup/java-cup/0.0/java-cup-0.0.pom
> 2K downloaded  (java-cup-0.0.pom)
> [WARNING] Unable to get resource 'java-cup:java-cup:pom:0.0' from
> repository wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/): Error retrieving
> checksum file for java-cup/java-cup/0.0/java-cup-0.0.pom
> Downloading:
> http://dist.wso2.org/maven2//java-cup/java-cup/0.0/java-cup-0.0.pom
> [INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
> wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/java-cup/java-cup/0.0/java-cup-0.0.pom
> [INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
> central (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//JLex/JLex/0.0/JLex-0.0.pom
> 2K downloaded  (JLex-0.0.pom)
> [WARNING] Unable to get resource 'JLex:JLex:pom:0.0' from repository
> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/):
> Error retrieving checksum file for JLex/JLex/0.0/JLex-0.0.pom
> Downloading: http://dist.wso2.org/maven2//JLex/JLex/0.0/JLex-0.0.pom
> [INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository wso2-m2 (
> http://dist.wso2.org/maven2/)
> Downloading: http://repo1.maven.org/maven2/JLex/JLex/0.0/JLex-0.0.pom
> [INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository central (
> http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//net/sf/saxon/saxon/8.9/saxon-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon:pom:8.9' in repository
> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon/8.9/saxon-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon:pom:8.9' in repository
> wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon/8.9/saxon-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon:pom:8.9' in repository
> central (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> 2K downloaded  (saxon-dom-8.9.pom)
> [WARNING] Unable to get resource 'net.sf.saxon:saxon-dom:pom:8.9' from
> repository wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/): Error retrieving
> checksum file for net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-dom:pom:8.9' in
> repository wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-dom:pom:8.9' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> 2K downloaded  (saxon-xqj-8.9.pom)
> [WARNING] Unable to get resource 'net.sf.saxon:saxon-xqj:pom:8.9' from
> repository wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/): Error retrieving
> checksum file for net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-xqj:pom:8.9' in
> repository wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-xqj:pom:8.9' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/autoscale-mediator/3.2.0/autoscale-mediator-3.2.0.pom
> 1K downloaded  (autoscale-mediator-3.2.0.pom)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/service-stubs/3.2.0/service-stubs-3.2.0.pom
> 18K downloaded  (service-stubs-3.2.0.pom)
> [WARNING] Overriding profile: 'product-wsas' (source: pom) with new
> instance from source: pom
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/event/3.2.0/event-3.2.0.pom
> 5K downloaded  (event-3.2.0.pom)
> Downloading:
> http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/qpid/3.2.0/qpid-3.2.0.pom
> 3K downloaded  (qpid-3.2.0.pom)
> Downloading:
> http://repo1.maven.org/maven2/javax/mail/mail/1.4.4/mail-1.4.4.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
>  1) javax.mail:mail:jar:1.4.4
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=javax.mail -DartifactId=mail
> -Dversion=1.4.4 -Dpackaging=jar -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=javax.mail -DartifactId=mail
> -Dversion=1.4.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.wso2.carbon:org.wso2.carbon.mediators.server.feature:pom:3.2.1
>   2) org.wso2.carbon:org.wso2.carbon.mediator.autoscale:jar:3.2.1
>   3) com.amazonaws:aws-java-sdk:jar:1.2.3
>   4) javax.mail:mail:jar:1.4.4
>
> ----------
> 1 required artifact is missing.
>
> thanks,
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com <sup...@wso2.com>
> mobile - 071 56 91 321
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to