You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jane Young (JIRA)" <ji...@codehaus.org> on 2009/10/26 14:13:26 UTC
[jira] Created: (MNG-4407) Central repository containing bad pom
and missing artifact
Central repository containing bad pom and missing artifact
----------------------------------------------------------
Key: MNG-4407
URL: http://jira.codehaus.org/browse/MNG-4407
Project: Maven 2
Issue Type: Bug
Components: Artifacts and Repositories
Affects Versions: 2.x
Reporter: Jane Young
I have a pom with the following dependency:
<dependencies>
<dependency>
<groupId>javax.xml.soap</groupId>
<artifactId>saaj-api</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
This artifact is located in the maven central repository:
http://repo1.maven.org/maven2/javax/xml/soap/saaj-api/1.3
When Maven tries to download this artifact, it also tries to download the transitive dependency and fails with the following missing artifact:
Missing:
----------
1) javax.activation:activation:jar:1.0.2
Try downloading the file manually from:
http://java.sun.com/products/javabeans/glasgow/jaf.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -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.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) maven.test:saaj-dependency:jar:1.0
2) javax.xml.soap:saaj-api:jar:1.3
3) javax.activation:activation:jar:1.0.2
----------
1 required artifact is missing.
for artifact:
maven.test:saaj-dependency:jar:1.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
If you take a look at http://repo1.maven.org/maven2/activation/activation/1.0.2/, it's missing the jar.
The correct dependency in saaj-api should be:
<dependency>
<!-- 1.0.2 would do, but that's not available in the repository -->
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
</dependency>
--
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
[jira] Closed: (MEV-640) Central repository containing bad pom and
missing artifact
Posted by "Juven Xu (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEV-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juven Xu closed MEV-640.
------------------------
Resolution: Won't Fix
Assignee: Juven Xu
1. we don't update POM since that might break people's builds
2. activation-1.0.2.jar is not there because of license issue
> Central repository containing bad pom and missing artifact
> ----------------------------------------------------------
>
> Key: MEV-640
> URL: http://jira.codehaus.org/browse/MEV-640
> Project: Maven Evangelism
> Issue Type: Bug
> Components: Dependencies
> Reporter: Jane Young
> Assignee: Juven Xu
>
> I have a pom with the following dependency:
> <dependencies>
> <dependency>
> <groupId>javax.xml.soap</groupId>
> <artifactId>saaj-api</artifactId>
> <version>1.3</version>
> </dependency>
> </dependencies>
> This artifact is located in the maven central repository:
> http://repo1.maven.org/maven2/javax/xml/soap/saaj-api/1.3
> When Maven tries to download this artifact, it also tries to download the transitive dependency and fails with the following missing artifact:
> Missing:
> ----------
> 1) javax.activation:activation:jar:1.0.2
> Try downloading the file manually from:
> http://java.sun.com/products/javabeans/glasgow/jaf.html
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -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.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) maven.test:saaj-dependency:jar:1.0
> 2) javax.xml.soap:saaj-api:jar:1.3
> 3) javax.activation:activation:jar:1.0.2
> ----------
> 1 required artifact is missing.
> for artifact:
> maven.test:saaj-dependency:jar:1.0
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
> If you take a look at http://repo1.maven.org/maven2/activation/activation/1.0.2/, it's missing the jar.
> The correct dependency in saaj-api should be:
> <dependency>
> <!-- 1.0.2 would do, but that's not available in the repository -->
> <groupId>javax.activation</groupId>
> <artifactId>activation</artifactId>
> <version>1.1</version>
> </dependency>
--
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
[jira] Moved: (MEV-640) Central repository containing bad pom and
missing artifact
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEV-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann moved MNG-4407 to MEV-640:
--------------------------------------------
Version: 1.3
Artifact ID: saaj-api
Complexity: (was: Intermediate)
Component/s: (was: Artifacts and Repositories)
Dependencies
Priority: (was: Major)
Affects Version/s: (was: 2.x)
Group ID: javax.xml.soap
Workflow: jira (was: Maven New)
Key: MEV-640 (was: MNG-4407)
Project: Maven Evangelism (was: Maven 2)
> Central repository containing bad pom and missing artifact
> ----------------------------------------------------------
>
> Key: MEV-640
> URL: http://jira.codehaus.org/browse/MEV-640
> Project: Maven Evangelism
> Issue Type: Bug
> Components: Dependencies
> Reporter: Jane Young
>
> I have a pom with the following dependency:
> <dependencies>
> <dependency>
> <groupId>javax.xml.soap</groupId>
> <artifactId>saaj-api</artifactId>
> <version>1.3</version>
> </dependency>
> </dependencies>
> This artifact is located in the maven central repository:
> http://repo1.maven.org/maven2/javax/xml/soap/saaj-api/1.3
> When Maven tries to download this artifact, it also tries to download the transitive dependency and fails with the following missing artifact:
> Missing:
> ----------
> 1) javax.activation:activation:jar:1.0.2
> Try downloading the file manually from:
> http://java.sun.com/products/javabeans/glasgow/jaf.html
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -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.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> Path to dependency:
> 1) maven.test:saaj-dependency:jar:1.0
> 2) javax.xml.soap:saaj-api:jar:1.3
> 3) javax.activation:activation:jar:1.0.2
> ----------
> 1 required artifact is missing.
> for artifact:
> maven.test:saaj-dependency:jar:1.0
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
> If you take a look at http://repo1.maven.org/maven2/activation/activation/1.0.2/, it's missing the jar.
> The correct dependency in saaj-api should be:
> <dependency>
> <!-- 1.0.2 would do, but that's not available in the repository -->
> <groupId>javax.activation</groupId>
> <artifactId>activation</artifactId>
> <version>1.1</version>
> </dependency>
--
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