Re: First time compile, why looking for module POM on remote repo?

2012-04-26 Thread Zilvinas Vilutis
I think Maven 3 has resolved this issue - it can read the artifacts from your
source code rather than the repo, but probably at least packaging is
required - please correct me if I'm wrong.

-

nothing is impossible
--
View this message in context: 
http://maven.40175.n5.nabble.com/First-time-compile-why-looking-for-module-POM-on-remote-repo-tp5668263p5668545.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: Unable to read the metadata file for artifact 'org.apache.geronimo.specs:geronimo-acti

2011-11-29 Thread Zilvinas Vilutis
Parent pom version ( in the child pom.xml ) is null

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com



On Tue, Nov 29, 2011 at 2:20 PM, Jorge Infante Osorio  wrote:
> Hi all.
>
> I´m trying to compile a project and I receive this error. Any idea?
>
>
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> 
>
> [INFO] Total time: 2 seconds
>
> [INFO] Finished at: Tue Nov 29 16:05:06 EST 2011
>
> [INFO] Final Memory: 5M/10M
>
> [INFO]
> 
>
> D:\DesarrolloWS\codigo_ejemplos\surcharge-stock-quote-mediator-2>mvn compile
> -e
>
> + Error stacktraces are turned on.
>
> [INFO] Scanning for projects...
>
> [INFO]
> 
>
> [INFO] Building Surcharge Stock Quote Custom Mediator
>
> [INFO]    task-segment: [compile]
>
> [INFO]
> 
>
> [INFO] [resources:resources]
>
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
>
> [INFO] Copying 2 resources
>
> [INFO]
> 
>
> [ERROR] BUILD ERROR
>
> [INFO]
> 
>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
>
>
> Project ID: org.apache.geronimo.genesis.config:config:pom:null
>
>
>
> Reason: Cannot find parent: org.apache.geronimo.genesis:genesis for project:
> org.apache.geronimo.genesis.config:config:pom:null for project
> org.apache.geronimo.genesis.config:confi
>
> g:pom:null
>
>
>
>
>
> [INFO]
> 
>
> [INFO] Trace
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact
> 'org.apache.geronimo.specs:geronimo-acti
>
> vation_1.1_spec:jar': Cannot find parent:
> org.apache.geronimo.genesis:genesis for project:
> org.apache.geronimo.genesis.config:config:pom:null for project
> org.apache.geronimo.genesi
>
> s.config:config:pom:null
>
>  org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2
>
>
>
> from the specified remote repositories:
>
>  apache.snapshots (http://repository.apache.org/snapshots),
>
>  central (http://repo1.maven.org/maven2),
>
>  wso2-m2-snapshots (http://dist.wso2.org/snapshots/maven2/),
>
>  wso2-m2 (http://dist.wso2.org/maven2/),
>
>  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository/)
>
>
>
> Path to dependency:
>
>        1)
> org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
>
>        2) org.apache.synapse:synapse-core:jar:2.1.0-wso2v4
>
>        3) org.wso2.securevault:org.wso2.securevault:jar:1.0.0
>
>        4) org.apache.ws.commons.axiom:axiom-api:jar:1.2.11
>
>
>
>
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:695)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:540)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
> ycleExecutor.java:519)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
> ures(DefaultLifecycleExecutor.java:371)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
> ultLifecycleExecutor.java:332)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
> Executor.java:181)
>
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
>        at java.lang.reflect.Method.invoke(Method.java:597)
>
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.apache.geronimo.
>
> specs:geronimo-activation_1.1_spec:jar': Cannot find parent:
> org.apache.geronimo.genesis:genesis for project:
> org.apache.geronimo.genesis.confi

Re: generate-test-resources lifecycle question

2011-11-29 Thread Zilvinas Vilutis
Basically parent pom defines the project ( modules ) and rules for all
child poms that will be applied for each of the children, so you would
not need to re-write them ( e.g. dependency versions, plugin versions,
plugin execution & etc. )

Did you define this in your parent pom?

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com


On Tue, Nov 29, 2011 at 7:35 AM, Lonnie Lewis  wrote:
> I am working on a simple prototype project that involves (re)creating an HSQL
> database from JPA objects. The build works fine, but I notice the tasks in
> "generate-test-resources" are run multiple times.
>
> My build includes:
>
>
>      
>        org.codehaus.mojo
>        hibernate3-maven-plugin
>        2.2
>        
>          
>            generate-db
>            generate-test-resources
>            
>              hbm2ddl
>            
>            
>              
>                
>                  hbm2ddl
>                  jpaconfiguration
>                
>              
>              
>                demo
>                schema.ddl
>                false
>                true
>                true
>                true
>              
>            
>          
>        
>        
>          
>            org.hsqldb
>            hsqldb
>            2.0.0
>            compile
>          
>        
>        
>          
>            
>              hbm2ddl
>              jpaconfiguration
>            
>          
>          
>            demo
>            schema.ddl
>            false
>            true
>            true
>            true
>          
>        
>      
>
> Which is being executed 8 times in the build. Is that supposed to happen? We
> are required to use a parent POM by the customer, and I don't really know
> what it is doing. Could that be causing a problem?
>
> Is there a way to display the lifecycle goals as the build is progressing?
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/generate-test-resources-lifecycle-question-tp5032543p5032543.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: wicket is secure by default. why use spring security?

2011-09-19 Thread Zilvinas Vilutis
please discard this email. wrong mailing list :)

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com



