Re: Converting ant build project to Maven based project

2012-02-15 Thread Ivan Pazmiño
I wrote this guide some time ago which might be help some

http://www.pazmino.ec/tools/mavenizing-an-existing-project.html

Regards,
IP

2012/2/14 Brian Topping 

> On Feb 14, 2012, at 2:22 PM, Bobbepalli, Purnachandrarao wrote:
>
> > Hi Good Afternoon to everybody
> >
> > This is PurnachandraRao, my first day in this maven users list.
> >
> > I want to how to convert Ant Build based project to Maven based project.
>
> Some resources for you to review first:
>
> 0. http://www.sonatype.com/books/mvnref-book
> 1. http://www.lmgtfy.com?q=convert+Ant+Build+based+project+to+Maven
> 2. http://catb.org/esr/faqs/smart-questions.html
>
> When you get stuck with specific questions that aren't documented
> anywhere, this list is a great resource, but Maven is a mature product and
> most of what you need to know is easy to find in Google.  You may want to
> consider a class,
> http://www.developintelligence.com/catalog/software-engineering-training/development-tools/working-with-apache-mavenis
>  a good one that I have taught to folks in the past.
>
> Good luck!
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: error while parsing shema(s)

2012-02-15 Thread Wayne Fay
> I am using maven for build. while running the maven build i am getting the
> following error

Yes, your build uses Maven, but this error is coming from one of your
plugins. It appears to be coming from...
> at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:147)

Please contact the jaxb2 Maven plugin people for support:
http://java.net/projects/maven-jaxb2-plugin/pages/Home

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



error while parsing shema(s)

2012-02-15 Thread aneesh
Hi, 

I am using maven for build. while running the maven build i am getting the
following error 

[ERROR] Error while parsing schema(s).Location [
file:/C:/aneesh/test/test-schemas-jar/src/main/resources/Domain/XML_V0100.xsd{19,88}].
 
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
'u:Service_Request' to a(n) 'element declaration' component. 
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source) 
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) 
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) 
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
Source) 
at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown
Source) 
at
org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown
Source) 
at
org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown
Source) 
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
Source) 
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) 
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) 
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) 
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
Source) 
at
com.sun.tools.xjc.reader.xmlschema.parser.SchemaConstraintChecker.check(SchemaConstraintChecker.java:106)
 
at com.sun.tools.xjc.ModelLoader.loadXMLSchema(ModelLoader.java:358) 
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:172) 
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:118) 
at org.jvnet.mjiip.v_2_2.XJC22Mojo.loadModel(XJC22Mojo.java:45) 
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:35) 
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:22) 
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:282) 
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:147) 
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:577)
 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:324)
 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247) 
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104) 
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427) 
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157) 
at org.apache.maven.cli.MavenCli.main(MavenCli.java:121) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) 
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 
at java.lang.reflect.Method.invoke(Method.java:611) 
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) 
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) 
xsd snapshot as follows: 
 
 
 
 

and the namespace is correctly defined. i have validated the same using xml
spy. validation was successfuly. I am not sure why it is failing when
running the maven build. Could you please help meout. 

Regards, 
Aneesh 

--
View this message in context: 
http://maven.40175.n5.nabble.com/error-while-parsing-shema-s-tp5485984p5485984.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



customizing the snapshot version build number

2012-02-15 Thread Chad.Davis
I'm trying to figure out a way to get my Hudson build number onto my snapshot 
artifact names.  I noticed that the timestamp in the snapshot unique version 
number is followed by a build number.  Is there way to inject my own value 
here, the Hudson build number for instance.


Re: How to specify full path of a executable for a scm vendor?

2012-02-15 Thread Christian Schlichtherle
Hi,

uninstall the Cygwin Mercurial package and install TortoiseHg. I've done that 
and I promise you'll never look back!

Regards, Christian

Am 15.02.2012 um 17:00 schrieb saltnlight5 :

> Thanks for the tip Wayne.
> 
> I agree that using PATH is more portable. However I do have a small issue to
> deal with, and I thought explicit path might help a bit.
> 
> I am using Maven + Cygwin + Mercurial (a cygwin pkg). This works fine for
> all my development, except during release. To run 'mvn release:prepapre', I
> have to use explicit Windows version of the Mercurial and setup PATH. The
> cygwin package version of Mercurial will not work by default. To avoid
> installing multiple version of Mercurial, I am hoping that the release
> plugin would allow me to try setting a explicit path of hg such as
> "C:\cygwin\bin\bash.exe -c hg". Has anyone done this and would like to
> share?
> 
> Much thanks,
> Zemian
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/How-to-specify-full-path-of-a-executable-for-a-scm-vendor-tp5463712p5486481.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Looking for a maven plugin

