Re: duplicate snapshots copied by maven-dependency-plugin:copy-dependency

2009-04-21 Thread Reto Bachmann-Gmür
the jars are only duplicate when using the useRepositoryLayouttrue/useRepositoryLayout directive. unfortunately, that's what I need. Reto Reto Bachmann-Gmür said the following on 04/20/2009 03:29 PM: no this is after a mvn clean package cheers, reto Brian Fox said the following on

RE: Adding system scope jars to the manifest class path

2009-04-21 Thread Kogel, Jonck-van-der
Sounds right; system scoped stuff are supposed to be provided by the JVM etc. so they shouldn't be any need for the manifest to point them out. Also to expand a bit; if you intent to bundle those jars with your app use the default (compile) scope and if you expect something like a servlet

Re: Adding system scope jars to the manifest class path

2009-04-21 Thread Graham Leggett
Kogel, Jonck-van-der wrote: Ok, allow me to rephrase :) I'm struggling with some proprietary (IBM, Oracle, etc..) jars that I need to get added to my manifest class path. I don't want to do that manually obviously. When I add the proprietary jars to my pom and set their scope to default

Re: Adding system scope jars to the manifest class path

2009-04-21 Thread Graham Leggett
Graham Leggett wrote: The core reason is that it's virtually guaranteed that someone else, on a different machine, will want to build you code, and if the jars are on a shared repository (public or private, maven does care), then this is trivial and automatic. you == your does == doesn't

Re: Adding system scope jars to the manifest class path

2009-04-21 Thread Stephen Connolly
2009/4/21 Kogel, Jonck-van-der jonck-van-der.ko...@bmw.nl: Sounds right; system scoped stuff are supposed to be provided by the JVM etc. so they shouldn't be any need for the manifest to point them out. Also to expand a bit; if you intent to bundle those jars with your app use the default

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-04-21 Thread Martijn Dashorst
A co-worker tested it, and found it not working. He'll comment later. Martijn On Tue, Apr 21, 2009 at 12:20 AM, Arnaud HERITIER aherit...@gmail.com wrote: Ping ??Nobody wants to test it ? Without your help, will never be able to produce a plugin which replies to your needs. Cheers, Arnaud

RE: Adding system scope jars to the manifest class path

2009-04-21 Thread Kogel, Jonck-van-der
Seriously, just get over it and run a repository manager. Ok, will do :) Thanks for your help guys! - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Repo in parent dir...

2009-04-21 Thread Stephen Connolly
Here's what you are doing wrong: you are trying to do things the ANT way (i.e. let's check in a directory of jars into SCM) using Maven. Use a repository manager and don't keep a local repo contained within your project. ;-) -Stephen 2009/4/21 nino martinez wael nino.martinez.w...@gmail.com:

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-04-21 Thread Martijn Dashorst
The co-worker reported back that the plugin works as advertised (latest snapshot) Martijn On Tue, Apr 21, 2009 at 10:27 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: A co-worker tested it, and found it not working. He'll comment later. Martijn On Tue, Apr 21, 2009 at 12:20 AM,

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
Ahh, this works just fine if I keep the repositories relative to the sub project: parent | |--Sub\repo |--Sub\repo |--Sub\repo But is a waste of space.. This is a very nice way of adding stuff to dependencies that are no available on the public repos, it's also very usefull to deploy things

Repo in parent dir...

2009-04-21 Thread nino martinez wael
Hi I have a multimodule project where I have a local repo contained within the project currently it's defined as this: repositories repository releases checksumPolicywarn/checksumPolicy

Re: Is maven so inflexible?

2009-04-21 Thread João Pereira
Here's the scenario I have a the Alfresco SDK which depends on a lot of libraries, some of them I can find in the standard repos, others I don't. I wish that the SDK was made of only of one Jar wit no dependencies. I know that someone have their public repo with alfresco sdk, but I need

Re: Repo in parent dir...