On Mon, Sep 19, 2011 at 12:55 AM, Zilvinas Vilutis  wrote:
> Hi all Wicket users.
>
> While I was trying to design a wicket app in my mind - the first thing
> I thought of was authentication and ( spring ) security.
>
> I know that "wicket is secure" by default ( a quote from wicket
> features? :), we can use wicket auth & annotation based security.
> Wicket will automatically redirect to original page after login.
>
> So...did anyone think of it - what is the real reason to use spring or
> other security framework ( shiro? ) for authentication? what benefits
> does it bring apart from some standards & overhead for the app? is it
> integration with other auth systems ( OpenID, Facebook login or
> whatever )? or what?
>
> Just pennies for thought...
>
> Žilvinas Vilutis
>
> Mobile:   (+1) 623 330 6048
> E-mail:   cika...@gmail.com
>

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



wicket is secure by default. why use spring security?

2011-09-19 Thread Zilvinas Vilutis
Hi all Wicket users.

While I was trying to design a wicket app in my mind - the first thing
I thought of was authentication and ( spring ) security.

I know that "wicket is secure" by default ( a quote from wicket
features? :), we can use wicket auth & annotation based security.
Wicket will automatically redirect to original page after login.

So...did anyone think of it - what is the real reason to use spring or
other security framework ( shiro? ) for authentication? what benefits
does it bring apart from some standards & overhead for the app? is it
integration with other auth systems ( OpenID, Facebook login or
whatever )? or what?

Just pennies for thought...

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com

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



Re: Maven3 "release:update-versions" performance

2011-06-27 Thread Zilvinas Vilutis
Thanks for suggestion - the "mvn versions:set" took 15s on m3, the
same as "mvn release:update-versions" on m2

Regards

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com



On Mon, Jun 27, 2011 at 3:44 PM, Stephen Connolly
 wrote:
> How does mvn versions:set -DnewVersion=... fair in benchmarking
> between m2 and m3
>
> On 27 June 2011 23:02, Zilvinas Vilutis  wrote:
>> Hi maven users!
>>
>> Today before I tried to migrate to maven3 from maven2 - I wanted to
>> update all pom versions using the "update-versions" goal from the
>> "release" plugin.
>>
>> It used to take ~15 seconds to update versions for ~140 modules in our
>> project with maven2, but with maven 3 it updated the first 10 within 5
>> minutes when I decided to kill the process and continue the same task
>> using maven2 :)
>>
>> I wonder if anyone faced this before?
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+1) 623 330 6048
>> E-mail:   cika...@gmail.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



Maven3 "release:update-versions" performance

2011-06-27 Thread Zilvinas Vilutis
Hi maven users!

Today before I tried to migrate to maven3 from maven2 - I wanted to
update all pom versions using the "update-versions" goal from the
"release" plugin.

It used to take ~15 seconds to update versions for ~140 modules in our
project with maven2, but with maven 3 it updated the first 10 within 5
minutes when I decided to kill the process and continue the same task
using maven2 :)

I wonder if anyone faced this before?

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com

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



Re: java file path in exec:java

2011-04-20 Thread Zilvinas Vilutis
yes, I can do that, however "${project.build.outputDirectory}" still
generates "C:\folder1\folder2\..." & etc :)

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Apr 20, 2011 at 2:57 PM, Asmann, Roland  wrote:
> What I meant was: don't use ${file.separator} and write '/' in your POM.
>
> Or do you have a reason you need the variable?
>
>
> On 20-04-11 23:51, Zilvinas Vilutis wrote:
>> Exactly, but I need *maven* to generate those "/" :)
>>
>> I need the ${project.build.outputDirectory}${file.separator}orm.properties
>> to contain "/" in the output, but it generates the path with "\"
>> slashes, e.g. C:\\target\classes\orm.properties
>>
>> Regards
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.com
>>
>>
>>
>> On Wed, Apr 20, 2011 at 12:57 PM, Asmann, Roland
>>   wrote:
>>> Just use the character '/', it works on Windows!
>>>
>>>
>>> On 20-04-11 21:45, Zilvinas Vilutis wrote:
>>>> Hi maven users!
>>>>
>>>> I'm trying to execute a java command and pass a path to a file as an 
>>>> argument:
>>>>
>>>> 
>>>>     org.codehaus.mojo
>>>>     exec-maven-plugin
>>>>     
>>>>       java
>>>>       ${project.build.outputDirectory}
>>>>       runtime
>>>>       
>>>>         -c
>>>> ${project.build.outputDirectory}${file.separator}orm.properties
>>>>       
>>>>       
>>>> com.company.deploy.product.AutomatedProductDeploy
>>>>     
>>>> 
>>>>
>>>> And I'm using maven properties to construct the filename:
>>>> ${project.build.outputDirectory}${file.separator}orm.properties
>>>>
>>>> Unfortunately, I'm getting an exception from the java class I'm running:
>>>>
>>>> Caused by: java.io.FileNotFoundException:  C:\>>> project>\target\classes\orm.properties (The filename, directory name,
>>>> or volume label syntax is incorrect)
>>>>           at java.io.FileInputStream.open(Native Method)
>>>>           at java.io.FileInputStream.(FileInputStream.java:106)
>>>>
>>>> Most likely the it is using the argument and does not escape slashes
>>>> to new java.io.File( filePath )
>>>>
>>>> As I don't have access to source code of the class - is there any way
>>>> to enforce maven use unix style path generation on windows? ( change
>>>> slashes to "/" )
>>>>
>>>> I tried to override the ${file.separator} property - but it seems to
>>>> be read-only and doesn't help.
>>>>
>>>> Any ideas?
>>>>
>>>> Thank you!
>>>>
>>>> Žilvinas Vilutis
>>>>
>>>> E-mail:   cika...@gmail.com
>>>>
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>
>>>
>>> --
>>> Roland Asmann
>>> Senior Software Engineer
>>>
>>> adesso Austria GmbH
>>> Floridotower 26. Stock              T +43 1 2198790-27
>>> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
>>> A-1210 Wien                         M +43 664 88657566
>>>                                     E roland.asm...@adesso.at
>>>                                     W www.adesso.at
>>>
>>> -
>>>              >>>  business. people. technology.<<<
>>> -
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock              T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> A-1210 Wien                         M +43 664 88657566
>                                    E roland.asm...@adesso.at
>                                    W www.adesso.at
>
> -
>             >>> business. people. technology. <<<
> -

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



