Antwort: aspectj-maven-plugin

2009-06-15 Thread torsten . reinhard
Hi, what kind of problems do you have? I´m using that plugin to weave some aspects in existing 3rdparty jars and that´s working. In your sample you dont have a section - but to get the aspectj compiler satisfied, you need the too. Torsten "Yanko, Curtis" 04.06.2009 17:07 Bitte antwor

RE: Tomcat Maven Plugin - 401 error

2009-06-15 Thread Dean Pullen
Thanks Oliver, but the explicit username/password configuration doesn't change anything. tomcat:run isn't a workable idea in the long-term, I need to get the tomcat plugin working in its most basic form... Can anyone else help? -Original Message- From: oliver.l...@gmail.com [mailto:ol

Re: Unpack some jar files in WEB-INF/classes folder

2009-06-15 Thread Jacob Bergöö
Thanks, it works like a charm... //Jacob Anders Hammar wrote: > > http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html > > On Fri, Jun 12, 2009 at 13:41, Jacob Bergöö wrote: >> >> Hi, >> I have a need to unpack some specific jar files to WEB-INF classes in

Re: Maven + OSGI

2009-06-15 Thread Peter Horlock
Hello Stuart, thanks for your reply. Could you please send me your assembly plugin settings? Thanks in advance, Peter

Re: Public repository for open source project

2009-06-15 Thread Martin Höller
On 13 Jun 2009, jjjaime wrote: > I participate in an open source project: > http://en.wikipedia.org/wiki/IST-MUSIC > and up to now we've used an private maven repository during the > implementation. We are still using a SNAPSHOT repository until the project > is mature enough. > > We would like t

Plugin / Tool for local repository

2009-06-15 Thread Henri Gomez
Hi to all, I wonder if there is a plugin/tool available to clean a local repository ? After some time repository could became huge with many snapshots or versions (when using ranges) and the only way, for now, is just to clean up by hand. Repository managers like Nexus or Archiva does this clean

packaging tuscany based java application with maven

2009-06-15 Thread Renana Heller
Hello, I have a java application based on apache-tuscany infrastructure. the appllication is a webservice and it comes up and listens at a port to requests from a client. I'm using maven for dependency management and test managment, and It is working freat from the Eclipse IDE. I now need to ins

merge-maven-repos from local file system

2009-06-15 Thread Jane Young
Hi, I am trying to stage the deployment to a repository on the local file system and then merge to a remote repository. Steps: mvn deploy -DaltDeploymentRepository=stage::default::file:///export/stage-repository mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos -Dwagon.sou

RE: merge-maven-repos from local file system

2009-06-15 Thread Martin Gainty
http://mojo.codehaus.org/wagon-maven-plugin/usage.html the provided example specifies java.io.tmpdir (folder) mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-maven-repos \ -Dwagon.source=http://people.apache.org/~olamy/staging-repo \ -Dwagon.target=scp://localhost/$LOGNAME/m

RE: update all projects maven version

2009-06-15 Thread EJ Ciramella
Lol - yeah - sent this to the wrong mailing list Sorry for the noise! -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Saturday, June 13, 2009 3:45 PM To: Maven Users List Subject: Re: update all projects maven version that is the project ver

Re: Plugin / Tool for local repository

2009-06-15 Thread Anders Hammar
http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html /Anders On Mon, Jun 15, 2009 at 10:46, Henri Gomez wrote: > Hi to all, > > I wonder if there is a plugin/tool available to clean a local repository ? > > After some time repository could became huge with many

Re: maven-dependency-plugin doesn't find all dependencies in several repositories

2009-06-15 Thread gorgophol
Is it possible that the dependency-plugin uses information from localRepository instead of Repos 1 and 2? I recognized the follwoing behavior: Every time I install an artifact into Repos 2 using deploy:file, the jar and the pom.xml are installed into correctly into Repos 2 (with all the correct

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-15 Thread Robert Glover
I had Friday off, so I logged onto the maven IRC channel at home via ChatZilla, but unfortunately JDCASEY was not logged on when I tried several times. I tried again on Saturday, but again JDCASEY was not online. Today, Monday, I tried from work and found that the corporate firewell block

Re: merge-maven-repos from local file system

2009-06-15 Thread Dan Tran
please use maven 2.1, its built in wagon-file has this fix -D On Mon, Jun 15, 2009 at 6:12 AM, Martin Gainty wrote: > > http://mojo.codehaus.org/wagon-maven-plugin/usage.html > > the provided example specifies java.io.tmpdir (folder) >  mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-1:merge-ma

Re: Plugin / Tool for local repository

2009-06-15 Thread Henri Gomez
Good stuff but I also needed the various versions of the project to be removed. 2009/6/15 Anders Hammar : > http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html > > /Anders > > On Mon, Jun 15, 2009 at 10:46, Henri Gomez wrote: >> Hi to all, >> >> I wonder if t

Re: Plugin / Tool for local repository

2009-06-15 Thread Henri Gomez
I saw an interested thread on mojo-dev about a local repository purge plugin. http://www.nabble.com/local-repository-purge-plugin-td16937047.html Any one know it status ? 2009/6/15 Henri Gomez : > Good stuff but I also needed the various versions of the project to be > removed. > > > > 2009/6/1

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-15 Thread Tim Andersen
Wayne, thanks for the suggestions. I did not find anything in my ~/.m2 that contained servicemix.org except for the problematic jars that contained javascript/html instead of the pom.xml. I also ran a "mvn help:effective-pom" and did not see servicemix.org. When I changed central to external:*

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-15 Thread Tim Andersen
SOLVED! We changed our mirror settings based upon the advanced guide: http://maven.apache.org/guides/mini/guide-mirror-settings.html Our settings.xml now excludes our local repositories (local meaning in our building, not on the local machine): thirdparty *,!internal,!ga,!snaps

Fwd: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
Brett, I went through the doc you send me below but could nor find an answer to my question there. I have redefined the lifecycle in my components.xml as follows: org.apache.maven.lifecycle.mapping.LifecycleMapping cstheme org.apache.maven.lifecycle.mapping.

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
Hi Erick could you call resources:copyResources -DoutputDirectory=/theme http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html ? Saludos Cordiales Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confident

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
*Martin, I don't think that will work here as maven it self is the one calling the copy-resources goal on the resources-plugin. What I need is a declarative way to pass the output directory into maven from within my plugin. Gracias. Erick * On Mon, Jun 15, 2009 at 1:32 PM, Martin Gainty wrote:

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
de nada can you use a configuration parameter for output-directory? sample.plugin maven-erick-plugin 1.0 theme http://maven.apache.org/guides/plugin/guide-java-plugin-development.html Quizas? Martin __ Verzicht und Vertraulichkeitanm

RE: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Matt Brown
For anyone who runs into this problem in the future: After downloading the scm plugin source, I discovered that the plugin is using an empty string for the passphrase when authenticating with a public key. To tell the scm/CVS plugin the correct passphrase to use, you need to set a System proper

RE: How to set up SCM/CVS/Maven integration with public key authentication (need help!)?

2009-06-15 Thread Matt Brown
For anyone who runs into this problem in the future: After downloading the scm plugin source, I discovered that the plugin is using an empty string for the passphrase when authenticating with a public key. To tell the scm/CVS plugin the correct passphrase to use, you need to set a System proper

RE: Plugin / Tool for local repository

2009-06-15 Thread Mohan KR
same here, interested in any updates on the plugin from the discussion below. Don't want to whip out another one if it already exists. Thanks, mohan kr -Original Message- From: Henri Gomez [mailto:henri.go...@gmail.com] Sent: Monday, June 15, 2009 9:32 AM To: Maven Users List Subject: R

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
As a last resource solution yes. The thing is I don't want to force the clients of the plugin to have to do this. instead i just want them to declared an specific packaging type and that's it. Unfortunately they will have to still define the my theme plugin in their poms.xml as it needs to have the

hibernate3-maven-plugin runs in the wrong project

2009-06-15 Thread Rusty Wright
In the parent project, when I run mvn -Plocalhost-hsql package, for example, it runs the hibernate3 plugin which generates the database, using an embedded hsql database. It's running the database generation in the parent project's directory and creating the files there, but the tests in the da

Re: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Anders Hammar
Hi, Could you please file a jira regarding this so that it can be fixed? /Anders On Mon, Jun 15, 2009 at 20:16, Matt Brown wrote: > For anyone who runs into this problem in the future: > > After downloading the scm plugin source, I discovered that the plugin is > using an empty string for the p

RE: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Matt Brown
Created: http://jira.codehaus.org/browse/SCM-477 Thanks. -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Monday, June 15, 2009 3:46 PM To: Maven Users List Subject: Re: How to set up SCM/CVS/Maven integration with p

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html create the archetype with included properties to create a catalog $ cat archetype.properties archetype.groupId=my.group.id archetype.artifactId=archetype-with-properties archetype.version=2.0 archetype.

Re: maven-remote-resources-plugin and org.apache:apache-jar-resource-bundle

2009-06-15 Thread Henri Tremblay
I'll answer my own question. It seems that org.apache:apache-jar-resource-bundle versions 1.3 is more flexible and so does exactly what I want. The question is: Why did it "regressed" by forcing the "This product includes software developed at The Apache Software Foundation ( http://www.apache.or

[ANNOUNCEMENT] - UNIX Maven Plugin 1.0-alpha-4 released

2009-06-15 Thread Trygve Laugstøl
I'm happy to announce the fourth alpha release of unix-maven-plugin. This is still primarily a technology preview, but is fully functional. = New in this release = o support for creating "zip" archives o added support for classes for pkg o %doc and %config for RPM o Lots of documentation, inc

Re: Why is version 2.0 NOT same as 2.0.0?

2009-06-15 Thread Nick Stolwijk
I guess it is because the plugins are handled not by ArtifactVersion but by the DefaultPluginVersionManager. With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Sun, Jun 14, 2009 at 8:13 PM, B Smith-Mannschott wrote: >> 2009/6/14 B Smit

Maven assembly - include/exclude by classifier

2009-06-15 Thread Dimitar Dimitrov
I am using Assembly plugin to package application that makes use of JNI and I am using classifiers for the native libraries. I'd like to have assembly descriptor as follows, but currently it doesn't work (I'm hacking this by creating different artifacts for native libs). Am I missing anything? I

Re: merge-maven-repos from local file system

2009-06-15 Thread Jane Young
Thanks, Dan. Switching to maven 2.1. fixes this issue. Jane Dan Tran wrote: please use maven 2.1, its built in wagon-file has this fix -D On Mon, Jun 15, 2009 at 6:12 AM, Martin Gainty wrote: http://mojo.codehaus.org/wagon-maven-plugin/usage.html the provided example specifies java.io.

Quandary over testing support classes.

2009-06-15 Thread David C. Hicks
Hi gang, I've been trying to find a reasonable solution to a problem we have with our Maven-based project. We have a collection of Builder classes that can create Model objects for testing purposes. These are segregated into a separate module (TestSupport) which has the Model artifact as a depen

dependency version at pom level

2009-06-15 Thread tony k
i'm new to maven, but have decades of experience with builds and java. after a basic survey of maven, one of the first things i asked my self is how i could force a version of a dependency at the parent pom. the general use case is that you are working with a series of third-party dependencies (

Re: Quandary over testing support classes.

2009-06-15 Thread Barrie Treloar
On Tue, Jun 16, 2009 at 11:01 AM, David C. Hicks wrote: > Hi gang, > > I've been trying to find a reasonable solution to a problem we have with > our Maven-based project.  We have a collection of Builder classes that > can create Model objects for testing purposes.  These are segregated > into a se

Re: Quandary over testing support classes.

2009-06-15 Thread David C. Hicks
I think my original message may not have been clear. I've tried to clarify it below. Barrie Treloar wrote: > On Tue, Jun 16, 2009 at 11:01 AM, David C. Hicks wrote: > >> Hi gang, >> >> I've been trying to find a reasonable solution to a problem we have with >> our Maven-based project. We have

Re: Quandary over testing support classes.

2009-06-15 Thread Barrie Treloar
On Tue, Jun 16, 2009 at 11:59 AM, David C. Hicks wrote: > I think my original message may not have been clear.  I've tried to > clarify it below. [del] > I think maybe my description was poor.  The Model code itself does not > rely on the test support classes, but rather the unit tests of those > M

Quandary over testing support classes.

2009-06-15 Thread David C. Hicks
Hi gang, I've been trying to find a reasonable solution to a problem we have with our Maven-based project. We have a collection of Builder classes that can create Model objects for testing purposes. These are segregated into a separate module (TestSupport) which has the Model artifact as a depen

[maven-eclipse-plugin]: MECLIPSE-548 requires attention

2009-06-15 Thread Ben Caradoc-Davies
MECLIPSE-548 is a showstopper for many projects that would otherwise use maven-eclipse-plugin. I suspect many projects using the plugin are now pinned to 2.5. This issue is marked as Critical priority, has six votes and four watchers. Can anyone take at look at this issue? If you do not intend to

Re: Maven + OSGI

2009-06-15 Thread Peter Horlock
Could anyone please share his/her assembly plugin settings and assembly file for OSGI? Thanks in advance, Peter