RE: Issue with release:perform

2010-09-17 Thread Neil Chaudhuri
I ended up trying both (/trunk and /trunk/parent), and I get the same result. I would imagine this is because: [INFO] Working directory: C:\myproject\parent\target That directory never has a pom in it. That just has the checkout directory in there, and then it is inside there all the fun starts

Dependency error when building ear file

2010-09-17 Thread Jon Paynter
-- Apologies in advance if this is a duplicate -- Hi -- ive been tasked with looking to see if maven will work to replace our current ant build. Since our company makes extensive use of j2ee and OC4J components, that was one of the first thingsI tackled after getting some basic modules to compile

RE: Issue with release:perform

2010-09-17 Thread Neil Chaudhuri
You are correct on both counts. Before I run this, I have two questions: 1) Why do I want to append trunk when the version I want to release is in the tag I just prepared? 2) My parent pom is actually in a directory called parent beneath pom? So I presume I should do /svn/myproject/trunk/paren

Re: Issue with release:perform

2010-09-17 Thread Mark Derricutt
Sounds like your probably a) using subversion and b) have your pom element pointing to say " http://svn/myproject"; rather than "http://svn/myproject/trunk"; this will then get maven to checkout TRUNK ( which should contain the pom.xml in its root directory ) and you should be good to go. -- P

Issue with release:perform

2010-09-17 Thread Neil Chaudhuri
On release:perform (after a successful release:prepare), two curious things happen with my multi-module project: *Every tag and branch and trunk item gets downloaded to my machine. Thus it takes a while. All I want is for the tag I just created to get released. *After everything

Re: Deploy with SFTP tries to cd to parent too many times

2010-09-17 Thread Jason van Zyl
I make the distinction where Maven deploys and putting something in production is provisioning. On Sep 17, 2010, at 2:25 PM, Gorham-Engard, Frank wrote: > I can't help wondering if this entire discussion is continuing because of > semantics. > > I think you are talking about two uses of the wo

[ANN] Maven Antrun Plugin 1.5 Released

2010-09-17 Thread Paul Gier
The Maven team is pleased to announce the release of the Maven Antrun Plugin, version 1.5 This plugin allows Ant tasks to be run within a Maven build. See the plugin's site for more details: http://maven.apache.org/plugins/maven-antrun-plugin/ You should specify the version in your project's p

RE: Deploy with SFTP tries to cd to parent too many times

2010-09-17 Thread Gorham-Engard, Frank
I can't help wondering if this entire discussion is continuing because of semantics. I think you are talking about two uses of the word deploy. For a "Maven Deploy" a standard Maven repository is probably best. For a "Production Deploy" we must use whatever the production environment provides.

Re: [PLEASE TEST] Apache Maven 3.0-RC1

2010-09-17 Thread Olivier Lamy
Hi, Here it's more a site plugin issue (looks related to http://jira.codehaus.org/browse/MSITE-504 but needs to be more investigated) Can you record an issue with a simple project to reproduce ? Thanks, 2010/9/17 Martin Vaněk : >  So now I've found most likely bug in site plugins configuration >

Re: Maven3 RC1: Executing MojoExecutions with PluginManager

2010-09-17 Thread Olivier Lamy
Hi, You can have a look at the site plugin 3.x branch [1] to understand how to do it. In the class DefaultMavenReportExecutor.java, you will see how to "setup/prepare" a mojo. [1] http://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-3.x/ 2010/9/17 Steffen : > Hello, > > I dev

Re: [PLEASE TEST] Apache Maven 3.0-RC1

2010-09-17 Thread Martin Vaněk
So now I've found most likely bug in site plugins configuration In parent pom.xml build.pluginManagement.plugins.plugin[maven-site-plugin].reportPlugins org.apache.maven.plugins maven-changes-plugin changes-report ${basedir}/src/changes.xml de.smartics.maven.plugin maven-buildmetadata-pl

Maven3 RC1: Executing MojoExecutions with PluginManager

2010-09-17 Thread Steffen
Hello, I developed a mojo that can be used to execute executions by id with their individual configuration. This is needed to execute plugins seperately if they are configured twice (i.e. the sql execute plugin) in a project. With maven 3 this is now broken because of an UnsupportedOperationExcep

Res: Buildmanagement-Strategy

2010-09-17 Thread Felipe Roos
Hi Folks, That's a very intersting conversation. Regarding "internal process", do you have such things as internal releases and external releases? If so, how do you manage your maven releases of "releases" and "snapshots" during the qualification cycles? Regards, Felipe Roos http://www.