Re: java file path in exec:java

2011-04-20 Thread Zilvinas Vilutis
Exactly, but I need *maven* to generate those "/" :)

I need the ${project.build.outputDirectory}${file.separator}orm.properties
to contain "/" in the output, but it generates the path with "\"
slashes, e.g. C:\\target\classes\orm.properties

Regards

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Apr 20, 2011 at 12:57 PM, Asmann, Roland
 wrote:
> Just use the character '/', it works on Windows!
>
>
> On 20-04-11 21:45, Zilvinas Vilutis wrote:
>> Hi maven users!
>>
>> I'm trying to execute a java command and pass a path to a file as an 
>> argument:
>>
>> 
>>    org.codehaus.mojo
>>    exec-maven-plugin
>>    
>>      java
>>      ${project.build.outputDirectory}
>>      runtime
>>      
>>        -c
>> ${project.build.outputDirectory}${file.separator}orm.properties
>>      
>>      com.company.deploy.product.AutomatedProductDeploy
>>    
>> 
>>
>> And I'm using maven properties to construct the filename:
>> ${project.build.outputDirectory}${file.separator}orm.properties
>>
>> Unfortunately, I'm getting an exception from the java class I'm running:
>>
>> Caused by: java.io.FileNotFoundException:  C:\> project>\target\classes\orm.properties (The filename, directory name,
>> or volume label syntax is incorrect)
>>          at java.io.FileInputStream.open(Native Method)
>>          at java.io.FileInputStream.(FileInputStream.java:106)
>>
>> Most likely the it is using the argument and does not escape slashes
>> to new java.io.File( filePath )
>>
>> As I don't have access to source code of the class - is there any way
>> to enforce maven use unix style path generation on windows? ( change
>> slashes to "/" )
>>
>> I tried to override the ${file.separator} property - but it seems to
>> be read-only and doesn't help.
>>
>> Any ideas?
>>
>> Thank you!
>>
>> Žilvinas Vilutis
>>
>> E-mail:   cika...@gmail.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock              T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> A-1210 Wien                         M +43 664 88657566
>                                    E roland.asm...@adesso.at
>                                    W www.adesso.at
>
> -
>             >>> business. people. technology. <<<
> -

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



java file path in exec:java

2011-04-20 Thread Zilvinas Vilutis
Hi maven users!

I'm trying to execute a java command and pass a path to a file as an argument:


  org.codehaus.mojo
  exec-maven-plugin
  
java
${project.build.outputDirectory}
runtime

  -c
${project.build.outputDirectory}${file.separator}orm.properties

com.company.deploy.product.AutomatedProductDeploy
  


And I'm using maven properties to construct the filename:
${project.build.outputDirectory}${file.separator}orm.properties

Unfortunately, I'm getting an exception from the java class I'm running:

Caused by: java.io.FileNotFoundException:  C:\\target\classes\orm.properties (The filename, directory name,
or volume label syntax is incorrect)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)

Most likely the it is using the argument and does not escape slashes
to new java.io.File( filePath )

As I don't have access to source code of the class - is there any way
to enforce maven use unix style path generation on windows? ( change
slashes to "/" )

I tried to override the ${file.separator} property - but it seems to
be read-only and doesn't help.

Any ideas?

Thank you!

Žilvinas Vilutis

E-mail:   cika...@gmail.com

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



Re: Mojo: How do I write a plugin to interact with another?

2011-04-15 Thread Zilvinas Vilutis
I think the idea was to set a "maven property" - means not set it to a
file, but to the maven properties in runtime.

Maven should provide an API for that and you can check the source of
"build-helper-maven-plugin" project as an example ;)

Regards

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Fri, Apr 15, 2011 at 7:44 AM, laredotornado-3
 wrote:
> Ah, so I understand your idea, you're saying that my plugin should output its
> value to a/the maven.proeprties file and then I can just read that in from
> my other task?
>
> - Dave
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Mojo-How-do-I-write-a-plugin-to-interact-with-another-tp4303832p4305730.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: invoking custom tests from another branch

2011-03-03 Thread Zilvinas Vilutis
just to note :)

"inContainterITest" != "inContainerITest"

the property name in the command line does not match the property in
the pom.xml, that's why the profile is not activated ;)

