, 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
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
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
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
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
-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
, 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
]
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
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,
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,
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
);
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
12 matches
Mail list logo