Update a BOM programmatically

2010-09-17 Thread HARDION Vincent
Hello, I want to scan my scm repository, find new maven project and update another maven project used as BOM. What's the best way to add a new dependency management entry in an existing pom ? The purpose should fit with polyglot pom (but not mandatory). Thanks in advance Best regards, Vincent

Re: [PLEASE TEST] Apache Maven 3.0-RC1

2010-09-17 Thread Tim
Still not seeing the promised speed up when on a mac (and actually always a bit slower). But definitely seeing the improved times on a linux box (Linux 2.6.32-24-server #41-Ubuntu x86_64 GNU/Linux ) So it seems that if you are on a mac then be aware that upgrading to mvn 3 could at best give you t

Re: Maven dependency library versioning issue

2010-09-17 Thread Nayan Hajratwala
On Sep 17, 2010, at 9:27 AM, Pradnya Gawade wrote: > Thanks Nayan. > > I used Maven2 plugin inside eclipse Helios which gives you an option > 'Use Maven dependencies' and that is how I came to know that POI 2.5 is > coming from JBPM. I used the mentioned exclusions syntax so that JBPM > won't dow

RE: Buildmanagement-Strategy

2010-09-17 Thread Yanko, Curtis
I can't help but feel that you have completely obfuscated a relatively basic need. It's like you have the right tools but the wrong implementation. Why doesn't storing your artifacts in Nexus also along with Maven POMs to specify the dependencies for each project work for you?

Re: Maven dependency library versioning issue

2010-09-17 Thread Antonio Petrelli
2010/9/17 Pradnya Gawade : > Thanks Nayan. > > I used Maven2 plugin inside eclipse Helios which gives you an option I suppose you're using m2eclipse. Ensure you installed the Maven POM Editor so you can see the dependency graph. You can even exclude the dependency from the graph. It's a life-saver

RE: Maven dependency library versioning issue

2010-09-17 Thread Pradnya Gawade
Thanks Nayan. I used Maven2 plugin inside eclipse Helios which gives you an option 'Use Maven dependencies' and that is how I came to know that POI 2.5 is coming from JBPM. I used the mentioned exclusions syntax so that JBPM won't download the POI jar file but it does. So I wanted to confirm if I

Re: [PLEASE TEST] Apache Maven 3.0-RC1

2010-09-17 Thread Martin Vaněk
Hi guys, so far so good, but I've found something little odd. I have reporting plugins preconfigured in pluginManagement section of parent pom and I've noticed that this configuration is used only when building parent and is not inherited into child projects and has to be configured explicitly

Re: Buildmanagement-Strategy

2010-09-17 Thread Stefan Schulze
Nayan Hajratwala wrote: > On Sep 16, 2010, at 12:31 PM, Stefan Schulze wrote: > > Sadly it's not simply done by the proper maven strategy - it has to > > correlate to the SCM and some internal processes. :( > > Ahh -- the infamous internal processes. Perhaps you might > find some help with that

Re: Help in build multiple source folder and placing it under respective parent strucutre in /target/classes

2010-09-17 Thread Anders Hammar
I don't understand what you want to customize, but I want to advice you to don't fight Maven. Use the standards and your development life will be so much easier. /Anders On Thu, Sep 16, 2010 at 20:03, Amit Moses wrote: > > Dear All, I am just a beginner with maven 2.0. I am trying to build a ma

Re: How to put classes in a directory of your choice in a jar

2010-09-17 Thread amitmosesalbert
Laurent, This was very useful. Can you help me out in placing classes to a directory same as parent under target/classes Say i have src/main/java/com/company/app/a.java to be placed under target/classes/com/company/app/a.class I can work out for anything under app but what if i have the below s

Help in build multiple source folder and placing it under respective parent strucutre in /target/classes

2010-09-17 Thread Amit Moses
Dear All, I am just a beginner with maven 2.0. I am trying to build a maven project with some customized folder. .i.e As follows Simple - pom.xml - src - main - java - org - simple - com - test.java - folder1 -folder2 - hello.java I want maven to build these file

Re: Maven Release Plugin

2010-09-17 Thread Marcus Linke
Hello again. In my usecase all submodules SHOULD include a common set of dependencies. The submodules have no dependencies to other submodules. Thats why declaring the dependencies in the parent pom. The configuration option >true is only responsible to auto update the parent of all submodules. I