You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by solo1970 <so...@ericsson.com> on 2008/10/22 21:20:58 UTC
Jar name
Is there a way in Archiva NOT TO alter the jar name of an uploaded
artifact???
Maybe it's not logical, but we have third party products we use and once we
package our WAR with maven, the packaged jar file should not have their
names altered.
Example:
original name: libraryxyz.jar
We upload in archiva using groupId: external.provider
artifactId: library
version:3.0
uploaded artifact: libraryxyz.jar
Once uploaded in archiva the jar name is modified and it becomes:
library-3.0.jar
Is there any way to keep it libraryxyz.jar???
sonia
--
View this message in context: http://www.nabble.com/Jar-name-tp20117937p20117937.html
Sent from the archiva-users mailing list archive at Nabble.com.
Re: Jar name
Posted by Wendy Smoak <ws...@gmail.com>.
On Wed, Oct 22, 2008 at 12:20 PM, solo1970
<so...@ericsson.com> wrote:
> Is there a way in Archiva NOT TO alter the jar name of an uploaded
> artifact???
>
> Maybe it's not logical, but we have third party products we use and once we
> package our WAR with maven, the packaged jar file should not have their
> names altered.
They need to be named this way in the repository to conform to the
expected remote repository format, or Maven won't be able to retrieve
them later. You might want to include a <finalName> element in the
pom to specify the desired final name of the artifact.
But it sounds like your real question is naming the files properly
when you package them... the war plugin has a file name mapping
feature that might help:
http://maven.apache.org/plugins/maven-war-plugin/examples/file-name-mapping.html
--
Wendy