RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
, June 19, 2007 10:07 PM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering for classifiers After close inspection between maven-sources-plugin and my custom plugin, I notice some differences finally J The source plugin just creates a jar file. During mvn install, the source jar gets installed

RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
created) Its looking like a lifecycle question but am not able to find anything on the web. -Original Message- From: Alok, Niraj Sent: Wednesday, June 20, 2007 1:00 PM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering for classifiers I took a look at the maven assembly plugin

Re: 0-Snapshot numbering for classifiers

2007-06-20 Thread Eric Redmond
to find anything on the web. -Original Message- From: Alok, Niraj Sent: Wednesday, June 20, 2007 1:00 PM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering for classifiers I took a look at the maven assembly plugin, but it just creates the assembly and doesn't deploy them

RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
not able to find anything on the web. -Original Message- From: Alok, Niraj Sent: Wednesday, June 20, 2007 1:00 PM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering for classifiers I took a look at the maven assembly plugin, but it just creates the assembly and doesn't

RE: 0-Snapshot numbering for classifiers

2007-06-19 Thread Alok, Niraj
Users List Subject: Re: 0-Snapshot numbering for classifiers Sure, I understand the desire to write code rather than learn a specification like assembly - however, your ability to find support for a custom plugin is going to be drastically more difficult than finding support for a core plugin. Just

RE: 0-Snapshot numbering for classifiers

2007-06-19 Thread Alok, Niraj
-Original Message- From: Alok, Niraj Sent: Tuesday, June 19, 2007 5:33 PM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering for classifiers Im trying to do through code, but the numbering of the jar changes for snapshot versions, making them unavailable for download. Is there some specific

RE: 0-Snapshot numbering for classifiers

2007-06-18 Thread Alok, Niraj
, June 16, 2007 12:10 AM To: Maven Users List Subject: Re: 0-Snapshot numbering for classifiers Why are you writing code to do this? You should be installing the sources via the source plugin: mvn source:jar Or assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html http

Re: 0-Snapshot numbering for classifiers

2007-06-18 Thread Eric Redmond
] Sent: Saturday, June 16, 2007 12:10 AM To: Maven Users List Subject: Re: 0-Snapshot numbering for classifiers Why are you writing code to do this? You should be installing the sources via the source plugin: mvn source:jar Or assembly plugin: http://maven.apache.org/plugins/maven-assembly

0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
Hi, I have 2 jars that get installed to the repository for the same artifact. One is the application jar, and the other is, say sources jar. The repository looks something like this: GroupId - ArtifactId - app-1.0.jar and app-1.0-sources.jar When I include both of them in the pom file

Re: 0-Snapshot numbering for classifiers

2007-06-15 Thread niraj
MojoExecutionException(e.getMessage(), e); } While downloading, I am just adding the classifier element, jarType in the dependency tag. It works for versioned jars, not for snapshots. I am using mvn 2. -- View this message in context: http://www.nabble.com/0-Snapshot-numbering-for-classifiers

Re: 0-Snapshot numbering for classifiers

2007-06-15 Thread Eric Redmond
) { throw new MojoExecutionException(e.getMessage(), e); } While downloading, I am just adding the classifier element, jarType in the dependency tag. It works for versioned jars, not for snapshots. I am using mvn 2. -- View this message in context: http://www.nabble.com/0-Snapshot-numbering

RE: 0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
something wrong in my plugin, but cant figure out exactly what. I am attaching the code here also for help. Thanks! Niraj -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Saturday, June 16, 2007 12:10 AM To: Maven Users List Subject: Re: 0-Snapshot numbering

RE: 0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
); return jarFile; } catch (Exception e) { throw new MojoExecutionException(Error assembling JAR, e); } } } -Original Message- From: Alok, Niraj Sent: Saturday, June 16, 2007 12:34 AM To: 'Maven Users List' Subject: RE: 0-Snapshot numbering