Re: Maven Dependency Mechanism

2008-06-04 Thread Brett Porter
It's an argument to the current resolution mechanism that lets you make a decision on whether to include every artifact. Maven has some standard filters for passing in lists in certain forms. You could look at the code of the assembly plugin for how those are used. How you configure it is u

Re: Maven Dependency Mechanism

2008-06-04 Thread Marvin Froeder
Can you give me some light about how this plugins filters works? A where to start... VELO On Wed, Jun 4, 2008 at 10:45 PM, Brett Porter <[EMAIL PROTECTED]> wrote: > It's debatable whether the artifact resolution mechanism should support > customisable scopes - I can see some justification from

Re: Maven Dependency Mechanism

2008-06-04 Thread Brett Porter
It's debatable whether the artifact resolution mechanism should support customisable scopes - I can see some justification from this, but these would all be flex specific, not blended in with the current set. I would suggest that the best approach for you to take is to configure filters o

Re: Maven Dependency Mechanism

2008-06-04 Thread Marvin Froeder
Flex has 2 types of binaries SWC (jar like) and SWF runnable file, but is not a library. Just keep in mind flex is very different from java. SWF files must be all required libraries bounded into it own binary in order to run or load at runtime. Flex compiler has 5 ways to link libraries to appli

Re: Maven Dependency Mechanism

2008-06-04 Thread Jason van Zyl
I think you need to explain more about what the problem is. I'm not sure you will need a new scope. On 4-Jun-08, at 2:22 PM, Marvin Froeder wrote: Hi guys, I try this on users list, but now answer. I have develop my on plugin for compiling flex with maven ( http://blog.flex-mojos.info/). F

[ANN] Maven Checkstyle Plugin 2.2 Released

2008-06-04 Thread Dennis Lundberg
The Maven team is pleased to announce the release of Maven Checkstyle Plugin, version 2.2. The Checkstyle plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/ http://maven.apache.org/plugins/ma

Fwd: Maven Dependency Mechanism

