Re: AW: AW: AW: build multi-projects with eclipse

2010-06-02 Thread Wayne Fay
> Does this mean I have to run install each time I make change
> to make it work? Is it possible make changes work without
> any operation when the webapp is running for debug?

These questions about m2eclipse are more appropriate on the m2eclipse
mailing list...

http://m2eclipse.sonatype.org/project-information.html

Wayne

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



Re: AW: AW: AW: build multi-projects with eclipse

2010-06-02 Thread sean xiong


On Jun 3, 2010, at 3:08 AM, Ron Wheeler wrote:

> On 02/06/2010 10:35 AM, Lewis, Eric wrote:
>> Hmmm... I have never used the Spring Tool Suite, sorry...
>>   
> It is just Eclipse with all the plug-ins already included.
> 
>> m2eclipse creates dynamic dependencies between Eclipse projects. When you 
>> open one, all open projects which depend on it now depend on the opened 
>> project instead of the project's artifact in the Maven repository. As for 
>> "Use pom.xml interface to add by search?", I don't know what you mean... 
>> pom.xml is not an interface, it's Maven's configuration.
>> 
>>   

Does this mean I have to run install each time I make change to make it work? 
Is it possible make changes work without any operation when the webapp is 
running for debug?

> Dynamic dependencies are a 2 edged sword in a multi-person, multi-project 
> application. You have to be careful to either delete or close inactive 
> projects or make sure that they are synchronized and up-to-date.
> 
> We generally click off the box that forces dynamic dependencies to ensure 
> that we build with the latest snapshots.
> 
> You need to build your dependencies with  run as => install to get them into 
> ${user.home}/.m2/repository
> 
> You probably should read one of the free Maven books to get a sense of the 
> "Maven way".
> 
> Ron
> 
>> Best regards,
>> Eric
>> 
>> -Ursprüngliche Nachricht-
>> Von: sean xiong [mailto:seanxi...@fridae.com]
>> Gesendet: Mittwoch, 2. Juni 2010 16:28
>> An: Maven Users List
>> Betreff: Re: AW: AW: build multi-projects with eclipse
>> 
>> Yah I use 'Run as on server' with spring tool suite.
>> 
>> I just tried and maven for eclipse has been installed into STS which I have 
>> been using.
>> 
>> You mentioned it creates dynamic dependencies between the projects, how? Use 
>> pom.xml interface to add by search?
>> 
>> On Jun 2, 2010, at 10:16 PM, Lewis, Eric wrote:
>> 
>>   
>>> Well, it creates dynamic dependencies between your projects when they are 
>>> open in Eclipse, which helps a lot for development.
>>> However, if you close a project, its artifact has to exist in your local 
>>> repository, so you have to build it with 'install' before closing the 
>>> project.
>>> 
>>> Unless I misunderstood your problem, and your Maven build doesn't find an 
>>> external dependency. In that case, you might have a Proxy configuration 
>>> problem in Eclipse.
>>> But then, I don't know how you're building your projects within Eclipse... 
>>> with a launch configuration (Run As...)?
>>> 
>>> Best regards,
>>> Eric
>>> 
>>> -Ursprüngliche Nachricht-
>>> Von: sean xiong [mailto:seanxi...@fridae.com]
>>> Gesendet: Mittwoch, 2. Juni 2010 16:11
>>> An: Maven Users List
>>> Betreff: Re: AW: build multi-projects with eclipse
>>> 
>>> can m2eclipse solve my problem? I download first.
>>> 
>>> On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:
>>> 
>>> 
 Hi
 
 Are you using m2eclipse?
 If you aren't, you should  :-)
 
 As for your second question: m2eclipse has an integration with Eclipse 
 WTP, but personally I haven't used it yet.
 
 Best regards,
 Eric
 
 -Ursprüngliche Nachricht-
 Von: sean xiong [mailto:seanxi...@fridae.com]
 Gesendet: Mittwoch, 2. Juni 2010 15:44
 An: users@maven.apache.org
 Betreff: build multi-projects with eclipse
 
 Hi,
 
 I'm new on Maven. Here's my problem,
 
 I built a webapp and some services in another project, both of them 
 inherit from parent pom.
 I have added dependency in webapp of service project.
 
 Every time when I try to package webapp, it tries to download from 
 ${user.home}/.m2/repository but failed. This happens in Eclipse only, when 
 I use netbeans it works. But I don't wanna change my IDE becos of this. 
 Anyone has experience on this?
 
 Another question: with Maven if I change source code in service project 
 and webapp running on tomcat, would it take effect real-time? Or I have to 
 rebuild and deploy it?
 
 Thank you.
 -
 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
 
   
>>> 
>>> -
>>> 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: AW: AW: AW: build multi-projects with eclipse

2010-06-02 Thread Ron Wheeler

On 02/06/2010 10:35 AM, Lewis, Eric wrote:

Hmmm... I have never used the Spring Tool Suite, sorry...
   

It is just Eclipse with all the plug-ins already included.


