snapshotRepository.uniqueVersion does not work

2007-06-20 Thread Stefan Arentz
I have set distributionManagement.snapshotRepository.uniqueVersion to false in the top level pom of a multi module project. Only the top level project is deployed to the repository without timestamps. The child modules are all still deployed with timestamps. This seems broken. The child modules

Announcing the Jetty Maven Deployer

2007-05-08 Thread Stefan Arentz
This project contains a web application deployer for Jetty 6.1 that can deploy SNAPSHOT releases of web applications straight from of a Maven 2 repository. This is used at Polar Rose to do 'Continuous Deployment' to a staging environment. We have Bamboo building our applications and deploying

Re: Re: Newbie Question about repository access protocols

2006-12-04 Thread Stefan Arentz
Aaron, did you ever find a solution for this? I'm trying to do the same .. I would like to access an internal repository through one of these: * https with basic auth on it * https with a client side certificate * ssh/scp with public key auth None seem to be supported by Maven at the moment?

IDEA Plugin and non-existing module artifacts

2006-12-04 Thread Stefan Arentz
I use the IDEA plugin to generate project files for my Maven projects. Works pretty good but there is one thing that bugs me. It seems that you first need to build and install the project before the IDEA plugin can create the project files. In other words, the plugin requires the artifacts to be

Re: Re: IDEA Plugin and non-existing module artifacts

2006-12-04 Thread Stefan Arentz
On 12/4/06, Trygve Laugstøl [EMAIL PROTECTED] wrote: Stefan Arentz wrote: I use the IDEA plugin to generate project files for my Maven projects. Works pretty good but there is one thing that bugs me. It seems that you first need to build and install the project before the IDEA plugin can

How do I use the 'short name' of a plugin?

2006-10-29 Thread Stefan Arentz
I am working on a little hack, a plugin to 'run' a spring context. The code is at: https://www.sateh.com/svn/stefan/polarrose-maven-spring-plugin/trunk/ And I execute it like: mvn com.polarrose.maven:maven-spring-plugin:run \

How do i get more sensible test reports on the command line

2006-10-06 Thread Stefan Arentz
I'm trying to track down a bug in an open source project that is using maven 2. When I run mvn test all I get is: Running org.mortbay.jetty.HttpParserTest Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec FAILURE! without much more details. Is there a simple way to

Easy way to print a dependency tree?

2006-10-06 Thread Stefan Arentz
I see a whole bunch of dependencies in my project and I have no idea where they come from. Is there an easy way to print a dependency tree so that I can see what artifacts depend on what? After dependency resolution. S. - To

Re: Re: Easy way to print a dependency tree?

2006-10-06 Thread Stefan Arentz
On 10/6/06, Ralph Pöllath [EMAIL PROTECTED] wrote: On 06.10.2006, at 14:01, Stefan Arentz wrote: I see a whole bunch of dependencies in my project and I have no idea where they come from. Is there an easy way to print a dependency tree so that I can see what artifacts depend on what? After

Two dependencies depending on different versions of commons-collections

2006-09-23 Thread Stefan Arentz
I have two dependencies in my project that both depend on different versions of commons-collections. OpenJPA - commons-collections 3.2 Wicket 2.0 - commons-collections 2.1 Wicket seems to 'win' and commons-collections 2.1 is included. Unfortunately this does not work for OpenJPA so I had to add

Two questions about install:install-file

2006-09-19 Thread Stefan Arentz
I frequently install stuff like this in my local repository: mvn install:install-file -DgroupId=org.springframework -DartifactId=spring \ -Dversion=2.0-RC4 -Dpackaging=jar -Dfile=/path/to/file In this case I'm installing spring, which also comes with a spring-src.jar. Is it

Maven-IDEA-Plugin documentation?

2006-06-08 Thread Stefan Arentz
Is there documentation for the IDEA plugin somewhere? The documentation at: http://maven.apache.org/plugins/maven-idea-plugin/index.html is kind of lacking. S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Maven-IDEA-Plugin documentation?

2006-06-08 Thread Stefan Arentz
-info.html follow the idea:module goals link etc Stefan Arentz wrote: Is there documentation for the IDEA plugin somewhere? The documentation at: http://maven.apache.org/plugins/maven-idea-plugin/index.html is kind of lacking. S. -- With kind regards, Geoffrey De Smet

Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
I'm have a couple of projects that generate EAR files. These EARs are not dependent on eachother and this works just fine. However, now I want to include an EJB client jar from EAR 1 in EAR 2. I can't find the right recipe to make this work. I have this: Project 1: Generates a project1.ear and

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
On 6/7/06, Roland Asmann [EMAIL PROTECTED] wrote: The problem is the fact that you try to add it as a JAR (javaModule), but you have a dependency on it as an ejb-client (typeejb-client/type). Should it be just a jar, then you should remove the type, if it should be an EJB, replace javaModule

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
On 6/7/06, Roland Asmann [EMAIL PROTECTED] wrote: There's an ejbClientModule??? I haven't used ejb-client so far (only ejb), but at least I wasn't that far off! ;-) :-) A beer if you can find it in the documentation. (Mhuahahahahahahahaha) S.

Re: [M2] Problem deploying with maven 2 and Ant

2006-06-02 Thread Stefan Arentz
On 5/30/06, Roland Asmann [EMAIL PROTECTED] wrote: Or just forget about the ant-part and use the jboss-maven-plugin! (See also this thread: Unable to locate local repo in Mac-OSX(how to call ant from maven)) plugin groupIdorg.codehaus.mojo/groupId

Source/Javadoc Artifact?