2012-02-15 Thread Gimbel, Trevor

Hi,

We are trying to institute an audit check / report into our build process.  I'm 
looking for a maven plugin that can create a maven site report that could 
report on the following type of conditions:

-  A specific file exists or does not exist

-  Patterns within certain files (bad code practices in css, js or java 
files)

We are already using PMD for inspection of the Java code.  But, I'm looking for 
something that is a bit more generic than that.  I've had a look at the 
Enforcer and Verifier plugins and they appear to have some of the functionality 
I'm looking for but they don't appear to integrate with a maven site at all.

Any pointers would be much appreciated.

Thanks,
Trevor


NOTICE: Confidential message which may be privileged. Unauthorized 
use/disclosure prohibited. If received in error, please go to www.td.com/legal 
for instructions.
AVIS : Message confidentiel dont le contenu peut être privilégié. 
Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière 
d'aller au www.td.com/francais/avis_juridique pour des instructions.


Re: How to specify full path of a executable for a scm vendor?

2012-02-15 Thread saltnlight5
Thanks for the tip Wayne.

I agree that using PATH is more portable. However I do have a small issue to
deal with, and I thought explicit path might help a bit.

I am using Maven + Cygwin + Mercurial (a cygwin pkg). This works fine for
all my development, except during release. To run 'mvn release:prepapre', I
have to use explicit Windows version of the Mercurial and setup PATH. The
cygwin package version of Mercurial will not work by default. To avoid
installing multiple version of Mercurial, I am hoping that the release
plugin would allow me to try setting a explicit path of hg such as
"C:\cygwin\bin\bash.exe -c hg". Has anyone done this and would like to
share?

Much thanks,
Zemian

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-specify-full-path-of-a-executable-for-a-scm-vendor-tp5463712p5486481.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: scm connection vs developer connection

2012-02-15 Thread Wayne Fay
>     
>        org.apache.maven.plugins
>        maven-scm-plugin
>        1.6
>
> what is this version for : the plugin, the jdk or the JEE version.

This is the plugin version.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven version range resolves to SNAPSHOT

2012-02-15 Thread Wayne Fay
> It used a SNAPSHOT version even though my version specification contains no
> mention of SNAPSHOT.
>
> mvn -version
> Apache Maven 2.2.1 (rdebian-6)

http://jira.codehaus.org/browse/MNG-3092
https://jira.codehaus.org/browse/MNG-4751

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven + QA Tools

2012-02-15 Thread Wayne Fay
> Below, my (huge!) console output:

Do you know how to read? Let me remind you what Ansgar said...

>> Upload your pom.xml and the actual error messages somewhere (gist,
>> pastebin) and post the links here, so someone can have a look at it.

Post this massive log to pastebin.com or Gist and send the link to the
list. We don't like receiving such huge logs directly on this list.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: what does --define do in maven

2012-02-15 Thread sarmahdi
Oliver:

Did you mean that 

if i do

*mvn compile -dexecutable=C:/glassfish3withjdk/jdk/bin/javac -dfork=true
-dsource=1.6 -dtarget=1.6 -dverbose=true
*
it will be like running the compile plugin with this configuration :

org.apache.maven.plugins
maven-compiler-plugin
2.3.2

   /* 1.6
1.6
true
true*/
  
   
/*C:/glassfish3withjdk/jdk/bin/javac*/




Thanks for answering tho.

Syed...

--
View this message in context: 
http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5486406.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



scm connection vs developer connection

2012-02-15 Thread sarmahdi
Hello All,

I read up on  :  http://maven.apache.org/scm/maven-scm-plugin/usage.html scm 
and I am going to add it in my POM. what i do not understand is 


 
org.apache.maven.plugins
maven-scm-plugin
1.6

  connection

  

what is this version for : the plugin, the jdk or the JEE version.

Also the main question: the connectiontype: connection and
developerconnection have the same kind of URL then what is the difference.
See I will have profiles in my POM so TEST, PROD, DEV will have their own
profiles and in each of those profiles I will have the plugin added. and
when I run mvn i run like 

mvn scm:update -PDEV clean install 

so it cleans, updates from the project from the Dev stream in clear case and
then (compile. war deploy install etc)

Lets say i use the developerconnection for DEV profile with dev stream in
url and connection for PROD profile with prod stream in url , how will i
have the third type of connection. all three env have their own clear case
streams.

so I have three URLS. How do I use SCM plugin.

Maybe, i am not understanding the need of developer connection. Is there a
benefit of any one or I am right in assuming that these are just two
different URLs.

Thanks
Syed... 