m2eclipse creates dynamic dependencies between Eclipse projects. When you open one, all 
open projects which depend on it now depend on the opened project instead of the 
project's artifact in the Maven repository. As for "Use pom.xml interface to add by 
search?", I don't know what you mean... pom.xml is not an interface, it's Maven's 
configuration.

   
Dynamic dependencies are a 2 edged sword in a multi-person, 
multi-project application. You have to be careful to either delete or 
close inactive projects or make sure that they are synchronized and 
up-to-date.


We generally click off the box that forces dynamic dependencies to 
ensure that we build with the latest snapshots.


You need to build your dependencies with  run as => install to get them 
into ${user.home}/.m2/repository


You probably should read one of the free Maven books to get a sense of 
the "Maven way".


Ron


Best regards,
Eric

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com]
Gesendet: Mittwoch, 2. Juni 2010 16:28
An: Maven Users List
Betreff: Re: AW: AW: build multi-projects with eclipse

Yah I use 'Run as on server' with spring tool suite.

I just tried and maven for eclipse has been installed into STS which I have 
been using.

You mentioned it creates dynamic dependencies between the projects, how? Use 
pom.xml interface to add by search?

On Jun 2, 2010, at 10:16 PM, Lewis, Eric wrote:

   

Well, it creates dynamic dependencies between your projects when they are open 
in Eclipse, which helps a lot for development.
However, if you close a project, its artifact has to exist in your local 
repository, so you have to build it with 'install' before closing the project.

Unless I misunderstood your problem, and your Maven build doesn't find an 
external dependency. In that case, you might have a Proxy configuration problem 
in Eclipse.
But then, I don't know how you're building your projects within Eclipse... with 
a launch configuration (Run As...)?

Best regards,
Eric

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com]
Gesendet: Mittwoch, 2. Juni 2010 16:11
An: Maven Users List
Betreff: Re: AW: build multi-projects with eclipse

can m2eclipse solve my problem? I download first.

On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:

 

Hi

Are you using m2eclipse?
If you aren't, you should  :-)

As for your second question: m2eclipse has an integration with Eclipse WTP, but 
personally I haven't used it yet.

Best regards,
Eric

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com]
Gesendet: Mittwoch, 2. Juni 2010 15:44
An: users@maven.apache.org
Betreff: build multi-projects with eclipse

Hi,

I'm new on Maven. Here's my problem,

I built a webapp and some services in another project, both of them inherit 
from parent pom.
I have added dependency in webapp of service project.