2009-04-21 Thread David Hoffer
Good rule of thumb with maven, don't fight convention. You need a repo manager to deploy so why not use the same for your 4 dependencies? It works. -Dave On Tue, Apr 21, 2009 at 6:22 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Ahh, this works just fine if I keep the

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
Sure, but we then need an extra server :/ And even more setup... So actually what you are saying that on all setups where you are using dependencies that are not in the common maven repository you need a repo manager.. 2009/4/21 David Hoffer dhoff...@gmail.com: Good rule of thumb with maven,

Re: Is maven so inflexible?

2009-04-21 Thread David C. Hicks
I think the maven-dependency-plugin is probably what you need to use, in this case. On 4/21/09 5:52 AM, João Pereira wrote: Here's the scenario I have a the Alfresco SDK which depends on a lot of libraries, some of them I can find in the standard repos, others I don't. I wish that the SDK

RE: Repo in parent dir...

2009-04-21 Thread Todd Thiessen
To be more specific, all dependencies, including the ones in central, go through your own personal maven repo. This saves a lot of bandwidth (you only have to retrieve the artifact from the maven central repo once) and reduces the load on the maven central server considerably. Getting your own

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
Yes I know this. 2009/4/21 Todd Thiessen thies...@nortel.com: To be more specific, all dependencies, including the ones in central, go through your own personal maven repo. This saves a lot of bandwidth (you only have to retrieve the artifact from the maven central repo once) and reduces

Maven Site Skinning

2009-04-21 Thread Ryan Connolly
Hello: I am creating a site skin for my company's project sites and have written a MOJO that will generate the site logo based on the project name that runs at the pre-site lifecycle phase. My question is this: Could my plugin goal somehow be packaged along with the skin so that it can be

Re: Repo in parent dir...

2009-04-21 Thread Stephen Connolly
Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own desktop... I suspect Artifactory would be similar... This is for your own good... Go on... drink the repository manager kool-aid, you've already drank the Maven kool-aid, what are you afraid of

Re: Repo in parent dir...

2009-04-21 Thread David Hoffer
Since you need this anyway, there is no extra server. We use Artifactory and deploying 4 dependencies manually in this server takes about 4 minutes. Why fight whats easy? -Dave On Tue, Apr 21, 2009 at 8:01 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yes I know this.

Re: Repo in parent dir...

2009-04-21 Thread Dominic Mitchell
On 21 Apr 2009, at 15:05, Stephen Connolly wrote: Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own desktop... Likewise, I set up nexus on my laptop. It works like a charm, and makes using maven on the road much more pleasant. -Dom

The Sonar plugins forge is up and running

2009-04-21 Thread Olivier Gaudin
Sonar is an open source platform that manages java source code quality. The Sonar Team is pleased to announce two major events : 1. Sonar 1.8 is out The new version brings, amongst numerous improvements, two major functionality : a proper FindBugs configuration Management and a Hotspot

Re: Dependency on local web project war (netbeans)

2009-04-21 Thread Siegfried Goeschl
Hi Pieter, you could use a project layout like this +--project +--shared +--client +--server A few quick remarks +) the server part should not depend on the client or the other way round - therefore a common subproject +) sharing in Maven speak means installing the shared component

Re: Simple maven question

2009-04-21 Thread Nick Stolwijk
The official stand is that there is no guarantee in which order plugins are run inside a phase. And it shouldn't matter. If one plugin is dependend on the outcome of another plugin it should be in a later phase. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem

Re: Maven Site Skinning

2009-04-21 Thread jieryn
Hello Ryan, On Tue, Apr 21, 2009 at 10:05 AM, Ryan Connolly ryn...@gmail.com wrote: Hello:     I am creating a site skin for my company's project sites and have written a MOJO that will generate the site logo based on the project name that runs at the pre-site lifecycle phase. Any chance you

Re: Maven module only for site?

