You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/11/18 22:05:15 UTC
[jira] Commented: (AXIS2-4888) The org.apache.axis2:axis2 Maven
artifact should not have a classifier
[ https://issues.apache.org/jira/browse/AXIS2-4888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933562#action_12933562 ]
Andreas Veithen commented on AXIS2-4888:
----------------------------------------
Analysis:
Just before the 1.5.3 I added an assembly (src/main/assembly/dists.xml) that produces the directory structure (distributions+MD5+PGP) that needs to be deployed to www.apache.org/dist. This assembly uses ${settings.localRepository} because the checksum and signature files can only be retrieved from the local repository. This property is only supported in maven-assembly-plugin >= 2.2. However, starting with version 2.2, maven-assembly-plugin uses a different approach to generate artifacts without classifiers [1]. After upgrading to 2.2 for the 1.5.3 release, the axis2.jar got a classifier ('jar') while in previous releases it had no classifier.
It should be noted that it is in general not a good idea to use org.apache.axis2:axis2 as a Maven dependency because it doesn't declare its dependencies. Instead, individual modules (such as axis2-kernel) should be used as dependencies. axis2.jar is useful mainly for projects that don't use Maven, and for these projects, the fact that there is an additional '-jar' in the name is not a big issue.
[1] http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
> The org.apache.axis2:axis2 Maven artifact should not have a classifier
> ----------------------------------------------------------------------
>
> Key: AXIS2-4888
> URL: https://issues.apache.org/jira/browse/AXIS2-4888
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: N/A
> Reporter: David J. M. Karlsen
> Priority: Minor
>
> The jar at http://repo2.maven.org/maven2/org/apache/axis2/axis2/1.5.3/ is badly name.
> It's jar.jar and should be .jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org