maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Attached files not getting unique identifier when deployed
Date Mon, 03 May 2010 23:53:38 GMT
it looks like your jar file has no classifier.  A plain jar file is
being uploaded.  Can you post the part of the POM where you are defining
the classifier artifact, and attaching it?

-Marshall

On 5/3/2010 7:09 PM, Michael Delaney wrote:
> All,
>
> I have a simple maven project that generates a jar file; with the
> classifier 'config'. When I call the 'deploy' phase, the pom file is
> uploaded with unique identifier (as expected) but the jar file is not
> (see examples below); the maven metadata is updated with the timestamp
> as well. When I put a dependency on the jar file, Maven can not
> resolve the artifact because it's looking for the jar file with the
> timestamp (as denoted by the maven-metadata file).
>
> Has anyone else seen this issue? I'm using Maven 2.2.1 on Solaris.
>
> [Example]
> -rw-r--r--   1 archiva  archiva      382 May  3 18:47 maven-metadata.xml
> -rw-r--r--   1 archiva  archiva       52 May  3 18:47
> maven-metadata.xml.md5
> -rw-r--r--   1 archiva  archiva       60 May  3 18:47
> maven-metadata.xml.sha1
> -rw-r--r--   1 archiva  archiva     1106 May  3 18:45
> myApplication-1.0.0-20100503.224504-1.pom
> -rw-r--r--   1 archiva  archiva       32 May  3 18:45
> myApplication-1.0.0-20100503.224504-1.pom.md5
> -rw-r--r--   1 archiva  archiva       40 May  3 18:45
> myApplication-1.0.0-20100503.224504-1.pom.sha1
> -rw-r--r--   1 archiva  archiva     1106 May  3 18:45
> myApplication-1.0.0-20100503.224537-2.pom
> -rw-r--r--   1 archiva  archiva       32 May  3 18:45
> myApplication-1.0.0-20100503.224537-2.pom.md5
> -rw-r--r--   1 archiva  archiva       40 May  3 18:45
> myApplication-1.0.0-20100503.224537-2.pom.sha1
> -rw-r--r--   1 archiva  archiva     4080 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.jar
> -rw-r--r--   1 archiva  archiva       32 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.jar.md5
> -rw-r--r--   1 archiva  archiva       40 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.jar.sha1
> -rw-r--r--   1 archiva  archiva      757 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.pom
> -rw-r--r--   1 archiva  archiva       32 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.pom.md5
> -rw-r--r--   1 archiva  archiva       40 May  3 18:47
> myApplication-1.0.0-20100503.224708-3.pom.sha1
> -rw-r--r--   1 archiva  archiva     4157 May  3 18:45
> myApplication-1.0.0-SNAPSHOT-config.jar
> -rw-r--r--   1 archiva  archiva       32 May  3 18:45
> myApplication-1.0.0-SNAPSHOT-config.jar.md5
> -rw-r--r--   1 archiva  archiva       40 May  3 18:45
> myApplication-1.0.0-SNAPSHOT-config.jar.sha1
>
> [maven-metadata.xml]
> <?xml version="1.0" encoding="UTF-8"?>
>
> <metadata>
> <groupId>com.mycompany</groupId>
> <artifactId>myApplication</artifactId>
> <version>1.0.0-SNAPSHOT</version>
> <versioning>
> <snapshot>
> <buildNumber>3</buildNumber>
> <timestamp>20100503.224708</timestamp>
> </snapshot>
> <lastUpdated>20100503224708</lastUpdated>
> </versioning>
> </metadata>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message