2009-04-21 Thread solo1970
I was thinking of using profiles but can't seem to find a way to activate the profile based on the lifecycle or phase??? solo1970 wrote: Hello everyone, Here is what I need to do: inlcude a moduleC/module in my aggregator (multi-module) POM that would ONLY BE executed when doing a

Re: Maven Site Skinning

2009-04-21 Thread Ryan Connolly
Jesse: I would be glad to, however, I feel it still needs some tweaking to allow for user configuration... I'm working on adding color, gradient, background configurations to allow this to work well with other skins/color/style schemes as it currently generates a logo that fits in with the

Re: Maven Site Skinning

2009-04-21 Thread jieryn
Hi Ryan, On Tue, Apr 21, 2009 at 11:31 AM, Ryan Connolly ryn...@gmail.com wrote: Jesse:    I would be glad to, however, I feel it still needs some tweaking to allow for user configuration... I was going to do a project just like this, and incorporate ImageMagick. My first thought was just to

Re: Simple maven question

2009-04-21 Thread Tony Giaccone
You know, I had a feeling that's what the real answer was going to be, it's the only one that makes any sense. As stuff gets added in from a variety of sources, you have no idea what has happened in this phase before or after you get a chance to run. h Worth thinking about... Tony On Tue,

Re: Dependency on local web project war (netbeans)

2009-04-21 Thread Milos Kleint
On Tue, Apr 21, 2009 at 4:23 PM, Siegfried Goeschl siegfried.goes...@it20one.at wrote: Hi Pieter, you could use a project layout like this +--project +--shared +--client +--server A few quick remarks +) the server part should not depend on the client or the other way round -

Re: Maven module only for site?

2009-04-21 Thread Nick Stolwijk
Why do you want to achieve that? Afaik you can't activate a profile based upon running phases. Just make sure the module only includes goals which are run in the site lifecycle. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Apr 21,

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
True, i'll hop on the wagon and drink the rest of the potion.. Thanks all for helping out.. 2009/4/21 Dominic Mitchell d...@semantico.com: On 21 Apr 2009, at 15:05, Stephen Connolly wrote: Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own

maven-ear-plugin or maven-ejb-plugin and persistence.xml

2009-04-21 Thread Jean-Claude
Hi, We are using maven2, JBoss 5 and Hibernate with the file persistence.xml according to the specifications. In the file persistence.xml we have to list the jar files like it: jar-file./activity-bo-1.0.0-SNAPSHOT.jar/jar-file jar-file./core-bo-1.0.0-SNAPSHOT.jar/jar-file These jar

Re: Maven Site Skinning

2009-04-21 Thread Ryan Connolly
Hi Jesse: I'm not familiar with ImageMagick... I'm acheiving simple logo creation using Java 2d as I didn't want users to have to have imaging apps installed to run the build. I would love to see what you come up with should you pursue that route would love to know if you can come up with a

Dependency management management

2009-04-21 Thread Jon Strayer
Our project has about 65 dependencies listed. I just discovered that one was listed twice. Is there a tool that will detect that for me? Or, perhaps one that will sort the dependencies to make it easier to scan for duplicates? -- All religions are Scientology complete

Re: Dependency management management

2009-04-21 Thread Nick Stolwijk
You could use the dependency management[1] report for that. Hth, [1] http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependency-management-mojo.html Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Apr 21, 2009 at 8:15

Re: Dependency management management

2009-04-21 Thread Nayan Hajratwala
I like to use: mvn dependency:tree mvn dependency:analyze On Tue, 21 Apr 2009 20:19:54 +0200, Nick Stolwijk nick.stolw...@gmail.com wrote: You could use the dependency management[1] report for that. Hth, [1]

Re: Maven Site Skinning

2009-04-21 Thread Dennis Lundberg
Ryan Connolly wrote: Hello: I am creating a site skin for my company's project sites and have written a MOJO that will generate the site logo based on the project name that runs at the pre-site lifecycle phase. My question is this: Could my plugin goal somehow be packaged along with the

