Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Hi, Could someone please give me an idea of how to go about setting the classifier in (Is there a documented API for this?): artifact = factory.createArtifactWithClassifier(groupId, artifactId, version, type, classifier); Thanks again, - Ole

Re: Loading a POM Artifact

2006-11-22 Thread Eric Redmond
I'm not sure what you mean here... do you mean how to configure a project's classifier in the POM? Are you building an artifact with a classifier, or are you trying to get one as a dependency? Eric On 11/22/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, Could someone please give me an idea of

Re: Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Hi Eric, I'm writing an RPM mojo for the JPackage project. The JPackagers would put the artifactId, groupId, and version of the project they want to package in a configuration file. This lets the mojo know what project they want to package. So the mojo reads those parameters from the

Re: Loading a POM Artifact

2006-11-22 Thread Eric Redmond
The classifier is an optional extension to the project coordinate -- groupId:artifact:[classifier:]version. Unless your project needs noe (specified in the packaging plugin configuration, such as jar:jar), its not required. You can put in null. On 11/22/06, Ole Ersoy [EMAIL PROTECTED] wrote:

Re: Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Eric, I should have known it would be something straightforward like that. Thanks a gazillion. I can finally get with it now. Cheers, - Ole --- Eric Redmond [EMAIL PROTECTED] wrote: The classifier is an optional extension to the project coordinate --