Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread kristian
Hi, still having problem with ProjectBuilder. after I followed the API change of the ProjectBuildingRequest I see following Caused by: java.lang.NullPointerException at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:185) at

Re: Build part of a large project

2010-09-23 Thread Baptiste MATHUS
I'm not sure to understand you thoroughly, but wouldn't a multimodule project + activating hudson incremental build be the solution? Cheers 2010/9/23 Thomas Sundberg > Hi! > > We have a Maven project that we want to build parts of using Hudson. Our > setup is similar to this: > > A -- B > +- D

Re: Re: write dependencies into file during assembly

2010-09-23 Thread Jörg Schaible
Hi, Iron Eagle wrote: > Hi Jörg, > > thanx for the example. Now I undestand, what you mean. You have a static > start scrpit, but you create the classpath dynamically in that > startscript. > > I think of that too, but I would preffer the opposite: A dynamically > created script, that uses a st

maven release dryRun

2010-09-23 Thread Yuvaraj Vanarase
Hi, I have observed that using maven release with dryRun is true, I can not suppress the test class execution. Any body has idea how to do it? I am using maven 2.2.1 Regards, Yuvaraj yuvar...@synechron.com | Desk-+91-20.4026 2000 Ext. 2305 | Mobile-+91 9850818870

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Benjamin Bentmann
kristian wrote: any hints are welcome to do the "better". /** @parameter default-value="${repositorySystemSession}" * @readonly */ private RepositorySystemSession repoSession; ... request.setRepositorySession( repoSesssion ); Benjamin

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread kristian
cool ;-) thanx. On Thu, Sep 23, 2010 at 2:27 PM, Benjamin Bentmann wrote: > kristian wrote: > >> any hints are welcome to do the "better". > > /** @parameter default-value="${repositorySystemSession}" >  * @readonly >  */ > private RepositorySystemSession repoSession; > > ... > > request.setRepos

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Tony Chemit
Le Wed, 22 Sep 2010 20:44:14 +0200, Benjamin Bentmann a écrit : > Hi, > works fine except for a regression I already noticed (and tells in beta-2). The problem occurs when you use more than one plugin execution declared in different profile. I will make a little example to explain it better a

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Jörg Schaible
Hi, Benjamin Bentmann wrote: > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upcoming release for a test drive > can get source and binary bundles from t

Re: release - modify SCM information

2010-09-23 Thread Stephen Connolly
you could use tagbase to define the tagbase as being a sub-folder of tags On 22 September 2010 16:11, Nayan Hajratwala wrote: > > On Sep 22, 2010, at 10:30 AM, mremerson...@aim.com wrote: > > > Hi, > > > > is it possible to manipulate the SCM modification of the > maven-release-plugin ? > > > >

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Jochen Wiedmann
Works fine with my most important builds, including "site". Jochen -- I Am What I Am And That's All What I Yam (Popeye) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@m

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Olivier Lamy
Hi, Works fine here (company builds and some open source stuff) Thanks ! 2010/9/22 Benjamin Bentmann : > Hi, > > in preparation for the release of Apache Maven 3.0, the Maven team is > seeking your help to discover regressions since Maven 2.x. Everybody > interested in taking a preview of the upco

Re: maven release dryRun

2010-09-23 Thread Dario Luis Coneglian Oliveros
If you want to skip tests, just add the following in the command line: -Dmaven.test.skip=true Regards, Dário Oliveros CPqD Tel.: +55 19 3705-4586 / Fax: +55 19 3705-6600 olive...@cpqd.com.br www.cpqd.com.br On Qui, 2010-09-23 at 03:08 -0500, Yuvaraj Vanarase wrote: > Hi, > > I have observed

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Kristian Rosenvold
Den 23.09.2010 11:31, skrev Jörg Schaible: Is it possible that the new code for parallel processing unintentionally swallows the OOME? Does someone else observe the same behavior? Are you running with the -T option active ? Kristian --

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Jörg Schaible
Hi Kristian, Kristian Rosenvold wrote: > > Den 23.09.2010 11:31, skrev Jörg Schaible: >> Is it possible that the new code for parallel processing unintentionally >> swallows the OOME? Does someone else observe the same behavior? >> > Are you running with the -T option active ? No. - Jörg --