Using a 'main' resource from a test

2009-04-21 Thread Ross E Bundy
I've set up my project according to the directory structure show at: http://maven.apache.org/guides/getting-started/index.html#How_do_I_add_resources_to_my_JAR I've included resources in both the test and main directories. There are some 'main' resources that I also need to access from my

Re: Using a 'main' resource from a test

2009-04-21 Thread Nayan Hajratwala
By default, classes under src/test/java should have access to: all classes under src/main/java src/test/java all resources under src/main/resources src/test/resources There must be something else wrong. Can you post your pom? On Tue, 21 Apr 2009 11:08:43 -0700, Ross E Bundy

Re: Using a 'main' resource from a test

2009-04-21 Thread Nick Stolwijk
What do you mean by access? Those resources in main should be on the classpath during test execution. With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Apr 21, 2009 at 8:08 PM, Ross E Bundy bu...@yahoo-inc.com wrote: I've set

Re: Maven Site Skinning

2009-04-21 Thread Ryan Connolly
Dennis: Yes, you have got this exactly right. I have a skin packaged in a jar and a custom plugin that contains the custom logo creation goal. I create the logo using the plugin at pre-site and reference the skin in my parent pom's site.xml which refers to the generated logo. Thank you

dependency:copy and transitive dependencies of artifactItems

2009-04-21 Thread Chris Burroughs
I assumed from the frequent references to transitive dependencies at http://maven.apache.org/plugins/maven-dependency-plugin/index.html that dependency:copy supported transitive dependencies of artifactItems. However, this appears to not be the case (at least as of a few years ago):

resolve dependencyManagement dependencies from a bill of materials (bom) pom

2009-04-21 Thread Jim Sellers
Hi all. For the company that I work at we've got a bill of materials (bom) pom that contains dependencies that we know will work together. Projects will use the import scope to pull this into their own projects. However, there is a possibility of putting in an artifact that won't be resolved by

Re: dependency:copy and transitive dependencies of artifactItems

2009-04-21 Thread Brian Fox
It does not support transitivity yet. You can use copy-dependencies and combinations of the filters to get the artifacts you need Chris Burroughs wrote: I assumed from the frequent references to transitive dependencies at http://maven.apache.org/plugins/maven-dependency-plugin/index.html that

[Result][Vote] findbugs-maven-plugin v 2.0.1 release

2009-04-21 Thread Garvin LeClaire
Hi, The vote has passed with the following result : +1 (binding): Garvin LeClaire +1 (non-binding): Benjamin Bentmannn, Stevo Slavic +0 (binding): Regards, Garvin LeClaire garvin.lecla...@gmail.com Garvin LeClaire wrote: The Maven Findbugs team would like to release Maven Findbugs

How to bundle the dependant jars with in the lib folder of war module?

2009-04-21 Thread RaviPotnuru
I have an EAR project for which the poms were already written, now i want jars to be bundled with war modules lib folder and those shouldn't be part of the EAR module, can some one please help me in this regard. Briefly I want all my dependancies should be bundled with in the war and they

[ANNOUNCEMENT] Archiva 1.1.4 Released!

2009-04-21 Thread Deng Ching
The Apache Archiva team is pleased to announce the release of Archiva 1.1.4 Apache Archiva is an extensible repository management software that helps taking care of your own personal or enterprise-wide build artifact repository. It is the perfect companion for build tools such as Maven,

Re: maven-ear-plugin or maven-ejb-plugin and persistence.xml

2009-04-21 Thread Stephane Nicoll
Jean-Claude, On Tue, Apr 21, 2009 at 7:03 PM, Jean-Claude jean-claude.rouvi...@ipi.chwrote: Is it a way to automatically generate the list of the jar files to avoid having to manually edit the file persistence.xml each time there is a new version of the jar files (e.g. using the