You should be executing mvn deploy
which will deploy your project. /Anders On Tue, May 4, 2010 at 02:17, Martin Gainty <mgai...@hotmail.com> wrote: > > i usually deploy specify packaging=pom > http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html > > then deploy by specifying packaging=jar > http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html > > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Mon, 3 May 2010 19:09:56 -0400 > > From: mdela...@upromise.com > > To: users@maven.apache.org > > Subject: Attached files not getting unique identifier when deployed > > > > 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-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > _________________________________________________________________ > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. > > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2 >