Re: Avoid to bring in new repositories via dependencies

2008-09-11 Thread Martin Höller
Hi Wendy! Thanks for your reply. On Thursday 11 September 2008 Wendy Smoak wrote: > On Thu, Sep 11, 2008 at 5:03 AM, Martin Höller <[EMAIL PROTECTED]> wrote: > > Unfortunately this dependency's pom.xml specifies other remote > > repositories. Could someone please tell me what is the recomended wa

Re: Problem with Dependencies Report Generation

2008-09-11 Thread Marat Radchenko
Get the same error here. Looks like it is caused by https://issues.apache.org/bugzilla/show_bug.cgi?id=28069 2008/7/18 Dhruva Reddy <[EMAIL PROTECTED]>: > Hi, > > I am on a multi-module project with a large number of dependencies. I > am trying to run the "site:site" goal in Maven 2.0.8. When it

Re: Property access from a plugin

2008-09-11 Thread Wendy Smoak
On Thu, Sep 11, 2008 at 4:34 PM, EJ Ciramella <[EMAIL PROTECTED]> wrote: > So with further research, if within a single pom, you have an > activeByDefault plugin and one that you're activating by specifying an > ID on the commandline, the activeByDefault one is ignored. Correct. Unless something

RE: Property access from a plugin

2008-09-11 Thread EJ Ciramella
This is hit or miss as well - if I do -P+base,+override, it ignores the activeByDefaults profiles. If I do -P+profile1 -P+profile2, then it doesn't take profile2 at all (so my plugin isn't activated). -Original Message- From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: Thursday, S

RE: Property access from a plugin

2008-09-11 Thread EJ Ciramella
That's simply not true - If you have: Parent pom -> child pom Both have a profile called "props" and both are active by default, when you enable a different profile in the parent pom, the child version (because it is active by default) still turns on and makes its properties available. There'

Re: Property access from a plugin

2008-09-11 Thread Stephen Connolly
You need to do -P+base,+override I think On Fri, Sep 12, 2008 at 1:01 AM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > activation on the comandline will disable any defaults. > > there is (added at some stage not sure what maven version) the ability to > add and remove with -P+otherProfile or

Re: Property access from a plugin

2008-09-11 Thread Stephen Connolly
activation on the comandline will disable any defaults. there is (added at some stage not sure what maven version) the ability to add and remove with -P+otherProfile or -P-otherProfile On Fri, Sep 12, 2008 at 12:34 AM, EJ Ciramella <[EMAIL PROTECTED]>wrote: > So with further research, if within

RE: Property access from a plugin

2008-09-11 Thread EJ Ciramella
So with further research, if within a single pom, you have an activeByDefault plugin and one that you're activating by specifying an ID on the commandline, the activeByDefault one is ignored. Additionally, I set up three profiles, two of which are active by default and when you activate the third

trying to setup debug jvm args for camel:run plugin...?