2008-06-04 Thread Marvin Froeder
Hi guys, I try this on users list, but now answer. I have develop my on plugin for compiling flex with maven ( http://blog.flex-mojos.info/). Flex is different from Java in several ways. One of this ways are related to libraries scopes. Was need to add other scopes in order to compile flex. N

[VOTE][RESULT] Release Maven Checkstyle plugin version 2.2

2008-06-04 Thread Dennis Lundberg
The vote has passed with the following votes: +1 (binding): Dennis Lundberg, Vincent Siveton, Olivier Lamy, Joakim Erdfelt +1 (non-binding): Fabrice Bellingard, Nicolas De Loof, Hérve Boutemy, Zach Legein I will go ahead and release the artifacts. Dennis Lundberg wrote: Hi, It's been ove

Sonar is watching us

2008-06-04 Thread Arnaud HERITIER
Hi guys, I don't know if you know the tool named sonar : http://sonar.hortis.ch/ They deployed a public instance here : http://nemo.hortis.ch They are analyzing a lot of projects. Maven reports are here : http://nemo.hortis.ch/project/dashboard/19084?sid=212890 Arnaud

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Arnaud HERITIER
I don't think there's another plugin that it is used (excepted those used by default in the lifecycle). I'll check and I'll try to create a little test case to reproduce it. Thx Arnaud On Wed, Jun 4, 2008 at 8:44 PM, Brian Fox <[EMAIL PROTECTED]> wrote: > My guess is that one of your plugins is

Re: Conficuring dependency for com.sun.javadoc and com.sun.tools.doclet

2008-06-04 Thread Niranjan Deshpande
Apologies on sending it twice. I just stumbled upon the FAQ just after I sent this post. Thanks for the reply. On Wed, Jun 4, 2008 at 6:14 PM, Vincent Siveton <[EMAIL PROTECTED]> wrote: > Please, don't send twice. > > http://maven.apache.org/users/getting-help.html > Specifically, read the refere

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Brian Fox
My guess is that one of your plugins isn't resolving the correct scope of dependencies and having the enforcer masks this. Sent from my iPhone On Jun 4, 2008, at 11:33 AM, "Arnaud HERITIER" <[EMAIL PROTECTED]> wrote: Are you sure ? I tested it all the day and it doesn't work for me withou

Re: Is mirrorOf mandatory in settings? was: Re: [jira] Reopened: (ARCHETYPE-177) NullPointerException generating archetype when mirrors are in settings.xml

2008-06-04 Thread Raphaël Piéroni
Thanks Brett, So I'll re-close the issue telling that if the Exception issue not saying the settings is badly formed belongs to core maven instead to the archetype plugin. Regards, Raphaël 2008/6/4 Brett Porter <[EMAIL PROTECTED]>: > Hi Raphaël, > > Having mirrors is not mandatory (this is the

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Stephen Duncan Jr
The ear plugin is the only plugin I have configured in my ear project. I don't have any parent POMs involved. The only issue I hit (yes, I jumped on this tip somewhat hastily), was that the release plugin only updated the first dependency (the pom), for each pom+war pair I had. -Stephen On Wed,

Re: Conficuring dependency for com.sun.javadoc and com.sun.tools.doclet

2008-06-04 Thread Vincent Siveton
Please, don't send twice. http://maven.apache.org/users/getting-help.html Specifically, read the references Cheers, Vincent 2008/6/4, Niranjan Deshpande <[EMAIL PROTECTED]>: > My application needs the Tag and Taglets class when it is compiled. > These classes are provided in JDKs tools.jar fil

Re: Conficuring com.sun.javadoc and com.sun.tools.doclets

2008-06-04 Thread Vincent Siveton
Hi, Have a glance to http://maven.apache.org/general.html#tools-jar-dependency Cheers, Vincent 2008/6/4, Niranjan Deshpande <[EMAIL PROTECTED]>: > My application needs the Tag and Taglets class when it is compiled. > These classes are provided in JDKs tools.jar file. > > Since this has not be

Conficuring dependency for com.sun.javadoc and com.sun.tools.doclet

2008-06-04 Thread Niranjan Deshpande
My application needs the Tag and Taglets class when it is compiled. These classes are provided in JDKs tools.jar file. Since this has not been configured in my POM, I am getting this error: package com.sun.tools.doclets does not exist How do i add this dependecny to the POM? AS per my understand

Conficuring com.sun.javadoc and com.sun.tools.doclets

2008-06-04 Thread Niranjan Deshpande
My application needs the Tag and Taglets class when it is compiled. These classes are provided in JDKs tools.jar file. Since this has not been configured in my POM, I am getting this error: package com.sun.tools.doclets does not exist How do i add this dependecny to the POM? AS per my understand

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Arnaud HERITIER
Are you sure ? I tested it all the day and it doesn't work for me without the enforcer :-( Another plugin in your build lifecycle ? Arnaud On Wed, Jun 4, 2008 at 5:30 PM, Stephen Duncan Jr <[EMAIL PROTECTED]> wrote: > I'm not using the enforcer plugin, and using the pom dependency works for > m

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Stephen Duncan Jr
I'm not using the enforcer plugin, and using the pom dependency works for me with maven-2.0.9. -Stephen On Wed, Jun 4, 2008 at 11:16 AM, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > I can certainly create a simple testcase if you want. > Let's imagine we have an ear which depends on an war which

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Arnaud HERITIER
I can certainly create a simple testcase if you want. Let's imagine we have an ear which depends on an war which depends on a library. I want to put my war dependencies in my ear to use the skinny war feature. I setup my ear plugin with : lib/ As it is described in the skinny war documentation, I

RE: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Brian E. Fox
What's the side effect? -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 9:29 AM To: Maven Users List Cc: Maven Developers List Subject: Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-( I made additional tests and I

Re: Tip about Skinny Wars - is an enforcer plugin's bug side effect :-(

2008-06-04 Thread Arnaud HERITIER
I made additional tests and I found that it is another side effect of the usage of the enforcer plugin (build from trunk rev 651824). :-( I will have a look at its code to see if this bug of the enforcer plugin can become a feature in the war plugin ;-) Arnaud On Tue, Jun 3, 2008 at 7:31 PM, Ar

RE: Modifying Version Number in POM

2008-06-04 Thread Brian E. Fox
It is possible to do as long as it's always done before Maven sees it. -Original Message- From: Niranjan Deshpande [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 6:10 AM To: dev@maven.apache.org Subject: Modifying Version Number in POM In POM we have a version number of the pr

Modifying Version Number in POM

2008-06-04 Thread Niranjan Deshpande
In POM we have a version number of the project as 1.4 Instead of hardcoding it each time I take a new build, I would like to replace it with the one entered by the user when he takes a buld using maven. I want the user to enter the version number, which will be used placed in maven's pom.xml and

Ant mojo artifact creation

2008-06-04 Thread Bengali Bengali
Hi, i would like to know if it's possible with an Ant mojo to create an artifact. All the examples i have found just perform so tasks but never create an artifact. I haven't found any information on that, can it be described in the *mojos.xml ?* Thanks in advance, Luc

Fwd: [vote] Release Wagon 1.0 beta 3

2008-06-04 Thread Brett Porter
FYI, I have posted this vote on wagon-dev@ for those that are interested. Cheers, Brett Begin forwarded message: From: Brett Porter <[EMAIL PROTECTED]> Date: 4 June 2008 5:08:58 PM To: [EMAIL PROTECTED] Subject: [vote] Release Wagon 1.0 beta 3 Message-Id: <[EMAIL PROTECTED]> Hi The Wagon 1