RE: Restarting Eclipse 3.1.1 to add dependencies to m2?

2005-10-30 Thread Franck de Bruijn
I'm definitely neither the Maven nor the Eclipse expert, but let me give it a go: If I understand correctly you are looking for a seamless integration between Eclipse and Maven. I read somewhere that Jason van Zyl is working on an Eclipse plugin (something like MevenIDE); I have no idea if what

Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Alex McManus
I'm just getting to grips with Maven for the first time, and having some difficulties getting archetypes to add files to an existing project. If I understand things correctly, archetypes can also be used to add files to an existing project, as well as to create a new one from scratch. This is

Re: Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Jason van Zyl
On Sun, 2005-10-30 at 12:27 +, Alex McManus wrote: I'm just getting to grips with Maven for the first time, and having some difficulties getting archetypes to add files to an existing project. If I understand things correctly, archetypes can also be used to add files to an existing

How to compile with Java 1.5?

2005-10-30 Thread Siegfried Heintze
How do I switch my m1 and m2 projects to use Java 1.5 instead of 1.3? I preformed a google search and found http://maven.apache.org/reference/plugins/java/faq.html and now my project.properties file looks like this: # Project property file for crawl_finance_yahoo maven.compile.source=1.5

Where are Maven 2 Archetyptes documented?

2005-10-30 Thread Siegfried Heintze
I performed a google search on maven archetypes and could only find documentation on how to create my own. It seems that http://maven.apache.org/guides/introduction/introduction-to-archetypes.html would be a logical place to store a list of archetypes. I'm still hopeful that all the templates for

Re: How to compile with Java 1.5?

2005-10-30 Thread Jason van Zyl
On Sun, 2005-10-30 at 09:06 -0700, Siegfried Heintze wrote: How do I switch my m1 and m2 projects to use Java 1.5 instead of 1.3? I preformed a google search and found http://maven.apache.org/reference/plugins/java/faq.html and now my project.properties file looks like this: # Project

Re: Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Alex McManus
Hi Jason, thanks very much for the helpful response. However, I have already been looking at the quickstart guide. If I run the following sequence of commands, copied directly from this guide: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app mvn archetype:create

Re: Where are Maven 2 Archetyptes documented?

2005-10-30 Thread Jason van Zyl
On Sun, 2005-10-30 at 09:07 -0700, Siegfried Heintze wrote: I performed a google search on maven archetypes and could only find documentation on how to create my own. It seems that http://maven.apache.org/guides/introduction/introduction-to-archetypes.html would be a logical place to store a

Re: Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Jason van Zyl
On Sun, 2005-10-30 at 16:23 +, Alex McManus wrote: Hi Jason, thanks very much for the helpful response. However, I have already been looking at the quickstart guide. If I run the following sequence of commands, copied directly from this guide: mvn archetype:create

Re: Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Alex McManus
Thanks once again for your quick response. I'm not entirely sure where to look on Ibiblio, but in both of the following places, there is nothing more recent than 1.0-alpha-3: http://www.ibiblio.org/maven2/org/apache/maven/maven-archetype/

Re: Using Archetypes to Add to an Existing Project (Maven 2)

2005-10-30 Thread Jason van Zyl
On Sun, 2005-10-30 at 19:58 +, Alex McManus wrote: Thanks once again for your quick response. I'm not entirely sure where to look on Ibiblio, but in both of the following places, there is nothing more recent than 1.0-alpha-3:

[m2] Tomcat Plugin - execution phase 'package'

2005-10-30 Thread Franck de Bruijn
Hi, I see that the tomcat plugin has an execution phase 'package' defined. I'm not sure if I understand correctly, but this causes all the steps (compile, packaging, etcetera) to be repeated when goal 'tomcat:deploy' is executed. Anyway, if I remove the line '@execute phase = package' from the

RE: [102] subproject Downloads page Release Notes

2005-10-30 Thread Arnaud HERITIER
Hi Thomas, How do you manage releases in your projects ? - Each subproject has its own version and the main one is gathering together in a main version several subprojects with differents versions - Or, you use the same version for the main project and all subprojects ?

