Configure abstract executions

2010-08-12 Thread Jens.Baitinger
Hi, Some of my modules has to be build with aspect while others don't. Currently I have the full config for aspectj in each of those modules, but it is always the same (see below). Is it possible to declare this execution in a parent pom and then only declare that for this module there is an

Re: Configure abstract executions

2010-08-12 Thread Stephen Connolly
if you put the def in pluginManagement and then in the child modules you just reference the plugin in build/plugins then the config for that plugin will be pulled from the pluginManagement On 12 August 2010 10:01, jens.baitin...@innovations.de wrote: Hi, Some of my modules has to be build

Re: Searchkng a repository

2010-08-12 Thread Wayne Fay
www.mvnrepository.com is another good one Wayne On Wed, Aug 11, 2010 at 11:48 PM, Anders Hammar and...@hammar.net wrote: May I Suggest the Nexus instance at https://repository.sonatype.org/ Or, possibly better, use M2Eclipse and do the search from inside your IDE (Eclipse). /Anders On

javadoc config in reporting and build sections

2010-08-12 Thread kelvin goodson
I have a javadoc plugin config in my reporting section of my top level pom, and now want to get javadoc into my release profile, which I think means I need to configure the plugin under the build element. Is there any way I can get the plugin config shared across build and reporting sections? (or

how to resolve dependency version with newest?

2010-08-12 Thread Michael Chan
Hi, I am new to maven and currently using version 2.1. Seems it only supports the nearest-wins policy, how can I use newest-wins? I googled and found this http://docs.codehaus.org/display/MAVEN/Conflict+Resolvers is it already implemented? If no, any other solution? Thanks. Michael

3.0-beta-2 pom checking fails build

2010-08-12 Thread John Singleton
I tried building my project with the latest maven 3.0-beta-2 but it fails the build because of a pom error in the colt-1.2.0 artifact on maven central. This error has already been reported (MEV-618, MEV-652) but is currently unassigned. I can't see any maven configuration or command-line option

Getting Error - Couldn't find a version in [11.0] to match range [9.0,11.0)

2010-08-12 Thread Arunkumar
Hi, I am trying to automate the Weblogic deployment using Maven. I am using Weblogic 11g. Here is my pom.xml plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId

Re: Getting Error - Couldn't find a version in [11.0] to match range [9.0,11.0)

2010-08-12 Thread Wayne Fay
Couldn't find a version in [11.0] to match range [9.0,11.0)  weblogic:weblogic:jar:null [9.0,11.0) means from version 9.0 inclusive, up to version 11.0 exclusive so it seems you cannot use Weblogic version 11.0 with this plugin. You should probably look at Codehaus Cargo project for deployment

Re: Getting Error - Couldn't find a version in [11.0] to match range [9.0,11.0)

2010-08-12 Thread Brett Porter
Seems the weblogic plugin doesn't support version 11.0 (it is looking for 9.0 = version 11.0) On 13/08/2010, at 1:26 AM, Arunkumar wrote: Hi, I am trying to automate the Weblogic deployment using Maven. I am using Weblogic 11g. Here is my pom.xml plugin

Re: how to resolve dependency version with newest?

2010-08-12 Thread Ron Wheeler
Newest measured how? Highest version? Are you trying to say I don't care what version I get as long as it is the highest/latest available? Just put the version that you want in your top level POM and nearest-wins will get it. What exactly are you trying to achieve? Do you have a lot of

Re: fetch target from remote repo

2010-08-12 Thread Pepe Perez
Thanks Anders. I wanted more something ready-to-use. I finally went for using plugins maven-install-plugin:copy + maven-install-plugin:install-file. It's not optimally clean, but will do the trick for now. Thanks! - Original Message From: Anders Hammar and...@hammar.net To: Maven

Re: fetch target from remote repo

2010-08-12 Thread Anders Hammar
Whatever works for you. However, the maven-install-plugin only works on the local repo. Wouldn't you want to deploy to a real repo such as one in a repo manager (maven-deploy-plugin)? /Anders On Thu, Aug 12, 2010 at 20:26, Pepe Perez pp.pe...@yahoo.com wrote: Thanks Anders. I wanted more

Re: fetch target from remote repo

2010-08-12 Thread Pepe Perez
Yes, we need both. Our current app deploys to a distribution repo, I'll get this behavior with maven using mvn deploy:deploy-file as you also suggest It also installs (fetch) to the local machine. I'll get this behavior with maven using maven-install-plugin:copy (which will fetch my target

Re: fetch target from remote repo

2010-08-12 Thread Ron Wheeler
On 12/08/2010 2:57 PM, Pepe Perez wrote: Yes, we need both. Our current app deploys to a distribution repo, I'll get this behavior with maven using mvn deploy:deploy-file as you also suggest It also installs (fetch) to the local machine. I'll get this behavior with maven using

Re: fetch target from remote repo

2010-08-12 Thread Pepe Perez
To show how maven can do out-of-the-box what our custom app does I'm starting my prototype by showing how maven can upload and download to/from both a remote repo and a local repo, though in this first stage I won't build my targets. So, I deploy my target and dependencies using

Re: fetch target from remote repo

2010-08-12 Thread Ron Wheeler
On 12/08/2010 3:45 PM, Pepe Perez wrote: To show how maven can do out-of-the-box what our custom app does I'm starting my prototype by showing how maven can upload and download to/from both a remote repo and a local repo, though in this first stage I won't build my targets. So, I deploy my

Re: fetch target from remote repo

2010-08-12 Thread Pepe Perez
At this first stage I'm using mvn as a repo manager, not as a build tool... so an operation on a target is not building it, but download it from the remote repo. Specifically, my targets are tgz files; when running mvn I'd want my target to be downloaded from the remote repo along with all its

Re: fetch target from remote repo

2010-08-12 Thread Ron Wheeler
On 12/08/2010 5:50 PM, Pepe Perez wrote: At this first stage I'm using mvn as a repo manager, not as a build tool... so an operation on a target is not building it, but download it from the remote repo. Specifically, my targets are tgz files; when running mvn I'd want my target to be downloaded