Every time when I try to package webapp, it tries to download from 
${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
has experience on this?

Another question: with Maven if I change source code in service project and 
webapp running on tomcat, would it take effect real-time? Or I have to rebuild 
and deploy it?

Thank you.
-
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

   


-
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

 


-
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


   



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



RE: Spring3 WS Archetype

2010-06-02 Thread Changkowski

Yes i installed this plugin to eclipse.


mgainty wrote:
> 
> 
> did you install m2eclipse plugin?
> 
>  
> 
> http://m2eclipse.sonatype.org/installing-m2eclipse.html
> 
>  
> 
> ?
> Martin Gainty 
> __ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> 
>  
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
> copie de ceci est interdite. Ce message sert à l'information seulement et
> n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
> les email peuvent facilement être sujets à la manipulation, nous ne
> pouvons accepter aucune responsabilité pour le contenu fourni.
> 
> 
> 
>  
> 
>> Date: Wed, 2 Jun 2010 09:16:08 -0700
>> From: m.str...@gmx.de
>> To: users@maven.apache.org
>> Subject: Re: Spring3 WS Archetype
>> 
>> 
>> Thanks shansyed
>> 
>> I still have the STS plugin and the m2eclipse plugin integrated in
>> eclipse,
>> but when I just create a new Spring project I have not the directory
>> structure and the xml files i need for a spring 3 ws.
>> 
>> When i have the right archetype file i can use it in eclipse with
>> creating a
>> new Maven project or is there another way to do this?
>> 
>> 
>> 
>> shansyed wrote:
>> > 
>> > you could use STS http://www.springsource.com/products/sts to create
>> the
>> > WS
>> > projects with Spring 3 with proper maven POMs
>> > 
>> > On Wed, Jun 2, 2010 at 11:53 AM, Changkowski  wrote:
>> > 
>> >>
>> >> Hello
>> >>
>> >> I'm new to Maven and I have to build several spring webservices with
>> >> spring
>> >> 3.
>> >> When I write
>> >>
>> >> mvn archetype:generate
>> >>
>> >> to the commandline i can choose at position 245
>> >>
>> >> 245: remote -> spring-ws-archetype (Spring Web Services Maven2
>> >> Archetype.)
>> >>
>> >> but the following selection is limited to Spring version 1.0 to 2.0
>> and
>> >> not
>> >> Spring 3.0.
>> >> Is there a easy way to get an archetype for spring webservices for
>> spring
>> >> 3?
>> >>
>> >> Kind regards,
>> >> Changkowski
>> >> --
>> >> View this message in context:
>> >> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756453.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
>> >>
>> >>
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756746.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
>> 
> 
> _
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
> Hotmail. 
> http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
> 

-- 
View this message in context: 
http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28757428.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: Spring3 WS Archetype

2010-06-02 Thread Martin Gainty

did you install m2eclipse plugin?

 

http://m2eclipse.sonatype.org/installing-m2eclipse.html

 

?
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Wed, 2 Jun 2010 09:16:08 -0700
> From: m.str...@gmx.de
> To: users@maven.apache.org
> Subject: Re: Spring3 WS Archetype
> 
> 
> Thanks shansyed
> 
> I still have the STS plugin and the m2eclipse plugin integrated in eclipse,
> but when I just create a new Spring project I have not the directory
> structure and the xml files i need for a spring 3 ws.
> 
> When i have the right archetype file i can use it in eclipse with creating a
> new Maven project or is there another way to do this?
> 
> 
> 
> shansyed wrote:
> > 
> > you could use STS http://www.springsource.com/products/sts to create the
> > WS
> > projects with Spring 3 with proper maven POMs
> > 
> > On Wed, Jun 2, 2010 at 11:53 AM, Changkowski  wrote:
> > 
> >>
> >> Hello
> >>
> >> I'm new to Maven and I have to build several spring webservices with
> >> spring
> >> 3.
> >> When I write
> >>
> >> mvn archetype:generate
> >>
> >> to the commandline i can choose at position 245
> >>
> >> 245: remote -> spring-ws-archetype (Spring Web Services Maven2
> >> Archetype.)
> >>
> >> but the following selection is limited to Spring version 1.0 to 2.0 and
> >> not
> >> Spring 3.0.
> >> Is there a easy way to get an archetype for spring webservices for spring
> >> 3?
> >>
> >> Kind regards,
> >> Changkowski
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756453.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
> >>
> >>
> > 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756746.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
> 
  
_
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

Re: Spring3 WS Archetype

2010-06-02 Thread Changkowski

Thanks shansyed

I still have the STS plugin and the m2eclipse plugin integrated in eclipse,
but when I just create a new Spring project I have not the directory
structure and the xml files i need for a spring 3 ws.

When i have the right archetype file i can use it in eclipse with creating a
new Maven project or is there another way to do this?



shansyed wrote:
> 
> you could use STS http://www.springsource.com/products/sts to create the
> WS
> projects with Spring 3 with proper maven POMs
> 
> On Wed, Jun 2, 2010 at 11:53 AM, Changkowski  wrote:
> 
>>
>> Hello
>>
>> I'm new to Maven and I have to build several spring webservices with
>> spring
>> 3.
>> When I write
>>
>> mvn archetype:generate
>>
>> to the commandline i can choose at position 245
>>
>> 245: remote -> spring-ws-archetype (Spring Web Services Maven2
>> Archetype.)
>>
>> but the following selection is limited to Spring version 1.0 to 2.0 and
>> not
>> Spring 3.0.
>> Is there a easy way to get an archetype for spring webservices for spring
>> 3?
>>
>> Kind regards,
>> Changkowski
>> --
>> View this message in context:
>> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756453.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
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756746.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: Spring3 WS Archetype

2010-06-02 Thread Shan Syed
you could use STS http://www.springsource.com/products/sts to create the WS
projects with Spring 3 with proper maven POMs

On Wed, Jun 2, 2010 at 11:53 AM, Changkowski  wrote:

>
> Hello
>
> I'm new to Maven and I have to build several spring webservices with spring
> 3.
> When I write
>
> mvn archetype:generate
>
> to the commandline i can choose at position 245
>
> 245: remote -> spring-ws-archetype (Spring Web Services Maven2 Archetype.)
>
> but the following selection is limited to Spring version 1.0 to 2.0 and not
> Spring 3.0.
> Is there a easy way to get an archetype for spring webservices for spring
> 3?
>
> Kind regards,
> Changkowski
> --
> View this message in context:
> http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756453.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
>
>


Multi Module Archetypes

2010-06-02 Thread chris
Hi,

Is it possible to create an Archetype which will create a full multi
module project rather than creating each module individually?

I would like to generate the following in one go to reduce complexity.

--parent
warproject
--src
--pom.xml
ejbproject
--src
--pom.xml
earproject
--pom.xml

Many Thanks

Chris


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



Re: Multi Module Archetypes

2010-06-02 Thread Shan Syed
I think Apache Cocoon and MyFaces have archetypes that do this, you could
reference their code

otherwise, try executing "archetype:create-from-project" at the root and see
what happens?

On Wed, Jun 2, 2010 at 11:47 AM,  wrote:

> Hi,
>
> Is it possible to create an Archetype which will create a full multi
> module project rather than creating each module individually?
>
> I would like to generate the following in one go to reduce complexity.
>
> --parent
> warproject
> --src
> --pom.xml
> ejbproject
> --src
> --pom.xml
> earproject
> --pom.xml
>
> Many Thanks
>
> Chris
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Spring3 WS Archetype

2010-06-02 Thread Changkowski

Hello

I'm new to Maven and I have to build several spring webservices with spring
3.
When I write 

mvn archetype:generate

to the commandline i can choose at position 245 

245: remote -> spring-ws-archetype (Spring Web Services Maven2 Archetype.)

but the following selection is limited to Spring version 1.0 to 2.0 and not
Spring 3.0.
Is there a easy way to get an archetype for spring webservices for spring 3?

Kind regards,
Changkowski
-- 
View this message in context: 
http://old.nabble.com/Spring3-WS-Archetype-tp28756453p28756453.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



Multi Module Archetypes

2010-06-02 Thread chris
Hi,

Is it possible to create an Archetype which will create a full multi
module project rather than creating each module individually?

I would like to generate the following in one go to reduce complexity.

--parent
warproject
--src
--pom.xml
ejbproject
--src
--pom.xml
earproject
--pom.xml

Many Thanks

Chris



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



Hello

2010-06-02 Thread Changkowski


-- 
View this message in context: 
http://old.nabble.com/Hello-tp28756365p28756365.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



Hello

2010-06-02 Thread Changkowski


-- 
View this message in context: 
http://old.nabble.com/Hello-tp28756330p28756330.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: Maven SCM Implementation: Subversion Documentation

2010-06-02 Thread Dennis Lundberg
On 2010-06-01 23:55, Ron Wheeler wrote:
> On 01/06/2010 5:18 PM, Justin Edelson wrote:
>> This shouldn't be necessary. Why isn't the default Subversion
>> credentials cache sufficient?
> Where is this documented and how is it setup? Is this in the Subversion
> project?
> We just use Eclipse.

You have to run a subversion command line command once, to put your
credentials (for that particular repo) into the cache. Try something
like this on the command line:

svn co 

After this maven-scm-plugin and maven-release-plugin will use the
credentials that are now stored in Subversion's own cache.



>> It handles per-repo credentials just fine
>> and IIRC is now properly encrypted on all OS's.
>>
>> Justin
>>
>>
>>
>> On 6/1/10 5:08 PM, Ron Wheeler wrote:
>>   
>>> On this site
>>> http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
>>>
>>>
>>> I found this nugget of information
>>>
>>> |
>>>[svn user]
>>>[svn password]
>>> 
>>>
>>> |
>>>
>>> It is not clear how you associate this username and password with a
>>> specific Subversion repo.
>>> We have several repos that we access and it would be nice to get Maven
>>> to use the right combination of username and password with each
>>> repository.
>>>
>>> Any suggestions about where to look for more details.
>>>
>>> Ron
>>> |
>>> |
>>> On 01/06/2010 4:22 PM, Ron Wheeler wrote:
>>> 
 https://maven.apache.org/scm/subversion.html

 Could someone update this page to describe
 $user.home/.scm/svn-settings.xml

 There is an example but no description of the parameters that can be
 set and no reference to anywhere that this is described.




 I hope that I can find a place to stick a username and a password for
 the different SCM repositories that we have.

 We use Subversion within Eclipse and it has its own place to stash
 these.

 I may have to run Maven outside Eclipse to run the release plug-in and
 each person has their own username and password to access the SCM and
 I do not want to put them in the procedures.


 The rest of the page is pretty cryptic as well.

 Another documentation issue:
 is

 if false --non-interactive will not be used in the svn command line

 the same as

 if true --non-interactive will be used in the svn command line


 The second is easier to parse but the underlying problem is the choice
 of the flag named "usenoninterative" which would be easier to follow
 if it was simply "interactive" and the values reversed.
 Not a documentation problem but a case of "inside-the-beltway"
 thinking on the part of the programmer.

 Ron


>>>
>>>  
>>
>> -
>> 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
> 
> 


-- 
Dennis Lundberg

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



Re: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1

Thanks for your reply.

Basically I do not mind if it is a zip or a war. The war plugin work
perfectly for me (but I also want to put in some filesystem stuff ..eg. line
endings to be either dos/unix). I could right the whole thing with assembly
plugin but a. it is beta and b. I will be reinventing the wheel.



In any case thanks for the reply
-- 
View this message in context: 
http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28756099.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: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread Karl Heinz Marbaise

Hi,

basically the execution of scripts inside a container (Tomcat, JBoss) won't
work if the security manager is acitve...


jid1jid1 wrote:
> I haven't found a way to do this with the default pom (packaging=war)
> Cause the war plugin is not designed that way...


jid1jid1 wrote:
> When I try to join this war using the assembly plugin I end up with two
> wars and (only one installed).There might be a possibility by using the
> Overlay thing in the maven-war-plugin 

http://maven.apache.org/plugins/maven-war-plugin/overlays.html


jid1jid1 wrote:
> Is there a howto/doc that demostrates how to use the assembly plugin to
> package and install a single war webapp?No i don't think so, cause the
> assembly plugin has a different intention...

But on the other hand a WAR file is nothing than a zip archive with a
particular folder structure...

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28755581.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



AW: AW: AW: build multi-projects with eclipse

2010-06-02 Thread Lewis, Eric
Hmmm... I have never used the Spring Tool Suite, sorry...

m2eclipse creates dynamic dependencies between Eclipse projects. When you open 
one, all open projects which depend on it now depend on the opened project 
instead of the project's artifact in the Maven repository. As for "Use pom.xml 
interface to add by search?", I don't know what you mean... pom.xml is not an 
interface, it's Maven's configuration.

Best regards,
Eric

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com] 
Gesendet: Mittwoch, 2. Juni 2010 16:28
An: Maven Users List
Betreff: Re: AW: AW: build multi-projects with eclipse