Have a nice day!


Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Thu, Mar 3, 2011 at 10:06 AM, Baptiste MATHUS  wrote:
> Well, you could also touch a file or mkdir a directory before and use it as
> an activation property.
> Or even commit something somewhere that would trigger the profile
> activation.
> Or install a VM that would have the right OS that would activate the
> profile.
>
> Or just use the option designed to activate profiles, -P.
>
> ;-).
>
> Sorry, couldn't resist, and we're not wednesday.
>
> Cheers
> PS: just kidding, no offense ;).
>
> 2011/3/3 Thomas Sundberg 
>
>> Hi!
>>
>> You could give your activation property a value and use
>>
>> -DinContainerITest=myValue
>>
>> 
>>   
>>     inContainerITest
>>     myValue
>>   
>> 
>>
>> /Thomas
>>
>>
>> On Thu, Mar 3, 2011 at 17:17, Baptiste MATHUS  wrote:
>>
>>> Hi,
>>>
>>> Use -P. Not -D.
>>>
>>> Cheers
>>> Le 2 mars 2011 18:40, "John Lussmyer"  a écrit
>>> :
>>> > I've inherited a huge complex Maven build process that needs some
>>> updates.
>>> > One thing we have is some custom test code in one place that is invoked
>>> via "mvn clean install -DinContainterITest"
>>> > Now I'd like to invoke that (and several others in other pom's) from a
>>> pom
>>> that is in a different branch of the same pom tree.
>>> >
>>> > The pom with the test code has:
>>> >
>>> > 
>>> > 
>>> > inContainerITest
>>> > 
>>> > 
>>> > inContainerITest
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > src/test/resources
>>> > true
>>> > 
>>> > 
>>> > 
>>> > 
>>> > maven-surefire-plugin
>>> > 
>>> > 
>>> > surefire-RestTest
>>> > integration-test
>>> > 
>>> > test
>>> > 
>>> > 
>>> > 
>>> > none
>>> > 
>>> > 
>>> > **/*Test.java
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> >
>>> > I have a dependency on this one in my other pom like this:
>>> >
>>> > 
>>> > 
>>> > com.xxx..
>>> > stupidlylongartifactname
>>> > ${project.version}
>>> > test
>>> > 
>>> > 
>>> >
>>> > But I don't know how to set it up so that using the "-DinContainerITest"
>>> on the pom will actually invoke the tests.
>>> >
>>> > Suggestions?
>>> >
>>> > This message and the information contained herein is proprietary and
>>> confidential and subject to the Amdocs policy statement,
>>> > you may review at http://www.amdocs.com/email_disclaimer.asp
>>>
>>
>>
>>
>> --
>> Thomas Sundberg
>> M. Sc. in Computer Science
>>
>> Mobile: +46 70 767 33 15
>> Blog: http://thomassundberg.wordpress.com/
>> Twitter: @thomassundberg
>>
>> Better software through faster feedback
>>
>
>
>
> --
> Baptiste  MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

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



Re: Over-riding, preceeding, or anhancing the clean target

2011-02-17 Thread Zilvinas Vilutis
you may also write your own "clean" plugin ;)

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com


On Thu, Feb 17, 2011 at 3:22 PM, Hahn, Christopher (SAN DIEGO) <
christopher.h...@hp.com> wrote:

> Hello,
>
>
>
> I would like to change the way the clean target operates.
>
>
>
> I have had process failures because some dilbert (moi) left
>
> focus in a build folder which makes the clean action fail.
>
>
>
> In perl, I have wrapped such calls in error trapping code that
>
> would send an announcement out, sleep, and then try again.
>
>
>
> This would be advantageous to do in Maven.
>
>
>
> So, I am thinking that I either need to call my own code either before
>
> clean fires off, or from inside the clean module.  If my action obviates
>
> clean, then this would be fineit can still run, no-op.
>
>
>
> Has anyone done something like this?  I am just hoping for a bread crumb
>
> to follow.  Google didn’t really get too close.
>
>
>
> Thank you for the kind attention, in any case,
>
>
>
> Christopher
>
>
> --
>
> [image: cid:image001.png@01CAF080.AD65F1E0]
>
> *Christopher Hahn*
> The Dude
>
> Software Production Engineering
> R&D Services, Hewlett-Packard
> Phone: 858-655-4096
> Cell: 619-630-9791
> ch...@hp.com 
>
>
>
> *Visit our SPE Portal*
> **
> --
>
>
>
>
>


Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
> This sounds like you need to do more svn updates on projects you are working 
> on.  My suggestion would be to do that SVN update on those projects, resolve 
> any conflicts, and then run the maven install.  This will make your version 
> into the latest in your repository.
That's what I do every morning before starting work, as I've wrote in
the original e-mail. I'm in a different timezone from other teams, so
I don't really need updating more often.

I do SVN update, resolve conflicts & run the full build to make sure
that all dependencies are built, that they compile and that all
changes are added to the webapp ( war ).

However, doing an SVN update does not let me avoid doing the full build :)

I mean, yes when you're working on 2-3 projects at the same time -
then yes, it is easy to update them manually from time to time. But
when during SVN updates you get updates which require updates from
other projects and you don't know which ones - then a "full build" is
required, or at least "full SVN update" and then building all the
updated projects, installing to your local repo and building the app
war.

Yes, it is possible to build them manually, and copy to your app
manually to save time, but it would take like 10-15 minutes to do that
for ~5 projects, instead of that I'm looking for an automated solution
which would do the job in 15 minutes for me, so I could drink coffee
during that time :)

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 1:54 PM, Collins, Russell
 wrote:
> This sounds like you need to do more svn updates on projects you are working 
> on.  My suggestion would be to do that SVN update on those projects, resolve 
> any conflicts, and then run the maven install.  This will make your version 
> into the latest in your repository.
>
> It may also help if you checked in your code a little quicker.  You might be 
> letting your code get to far out of sync.
>
>
> Russell Collins
> Sr. Software Engineer
> CoreLogic Spatial Solutions
>
> "Do or do not, there is no try." - Yoda
>
> -Original Message-
> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
> Sent: Wednesday, February 16, 2011 2:41 PM
> To: Maven Users List
> Cc: Thiessen, Todd (Todd)
> Subject: Re: subversion vs maven
>
>> You don't need to do a full build AND you will only be using artifacts in 
>> your local repository.  Sounds like its exactly what you want.
> Exactly :) When doing it incrementally - that's how it should work
> when building only "changed" projects and their dependents, what the
> original question was
>
>> So when you get in in the morning, issue a mvn -U install on your module,
>> and you will get latest artifacts installed to your local repo (don't have to
>> do a full build).  For the rest of the day, do a mvn install to do your 
>> module
>> builds and snapshots won't get updated."
> Yeah, this sounds good when working in a dev environment.
>
> However I'm "on my own" in the customers' office where network latency
> is not enough to download the artifacts quickly.
>
> Anyways, in this case - if I changed my code yesterday and did not
> commit it to SVN - then the downloaded snapshot would be newer and
> will be put in my webapp's "war". In most cases - other people are
> updating the same projects as I'm working on so they would almost all
> the time match the right projects to be built. And my projects would
> not get built during the "full-build" - they would already exist in my
> local repo so they would be picked up when building the war.
>
> I guess I will try to make the most use of the maven reactor (
> http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode ) to use
> the "--project-list" ( for specifying updated projects ) and
> "--also-make-dependents" parameters is exactly what I want.
>
> Thank you all for ideas & help!
>
> Žilvinas Vilutis
>
> Mobile:   (+370) 652 38353
> E-mail:   cika...@gmail.com
>
>
>
> On Wed, Feb 16, 2011 at 1:22 PM, Thiessen, Todd (Todd)
>  wrote:
>> Ok. You should be able to achieve the same result by configuring your 
>> settings.xml file to never update snapshots. That way you have more control. 
>> When you want to get latest snapshots, issue mvn -U install.
>>
>> You don't need to do a full build AND you will only be using artifacts in 
>> your local repository.  Sounds like its exactly what you want.
>>
>> So when you get in in the morning, issue a mvn -U install on your module, 
>> and you will get latest artifacts installed to your local rep

Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
> You don't need to do a full build AND you will only be using artifacts in 
> your local repository.  Sounds like its exactly what you want.
Exactly :) When doing it incrementally - that's how it should work
when building only "changed" projects and their dependents, what the
original question was

> So when you get in in the morning, issue a mvn -U install on your module,
> and you will get latest artifacts installed to your local repo (don't have to
> do a full build).  For the rest of the day, do a mvn install to do your module
> builds and snapshots won't get updated."
Yeah, this sounds good when working in a dev environment.

However I'm "on my own" in the customers' office where network latency
is not enough to download the artifacts quickly.

Anyways, in this case - if I changed my code yesterday and did not
commit it to SVN - then the downloaded snapshot would be newer and
will be put in my webapp's "war". In most cases - other people are
updating the same projects as I'm working on so they would almost all
the time match the right projects to be built. And my projects would
not get built during the "full-build" - they would already exist in my
local repo so they would be picked up when building the war.

I guess I will try to make the most use of the maven reactor (
http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode ) to use
the "--project-list" ( for specifying updated projects ) and
"--also-make-dependents" parameters is exactly what I want.

Thank you all for ideas & help!

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 1:22 PM, Thiessen, Todd (Todd)
 wrote:
> Ok. You should be able to achieve the same result by configuring your 
> settings.xml file to never update snapshots. That way you have more control. 
> When you want to get latest snapshots, issue mvn -U install.
>
> You don't need to do a full build AND you will only be using artifacts in 
> your local repository.  Sounds like its exactly what you want.
>
> So when you get in in the morning, issue a mvn -U install on your module, and 
> you will get latest artifacts installed to your local repo (don't have to do 
> a full build).  For the rest of the day, do a mvn install to do your module 
> builds and snapshots won't get updated.
>
> Just a thought. Hope it helps.
>
>> -Original Message-
>> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> Sent: Wednesday, February 16, 2011 3:12 PM
>> To: Maven Users List
>> Cc: Thiessen, Todd (Todd)
>> Subject: Re: subversion vs maven
>>
>> Theoretically - yes
>> Practically - no
>>
>> We were using the approach with CI and snapshots from the repo long
>> time ago, however in a lot of cases we came to a case where the
>> project does not compile or work as expected when having different
>> snapshot versions, or takes just a very long time to at least package
>> the project you're working on, so in the long term to make it quick,
>> safe and making sure that all my modified but not committed modules
>> get into the app from my local, not external repo ( in case they're
>> "older" ) - we just do the build on our boxes.
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.com
>>
>>
>>
>> 2011/2/16 Thiessen, Todd (Todd) :
>> > You could control your dependencies by checking out which ever
>> dependencies you care about and ensure you build those as well.
>>  Normally, you would just want the snapshot versions anyway.  There is
>> also a properity in your settings.xml file to instruct maven to never
>> check for updates. To get latest snapshot artifacts you would have to
>> issue a mvn -U.
>> >
>> > The whole idea here is that you should only every be compiling and
>> downloading what you need. Let your CI server do the full builds. You
>> should rarely have to.
>> >
>> >> -Original Message-
>> >> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> >> Sent: Wednesday, February 16, 2011 1:52 PM
>> >> To: Maven Users List
>> >> Cc: Thiessen, Todd (Todd)
>> >> Subject: Re: subversion vs maven
>> >>
>> >> yes, we could set this up.
>> >>
>> >> However there's 2 things:
>> >> - We're working with "SNAPSHOT" versions most of the time with CI you
>> >> can hardly control when to use YOUR code versus from the repo in a big
>> >> projcet
>> >> - I'm working in a client'

Re: maven antrun plugin with sql task closing the maven process itself

2011-02-16 Thread Zilvinas Vilutis

is there a "fork" / "no fork" mode?

Use no-fork to create a separate JVM instance for hsqldb...if possible

Regards

-

nothing is impossible
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-antrun-plugin-with-sql-task-closing-the-maven-process-itself-tp3387689p3388333.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: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
Theoretically - yes
Practically - no

We were using the approach with CI and snapshots from the repo long
time ago, however in a lot of cases we came to a case where the
project does not compile or work as expected when having different
snapshot versions, or takes just a very long time to at least package
the project you're working on, so in the long term to make it quick,
safe and making sure that all my modified but not committed modules
get into the app from my local, not external repo ( in case they're
"older" ) - we just do the build on our boxes.

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



2011/2/16 Thiessen, Todd (Todd) :
> You could control your dependencies by checking out which ever dependencies 
> you care about and ensure you build those as well.  Normally, you would just 
> want the snapshot versions anyway.  There is also a properity in your 
> settings.xml file to instruct maven to never check for updates. To get latest 
> snapshot artifacts you would have to issue a mvn -U.
>
> The whole idea here is that you should only every be compiling and 
> downloading what you need. Let your CI server do the full builds. You should 
> rarely have to.
>
>> -Original Message-
>> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> Sent: Wednesday, February 16, 2011 1:52 PM
>> To: Maven Users List
>> Cc: Thiessen, Todd (Todd)
>> Subject: Re: subversion vs maven
>>
>> yes, we could set this up.
>>
>> However there's 2 things:
>> - We're working with "SNAPSHOT" versions most of the time with CI you
>> can hardly control when to use YOUR code versus from the repo in a big
>> projcet
>> - I'm working in a client's office and the network latency between our
>> office and clients office would make it slow
>>
>> I could run a CI / Hundson / whatever other build management server on
>> my laptop...but then it would not be quicker then just the full build
>> :)
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.com
>>
>>
>>
>> On Wed, Feb 16, 2011 at 11:41 AM, Thiessen, Todd (Todd)
>>  wrote:
>> > If you have a CI server already building everything, why do you need to
>> build everything every morning? Can't you just checkout only the one
>> module you need to change and build that?
>> >
>> >> -Original Message-
>> >> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> >> Sent: Wednesday, February 16, 2011 1:37 PM
>> >> To: a.geo
>> >> Cc: Maven Users List; Jeff
>> >> Subject: Re: subversion vs maven
>> >>
>> >> trust me, not so easy :)
>> >>
>> >> our project has like 20 subsystems which all have 5-10 sub-projects.
>> >>
>> >> Our "core" is extracted into a separate dependency maintained by
>> >> another team, it is also managed by maven ( ~30 subsystems, 10-50
>> >> projects each ).
>> >>
>> >> Yes, daily updates happen on 5-10 projects, that is why I don't want
>> >> to build the "full" build but only the changed projects and their
>> >> dependents ( web apps ).
>> >>
>> >> Žilvinas Vilutis
>> >>
>> >> Mobile:   (+370) 652 38353
>> >> E-mail:   cika...@gmail.com
>> >>
>> >>
>> >>
>> >> On Wed, Feb 16, 2011 at 10:37 AM, a.geo  wrote:
>> >> > You mus consider a "core" section, that contain your business main
>> >> code,
>> >> > usually you don't change it. Around it, is the implementation of the
>> >> > requirement.
>> >> >
>> >> >
>> >> >
>> >> > 2011/2/16 Jeff 
>> >> >>
>> >> >> Maybe this question will expose my ignorance, but I thought most
>> build
>> >> >> systems only build the things that have changed unless you do a
>> >> "clean"
>> >> >> each
>> >> >> time or are starting from a fresh checkout as opposed to doing an
>> "svn
>> >> >> update" and then running the build.
>> >> >>
>> >> >> Being new to Maven myself, there could there be an option in the
>> POM
>> >> that
>> >> >> might be forcing a full build each time?
>> >> >>
>> >> >> I would think that as long as you aren'

Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
yes, we could set this up.

However there's 2 things:
- We're working with "SNAPSHOT" versions most of the time with CI you
can hardly control when to use YOUR code versus from the repo in a big
projcet
- I'm working in a client's office and the network latency between our
office and clients office would make it slow

I could run a CI / Hundson / whatever other build management server on
my laptop...but then it would not be quicker then just the full build
:)

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 11:41 AM, Thiessen, Todd (Todd)
 wrote:
> If you have a CI server already building everything, why do you need to build 
> everything every morning? Can't you just checkout only the one module you 
> need to change and build that?
>
>> -Original Message-
>> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> Sent: Wednesday, February 16, 2011 1:37 PM
>> To: a.geo
>> Cc: Maven Users List; Jeff
>> Subject: Re: subversion vs maven
>>
>> trust me, not so easy :)
>>
>> our project has like 20 subsystems which all have 5-10 sub-projects.
>>
>> Our "core" is extracted into a separate dependency maintained by
>> another team, it is also managed by maven ( ~30 subsystems, 10-50
>> projects each ).
>>
>> Yes, daily updates happen on 5-10 projects, that is why I don't want
>> to build the "full" build but only the changed projects and their
>> dependents ( web apps ).
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.com
>>
>>
>>
>> On Wed, Feb 16, 2011 at 10:37 AM, a.geo  wrote:
>> > You mus consider a "core" section, that contain your business main
>> code,
>> > usually you don't change it. Around it, is the implementation of the
>> > requirement.
>> >
>> >
>> >
>> > 2011/2/16 Jeff 
>> >>
>> >> Maybe this question will expose my ignorance, but I thought most build
>> >> systems only build the things that have changed unless you do a
>> "clean"
>> >> each
>> >> time or are starting from a fresh checkout as opposed to doing an "svn
>> >> update" and then running the build.
>> >>
>> >> Being new to Maven myself, there could there be an option in the POM
>> that
>> >> might be forcing a full build each time?
>> >>
>> >> I would think that as long as you aren't specifying "clean" in your
>> build
>> >> kickoff process or otherwise forcing a full biuld, you should only be
>> >> getting the incremental build, no?  Am I off in my understanding?
>> >>  On Wed, Feb 16, 2011 at 10:18 AM, Zilvinas Vilutis
>> >> wrote:
>> >>
>> >> > Yes,
>> >> >
>> >> > However it does a "full build" which takes ~30-40 minutes. But I
>> want
>> >> > to build only specific projects and their dependents.
>> >> >
>> >> > Regards
>> >> >
>> >> > Žilvinas Vilutis
>> >> >
>> >> > Mobile:   (+370) 652 38353
>> >> > E-mail:   cika...@gmail.com
>> >> >
>> >> >
>> >> >
>> >> > On Wed, Feb 16, 2011 at 9:54 AM, Leon Rosenberg
>> >> >  wrote:
>> >> > > How about hudson?
>> >> > >
>> >> > > Hudson can watch for svn changes and trigger builds on commit.
>> >> > >
>> >> > > regards
>> >> > > Leon
>> >> > >
>> >> > > On Wed, Feb 16, 2011 at 5:46 PM, Zilvinas Vilutis
>> 
>> >> > wrote:
>> >> > >> Hello Maven Users!
>> >> > >>
>> >> > >> Probably this question was already asked, so if there is an
>> answer
>> >> > >> which I could not find - please point me to the right place.
>> >> > >>
>> >> > >>
>> >> > >> I'm working on an enterprise project where maven integration
>> plays a
>> >> > huge role.
>> >> > >>
>> >> > >> However the project is big as a lot of teams are working on it
>> and it
>> >> > >> takes quite some time to build it ( 30-40 minutes ), which I need
>> to
>> >> > >> do every morning after an svn update.
>> &g

Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
trust me, not so easy :)

our project has like 20 subsystems which all have 5-10 sub-projects.

Our "core" is extracted into a separate dependency maintained by
another team, it is also managed by maven ( ~30 subsystems, 10-50
projects each ).

Yes, daily updates happen on 5-10 projects, that is why I don't want
to build the "full" build but only the changed projects and their
dependents ( web apps ).

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 10:37 AM, a.geo  wrote:
> You mus consider a "core" section, that contain your business main code,
> usually you don't change it. Around it, is the implementation of the
> requirement.
>
>
>
> 2011/2/16 Jeff 
>>
>> Maybe this question will expose my ignorance, but I thought most build
>> systems only build the things that have changed unless you do a "clean"
>> each
>> time or are starting from a fresh checkout as opposed to doing an "svn
>> update" and then running the build.
>>
>> Being new to Maven myself, there could there be an option in the POM that
>> might be forcing a full build each time?
>>
>> I would think that as long as you aren't specifying "clean" in your build
>> kickoff process or otherwise forcing a full biuld, you should only be
>> getting the incremental build, no?  Am I off in my understanding?
>>  On Wed, Feb 16, 2011 at 10:18 AM, Zilvinas Vilutis
>> wrote:
>>
>> > Yes,
>> >
>> > However it does a "full build" which takes ~30-40 minutes. But I want
>> > to build only specific projects and their dependents.
>> >
>> > Regards
>> >
>> > Žilvinas Vilutis
>> >
>> > Mobile:   (+370) 652 38353
>> > E-mail:   cika...@gmail.com
>> >
>> >
>> >
>> > On Wed, Feb 16, 2011 at 9:54 AM, Leon Rosenberg
>> >  wrote:
>> > > How about hudson?
>> > >
>> > > Hudson can watch for svn changes and trigger builds on commit.
>> > >
>> > > regards
>> > > Leon
>> > >
>> > > On Wed, Feb 16, 2011 at 5:46 PM, Zilvinas Vilutis 
>> > wrote:
>> > >> Hello Maven Users!
>> > >>
>> > >> Probably this question was already asked, so if there is an answer
>> > >> which I could not find - please point me to the right place.
>> > >>
>> > >>
>> > >> I'm working on an enterprise project where maven integration plays a
>> > huge role.
>> > >>
>> > >> However the project is big as a lot of teams are working on it and it
>> > >> takes quite some time to build it ( 30-40 minutes ), which I need to
>> > >> do every morning after an svn update.
>> > >>
>> > >>
>> > >> So I was thinking - is there any way to configure maven to build only
>> > >> the projects which were updated by SVN ( e.g. in the script time )?
>> > >>
>> > >>
>> > >> Most likely there is no direct answer...however, I think that I could
>> > >> find a way to gather the project names which were updated in the
>> > >> shell
>> > >> script - then I could pass the list of project names to maven
>> > >> command.
>> > >> Is there any way to make sure that those and dependent projects would
>> > >> be built in the right order?
>> > >>
>> > >>
>> > >> The project structure is:
>> > >>
>> > >> parent
>> > >> -- subsystem1
>> > >>  -- s1-project1
>> > >>  -- s1-project2
>> > >> -- subsystem2
>> > >>  -- s2-project1
>> > >>  -- s2-project2
>> > >>  -- s2-project3
>> > >> -- subsystem3
>> > >>  -- s3-project1
>> > >>
>> > >>
>> > >> Thank you for any ideas!
>> > >>
>> > >>
>> > >> Žilvinas Vilutis
>> > >>
>> > >> Mobile:   (+370) 652 38353
>> > >> E-mail:   cika...@gmail.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
>> >
>> >
>>
>>
>> --
>> Jeff Vincent
>> predato...@gmail.com
>> See my LinkedIn profile at:
>> http://www.linkedin.com/in/rjeffreyvincent
>
>
>
> --
> Cesar De la Cruz Rojas
> -
> Sennior Software Engineer
> -
> Follow me in Facebook : http://www.facebook.com/aquiles.geo
> Twitter http://twitter.com/ageo
> Picture blog http://ageo.deviantart.com
>
>

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



Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
Oh, the "-pl" option seems to be one of the possible solutions.

Thank you!!

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 10:21 AM, Nord, James  wrote:
> There is an option "Incremental build - only build changed modules" under the 
> advanced section of the Build options (for an M2 build).
>
> If checked, Hudson will only build any modules with changes from SCM and any 
> modules which depend on those changed modules, using Maven's "-amd -pl 
> group1:artifact1,group1:artifact2" command-line options. If the SCM reports 
> no changes to any modules, however, all modules will be built. See 
> http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode for more 
> information on the Maven behavior this utilizes.
>
> This functionality requires Maven 2.1 or later, and will not have any impact 
> if "Build modules in parallel" is selected.
>
> Any follow-up on this should be directed at the Jenkins or Hudson users lists.
>
> /James
>
> -Original Message-
> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
> Sent: 16 February 2011 17:18
> To: Leon Rosenberg
> Cc: Maven Users List
> Subject: Re: subversion vs maven
>
> Yes,
>
> However it does a "full build" which takes ~30-40 minutes. But I want to 
> build only specific projects and their dependents.
>
> Regards
>
> Žilvinas Vilutis
>
> Mobile:   (+370) 652 38353
> E-mail:   cika...@gmail.com
>
>
>
> On Wed, Feb 16, 2011 at 9:54 AM, Leon Rosenberg  
> wrote:
>> How about hudson?
>>
>> Hudson can watch for svn changes and trigger builds on commit.
>>
>> regards
>> Leon
>>
>> On Wed, Feb 16, 2011 at 5:46 PM, Zilvinas Vilutis  wrote:
>>> Hello Maven Users!
>>>
>>> Probably this question was already asked, so if there is an answer
>>> which I could not find - please point me to the right place.
>>>
>>>
>>> I'm working on an enterprise project where maven integration plays a huge 
>>> role.
>>>
>>> However the project is big as a lot of teams are working on it and it
>>> takes quite some time to build it ( 30-40 minutes ), which I need to
>>> do every morning after an svn update.
>>>
>>>
>>> So I was thinking - is there any way to configure maven to build only
>>> the projects which were updated by SVN ( e.g. in the script time )?
>>>
>>>
>>> Most likely there is no direct answer...however, I think that I could
>>> find a way to gather the project names which were updated in the
>>> shell script - then I could pass the list of project names to maven command.
>>> Is there any way to make sure that those and dependent projects would
>>> be built in the right order?
>>>
>>>
>>> The project structure is:
>>>
>>> parent
>>> -- subsystem1
>>>  -- s1-project1
>>>  -- s1-project2
>>> -- subsystem2
>>>  -- s2-project1
>>>  -- s2-project2
>>>  -- s2-project3
>>> -- subsystem3
>>>  -- s3-project1
>>>
>>>
>>> Thank you for any ideas!
>>>
>>>
>>> Žilvinas Vilutis
>>>
>>> Mobile:   (+370) 652 38353
>>> E-mail:   cika...@gmail.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
>
>
>
> **
> 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



Re: subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
Yes,

However it does a "full build" which takes ~30-40 minutes. But I want
to build only specific projects and their dependents.

Regards

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 9:54 AM, Leon Rosenberg
 wrote:
> How about hudson?
>
> Hudson can watch for svn changes and trigger builds on commit.
>
> regards
> Leon
>
> On Wed, Feb 16, 2011 at 5:46 PM, Zilvinas Vilutis  wrote:
>> Hello Maven Users!
>>
>> Probably this question was already asked, so if there is an answer
>> which I could not find - please point me to the right place.
>>
>>
>> I'm working on an enterprise project where maven integration plays a huge 
>> role.
>>
>> However the project is big as a lot of teams are working on it and it
>> takes quite some time to build it ( 30-40 minutes ), which I need to
>> do every morning after an svn update.
>>
>>
>> So I was thinking - is there any way to configure maven to build only
>> the projects which were updated by SVN ( e.g. in the script time )?
>>
>>
>> Most likely there is no direct answer...however, I think that I could
>> find a way to gather the project names which were updated in the shell
>> script - then I could pass the list of project names to maven command.
>> Is there any way to make sure that those and dependent projects would
>> be built in the right order?
>>
>>
>> The project structure is:
>>
>> parent
>> -- subsystem1
>>  -- s1-project1
>>  -- s1-project2
>> -- subsystem2
>>  -- s2-project1
>>  -- s2-project2
>>  -- s2-project3
>> -- subsystem3
>>  -- s3-project1
>>
>>
>> Thank you for any ideas!
>>
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.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



subversion vs maven

2011-02-16 Thread Zilvinas Vilutis
Hello Maven Users!

Probably this question was already asked, so if there is an answer
which I could not find - please point me to the right place.


I'm working on an enterprise project where maven integration plays a huge role.

However the project is big as a lot of teams are working on it and it
takes quite some time to build it ( 30-40 minutes ), which I need to
do every morning after an svn update.


So I was thinking - is there any way to configure maven to build only
the projects which were updated by SVN ( e.g. in the script time )?


Most likely there is no direct answer...however, I think that I could
find a way to gather the project names which were updated in the shell
script - then I could pass the list of project names to maven command.
Is there any way to make sure that those and dependent projects would
be built in the right order?


The project structure is:

parent
-- subsystem1
  -- s1-project1
  -- s1-project2
-- subsystem2
  -- s2-project1
  -- s2-project2
  -- s2-project3
-- subsystem3
  -- s3-project1


Thank you for any ideas!


Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com

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