2008-09-11 Thread Mick Knutson
I want to attach to my "mvn camel:run" process so I can remote debug with intellij with something like "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" Is there anyone that is doing this, or can someone help me with this...? --- Thank You… Mick Knutson BASE Logic, inc. (41

RE: Property access from a plugin

2008-09-11 Thread EJ Ciramella
Can you give me an example of what you're talking about? The properties that are coming from this profile are used for filtering other files during process-resources. If I do a mavenProject().getProperties() the missing properties are not listed... The profile is truly active: System.out.print

Re: Property access from a plugin

2008-09-11 Thread Stephen Connolly
On Thu, Sep 11, 2008 at 11:33 PM, EJ Ciramella <[EMAIL PROTECTED]>wrote: > So what's happening is, I'm activating a few profiles, yet the > properties that are missing are set in an profile. It > appears that the profile is either not activated or > ignored. > > If I turn on this profile (along

RE: Property access from a plugin

2008-09-11 Thread EJ Ciramella
So what's happening is, I'm activating a few profiles, yet the properties that are missing are set in an profile. It appears that the profile is either not activated or ignored. If I turn on this profile (along with my other profiles), the properties are expanded properly. My plugin is simply

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread Michael McCallum
I've been testing RC17 as the external version for m2eclipse and its much much better than 2.0.9 or any of the other RC's. Its actually snappy. had some really weird things with plugin resolutions and stack overflows gioing on intermittently but they all look to be resolved. good work. -- Mi

Re: Custom repository problem

2008-09-11 Thread Wendy Smoak
On Thu, Sep 11, 2008 at 2:40 PM, Yaakov Chaikin <[EMAIL PROTECTED]> wrote: > Yes, it's there. I basically checked out my code under one of the > users on the server, then issued 'mvn clean install', then collected > everything from the ~/.m2/repository and moved it to a folder > configured to be a

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
On Thu, Sep 11, 2008 at 5:25 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > Perhaps a silly question, but are you certain these plugins (help, > clean) exist in your repo? Yes, it's there. I basically checked out my code under one of the users on the server, then issued 'mvn clean install', then colle

Re: Custom repository problem

2008-09-11 Thread Wayne Fay
Perhaps a silly question, but are you certain these plugins (help, clean) exist in your repo? Wayne On Thu, Sep 11, 2008 at 1:22 PM, Yaakov Chaikin <[EMAIL PROTECTED]> wrote: > Well, it's definitely connecting. I tried running this and I see it > downloading at least some stuff: > $ mvn help:effe

Property access from a plugin

2008-09-11 Thread EJ Ciramella
If you have a set of properties set within a profile that is active by default, programmatically, how do you access them? If I do help:effective-pom, I can see that they are set and if I do help:active-profiles, I can see the profile is also active, just when I list the properties, the are not

Re: Maven site-plugin

2008-09-11 Thread Hervé BOUTEMY
Le jeudi 11 septembre 2008, Matthias Dorfner a écrit : > Hey everybody, > > > > I’m very interested in using maven’s site-plugin for a project homepage > including javadoc and several possibilities this plugin offers. > > There’s already an existing API with javadoc information. At first, my main >

Re: "Release" translation

2008-09-11 Thread Hervé BOUTEMY
Le mercredi 10 septembre 2008, Baptiste MATHUS a écrit : > Hi all, > > Well, this is more a question to the french translation of release I just > saw in the 2.1 of the project-info-reports:dependencies plugin. > Release had been translated "Dégagement" in french, which seems inadequate > imo. > >

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
Well, it's definitely connecting. I tried running this and I see it downloading at least some stuff: $ mvn help:effective-settings . [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking

Re: Version number when building Maven itself

2008-09-11 Thread sverhagen
Brett Porter wrote: > > The only thing you should have to change is pom.xml (and all the ones in > the > subdirectories). > > Brett is right. I did it wrong. -- View this message in context: http://www.nabble.com/Version-number-when-building-Maven-itself-tp19425173p19442388.html Sent from t

Re: Flatten dependencySet includes (assembly plugin)

2008-09-11 Thread sverhagen
John Casey-5 wrote: > > there's an open issue related to mappers in > http://jira.codehaus.org/browse/MASSEMBLY > > That issue covers this functionality, and hasn't been completed yet. > You are right. This is the exact one: http://jira.codehaus.org/browse/MASSEMBLY-45 It looks like the sort

Re: Custom repository problem

2008-09-11 Thread Wendy Smoak
On Thu, Sep 11, 2008 at 11:27 AM, Yaakov Chaikin <[EMAIL PROTECTED]> wrote: >> Try it with -U on the command line to force it to check again. The >> default update policy is once per day and it may have cached an error >> from earlier today. > > Just tried it: 'mvn -U clean' > > Same thing. > > A

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
On Thu, Sep 11, 2008 at 2:08 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 10:14 AM, Yaakov Chaikin > <[EMAIL PROTECTED]> wrote: > >> My project has a need to use a custom maven2 repository. I have setup >> a directory to be exposed through our web server. Our server is only

Re: Custom repository problem

2008-09-11 Thread Wendy Smoak
On Thu, Sep 11, 2008 at 10:14 AM, Yaakov Chaikin <[EMAIL PROTECTED]> wrote: > My project has a need to use a custom maven2 repository. I have setup > a directory to be exposed through our web server. Our server is only > accessible through HTTPS (with a valid certificate) and a > username/password

Custom repository problem

2008-09-11 Thread Yaakov Chaikin
Hi, My project has a need to use a custom maven2 repository. I have setup a directory to be exposed through our web server. Our server is only accessible through HTTPS (with a valid certificate) and a username/password had to be setup as well. One of my other requirements was not to allow maven to

Re: YUICompressor plugin going ape

2008-09-11 Thread nicolas de loof
This plugin is not part of standard maven plugins. Please report your issue to alchim.sf.net 2008/9/11 John Coleman <[EMAIL PROTECTED]> > Hi, > > The YUICompressor plugin gives the dump below. Anyone have any ideas why > this should suddenly go wrong? We already tried to get a fresh update > from

Maven site-plugin

2008-09-11 Thread Matthias Dorfner
Hey everybody, I’m very interested in using maven’s site-plugin for a project homepage including javadoc and several possibilities this plugin offers. There’s already an existing API with javadoc information. At first, my main goal is to implement this project site without merging the whole

YUICompressor plugin going ape

2008-09-11 Thread John Coleman
Hi, The YUICompressor plugin gives the dump below. Anyone have any ideas why this should suddenly go wrong? We already tried to get a fresh update from the central repo. Is this maybe a mvn version issue given that it is a core mvn plugin class missing? TIA, John Using default encoding to co

Re: Using springframework in maven project

2008-09-11 Thread Hilco Wijbenga
On Thu, Sep 11, 2008 at 00:26, Simon Aquilina <[EMAIL PROTECTED]> wrote: > http://redhat1/pxy.pac That doesn't look like a host to me. Try redhat1. And read http://maven.apache.org/guides/mini/guide-proxies.html. The pxy.pac is probably some sort of script, you might want to read it and see

Re: Avoid to bring in new repositories via dependencies

2008-09-11 Thread Wendy Smoak
On Thu, Sep 11, 2008 at 5:03 AM, Martin Höller <[EMAIL PROTECTED]> wrote: > Unfortunately this dependency's pom.xml specifies other remote repositories. > Could someone please tell me what is the recomended way to avoid getting a > new repository into my environment? You can use mirrors, especial

RE: has excludes - why not includes?

2008-09-11 Thread EJ Ciramella
While there were three very enlightening suggestions to this question, nothing truly suits our needs. 1 - Using the version update thing requires the poms to be read/write, and do we rely on an automated process to simply update things and hope they build? Someone should be deciding on the versio

Re: maven-war-plugin (filtering resources)

2008-09-11 Thread walterw
Hi, Thanks for your quick response. That looks like exactly what I need. I have tried using the resources plugin to configure my JSPs but it does not appear to actually update them. If the maven-war-plugin is updated, then I think I'd be good to go. Thanks, Walter -- View this message in co

Re: Flatten dependencySet includes (assembly plugin)

2008-09-11 Thread John Casey
there's an open issue related to mappers in http://jira.codehaus.org/browse/MASSEMBLY That issue covers this functionality, and hasn't been completed yet. sverhagen wrote: Hi. Using the assembly plugin. Is there a way to get stuff that's in a certain folder X of a dependency end up in my assem

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread John Casey
Yeah, originalModel looks like it's saved off after inheritance occurs, so the only thing I was able to do this go around was to keep it from getting polluted by plugin information that's discovered by the plugin manager during build execution...so, if you don't have a plugin version legitimate

Re: maven-war-plugin (filtering resources)

2008-09-11 Thread Olivier Lamy
Hi, Currently no way to limit this. But you can certainly add an issue in http://jira.codehaus.org/browse/MSHARED under the component maven-filtering. As we have fixed http://jira.codehaus.org/browse/MRESOURCES-29 we can imagine having the same feature with the war plugin. -- Olivier 2008/9/11 wa

maven-war-plugin (filtering resources)

2008-09-11 Thread walterw
Hi all, I am having problems filtering my resources (.jsp, .xml, .sql). I configure the context path as well as URLs and so I would like to keep these as variables so I can update the property in a single place and everything will be updated automatically. The issue that I am having is that whe

How to set system property for a plugin ?

2008-09-11 Thread Olivier THIERRY
Hi, I try to use Hibernate3 Maven plugin to generate DDL from JPA entities bundled in a JAR. This JAR has a persistence.xml with no Hibernate dialect set (it's because I want it to be database independant). Actually I use -D option to set this dialect. For example : mvn install -Dhibernate.dialect

Avoid to bring in new repositories via dependencies

2008-09-11 Thread Martin Höller
Hi all! I want to use some new dependency which is not in maven central but in some other remote repository. I downloaded and imported this dependency in our internal archiva to have access to it without adding some new remote repository. Unfortunately this dependency's pom.xml specifies other

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread Stephen Connolly
BTW, I think we're still getting the project.getOriginalModel().getBuild().getPluginManagement() containing the super-pom (but as that is 2.0.9 behaviour it's not a "regression" form 2.0.9... perhaps from previous versions but not from 2.0.9) On Thu, Sep 11, 2008 at 12:50 PM, Stephen Connolly < [E

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread Stephen Connolly
Seems fine here too On Thu, Sep 11, 2008 at 12:29 PM, Peter Horlock < [EMAIL PROTECTED]> wrote: > RC17 runs smooth and nicely here too... > > > Thanks, > > Peter >

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread Peter Horlock
RC17 runs smooth and nicely here too... Thanks, Peter

Re: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-11 Thread Martin Höller
On Wednesday 10 September 2008 John Casey wrote: > http://people.apache.org/~jdcasey/stage/current-maven-RC/ > > Enjoy, and let me know if you have problems. No problems here with RC17. thanks, - martin signature.asc Description: This is a digitally signed message part.

Re: How to merge pom files ?

2008-09-11 Thread Olivier THIERRY
I could not find a way to add individual files to shaded jar, I think this is something not possible. I workarounded the problem by packageing these individual files into a jar file using a maven project. Then I included this jar as a dependency in my t4-core-all project and in Shade plugin configu

RE: Using springframework in maven project

2008-09-11 Thread Simon Aquilina
Hi, I think the problem I have is proxy related since I need a proxy to browse the internet from work. I therefore opened the settings.xml configuration file and entered the following in it; true http http://redhat1/pxy.pac 3168 With these settings I do