Yah I use 'Run as on server' with spring tool suite.

I just tried and maven for eclipse has been installed into STS which I have 
been using.

You mentioned it creates dynamic dependencies between the projects, how? Use 
pom.xml interface to add by search?

On Jun 2, 2010, at 10:16 PM, Lewis, Eric wrote:

> Well, it creates dynamic dependencies between your projects when they are 
> open in Eclipse, which helps a lot for development.
> However, if you close a project, its artifact has to exist in your local 
> repository, so you have to build it with 'install' before closing the project.
> 
> Unless I misunderstood your problem, and your Maven build doesn't find an 
> external dependency. In that case, you might have a Proxy configuration 
> problem in Eclipse.
> But then, I don't know how you're building your projects within Eclipse... 
> with a launch configuration (Run As...)?
> 
> Best regards,
> Eric 
> 
> -Ursprüngliche Nachricht-
> Von: sean xiong [mailto:seanxi...@fridae.com] 
> Gesendet: Mittwoch, 2. Juni 2010 16:11
> An: Maven Users List
> Betreff: Re: AW: build multi-projects with eclipse
> 
> can m2eclipse solve my problem? I download first.
> 
> On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:
> 
>> Hi
>> 
>> Are you using m2eclipse?
>> If you aren't, you should  :-)
>> 
>> As for your second question: m2eclipse has an integration with Eclipse WTP, 
>> but personally I haven't used it yet.
>> 
>> Best regards,
>> Eric 
>> 
>> -Ursprüngliche Nachricht-
>> Von: sean xiong [mailto:seanxi...@fridae.com] 
>> Gesendet: Mittwoch, 2. Juni 2010 15:44
>> An: users@maven.apache.org
>> Betreff: build multi-projects with eclipse
>> 
>> Hi,
>> 
>> I'm new on Maven. Here's my problem,
>> 
>> I built a webapp and some services in another project, both of them inherit 
>> from parent pom. 
>> I have added dependency in webapp of service project.
>> 
>> Every time when I try to package webapp, it tries to download from 
>> ${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
>> use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
>> has experience on this?
>> 
>> Another question: with Maven if I change source code in service project and 
>> webapp running on tomcat, would it take effect real-time? Or I have to 
>> rebuild and deploy it? 
>> 
>> Thank you.
>> -
>> 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
>> 
> 
> 
> -
> 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
> 


-
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: AW: AW: build multi-projects with eclipse

2010-06-02 Thread sean xiong
Yah I use 'Run as on server' with spring tool suite.

I just tried and maven for eclipse has been installed into STS which I have 
been using.

You mentioned it creates dynamic dependencies between the projects, how? Use 
pom.xml interface to add by search?

On Jun 2, 2010, at 10:16 PM, Lewis, Eric wrote:

> Well, it creates dynamic dependencies between your projects when they are 
> open in Eclipse, which helps a lot for development.
> However, if you close a project, its artifact has to exist in your local 
> repository, so you have to build it with 'install' before closing the project.
> 
> Unless I misunderstood your problem, and your Maven build doesn't find an 
> external dependency. In that case, you might have a Proxy configuration 
> problem in Eclipse.
> But then, I don't know how you're building your projects within Eclipse... 
> with a launch configuration (Run As...)?
> 
> Best regards,
> Eric 
> 
> -Ursprüngliche Nachricht-
> Von: sean xiong [mailto:seanxi...@fridae.com] 
> Gesendet: Mittwoch, 2. Juni 2010 16:11
> An: Maven Users List
> Betreff: Re: AW: build multi-projects with eclipse
> 
> can m2eclipse solve my problem? I download first.
> 
> On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:
> 
>> Hi
>> 
>> Are you using m2eclipse?
>> If you aren't, you should  :-)
>> 
>> As for your second question: m2eclipse has an integration with Eclipse WTP, 
>> but personally I haven't used it yet.
>> 
>> Best regards,
>> Eric 
>> 
>> -Ursprüngliche Nachricht-
>> Von: sean xiong [mailto:seanxi...@fridae.com] 
>> Gesendet: Mittwoch, 2. Juni 2010 15:44
>> An: users@maven.apache.org
>> Betreff: build multi-projects with eclipse
>> 
>> Hi,
>> 
>> I'm new on Maven. Here's my problem,
>> 
>> I built a webapp and some services in another project, both of them inherit 
>> from parent pom. 
>> I have added dependency in webapp of service project.
>> 
>> Every time when I try to package webapp, it tries to download from 
>> ${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
>> use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
>> has experience on this?
>> 
>> Another question: with Maven if I change source code in service project and 
>> webapp running on tomcat, would it take effect real-time? Or I have to 
>> rebuild and deploy it? 
>> 
>> Thank you.
>> -
>> 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
>> 
> 
> 
> -
> 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
> 


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



AW: AW: build multi-projects with eclipse

2010-06-02 Thread Lewis, Eric
Well, it creates dynamic dependencies between your projects when they are open 
in Eclipse, which helps a lot for development.
However, if you close a project, its artifact has to exist in your local 
repository, so you have to build it with 'install' before closing the project.

Unless I misunderstood your problem, and your Maven build doesn't find an 
external dependency. In that case, you might have a Proxy configuration problem 
in Eclipse.
But then, I don't know how you're building your projects within Eclipse... with 
a launch configuration (Run As...)?

Best regards,
Eric 

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com] 
Gesendet: Mittwoch, 2. Juni 2010 16:11
An: Maven Users List
Betreff: Re: AW: build multi-projects with eclipse

can m2eclipse solve my problem? I download first.

On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:

> Hi
> 
> Are you using m2eclipse?
> If you aren't, you should  :-)
> 
> As for your second question: m2eclipse has an integration with Eclipse WTP, 
> but personally I haven't used it yet.
> 
> Best regards,
> Eric 
> 
> -Ursprüngliche Nachricht-
> Von: sean xiong [mailto:seanxi...@fridae.com] 
> Gesendet: Mittwoch, 2. Juni 2010 15:44
> An: users@maven.apache.org
> Betreff: build multi-projects with eclipse
> 
> Hi,
> 
> I'm new on Maven. Here's my problem,
> 
> I built a webapp and some services in another project, both of them inherit 
> from parent pom. 
> I have added dependency in webapp of service project.
> 
> Every time when I try to package webapp, it tries to download from 
> ${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
> use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
> has experience on this?
> 
> Another question: with Maven if I change source code in service project and 
> webapp running on tomcat, would it take effect real-time? Or I have to 
> rebuild and deploy it? 
> 
> Thank you.
> -
> 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
> 


-
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: AW: build multi-projects with eclipse

2010-06-02 Thread sean xiong
can m2eclipse solve my problem? I download first.

On Jun 2, 2010, at 9:49 PM, Lewis, Eric wrote:

> Hi
> 
> Are you using m2eclipse?
> If you aren't, you should  :-)
> 
> As for your second question: m2eclipse has an integration with Eclipse WTP, 
> but personally I haven't used it yet.
> 
> Best regards,
> Eric 
> 
> -Ursprüngliche Nachricht-
> Von: sean xiong [mailto:seanxi...@fridae.com] 
> Gesendet: Mittwoch, 2. Juni 2010 15:44
> An: users@maven.apache.org
> Betreff: build multi-projects with eclipse
> 
> Hi,
> 
> I'm new on Maven. Here's my problem,
> 
> I built a webapp and some services in another project, both of them inherit 
> from parent pom. 
> I have added dependency in webapp of service project.
> 
> Every time when I try to package webapp, it tries to download from 
> ${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
> use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
> has experience on this?
> 
> Another question: with Maven if I change source code in service project and 
> webapp running on tomcat, would it take effect real-time? Or I have to 
> rebuild and deploy it? 
> 
> Thank you.
> -
> 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
> 


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



maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1

Hi,

I need to add some scripts in my webapp and control filemods and line
endings. Doing this with maven-assembly-plugin is easy:
...


scripts
WEB-INF/scripts

*

750
unix




I haven't found a way to do this with the default pom (packaging=war)

When I try to join this war using the assembly plugin I end up with two wars
and (only one installed).

Is there a howto/doc that demostrates how to use the assembly plugin to
package and install a single war webapp?

Thanks
-- 
View this message in context: 
http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28755057.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



AW: build multi-projects with eclipse

2010-06-02 Thread Lewis, Eric
Hi

Are you using m2eclipse?
If you aren't, you should  :-)

As for your second question: m2eclipse has an integration with Eclipse WTP, but 
personally I haven't used it yet.

Best regards,
Eric 

-Ursprüngliche Nachricht-
Von: sean xiong [mailto:seanxi...@fridae.com] 
Gesendet: Mittwoch, 2. Juni 2010 15:44
An: users@maven.apache.org
Betreff: build multi-projects with eclipse

Hi,

I'm new on Maven. Here's my problem,

I built a webapp and some services in another project, both of them inherit 
from parent pom. 
I have added dependency in webapp of service project.

Every time when I try to package webapp, it tries to download from 
${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
has experience on this?

Another question: with Maven if I change source code in service project and 
webapp running on tomcat, would it take effect real-time? Or I have to rebuild 
and deploy it? 

Thank you.
-
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



build multi-projects with eclipse

2010-06-02 Thread sean xiong
Hi,

I'm new on Maven. Here's my problem,

I built a webapp and some services in another project, both of them inherit 
from parent pom. 
I have added dependency in webapp of service project.

Every time when I try to package webapp, it tries to download from 
${user.home}/.m2/repository but failed. This happens in Eclipse only, when I 
use netbeans it works. But I don't wanna change my IDE becos of this. Anyone 
has experience on this?

Another question: with Maven if I change source code in service project and 
webapp running on tomcat, would it take effect real-time? Or I have to rebuild 
and deploy it? 

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



Re: extending WAR

2010-06-02 Thread Stephen Connolly
I have not used it.  if you can guarantee that m3 only then in theory you'd
be fine... but just don't do it

On 2 June 2010 13:05, tbee  wrote:

>
> What about this one?
>
> http://www.jfrog.org/sites/mvn-anno-mojo/latest/
>
> --
> View this message in context:
> http://old.nabble.com/extending-WAR-tp28742485p28753463.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: extending WAR

2010-06-02 Thread tbee

What about this one?

http://www.jfrog.org/sites/mvn-anno-mojo/latest/

-- 
View this message in context: 
http://old.nabble.com/extending-WAR-tp28742485p28753463.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: extending WAR

2010-06-02 Thread tbee



Stephen Connolly-2 wrote:
> 
> Nope. you will still have the issue of the plugin metadata being
> incorrect.
> 
> Short answer: [image: donny_dont_22.jpg] Don't do what Donny Don't Does
> 

Ahh, ofcourse, this make it clear: "when you extend a maven-plugin artifact,
the maven-plugin-plugin cannot see the javadoc annotations of the parent
mojo classes (because they are javadoc annotations and it only has access to
the .class files)". I'm so used to Java annotations that this slipped me.

So code (plugin) reusage simply is a no-no. I could copy all properties +
javadoc annotations in my own class and forward them to the parent. Hm. What
will be the gain...

Thanks!
-- 
View this message in context: 
http://old.nabble.com/extending-WAR-tp28742485p28753414.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



Compiling jasper reports with maven

2010-06-02 Thread nandysiyer

Hey , 
I'm new to jasper reports . Can anyone tell me how to compile jasper reports
with maven 2 ? A simple example would be very helpful . 

Thanks 

-- 
View this message in context: 
http://maven-users.828.n2.nabble.com/Compiling-jasper-reports-with-maven-tp5130117p5130117.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: extending WAR

2010-06-02 Thread Stephen Connolly
Nope. you will still have the issue of the plugin metadata being incorrect.

It will only be less bad (because plugin versions are not based on first
version seen in the reactor in M3)

Short answer: [image: donny_dont_22.jpg] Don't do what Donny Don't Does

-Stephen

On 2 June 2010 08:21, tbee  wrote:

>
> This will work for M3? Because we're still introducing Maven, so I could
> require that. (Although the last version of M3 does not seem to handle -U
> correctly.)
> --
> View this message in context:
> http://old.nabble.com/extending-WAR-tp28742485p28750984.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: [internal-repository] How to use relative path in the declaration of repository

2010-06-02 Thread Karl Heinz Marbaise

Hi,


NGUYEN Cong Kinh-2 wrote:
> 
>   
> 
>   private-cosmos-B
>   file:${basedir}/libs
> 
>   
> 

The problem you aren't aware of is that if you like to use a file based URL
you have to do it like this:


file://${basedir}/libs

But i would recommend to follow the recomandations of the other post.

Kind regards
Karl Heinz Marbaise

-- 
View this message in context: 
http://old.nabble.com/-internal-repository--How-to-use-relative-path-in-the-declaration-of-repository-tp28751349p28752713.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



Dependency fails, but only in reactor build

2010-06-02 Thread Lewis, Eric
Hi

I'm having problems with a dependency that can't be found, but only in a 
reactor build.

We have a project 'activity' with several modules, one of them being the 
'activity-client', which uses an assembly 'batch' (a ZIP for a batch client).

We have Hudson as CI server and build every project on commit changes: The 
'activity' project builds flawlessly.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 
/ige/hudson/work/jobs/activity/workspace/activity-client/target/activity-client-2.2.0-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: 
/ige/hudson/work/jobs/activity/workspace/activity-client/target/activity-client-2.2.0-SNAPSHOT-sources.jar
[INFO] [assembly:single {execution: create-batch-distribution}]
...
[INFO] Building zip: 
/ige/hudson/work/jobs/activity/workspace/activity-client/target/activity-client-2.2.0-SNAPSHOT-batch.zip
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 30 seconds
[INFO] Finished at: Wed Jun 02 11:35:03 CEST 2010
[INFO] Final Memory: 76M/631M
[INFO] 


However, we also have a nightly build which builds the whole system with all 
projects in one big reactor build.

Here, for some strange reason, the 'batch' assembly can't be found.

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 
/ige/hudson/work/jobs/esv-projects-tests__development/workspace/activity/activity-client/target/activity-client-2.2.0-SNAPSHOT.jar
[INFO] [assembly:single {execution: create-batch-distribution}]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error reading assemblies: Descriptor with ID 'batch' not found

If within the checked out whole system I go to the directory of 
'activity-client' and build it with 'mvn clean package', everything works.

If I do an 'mvn clean package' on the whole system, I get the error above.

So, clearly, the dependency exists in the repository. But sometimes it can't be 
found...

How can that be or how can I check in a better way what's going wrong?

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



[ANN] Maven GPG Plugin 1.1 Released

2010-06-02 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven GPG 
Plugin, version 1.1.


This plugin is used to create signatures for project artifacts using the 
GnuPG tool. Please see the plugin's site for more details:


  http://maven.apache.org/plugins/maven-gpg-plugin/

To use the updated plugin in your projects, you need to add the
following snippet to the plugins or plugin management section of your POM:

  
org.apache.maven.plugins
maven-gpg-plugin
1.1
  

Release Notes - Maven 2.x GPG Plugin - Version 1.1

** Bug
* [MGPG-17] - password is specified, but still promting
* [MGPG-20] - Signing fails if project has no main artifact but 
only attached artifacts with classifiers


** Improvement
* [MGPG-23] - Allow gpg executable name and path to be specified
* [MGPG-24] - Mark gpg plugin as @threadSafe

Enjoy,


-The Maven team

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



[ANN] Maven GPG Plugin 1.0 Released

2010-06-02 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven GPG 
Plugin, version 1.1.


This plugin is used to create signatures for project artifacts using the 
GnuPG tool. Please see the plugin's site for more details:


  http://maven.apache.org/plugins/maven-gpg-plugin/

To use the updated plugin in your projects, you need to add the
following snippet to the plugins or plugin management section of your POM:

  
org.apache.maven.plugins
maven-gpg-plugin
1.1
  

Release Notes - Maven 2.x GPG Plugin - Version 1.1

** Bug
* [MGPG-17] - password is specified, but still promting
* [MGPG-20] - Signing fails if project has no main artifact but 
only attached artifacts with classifiers


** Improvement
* [MGPG-23] - Allow gpg executable name and path to be specified
* [MGPG-24] - Mark gpg plugin as @threadSafe

Enjoy,


-The Maven team

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



Re: [internal-repository] How to use relative path in the declaration of repository

2010-06-02 Thread Anders Hammar
I don't understand. You say you have a problem with an internal repo and
that you have deploy the library 'B', but the module structure and the
repositories element you're outlining talkes about your local file system
structure.

This is what you should do:
1. Get yourself an internal remote repo. This is easiest managed by using a
repo manager like Nexus.
2. Deploy the third party lib 'B' (which I assume doesn't exist in central
for instance) to your internal repo.
3. Set up your Maven environment to use your internal repo (there are loads
of docs about that on the Internet).
4. Remove the repositories section which points at your local file syste,
5. You should be all set to use Maven the way it is meant to be used.

/Anders

On Wed, Jun 2, 2010 at 10:03, NGUYEN Cong Kinh <
cong_kinh.ngu...@it-sudparis.eu> wrote:

> Hi everybody,
>
> I have a problem with deploying an internal repository. In fact, I have
> some modules as the following:
> - module A
>   + module A1
> + module A11
>   + pom.xml
>   + src
>   + libs
> + module A12
>   + module A2
>
>
> In the module A11, I use some libraries and they are stored in the 'libs'
> directory. One of them, for example the library "B". I created the structure
> of directory (groupId/actifactId/version/artifactId-version) so that I ready
> deploy the library "B" from the 'libs' directory. In the pom.xml, I declared
> below:
>
>  
>   
> private-cosmos-B
> file:${basedir}/libs
>   
>  
>
>
> But it seems to me that Maven can't understand the usage of ${basedir} in
> this context. In fact, the relative path is important so that I can compile
> my modules from the module A. Could anyone help me to solve my problem?
>
> Thanks in advance,
> Kinh
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


[internal-repository] How to use relative path in the declaration of repository

2010-06-02 Thread NGUYEN Cong Kinh

Hi everybody,

I have a problem with deploying an internal repository. In fact, I have 
some modules as the following:

- module A
   + module A1
 + module A11
   + pom.xml
   + src
   + libs
 + module A12
   + module A2


In the module A11, I use some libraries and they are stored in the 
'libs' directory. One of them, for example the library "B". I created 
the structure of directory 
(groupId/actifactId/version/artifactId-version) so that I ready deploy 
the library "B" from the 'libs' directory. In the pom.xml, I declared below:


 
   
 private-cosmos-B
 file:${basedir}/libs
   
 


But it seems to me that Maven can't understand the usage of ${basedir} 
in this context. In fact, the relative path is important so that I can 
compile my modules from the module A. Could anyone help me to solve my 
problem?


Thanks in advance,
Kinh

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



Re: extending WAR

2010-06-02 Thread tbee

This will work for M3? Because we're still introducing Maven, so I could
require that. (Although the last version of M3 does not seem to handle -U 
correctly.)
-- 
View this message in context: 
http://old.nabble.com/extending-WAR-tp28742485p28750984.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