RE: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread hermod.opstvedt
Hi Our build which consists of 57 projects fails with the following on 3.0-RC2 (Ok on 2.2.1) [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project site-resources: Execution default-install of goal org.apache.maven.plugins:maven-in

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Stephen Coy
Are you using Surefire 2.6? I believe that has a memory leak. See http://jira.codehaus.org/browse/SUREFIRE-647. On 23/09/2010, at 7:31 PM, Jörg Schaible wrote: > Hi, > > Benjamin Bentmann wrote: > >> Hi, >> >> in preparation for the release of Apache Maven 3.0, the Maven team is >> seeking y

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
I am sorry if i cause the group to over-react about this real issue that i am here. I read the wiki page http://maven.apache.org/plugins/maven-deploy-plugin/usage.html three (or more) times now. I still not sure how to deploy older artifacts from local repository to remote repository without the n

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread Justin Edelson
The fact that the artifacts are in your local repository is irrelevant. Put that out of your mind. All that matters is that you have an artifact and a pom and you want to deploy them to a remote repository. That's what deploy-file does. All you have to do is: mvn deploy:deploy-file -Durl= -Drepos

Re: Build Flex in a Headless Environment

2010-09-23 Thread Marvin Froeder
It would be really nice if you share your tips with other users by add this info on flexmojos wiki https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests#Runningunittests-linux It is public editable. VELO On Wed, Aug 18, 2010 at 11:28 PM, Eric Fetzer wrote: > Ok, I figured it out. He

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
Ummm, thanks. I read that and i understand that deploy:deploy-file can deploy files to remote repo. I guess I am confused by reading the comments here in this thread. I think at one point, I replied and described using deploy-file and some replied that it is not suitable in my situation. Just rep

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread Wayne Fay
> I think at one point, I replied and described using deploy-file and > some replied that it is not suitable in my situation. You thought wrong. Go back and read the thread. No one ever said that. > So, using deploy-file to deploy missing artifacts one by one is the > best way to do it? Yes Ja S

Re: Custom resource filter

2010-09-23 Thread Laurent Martelli
Salut, Je n'ai pas eu le temps de regarder ton patch plus tôt. J'ai eu un peu de mal à l'appliquer sur trunk, en particulier parce qu'il n'y a pas de répertoire src/it/user-filters. Mais j'ai pu appliquer ça sur src/it/MRESOURCES-78 Quand j'essaie de lancer les tests avec "mvn -Prun-its integrat

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread Anders Hammar
As you don't seem to be fully comfortable with Maven, I suggest that you either use the staging feature of Nexus Pro or (if you're using Nexus OSS) set up a temporary repo which you practice this on. Then, as long as you don't delete the local files, you can't mess anything up. As a Nexus tip, whe

Creating an install directory

2010-09-23 Thread Jon Paynter
Hi, Im working with a multi-module project and trying to create an install directory. The directory will eventually be copied to a destination server (or servers depending on configs). Ive been working with the assembly and dependency copy plugins to try and get things copied into their proper p

Re: reactor:resume problem

2010-09-23 Thread D D
guys any idea on that mystery reactor problem? I did RT...M and searched Jira issue log. No luck so far. Wayne or Anders any words of wisdom? Thanks, Dave On Wed, Sep 22, 2010 at 12:28 PM, D D wrote: > Could someone help me out on this little mystery: > > During compilation process I provide s

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
anders, Yes, i am planning to back up the local repo first. Thanks guys... On Thu, Sep 23, 2010 at 10:43 AM, Anders Hammar wrote: > As you don't seem to be fully comfortable with Maven, I suggest that you > either use the staging feature of Nexus Pro or (if you're using Nexus OSS) > set up a te

Re: Creating an install directory

2010-09-23 Thread D D
Hi Jon, First of all I'm not an expert but maybe experts will correct my advise. In essence I would not "bend" Maven to do all that distribution for you. If possible I would suggest to use dependency:copy to move artifacts to some other location and then write a script to sort them according to y