Re: [m2] Plugins that depend on other plugin goals

2005-10-30 Thread Mark Hobson
Okay, if I specify just @execute phase=package and supply the following components.xml: component-set components component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintwar-exploded/role-hint

Re: [m2] including ejb client jar in webapp

2005-10-30 Thread Brett Porter
Yes, you're right. Could the EJB client ever use the dependencies though? I'm not sure how best to mark them for separation if that is the case. I think the first step is to make none of the dependencies transitive through the ejb client. Please file a JIRA issue. - Brett On 10/26/05, Ashley

Re: Issue in calling antrun plugin.

2005-10-30 Thread Brett Porter
Only the final 2.0 release is currently supported. Please upgrade. - Brett On 10/26/05, Dhivakher Balaji [EMAIL PROTECTED] wrote: Hi, I'm new to M2, am working on m2 beta-3, am trying to call an ant script in the m2 pom.xml using antrun plugin when i call the antrun plugin i'm getting

Re: [m2] doc error for assembly plugin

2005-10-30 Thread Brett Porter
The docs. It should be just descriptorId On 10/28/05, Michael Heuer [EMAIL PROTECTED] wrote: Hello, Running the assembly plugin as documented on http://maven.apache.org/plugins/maven-assembly-plugin/howto.html results in an error, $ mvn assembly:assembly

Re: [m2] manifest for assembly jar-with-dependencies

2005-10-30 Thread Brett Porter
Yes, that's an issue with the assembly plugin. If there is no corresponding JIRA issue, please file one. - Brett On 10/28/05, Michael Heuer [EMAIL PROTECTED] wrote: Hello, I followed the guide at http://maven.apache.org/guides/mini/guide-manifest.html to add entries to my MANIFEST.MF,

Re: [m2] How to set 'basedir' ?

2005-10-30 Thread Wim Deblauwe
Can you explain that a little bit more? With Maven 1, we currently use this structure: + module-name + build project.xml + resources + src Should I put the pom.xml in the module-name directory? Why is it a problem if I would have it in the build directory? regards, Wim 2005/10/31, Brett

Re: [m2] multiple goal executions

2005-10-30 Thread Brett Porter
This is on the roadmap for Maven 2.1, FWIW. - Brett On 10/29/05, Jason van Zyl [EMAIL PROTECTED] wrote: On Fri, 2005-10-28 at 09:41 -0600, David Jackman wrote: Is there an answer for this question anywhere? This is something I'll be facing in the not-too-distant future as well. It would

Re: Continuum and ClearCase

2005-10-30 Thread Wim Deblauwe
I'm sorry, but I don't have svn installed or any of that... 2005/10/28, Emmanuel Venisse [EMAIL PROTECTED]: do you want to create a little patch ;-) Wim Deblauwe a écrit : Thanks a lot, that makes it a whole lot clearer! Maybe you can add this info in the documentation. I think it would

Dependency path

2005-10-30 Thread Régis LOWE
Hi, I want to know how can I get the path of a dependency. I've tried dependency.getSystemPath() but it returns null. // for (Iterator it = project.getDependencies().iterator(); it.hasNext();) { Dependency dependency = (Dependency)

Re: Dependency path

2005-10-30 Thread Régis LOWE
Thanks, but it still doesn't work. project.getArtifacts() return an empty list. /** * The maven project. * @resolveTransitiveDependencies * @parameter expression=${project} * @required * @readonly */ private MavenProject project; public void execute()

Re: Continuum and ClearCase

2005-10-30 Thread dan tran
Wim you can install svn, it also uses http to go out -D On 10/30/05, Wim Deblauwe [EMAIL PROTECTED] wrote: I'm sorry, but I don't have svn installed or any of that... 2005/10/28, Emmanuel Venisse [EMAIL PROTECTED]: do you want to create a little patch ;-) Wim Deblauwe a écrit :