2006-05-30 Thread Stefan Arentz
Is there a standard for a source code or javadoc artifact? The reason I'm asking is that I use the idea plugin to generate an IDEA project. That works great, it nicely adds all the dependencies to the IDEA project so you are ready to go without having to do any extra configuration. One thing

Re: maven Website - I'm struggling getting the information I seek

2006-05-30 Thread Stefan Arentz
On 5/30/06, Marc Weber [EMAIL PROTECTED] wrote: Hello I'm using mvn for 2 month now and I'm till struggling finding the finding the documentation on the maven.apache.org website. Same here. I started using Maven 2 about a month ago. It has been *extremely* painful because of the complete chaos

Re: Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-24 Thread Stefan Arentz
On 5/12/06, Wayne Fay [EMAIL PROTECTED] wrote: Reinstall the file and specify -DgeneratePom=true. The source of the problem is a misleading message that you get when an artifact is missing. Missing: -- 1) javaee:javaee:jar:3.0 Try downloading the file manually from the project

Announce: New european (Amsterdam, NL) Maven 2.0 mirror

2006-05-18 Thread Stefan Arentz
I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherlands. The mirror is located at http://maven.sateh.com/repository Full announcement at: http://stefan.arentz.nl/2006/05/18/new-maven-repository/ The speed increase for me is now more than 12x. Greetings

Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror

2006-05-18 Thread Stefan Arentz
On 5/18/06, Paul Spencer [EMAIL PROTECTED] wrote: Stefan, Your content types are not set correctly. See the thread titled Relative to content-type, Is their convention for the file in the repository? Got it. Addes types for .pom, .sha1, .md5 and .jar. S.

Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror

2006-05-18 Thread Stefan Arentz
On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Great news!!! Just tested and the downloads are a lot faster now. But you are on the 'other' contintent! :-) I think what Maven needs is a bunch of extra mirrors in the US too. And maybe a smarter downloader module that figures out the closest

Re: Dependencies License Report

2006-05-15 Thread Stefan Arentz
On 5/15/06, Anton Mazkovoi [EMAIL PROTECTED] wrote: Another thing I would like to look into, is getting maven to download the actual license files for each dependency from: http://www.ibiblio.org/maven/ It looks like most of artifacts from above have a licenses sub directory. However the

Creating a jar file with a different extension

2006-05-14 Thread Stefan Arentz
Dear Maven Users, I need to create a jar file that has a different extension. A .spring archive in this case. I tried to change buildfinalName and jarName of the maven-jar-plugin but they both are used to change the filename part, not the extension part. Is this possible in another way?

Cannot find lifecycle mapping for packaging: 'sar'

2006-05-14 Thread Stefan Arentz
I created a simple plugin to create SAR archives (JBoss Service Archive). It is basically a jar file with a META-INF/jboss-service.xml. The maven-ejb-plugin looked like a good candidate for a template so I used that and modified it. My maven-sar-plugin succesfully builds and installs in the local

Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-12 Thread Stefan Arentz
This question will probably have a one line answer, but I seriously can't find any hints. I put the EJB3 jar in my own local repository. Works great. However, every time I run Maven it still does this: Downloading: http://repo1.maven.org/maven2/javax/persistence/ejb/3.0/ejb-3.0.pom [WARNING]

Re: Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-12 Thread Stefan Arentz
On 5/12/06, Mike Perham [EMAIL PROTECTED] wrote: Is the pom in your repo or just the jar? -Original Message- From: Stefan Arentz [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 11:29 AM To: Maven Users List Subject: Why does Maven 2 keep trying to download stuff that i put

Re: Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-12 Thread Stefan Arentz
On 5/12/06, Kenney Westerhof [EMAIL PROTECTED] wrote: I think you're somehow stuck with an old maven-install-plugin. Try deleting ~/.m2/plugin-registry.xml (or just the lines for the maven-install-plugin), and delete the ~/.m2/repository/org/apache/maven/plugins/maven-install-plugin/ directory,

Re: Why does Maven 2 keep trying to download stuff that i put in my local repository

2006-05-12 Thread Stefan Arentz
On 5/12/06, Kenney Westerhof [EMAIL PROTECTED] wrote: Have you checked your local repo? The pom should be there. It is :-) Thanks! I guess it is good practice to dump the local repository once in a while to get new versions of the plugins. S.

I've added basic JEE5 support to the EAR plugin .. what now?

2006-05-01 Thread Stefan Arentz
The subject pretty much summarizes it .. it've modified the maven-ear-plugin-2.2-SNAPSHOT to generate JEE5 style application.xmldescriptors. I'll be happy to submit this. S.

Re: I've added basic JEE5 support to the EAR plugin .. what now?

2006-05-01 Thread Stefan Arentz
is to open a JIRA issue (at http://jira.codehaus.org/browse/MEAR - click the Create Issue in the toolbar there) and create a patch with your source code. To create a patch - see http://maven.apache.org/contributing/patches.html cheers! Arik. On 5/1/06, Stefan Arentz [EMAIL PROTECTED] wrote

Some simple questions from a Maven 2.0 n00b

2006-04-27 Thread Stefan Arentz
My test in src/test/java cannot find classes in src/main/java. How do I tell Maven to add those to the classpath when testing? I have a simple project with a main() in it. The jar is succesfully created but how do I run it? Is there a Maven shortcut? S.

Re: Some simple questions from a Maven 2.0 n00b

2006-04-27 Thread Stefan Arentz
On 4/27/06, Wayne Fay [EMAIL PROTECTED] wrote: Maven is a project builder, not a project runner. There is no Maven shortcut to run your main(). I have seen some people talk about POMstrap so Google that and maybe you'll find something. Ok. Is there a way to package a jar then, that I can