Re: How to set the classifier of an Artifact for install-plugin ?

2008-02-29 Thread Paul Gier
Assuming you are creating a DefaultArtifact object, you have to set the classifier when you first call the constructor. Does that work for you? https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

How to set the classifier of an Artifact for install-plugin ?

2008-02-27 Thread Guillaume Durand
Hello, I wrote a packaging plugin replacing the jar-plugin and accepting a classifier as parameter to generate the proper artifact name. Once the artifact is created I use Artifact.setFile with the newly created artifact. It works fine but the install-plugin copies the artifact into the