Re: Maven release plugin and J2EE projects

2007-01-27 Thread Markku Saarela
Configure you release plugin to make install to you local repository first, then release:prepare success. plugin artifactIdmaven-release-plugin/artifactId inheritedtrue/inherited configuration preparationGoalsclean install/preparationGoals

Re: Thanks for Maven 2

2007-01-27 Thread Srepfler Srgjan
Franz Garsombke wrote: I know that most of the time people post to ask questions or report problems. I would like to give thanks to the Maven team for producing some much needed forward-thinking software that really does revolutionize how we build componentized software. I know that working

Re: How do I use a war as dependency?

2007-01-27 Thread Maruf Aytekin
Thanks for the help - Maruf Niels Gylling wrote: Have both the war and the ejb depend on the common code, it will then be bundled in WEB-INF/lib in the war. Aleo ensure that the ejb has a classpath entry to the commmon code like plugin groupIdorg.apache.maven.plugins/groupId

RE: maven2, eclipse and hierarchical layout

2007-01-27 Thread Morgovsky, Alexander \(US - Glen Mills\)
parent pom: modules module..\child1/module /modules child pom: parent groupIdparent/groupId artifactIdparent-pom/artifactId version1/version relativePath../parent/pom.xml/relativePath /parent artifactIdchild1/artifactId groupIdparent/groupId

Re: maven2, eclipse and hierarchical layout

2007-01-27 Thread Marco Mistroni
On 1/27/07, Marco Mistroni [EMAIL PROTECTED] wrote: child pom: parent groupIdparent/groupId artifactIdparent-pom/artifactId version1/version relativePath../parent/pom.xml/relativePath /parent there you go!! thanx a lot Alexander... this was what i was missing.. thanx

CONTINUUMUSER

2007-01-27 Thread Robert Dale
Just curious, but why is http://docs.codehaus.org/display/CONTINUUMUSER/Home password-protected but MAVENUSER and ARCHIVAUSER are not? It would be much easier for the casual continuum user to browse the info there if the restriction was removed. -- Robert Dale

Re: maven2, eclipse and hierarchical layout

2007-01-27 Thread Tim Morrow 2
I personally use a completely different approach when the parent + child modules are really a self-contained project (and you always want to work on all of them). * I open the parent project in Eclipse. All the child modules show up as sub-folders * I add each main and test source and resource

two 500 errors

2007-01-27 Thread Robert Dale
I'm running the latest svn as of today - 500580. If I try to retrieve a file from the local repository I get this error: exception javax.servlet.ServletException: Unable to lookup role [null] hint [basic] root cause org.codehaus.plexus.component.repository.exception.ComponentLookupException:

Re: Build Status Dashboard Project

2007-01-27 Thread Wayne Fay
None that I'm aware of currently exist for M2 (in any formally released fashion, at least) but I know there was a Dashboard plugin for M1 and there has been some recent disussion of a similar nature for M2 on this list. Keep your eyes peeled. I imagine this is on its way. Wayne On 1/26/07,

Maven 2.0 Plugin for ZIP Archive

2007-01-27 Thread uma_rk
I am looking for a Maven 2.0 plugin that would help me prepare a ZIP archive. From Maven 2.0.4 documentation, it appears that .zip archives are not supported. Regards, /U - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Maven 2.0 Plugin for ZIP Archive

2007-01-27 Thread Jochen Wiedmann
On 1/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am looking for a Maven 2.0 plugin that would help me prepare a ZIP archive. maven-assembly-plugin -- How fast can a year go? As fast as your childs first year. - To

how to skip all tests but still run explicitly

2007-01-27 Thread Lisa
I want to turn off all tests for a project but still be able to force a run for all tests in a single class file by using a param on the mvn command line but can not figure out how to do this. I edited the pom.xml and specified to turn off all tests, however when I type: mvn

Java Plugin Framework Support

2007-01-27 Thread mbernardinis
I am not too experienced with Maven yet but I have created a simple JAR project POM.XML and I would like to build a zip file as follows; ../ ../plugin.xml ../classes ../classes/*.class This directory structure can be explained in more detail here; http://jpf.sourceforge.net/ Does Maven support

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Wayne Fay
Have you tried -Dmaven.test.skip=false? Not sure it will work, but there's a good chance it will. But then I think it will run all tests. Probably you shouldn't use config-skip if you actually want to run some test(s)... Instead I'd use profiles to specify the exact test or set of tests you want

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Wendy Smoak
On 1/27/07, Lisa [EMAIL PROTECTED] wrote: I want to turn off all tests for a project but still be able to force a run for all tests in a single class file by using a param on the mvn command line but can not figure out how to do this. Try putting the skip config in a profile that is activated

Re: Java Plugin Framework Support

2007-01-27 Thread Wayne Fay
Maven does not support this JPF file format specifically that I'm aware of -- someone might have made a plugin -- but there's nothing stopping you from creating a zip file in this format using the assembly plugin. http://maven.apache.org/plugins/maven-assembly-plugin/ Wayne On 1/27/07, [EMAIL

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Lisa
Thanks, I am new to Maven and not sure I understand profiles completely yet, but will do some research on exactly how to do this. Lisa Wendy Smoak-3 wrote: On 1/27/07, Lisa [EMAIL PROTECTED] wrote: I want to turn off all tests for a project but still be able to force a run for all

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Lisa
yes, I am familiar with this, but what I want is: 1. a pom file that excludes all tests by default 2. the ability to force all tests with a specific class by using -D switch Currently I have not figured out how to do this. I know how to use the skip tag and exclude by pattern but then if

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Lisa
so I have this in my pom.xml to skip all tests: !-- skip running all tests in this project. Do not change this -- !-- run tests explicitely -- build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: how to skip all tests but still run explicitly

2007-01-27 Thread Lisa
If you have examples of how to create a profile (inside the pom itself) and specify this profile on the command line, it would be greatly appreciated. I am pouring over the documentation and looking for something that is applicable. Thanks Lisa Wayne Fay wrote: Have you tried