On 8/22/06, J. Matthew Pryor <[EMAIL PROTECTED]> wrote:
Gee thanks. My google search did much worse, I'll try nabble next time.
Now I have to try & get my head around <classifier/> ;-)
Your welcome.
Classifier is easy. For most things it is empty!
The assembly plugin uses the classifier to differentiate the assembled
artifact it will put into the repository and the classifier value is
the <assembly><id> value.
So if your plugin is:
<groupId>my.company</groupId>
<artifactId>foo</artifactId>
<version>1.0</version>
and your assembly file is:
<assembly>
<id>bin</id>
<formats>
<format>zip</format>
</formats>
Then your assemblies will be placed into the repository as:
my.company.foo-1.0-<id in assembly>.<format>
e.g.
my.company.foo-1.0-bin.zip
(for an id of bin and format zip)
or
my.company.foo-1.0-bin.tar.gz
(for an id of bin and format tar.gz)
To compare that with packaging, e.g. your artifact is packaged as a
jar then the artifact placed into the repository will be (note that
there is no classifier present)
my.company.foo-1.0.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]