--
View this message in context: 
http://maven.40175.n5.nabble.com/scm-connection-vs-developer-connection-tp5486360p5486360.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: what does --define do in maven

2012-02-15 Thread sarmahdi
i did mvn -X and it gave me the info of what compiler it was using. 

(interestingly, same project ran under JDK 5 profile where i pointed the
compiler to a JDK5 had a smaller log than JDK6)..



--
View this message in context: 
http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5486299.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: what does --define do in maven

2012-02-15 Thread sarmahdi
I sure am having fun !!!

just made my two profiles in my POM for two different JDKs and running
alternatively

AWESOME!!! 


I still didn't get your answer tho  sorry!

can i define java-home thru this : 

like
c:/ProjectDir>mvn.bat --DefineJAVA_HOME=c:/java/jdk/bin --also-make clean
install



--
View this message in context: 
http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5486193.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Non Recursive Maven as a Pom Configuration

2012-02-15 Thread Cem Koc
Hi Stephen,

Thanks for suggestion. This is not applicable because of the 3 level
architecture. 2nd level modules might be a parent pom too. :(

I though that maybe I might pass -N parameter to reactor plugin. :) It seems
this is deliberately disabled.

Thanks

--
View this message in context: 
http://maven.40175.n5.nabble.com/Non-Recursive-Maven-as-a-Pom-Configuration-tp5485284p5486055.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Non Recursive Maven as a Pom Configuration

2012-02-15 Thread Stephen Connolly
Add the modules in a profile that is activated by default... that way
when you activate the check profile explicitly (as long as you don't
do -P+check) the modules will be missing from the effective pom ;-)

But beware fun side-effects

On 15 February 2012 08:49, Cem Koc  wrote:
> Hi,
>
> Is there a way to restrict reactor plugin to forbid running sub modules in a
> pom configuration.
>
> What I want to do is exact equivalent of non recursive parameter ( -N ) of
> Maven. My parent pom is inherited by all sub modules and my goal is running
> my pom profile without command line parameter.
>
> mvn -Pcheck instead of mvn -Pcheck -N
>
>
> Thanks
>
>
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Non-Recursive-Maven-as-a-Pom-Configuration-tp5485284p5485284.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: compiler errors hidden when building Maven project on Jenkins

2012-02-15 Thread Stephen Connolly
On 15 February 2012 09:06, Nord, James  wrote:
> Moving to Jenkins-dev (if anyone wants to follow there)
>
>> > I say no - except if you use any plugin that behind the scenes changes the
>> configuration of the mojos you run.
>> > I'm open for someone to convince me I'm wrong though.
>> >
>> > I haven't taken an in depth look but IIRC a Jenkins plugin can't subvert 
>> > the
>> maven build by changing mojo parameters on the fly anymore if you use
>> Maven 3.x (in a Maven2 job).
>>
>> does your build fail if the tests fail?
>
> Depends on what type of build I'm running  (code review, commit or full).
>
>> if the answer is no, and you haven't put -Dmaven.test.failure.ignore=true on 
>> the
>> CLI then you are recalling incorrectly :-P
>
> But - is this any different to someone hiding away MAVEN_OPTS somewhere in 
> the global or slave configuration that a non admin user can't see?
> All be it this info should really be echoed in the build log (regardless of 
> freestyle or maven2 job type) but that is a different discussion.
>
> The bit I was referring to was from MojoInfo.java:
>
>    /**
>     * Mojo object that carries out the actual execution.
>     *
>     * @deprecated as of 1.427
>     *      Maven3 can no longer provide this information, so plugins cannot 
> rely on this value being present.
>     *      For the time being we are setting a dummy value to avoid NPE. Use 
> {@link #configuration} to access
>     *      configuration values, but otherwise the ability to inject values 
> is lost and there's no viable
>     *      alternative.
>     */
>    public final Mojo mojo;
>
> Are you saying that all the manipulation of the configuration can still be 
> done on the fly per mojo per module - and it is not done up-front by a system 
> property or some other mechanism)?

AFAIR

/**
 * Configuration of the mojo for the current execution.
 * This reflects the default values, as well as values configured from POM,
 * including inherited values.
 */
public final PlexusConfiguration configuration;

allows you to modify the configuration, the scope of changes is
reduced but not removed...

I'm sure Olivier will correct me if I am wrong though ;-)

>
> /James
>
>
>
> **
> This message is confidential and intended only for the addressee. If you have 
> received this message in error, please immediately notify the 
> postmas...@nds.com and delete it from your system as well as any copies. The 
> content of e-mails as well as traffic data may be monitored by NDS for 
> employment and security purposes. To protect the environment please do not 
> print this e-mail unless necessary.
>
> NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 
> 4EX, United Kingdom. A company registered in England and Wales. Registered 
> no. 3080780. VAT no. GB 603 8808 40-00
> **
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: what does --define do in maven