Re: Creating an install directory

2010-09-23 Thread Jon Paynter
yes thats definately possible to. however thats what im trying to move away from. The current build is a morass of ant scripts for building and packaging. doing bugfixes and updates is problematic at best. based on what ive been able to accomplish it seems im close to a solution, but with only 1 o

Re: Custom resource filter

2010-09-23 Thread Laurent Martelli
Hi all, Sorry for the french private reply on the list :-/ Cheers, Laurent 2010/9/23 Laurent Martelli > Salut, > > Je n'ai pas eu le temps de regarder ton patch plus tôt. > > J'ai eu un peu de mal à l'appliquer sur trunk, en particulier parce qu'il > n'y a pas de répertoire src/it/user-filters

Strategies for converting from Ant

2010-09-23 Thread David Karr
I work on a pretty large project that uses Ant for builds. We're doing some research on converting to Maven. I'd like to describe some of the elements of our situation, hopefully to find some conceptual "cookbook" strategies for those aspects. The "application" consists of the aggregation of seve

Re: Strategies for converting from Ant

2010-09-23 Thread Jon Paynter
David, Im looking at exactly the same thing - moving from ant to maven. One of the first things I ran into was maven's concept of one artifact per project. With ant its quite easy to take a set of files for a webapp, and create both an ear and war file, and be ready for deployment. With maven e

Re: Strategies for converting from Ant

2010-09-23 Thread Greg Akins
On Thu, Sep 23, 2010 at 5:30 PM, David Karr wrote: > I work on a pretty large project that uses Ant for builds. We're doing some > research on converting to Maven.  I'd like to describe some of the elements > of our situation, hopefully to find some conceptual "cookbook" strategies > for those asp

Re: Strategies for converting from Ant

2010-09-23 Thread Brian Topping
The largest build I converted to Maven was about five years ago, and it had roughly 100 projects in Ant. Intriguingly, they had written an Ant plugin to process Eclipse project metadata. It strikes me you might be able to take the same shortcut with your project if your build is somehow able t

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread Brian Fox
Nexus has a trash folder that holds all files deleted. (sonatype-work/nexus/trash) Hopefully they didn't also purge that and you can just recover the files from there. Otherwise you could manually load the files from your local into nexus' storage folder, the do a clear cache and reindex. Sent fr

What is your strategy to manage dependencies?

2010-09-23 Thread Mario Wirth
Hi community, I am interested in your strategy, how to use Maven to make sure, all artifacts are selected in the right version. By default, if you add a dependency with it's version, that is only a wish. Maven is allowed to change the artifact to a newer or an older version. It depends on th

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
Yeah, unfortunately, the delete has been done in system/file level and not via Nexus. :( On Thu, Sep 23, 2010 at 4:11 PM, Brian Fox wrote: > Nexus has a trash folder that holds all files deleted. > (sonatype-work/nexus/trash) Hopefully they didn't also purge that and > you can just recover the fi

Re: Release version numbers in large multi-module project

2010-09-23 Thread Stuart Sierra
On Tue, Sep 21, 2010 at 8:16 AM, Anders Hammar wrote: > Not sure I understand. But basically, the end user controls the transitive > dependencies. Your artifacts can't do that. So if he wants to use version A > of Clojure, he can do that regardless of the version of your artifacts he's > using (it

Re: Multiple log4j properties file

2010-09-23 Thread Stuart Sierra
One technique I've used is to embed Java system properties in the log4j.properties file with the ${property.name} syntax. Then I set that property to a different value for each process. -S On Tue, Sep 21, 2010 at 6:39 AM, Sridhar Laxmipuram Srinivasan wrote: > Hi, > Can anyone suggest me how to

RE: Multiple log4j properties file

2010-09-23 Thread Sridhar Laxmipuram Srinivasan
Oh! So you are including a different log4j file thru system properties ? It would be of gr8 help if you can show me an example pom with 2 profiles which has 2 log4j property file specified :) Thnkx sridharl -Original Message- From: the.stuart.sie...@gmail.com [mailto:the.stuart.sie...@gm