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 -- > groupId:artifact:[classifier:]ver

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
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 configurat

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 h

Re: Loading a POM from the Respository

2006-11-21 Thread Neeraj Bisht
Realy what you want to say is not clear ...? On 11/21/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: Hi, I need to to create a path string representing a location of a pom in the local maven repository on Linux. What is the best way of going about this? One thought I had was to just get the USER

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Wow, Tom - It certainly looks like you hit the nail right on the head there. Terrific. Would you by chance happen to know how I go about configuring the project lifecycle to support a a different artifact type as well? I'm writing a mojo for the JPackage project, and creating a corresponding ar

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Terrific - I think I finally have all my puzzle pieces lined up now. Thanks again, - Ole --- Tom Huybrechts <[EMAIL PROTECTED]> wrote: > Read 'specifying a new packaging' in the > 'Introduction to the lifecycle' > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html >

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
If you want to do this in a mojo, look at 'resolving an artifact' in the Mojo Developer Cookbook: http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Use an artifact of type 'pom'. On 11/21/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: Hi, I need to to create a path string representi

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
Read 'specifying a new packaging' in the 'Introduction to the lifecycle' http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Don't forget to set true on the plugin defining your new lifecycle. Tom On 11/21/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: Wow, Tom - It certa

Re: Loading a pom in Continuum

2006-06-23 Thread Hendrik Busch
Jeff Mutonho schrieb: On 6/23/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: I had the same problem, use the url option instead for multiprojects. As in file:// ? No, but as in http://cvs/cvs/*checkout*/Toolbox/pom.xml?rev=1.17&content-type=text/plain When integrating multi-module project

Re: Loading a pom in Continuum

2006-06-23 Thread Jeff Mutonho
On 6/23/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: I had the same problem, use the url option instead for multiprojects. As in file:// ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Loading a pom in Continuum

2006-06-23 Thread Geoffrey De Smet
I had the same problem, use the url option instead for multiprojects. Jeff Mutonho wrote: I'm trying to add my pom.xml to Continuum , but when I select the pom from the file systems and click submit , I get the error message * Could not download file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit

Re: Loading a pom in Continuum

2006-06-23 Thread Emmanuel Venisse
you can't use the upload field for multi-modules project. You need to use the url field with an http or ftp url. If you want to use the file protocol, you need to allow it in configuration file : http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view Emmanuel

RE: Loading a POM

2004-11-29 Thread Adrian Tarau
. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 10:13 AM To: Maven Users List Subject: Re: Loading a POM On Mon, 2004-11-29 at 10:36, Adrian Tarau wrote: > Hi, > > I'm trying to load a POM with a piece of code found in

Re: Loading a POM

2004-11-29 Thread Jason van Zyl
On Mon, 2004-11-29 at 10:36, Adrian Tarau wrote: > Hi, > > I'm trying to load a POM with a piece of code found in the test files : What information are you trying to extract? If you are trying to extract some simple pieces of information then I will take this opportunity to whip up an example u

RE: Loading a POM

2004-11-29 Thread Adrian Tarau
Hi again, I found on the web that the log4j level should be set on WARN or INFO and the problem disappear, but... Now I get another exception... My test class is: protected void setUp() throws Exception { // I don't know if I must set this property System.setProperty("based