2012-02-15 Thread Olivier Lamy
Hello,

2012/2/15 sarmahdi :
> Hi All,
>
> I tried maven thorugh netBeans. As this is not the right way to learn maven
> I am now running a running maven project thorugh command line
>
> I did mvn -h and saw some options: --define is something interesting i
> think, what does it do, how can i use it and how can it help me .
It's the way do define sys props tru cli (-D,--define 
  Define a system property )
The sample is to override/define mojo/plugin property.
Perso, the most I use daily are:
* -Dsurefire.useFile=false (will output unit test trace in console)
*-Dtest=MyTest (to run only this unit test note the support of
-Dtest=MyTest#myMethod to run only this method).

You must have a look at plugin documentation to see which mojo/plugin
fields are configurable tru cli.

In plugin site documentation http://maven.apache.org/plugins (sample
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html)
Or tru cli : mvn surefire:help -Ddetail=true -Dgoal=test

So welcome in the Apache Maven world and I hope you will have fun :-)
>
> I will appreciate if any one can give me some info. I have been googling but
> i am not able to get anything on it. ha any one ever used it?
>
> Thanks
> Syed..
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5485392.html
> Sent from the Maven - Users mailing list archive at Nabble.com.



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



what does --define do in maven

2012-02-15 Thread sarmahdi
Hi All,

I tried maven thorugh netBeans. As this is not the right way to learn maven
I am now running a running maven project thorugh command line

I did mvn -h and saw some options: --define is something interesting i
think, what does it do, how can i use it and how can it help me .

I will appreciate if any one can give me some info. I have been googling but
i am not able to get anything on it. ha any one ever used it?

Thanks
Syed..

--
View this message in context: 
http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5485392.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: the simplest Maven Project that can possibly work in Intellij?

2012-02-15 Thread Cem Koc
Simplest way

* mvn archetype:generate
It helps you create a demo project. Read here [1]
* At idea: File, new project, import from external resource, and select your
created project folder.

You can run your goals.

[1]: http://maven.apache.org/archetype/maven-archetype-plugin/usage.html 

--
View this message in context: 
http://maven.40175.n5.nabble.com/the-simplest-Maven-Project-that-can-possibly-work-in-Intellij-tp5483841p5485336.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: compiler errors hidden when building Maven project on Jenkins

2012-02-15 Thread Nord, James
Moving to Jenkins-dev (if anyone wants to follow there)

> > I say no - except if you use any plugin that behind the scenes changes the
> configuration of the mojos you run.
> > I'm open for someone to convince me I'm wrong though.
> >
> > I haven't taken an in depth look but IIRC a Jenkins plugin can't subvert the
> maven build by changing mojo parameters on the fly anymore if you use
> Maven 3.x (in a Maven2 job).
>
> does your build fail if the tests fail?

Depends on what type of build I'm running  (code review, commit or full).

> if the answer is no, and you haven't put -Dmaven.test.failure.ignore=true on 
> the
> CLI then you are recalling incorrectly :-P

But - is this any different to someone hiding away MAVEN_OPTS somewhere in the 
global or slave configuration that a non admin user can't see?
All be it this info should really be echoed in the build log (regardless of 
freestyle or maven2 job type) but that is a different discussion.

The bit I was referring to was from MojoInfo.java:

/**
 * Mojo object that carries out the actual execution.
 *
 * @deprecated as of 1.427
 *  Maven3 can no longer provide this information, so plugins cannot 
rely on this value being present.
 *  For the time being we are setting a dummy value to avoid NPE. Use 
{@link #configuration} to access
 *  configuration values, but otherwise the ability to inject values is 
lost and there's no viable
 *  alternative.
 */
public final Mojo mojo;

Are you saying that all the manipulation of the configuration can still be done 
on the fly per mojo per module - and it is not done up-front by a system 
property or some other mechanism)?

/James



**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Non Recursive Maven as a Pom Configuration

2012-02-15 Thread Cem Koc
Hi,

Is there a way to restrict reactor plugin to forbid running sub modules in a
pom configuration.

What I want to do is exact equivalent of non recursive parameter ( -N ) of
Maven. My parent pom is inherited by all sub modules and my goal is running
my pom profile without command line parameter. 

mvn -Pcheck instead of mvn -Pcheck -N


Thanks




--
View this message in context: 
http://maven.40175.n5.nabble.com/Non-Recursive-Maven-as-a-Pom-Configuration-tp5485284p5485284.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org