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

Re: 0-Snapshot numbering for classifiers

2007-06-15 Thread niraj
To be more specific, I am installing the app.jar through normal mvn deploy and the sources.jar through a custom pojo, as its not sources, but some other project files, and the code for that is: Artifact artifact = m_artifactFactory.createArtifactWithClassifier(m_groupId,

Re: 0-Snapshot numbering for classifiers

2007-06-15 Thread Eric Redmond
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://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html Eric On 6/15/07,

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