Creating Skinny WARs still up to date?

2007-07-25 Thread andreas.ebbert-karroum
Hi,
 
is there still no better way to refer to libraries in an EAR from a WAR than 
outlined here:
 
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html
 
It's still a hack, IMHO.
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Siemens Networks / Operations  
Business Software 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




Nokia Siemens Networks GmbH  Co. KG * Sitz der Gesellschaft: München / 
Registered office: Munich * Registergericht: München / Commercial registry: 
Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304 

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH * Geschäftsleitung / Board of Directors: Joachim Malterer, 
Lydia Sommer * Sitz der Gesellschaft: München / Registered office: Munich * 
Registergericht: München / Commercial registry: Munich, HRB 163416 



This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia Siemens Networks GmbH  Co. KG does not accept legal 
responsibility for the contents of this message as it has been transmitted over 
a public network. Thank you.

Nokia Siemens Networks GmbH  Co. KG is a German Company. Further information 
about the Company is available from its offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nsn.com/





Maven does not get latest snapshot from repository

2007-07-17 Thread andreas.ebbert-karroum
Hi,
 
I've a weird (for me) build problem. There's an updated snapshot version
on the repository, but maven is not pulling that down for the build, but
rather uses my local version. Under which conditions can this happen,
and how do I resolve it (except for maybe trashing the whole
.m2/repository).
 
[INFO] snapshot ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT: checking for
updates from JSR264 internal
[DEBUG] repository metadata for: 'snapshot
ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT' could not be found on
repository: JSR264 internal
[INFO] snapshot ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT: checking for
updates from JSR144 internal
[DEBUG] repository metadata for: 'snapshot
ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT' could not be found on
repository: JSR144 internal
[INFO] snapshot ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT: checking for
updates from Codehaus Snapshots
[DEBUG] repository metadata for: 'snapshot
ossj.jsr264:oss_om_ri_xsd:0.11-SNAPSHOT' could not be found on
repository: Codehaus Snapshots
[DEBUG] Skipping disabled repository central
[DEBUG] oss_om_ri_xsd: using locally installed snapshot
[DEBUG] ossj.jsr264:oss_om_ri_xsd:jar:0.11-SNAPSHOT:compile
(selected for compile)
[DEBUG]   xmlbeans:xmlbeans:jar:2.3.0:compile (selected for compile)
[DEBUG] stax:stax-api:jar:1.0.1:compile (selected for compile)
 
What's the repository metadata, that is supposed to be missing?
 
Andreas


RE: Maven does not get latest snapshot from repository

2007-07-17 Thread andreas.ebbert-karroum
Hi,

Thanks for your help. Actually the issue was a little tricky. Someone
thought it might be a good idea to deploy by ftp-ing the directory from
the local repository. That also caused the warning about the missing
repository metadata. 

After I removed the directory from the remote repository and deployed
again, it works as expected.

Andreas 

-Original Message-
From: ext Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: 17 July, 2007 12:36
To: Maven Users List
Subject: Re: Maven does not get latest snapshot from repository

On 7/17/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 I've a weird (for me) build problem. There's an updated snapshot 
 version on the repository, but maven is not pulling that 
down for the 
 build, but rather uses my local version. Under which conditions can 
 this happen, and how do I resolve it (except for maybe trashing the 
 whole .m2/repository).

Without knowing when you executed builds and when the snapshot 
was deployed, it's hard to say exactly what's happening.  My 
guess is that the snapshot was not there the first time you 
built today, and the default repository update policy of once 
per day is in effect.

Try adding -U to the command line and see if it downloads.  If 
that doesn't work, deleting the directory tree from your local 
repo certainly should.  (You don't have to delete the entire thing.)

Before you do that, can you watch network traffic for a build 
and see if Maven is really making calls out to the 
repositories when it complains that the metadata is missing?

ISTR complaints that Maven would download a snapshot from a 
repo even when there is a newer snapshot locally, (which is 
the reverse of your
situation,) so keep an eye on that as well.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



multiple runs of xmlbeans in the same lifecycle

2007-07-17 Thread andreas.ebbert-karroum
Hi,
 
we have a problem with the xml beans plugin. We have to compile a set of XML 
Schema with different configurations (details on request). The problem is that 
the plugin for the second run always reports that everything is up to date and 
nothing needs to be generated. It works fine if I touch a schema and then run 
the mojo, but even on a second run with a clean in between, it's failing again.
 
1) is xmlbeans storing somewhere besides the project, if it needs to generate 
the classes again?
2) is it normal behaviour for a plugin to assume it has nothing to do, if it 
was run already in the previous run?
 
Thanks for your feedback (as always :)
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Siemens Networks / Operations  
Business Software 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




Nokia Siemens Networks GmbH  Co. KG * Sitz der Gesellschaft: München / 
Registered office: Munich * Registergericht: München / Commercial registry: 
Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304 

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH * Geschäftsleitung / Board of Directors: Joachim Malterer, 
Lydia Sommer * Sitz der Gesellschaft: München / Registered office: Munich * 
Registergericht: München / Commercial registry: Munich, HRB 163416 



This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia Siemens Networks GmbH  Co. KG does not accept legal 
responsibility for the contents of this message as it has been transmitted over 
a public network. Thank you.

Nokia Siemens Networks GmbH  Co. KG is a German Company. Further information 
about the Company is available from its offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nsn.com/





RE: Where has xmlbeans 2.3.0 gone?

2007-07-13 Thread andreas.ebbert-karroum
Ok, that actually makes sense :D

Thanks!

Andreas 

-Original Message-
From: ext Severin Ecker [mailto:[EMAIL PROTECTED] 
Sent: 13 July, 2007 14:50
To: Maven Users List
Subject: Re: Where has xmlbeans 2.3.0 gone?

hi,

xmlbeans was moved to where it belongs according to its pom file

http://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/2.3.0/

cheers,
severin

ps.: yes it was there, but its own pom file suggests that it 
belongs to the new URL. they seem to have changed the groupId 
from xmlbeans to org.apache.xmlbeans moving from version 2.1.x to 2.2.0


[EMAIL PROTECTED] wrote:
 Hi,
  
 I just was wondering why I cannot reprocude the build from 
our cruisecontrol server. Maven is missing a dependency for 
xmlbeans:xmlbeans:jar:2.3.0. 
  
 It definitly was on ibiblio since cruisecontrol got it from there:

  Downloading: 
http://repo1.maven.org/maven2/xmlbeans/xmlbeans/2.3.0/xmlbeans-
2.3.0.pom
  1/4K
  2/4K
  4/4K
  4K downloaded

 1) Why has it gone?
 2) Where has it gone?
 3) Will it ever come back? :)
 Andreas Ebbert-Karroum 
   Senior Software Design Engineer - Nokia Siemens Networks / 
Operations  Business Software 
   phone: +49-211-94123928, fax: +49-211-94123838 
   Heltorfer Straße 1, 40472 Düsseldorf, Germany


 

 Nokia Siemens Networks GmbH  Co. KG * Sitz der 
Gesellschaft: München 
 / Registered office: Munich * Registergericht: München / Commercial 
 registry: Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304

 Persönlich haftende Gesellschafterin / General Partner: 
Nokia Siemens 
 Networks Management GmbH * Geschäftsleitung / Board of Directors: 
 Joachim Malterer, Lydia Sommer * Sitz der Gesellschaft: München / 
 Registered office: Munich * Registergericht: München / Commercial 
 registry: Munich, HRB 163416

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where has xmlbeans 2.3.0 gone?

2007-07-13 Thread andreas.ebbert-karroum
Hi,
 
I just was wondering why I cannot reprocude the build from our cruisecontrol 
server. Maven is missing a dependency for xmlbeans:xmlbeans:jar:2.3.0. 
 
It definitly was on ibiblio since cruisecontrol got it from there:

Downloading: 
http://repo1.maven.org/maven2/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.pom
1/4K
2/4K
4/4K
4K downloaded

1) Why has it gone?
2) Where has it gone?
3) Will it ever come back? :)
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Siemens Networks / Operations  
Business Software 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




Nokia Siemens Networks GmbH  Co. KG * Sitz der Gesellschaft: München / 
Registered office: Munich * Registergericht: München / Commercial registry: 
Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304 

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH * Geschäftsleitung / Board of Directors: Joachim Malterer, 
Lydia Sommer * Sitz der Gesellschaft: München / Registered office: Munich * 
Registergericht: München / Commercial registry: Munich, HRB 163416 



This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia Siemens Networks GmbH  Co. KG does not accept legal 
responsibility for the contents of this message as it has been transmitted over 
a public network. Thank you.

Nokia Siemens Networks GmbH  Co. KG is a German Company. Further information 
about the Company is available from its offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nsn.com/





RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Hi,

Thanks for the answer, Eric. 

I understand the example so, that multiple reportSets are used (as the
plugin is also linked under the reporting element). I don't use the site
lifecycle yet, the jar (and sources, javadocs) are just jared and
deployed to the repository. 

Can I use the reportsets also when I bind javadoc:jar to the package
lifecycle?

Andreas

-Original Message-
From: ext Eric Redmond [mailto:[EMAIL PROTECTED] 
Sent: 01 July, 2007 03:28
To: Maven Users List
Subject: Re: produce html and pdf javadocs in one go

Sure there's a way:

http://sourceforge.net/projects/pdfdoclet/

http://maven.apache.org/plugins/maven-javadoc-plugin/examples/a
lternate-doclet.html

When you work out the kinks - please post your results... :)

Thanks;
Eric

On 6/29/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED]
wrote:

 Hi,

 is it possible to generate html and pdf javadocs within a single run 
 with a single pom file, and also deploy that to the maven repository 
 as to seperate artifacts? The jar packaging is already 
producing the 
 jar, the sources jar, and the (html) javadocs jar, so a forth one 
 really doesn't hurt, does it? :)

 Andreas




--
Eric Redmond
http://www.sonatype.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Another question, why is the pdfdoclet not on ibiblio? (If it is, I
could not find it). It's under the GNU LGPL, so redistribution should
not be a problem.

If it's not on ibiblio, can I put it there? Or whom would I have to ask?

Andreas 

-Original Message-
From: ext 
[EMAIL PROTECTED]
org 
[mailto:[EMAIL PROTECTED]
.apache.org] 
Sent: 02 July, 2007 15:36
To: users@maven.apache.org
Subject: RE: produce html and pdf javadocs in one go

Hi,

Thanks for the answer, Eric. 

I understand the example so, that multiple reportSets are used 
(as the plugin is also linked under the reporting element). I 
don't use the site lifecycle yet, the jar (and sources, 
javadocs) are just jared and deployed to the repository. 

Can I use the reportsets also when I bind javadoc:jar to the 
package lifecycle?

Andreas

-Original Message-
From: ext Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: 01 July, 2007 03:28
To: Maven Users List
Subject: Re: produce html and pdf javadocs in one go

Sure there's a way:

http://sourceforge.net/projects/pdfdoclet/

http://maven.apache.org/plugins/maven-javadoc-plugin/examples/a
lternate-doclet.html

When you work out the kinks - please post your results... :)

Thanks;
Eric

On 6/29/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED]
wrote:

 Hi,

 is it possible to generate html and pdf javadocs within a 
single run 
 with a single pom file, and also deploy that to the maven 
repository 
 as to seperate artifacts? The jar packaging is already
producing the
 jar, the sources jar, and the (html) javadocs jar, so a forth one 
 really doesn't hurt, does it? :)

 Andreas




--
Eric Redmond
http://www.sonatype.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How can I compile multiple test source directories

2007-07-02 Thread andreas.ebbert-karroum
Hm, 

Copy them to a single directory first in phase processing sources?

Andreas 

-Original Message-
From: ext Sidharth Kuruvila [mailto:[EMAIL PROTECTED] 
Sent: 02 July, 2007 17:12
To: Maven Users List
Subject: How can I compile multiple test source directories

Hi,

My project has the test source spread between two directories. 
How can i compile and run them?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: produce html and pdf javadocs in one go

2007-07-02 Thread andreas.ebbert-karroum
Thanks. I'll ask the developers of pdfdoclet, if they would like to add
it, of if I should take care of it :)

Andreas 

-Original Message-
From: ext Eric Redmond [mailto:[EMAIL PROTECTED] 
Sent: 02 July, 2007 18:02
To: Maven Users List
Subject: Re: produce html and pdf javadocs in one go

http://maven.apache.org/guides/mini/guide-central-repository-up
load.html

Eric

On 7/2/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED]
wrote:

 Another question, why is the pdfdoclet not on ibiblio? (If it is, I 
 could not find it). It's under the GNU LGPL, so 
redistribution should 
 not be a problem.

 If it's not on ibiblio, can I put it there? Or whom would I 
have to ask?

 Andreas

 -Original Message-
 From: ext
 [EMAIL PROTECTED]
 org
 [mailto:[EMAIL PROTECTED]
 .apache.org]
 Sent: 02 July, 2007 15:36
 To: users@maven.apache.org
 Subject: RE: produce html and pdf javadocs in one go
 
 Hi,
 
 Thanks for the answer, Eric.
 
 I understand the example so, that multiple reportSets are used (as 
 the plugin is also linked under the reporting element). I don't use 
 the site lifecycle yet, the jar (and sources,
 javadocs) are just jared and deployed to the repository.
 
 Can I use the reportsets also when I bind javadoc:jar to 
the package 
 lifecycle?
 
 Andreas
 
 -Original Message-
 From: ext Eric Redmond [mailto:[EMAIL PROTECTED]
 Sent: 01 July, 2007 03:28
 To: Maven Users List
 Subject: Re: produce html and pdf javadocs in one go
 
 Sure there's a way:
 
 http://sourceforge.net/projects/pdfdoclet/
 
 http://maven.apache.org/plugins/maven-javadoc-plugin/examples/a
 lternate-doclet.html
 
 When you work out the kinks - please post your results... :)
 
 Thanks;
 Eric
 
 On 6/29/07, [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
 wrote:
 
  Hi,
 
  is it possible to generate html and pdf javadocs within a
 single run
  with a single pom file, and also deploy that to the maven
 repository
  as to seperate artifacts? The jar packaging is already
 producing the
  jar, the sources jar, and the (html) javadocs jar, so a 
forth one 
  really doesn't hurt, does it? :)
 
  Andreas
 
 
 
 
 --
 Eric Redmond
 http://www.sonatype.com
 
 
 
-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Eric Redmond
http://www.sonatype.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



produce html and pdf javadocs in one go

2007-06-29 Thread andreas.ebbert-karroum
Hi,
 
is it possible to generate html and pdf javadocs within a single run
with a single pom file, and also deploy that to the maven repository as
to seperate artifacts? The jar packaging is already producing the jar,
the sources jar, and the (html) javadocs jar, so a forth one really
doesn't hurt, does it? :)
 
Andreas


RE: Classpath in EAR's manifest?

2007-06-22 Thread andreas.ebbert-karroum
Hallo Jörg, 

-Original Message-
From: ext Jörg Schaible [mailto:[EMAIL PROTECTED] 
 Can I turn that off somehow? I couldn't find an option in the 
 documentation in 
 http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html

None of my generated EARs has a manifest that contains a 
Class-Path entry. So it must be something within your 
configuration or you provide a manually generated one. 

You were right. Sorry for the fuss:

 plugin
artifactIdmaven-ear-plugin/artifactId
configuration
...
 archive
manifest
   addClasspathtrue/addClasspath
/manifest
  /archive
   /configuration
 /plugin

I think this explains it :(

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Classpath in EAR's manifest?

2007-06-21 Thread andreas.ebbert-karroum
Hi,
 
why is the classpath also generated in the EAR's manifest? It should not, the 
JavaEE verifier in netbeans is complaining about it:
 

Manifest file of an EAR file should not contain Class-Path entries. 
Please refer to J2EE 1.4 Platform Specification Section #8.2   for further 
information.
Manifest file of this EAR file contains [ ... ] as the Class-Path 
entry.  


Can I turn that off somehow? I couldn't find an option in the documentation in 
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html
 
Thanks,
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Siemens Networks / Operations  
Business Software 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




Nokia Siemens Networks GmbH  Co. KG * Sitz der Gesellschaft: München / 
Registered office: Munich * Registergericht: München / Commercial registry: 
Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304 

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH * Geschäftsleitung / Board of Directors: Joachim Malterer, 
Lydia Sommer * Sitz der Gesellschaft: München / Registered office: Munich * 
Registergericht: München / Commercial registry: Munich, HRB 163416 



This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia Siemens Networks GmbH  Co. KG does not accept legal 
responsibility for the contents of this message as it has been transmitted over 
a public network. Thank you.

Nokia Siemens Networks GmbH  Co. KG is a German Company. Further information 
about the Company is available from its offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nsn.com/



 


RE: Metamorphosis

2007-05-20 Thread andreas.ebbert-karroum
Hi Jason,

Thanks a lot for your inspiring presentation at JavaOne and for the quick reply 
to my inquiry :) 

-Original Message-
From: ext Jason van Zyl [mailto:[EMAIL PROTECTED] 

It will be released under the ASL 2.0 license and will be available  
the week after next.

That's great timing. Exactly beginning of next week we are planning to start 
our transition from a huge ant build to maven 2 (similar dimension of what you 
presenten), so the help of some tooling is really appreciated. Also I'm trying 
to push the incremental approach that you proposed (first manage dependencies 
with maven in ant, then switch to maven completely), hopefully my voice will 
get heard. 

How does Metamorphosis come into play in that szenario? Is it picking up from 
the step where the dependencies are already managed with maven, but the build 
is still running with ant? 

Another thing that you mentioned was that it could reorganize (mavenize :) the 
directory structure. How well does that play along with subversion as a scm 
tool. Will the history of the files be kept?

Be  
patient, myself and Andy along with Contegix are working as fast as  
we can to make it all publicly available.

Thanks again for all the work that you're doing :)

_ ___  
   //\ndreas.[|-bbert-[]/arroum(a)nsn.com
  `-`
   Andreas Ebbert-Karroum
    Senior Software Design Engineer 
 Nokia Siemens Networks
  Operations  Business Software 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
Nokia Siemens Networks GmbH  Co. KG * Sitz der Gesellschaft: München / 
Registered office: Munich * Registergericht: München / Commercial registry: 
Munich, HRA 88537 * WEEE-Reg.-Nr.: DE 52984304

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH * Geschäftsleitung / Board of Directors: Joachim Malterer, 
Lydia Sommer * Sitz der Gesellschaft: München / Registered office: Munich * 
Registergericht: München / Commercial registry: Munich, HRB 163416
--
This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia Siemens Networks GmbH  Co. KG does not accept legal 
responsibility for the contents of this message as it has been transmitted over 
a public network. Thank you.
Nokia Siemens Networks GmbH  Co. KG is a German Company. Further information 
about the Company is available from its offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nsn.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Metamorphosis

2007-05-15 Thread andreas.ebbert-karroum
Hi,
 
at the JavaOne Session last week, Jason talked about a tool called 
Metamorphosis that could help when you migrate from a ant based build system 
to maven. 
 
Where is it? I feel stupid, but I cannot find it.
 
Thanks for helping out!
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  gsm: +49-151-55153928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




Sitz der Nokia GmbH: Bochum * Amtsgericht Bochum:HRB 4112 * 
Umsatzsteueridentifikationsnummer: DE 811163 495 * WEEE-Reg.-Nr. DE 51797011* 
Vorsitzender des Aufsichtsrates: Veli Sundbäck * Geschäftsführer: Timo Elonen, 
Klaus Goll, Dr. Ulrich Halka, Razvan Olosu (Sprecher), Karsten Schilly 





RE: Metamorphosis

2007-05-15 Thread andreas.ebbert-karroum
Where can I get more information on it? Or where can it be bought, if it's not 
freely available.

Andreas 

-Original Message-
From: ext Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: 15 May, 2007 12:13
To: Maven Users List
Subject: Re: Metamorphosis

afaik it's not Open source. (yet?)

Milos

On 5/15/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:
 Hi,

 at the JavaOne Session last week, Jason talked about a tool 
called Metamorphosis that could help when you migrate from a 
ant based build system to maven.

 Where is it? I feel stupid, but I cannot find it.

 Thanks for helping out!

 Andreas Ebbert-Karroum
   Senior Software Design Engineer - Nokia Networks Services 
/ Middleware
   gsm: +49-151-55153928, fax: +49-211-94123838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany


 

 Sitz der Nokia GmbH: Bochum * Amtsgericht Bochum:HRB 4112 * 
 Umsatzsteueridentifikationsnummer: DE 811163 495 * WEEE-Reg.-Nr. DE 
 51797011* Vorsitzender des Aufsichtsrates: Veli Sundbäck * 
 Geschäftsführer: Timo Elonen, Klaus Goll, Dr. Ulrich Halka, Razvan 
 Olosu (Sprecher), Karsten Schilly 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TOP 5 surefire issues all unassigned?

2007-02-23 Thread andreas.ebbert-karroum
Hi,
 
not sure if there's a seperate mailinglist for surefire, I haven't found one 
(with google). Is there a specific reason why the TOP 5 issues of the surefire 
plugin are all unassigned? 
 
http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:popularissues-panel
 
Also the Roadmap lists 77 issues for the 2.4 release. I'd really prefer a much 
smaller release which is starting to address the issues with the most votes on 
it.
 
http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
 
Kindest Regards,
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: TOP 5 surefire issues all unassigned?

2007-02-23 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: 23 February, 2007 15:05
To: Maven Users List
Subject: Re: TOP 5 surefire issues all unassigned?

There's about to be a big push on fixing issues in surefire. 
The main ones will be taken care of, and we'll see what falls 
out from that (as there are a number of interrelated issues). 
Testing will also be added. Please continue to vote and 
comment on issues so that this can be done most effectively.

I will encourage everybody to do so, thanks for the quickly explaining the 
current situation! :)

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2eclipse] m2 plugin for eclipse

2007-02-13 Thread andreas.ebbert-karroum
Hi,
 
after I installed the m2 plugin for eclipse from http://m2eclipse.codehaus.org/ 
http://m2eclipse.codehaus.org/ , eclipse is prompting me to enter 
username/password when starting the workbench. Asking several times: 
 
*Enter Network UserID and Password*
---
Please login to see the content of the JSR 264 Expert Group pages
Username: []
Password:  []

   [ OK ] [Cancel]
 
There are two problems with this: If I don't close this window fast enough, or 
let eclipse startup in the background, my whole machine hangs. The window 
system is somehow messed up by this modal dialog. I cannot even reboot or 
shutdown, but have to switch off the PC, not nice...
 
Second, I don't know for which site I should enter username and password. Of 
course the projects are related to JSR264, but I'm not stating JSR 264 Expert 
Group anywhere in my pom files! 
 

[EMAIL PROTECTED] /cygdrive/c/USERS/My 
Development/ossj/java.net/jsr264-private
$ find . -type f -name '*.xml' -exec grep -H JSR 264 Expert Group {} 
\;


Above command doesn't return anything.
Any comments on that are welcome :)
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you.

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 



 


embed html in apt

2006-08-04 Thread andreas.ebbert-karroum
Hi,
 
is it possible to embed some pure html code in apt pages?
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: [m2] The packaging for this project did not assign a file to the build artifact

2006-08-01 Thread andreas.ebbert-karroum
Hi,

Can somebody please enlighten me, how I can add build artefacts in an ant-based 
plugin? Can it be somewhere set in the plexus/components.xml?

Currently I'm getting the error: 
[INFO] [deploy:deploy]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The packaging for this project did not assign a file to the build 
artifact
[INFO] 

This is my components.xml:
component-set
components
component

roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role
role-hinttigerstripe-application/role-hint

implementationorg.apache.maven.lifecycle.mapping.DefaultLifecycleMapping/implementation
configuration
phases

generate-sourcesossj.jsr264:maven-tigerstripe-plugin:tigerstripe-generate/generate-sources--

packageorg.apache.maven.plugins:maven-source-plugin:2.0:jar/package

installorg.apache.maven.plugins:maven-install-plugin:install/install

deployorg.apache.maven.plugins:maven-deploy-plugin:deploy/deploy
/phases
/configuration
/component
component

roleorg.apache.maven.artifact.handler.ArtifactHandler/role
role-hinttigerstripe-application/role-hint

implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation
configuration
extensionjar/extension
typetigerstripe-application/type
/configuration
/component
/components
/component-set


Andreas 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 28 July, 2006 07:14
To: users@maven.apache.org
Subject: Re: [m2] The packaging for this project did not 
assign a file to the build artifact

I just read the archived mail and actually have the same problem:
 
http://www.mail-archive.com/users@maven.apache.org/msg36680.html
 
How to assign the build artefact in a custum plugin, that is 
based on ant tasks? Is there a more elegant way? 
 
For me, there's also an additional tweak. I'd like to assign 
not what comes out of my plugin, but I'm using the 
maven-source-plugin in a subsequent step in the lifecycle and 
want to deploy that.
 
Any hints appreciated!
 
Andreas Ebbert-Karroum
  Senior Software Design Engineer - Nokia Networks Services / 
Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] Assign build artefact from ant (was: The packaging for this project did not assign a file to the build artifact)

2006-08-01 Thread andreas.ebbert-karroum
To put the question differently:

Is there any way to do this:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
---
One final task that is required is for the packaging goal you have created to 
tell Maven where to find what you built. This is done with code such as the 
following:

project.getArtifact().setFile( new File( target/myFile-2.0.jar ) ); 


In a ant-based plugin?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



J2EE - Java EE and Coping with SUN JARs

2006-07-27 Thread andreas.ebbert-karroum
Hi,
 
with J2EE now named Java EE, shall also the guideline for the library be
changed? 
 
From 
 
Product artifact  Group ID   Artifact ID
J2EE  javax.j2ee j2ee

To

Product artifact  Group ID   Artifact ID
Java EE   javax.javaee   javaee

Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] The packaging for this project did not assign a file to the build artifact

2006-07-27 Thread andreas.ebbert-karroum
I just read the archived mail and actually have the same problem:
 
http://www.mail-archive.com/users@maven.apache.org/msg36680.html
 
How to assign the build artefact in a custum plugin, that is based on ant 
tasks? Is there a more elegant way? 
 
For me, there's also an additional tweak. I'd like to assign not what comes out 
of my plugin, but I'm using the maven-source-plugin in a subsequent step in the 
lifecycle and want to deploy that.
 
Any hints appreciated!
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





How to deploy with ftp via gateway to internal repository?

2006-07-26 Thread andreas.ebbert-karroum
Hi everybody,
 
we have our internal repository on a public (=internet) server. The upload 
should work over FTP, security is sufficient for that. However, some people 
(like me) cannot ftp directly from the intranet to the internet but only 
through a FTP Gateway. The gateway works so, that you ftp to an internal 
server, and give [EMAIL PROTECTED] as username, and the normal password as the 
password.
 
How do I configure that? The POM should be the same for everybody
 
1) First I tried to configure a proxy with protocolftp/protocol, since the 
browser is apparently capable of ftp'ing without the gateway. but this didn't 
work out:
 

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from JSR264 internal
[WARNING] repository metadata for: 'snapshot 
ossj.jsr264:oss_om_spec_jvt:0.9-SNAPSHOT' could not be
retrieved from repository: JSR264 internal due to an error: 
Authentication failed: Could not connect
 to server.
[INFO] Repository 'JSR264 internal' will be blacklisted
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error deploying artifact: Authentication failed: Could not 
connect to server.
No route to host: connect

 
2) Use a property in the pom for the distribution management:

distributionManagement
  repository
idJSR264 internal/id
urlftp://{$JSR264internal}/httpdocs/url
  /repository
  snapshotRepository
idJSR264 internal/id
urlftp://{$JSR264internal}/httpdocs/url
  /snapshotRepository
/distributionManagement

But how do I change the settings accordingsly? The problem is that not only the 
server changes, but also the login credentials. The username to the gateway is 
[EMAIL PROTECTED], while for the direct connect the username is just the plain 
username. And in the settings.xml the servers section does not belong to 
profile. 
 
So, any ideas how I can do that? Your help is (again) very much appreciated!
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





SORRY!!!

2006-07-25 Thread andreas.ebbert-karroum
Sorry everybody - this is so emberrasing!!! 
 
I just realized that I sent the last mails to [EMAIL PROTECTED] ... instead of 
[EMAIL PROTECTED]
 
Sorry, I promise it won't happen again.
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





does the maven-archetype-j2ee-simple work?

2006-07-25 Thread andreas.ebbert-karroum
Question as in the subject.
 
This is how I invoked it:

 mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes  
  -DarchetypeArtifactId=maven-archetype-j2ee-simple   
  -DarchetypeVersion=1.0-alpha-4  
  -DgroupId=ossj.jsr264   
  -DartifactId=oss_om_ri  


And this is the error in the output:

[INFO] ResourceManager : found 
archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml
with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[ERROR] ResourceManager : unable to find resource 
'archetype-resources/site/pom.xml' in any resource  loader.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error creating from archetype

Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'



Indeed, if I take a look into the jar file from 
http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-j2ee-simple/1.0-alpha-4/maven-archetype-j2ee-simple-1.0-alpha-4.jar
* the archetype-resources\pom.xml refers to the site project:
   modules
  moduleprojects/module
  moduleprimary-source/module
  moduleservlets/module
  moduleejbs/module
  moduleear/module
  modulesite/module
   /modules 

* there is no such project as archetype-resources\site

Also, I could not find a bug report for it at 
http://jira.codehaus.org/browse/ARCHETYPE. Is it really a bug, or am I doing 
something wrong?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MevenideNetbeans2.0 features

2006-07-25 Thread andreas.ebbert-karroum
Hi,
 
can I do any of this with mevenide and netbeans 5.5? and yes, how?
 
1) Deploy an enterprise application to the Sun Java System Application Server
2) Use the static verifyer for the ear and ejb project
3) Use the AVK to dynamically verify the application for J2EE compliance
 
The first point is the most important currently. Points two and three are the 
main reason that we're going with netbeans (i.e. easy integration with SJSAS 
and the AVK). 
 
Can it be done out of the box? Can I configure it somehow manually (where)? Or 
does mevenide need to be extended to do it - is it possible at all?
 
Thanks for your help,
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 



 


RE: does the maven-archetype-j2ee-simple work?

2006-07-25 Thread andreas.ebbert-karroum
It works if I modify the following files in my local repository. It's a bad 
thing to do, I know, but otherwise it won't work at all:

1)  maven-archetype-j2ee-simple-1.0-alpha-4.jar\archetype-resources\pom.xml:

   modules
  moduleprojects/module
  moduleprimary-source/module
  moduleservlets/module
  moduleejbs/module
  moduleear/module
  !-- modulesite/module --
   /modules

2) maven-archetype-j2ee-simple-1.0-alpha-4.jar\META-INF\archetype.xml:

  resources
resourcepom.xml/resource
resourceear/pom.xml/resource
resourceejbs/src/main/resources/META-INF/ejb-jar.xml/resource
resourceejbs/pom.xml/resource
resourceprimary-source/pom.xml/resource
resourceprojects/logging/pom.xml/resource
resourceprojects/pom.xml/resource
resourceservlets/pom.xml/resource
resourceservlets/servlet/pom.xml/resource
resourceservlets/servlet/src/main/webapp/index.jsp/resource
resourceservlets/servlet/src/main/webapp/WEB-INF/web.xml/resource
!-- resourcesite/pom.xml/resource
resourcesite/src/site/site.xml/resource
resourcesite/src/site/apt/site.apt/resource --
  /resources

After I did that, the j2ee project was created and also a 'mvn install' worked 
fine.

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/
--

-Original Message-
From: ext
[EMAIL PROTECTED]
ry.dev.java.net
[mailto:[EMAIL PROTECTED]
repository.dev.java.net]
Sent: 25 July, 2006 21:27
To: [EMAIL PROTECTED]
Subject: does the maven-archetype-j2ee-simple work?

Question as in the subject.
 
This is how I invoked it:

 mvn archetype:create 
-DarchetypeGroupId=org.apache.maven.archetypes  
  
-DarchetypeArtifactId=maven-archetype-j2ee-simple   
  -DarchetypeVersion=1.0-alpha-4   
   
  -DgroupId=ossj.jsr264
   
  -DartifactId=oss_om_ri


And this is the error in the output:
###
#
[INFO] ResourceManager : found 
archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml
with loader 
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[ERROR] ResourceManager : unable to find resource 
'archetype-resources/site/pom.xml' in any resource  loader.
[INFO] 
---
-
[ERROR] BUILD ERROR
[INFO] 
---
-
[INFO] Error creating from archetype

Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'
###
#


Indeed, if I take a look into the jar file from 
http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven
-archetype-j2ee-simple/1.0-alpha-4/maven-archetype-j2ee-simple-
1.0-alpha-4.jar
* the archetype-resources\pom.xml refers to the site project:
   modules
  moduleprojects/module
  moduleprimary-source/module
  moduleservlets/module
  moduleejbs/module
  moduleear/module
  modulesite/module
   /modules 

* there is no such project as archetype-resources\site

Also, I could not find a bug report for it at 
http://jira.codehaus.org/browse/ARCHETYPE. Is it really a bug, 
or am I doing something wrong?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. 

RE: MevenideNetbeans2.0 features

2006-07-25 Thread andreas.ebbert-karroum
 Hi Milos,

-Original Message-
From: ext Milos Kleint [mailto:[EMAIL PROTECTED]

On 7/25/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 1) Deploy an enterprise application to the Sun Java System
Application
 Server

no, what currently works is deployment of wars.

Hm - would it be difficult to add? As with the other things I mentioned, in 
regular ear projects, there are some ant targets for it in the generated build 
scripts. I guess if someone already managed to deploy to a SJSAS from m2, that 
shouldn't be too much hassle to add.

 2) Use the static verifyer for the ear and ejb project

no idea what that is.

It's invoking the verifier of the application server, to check if the 
application (or ejb module, or application client) is compliant with the J2EE 
specification. This is done only by analyzing the sources (java + deployment 
descriptor)

 3) Use the AVK to dynamically verify the application for J2EE 
 compliance

again, no idea what that is. I'm not very fluent in j2ee development.
In addition, mevenide can only access the features in netbeans that are 
accessible through APIs. I haven't seen anything like that in the 
official apis.

I don't know the netbeans APIs, maybe there's something in it. At least there 
are items in the popup menu for projects, and some tools and dialogs to support 
it.

 Can it be done out of the box? Can I configure it somehow
manually (where)? Or does mevenide need to be extended to do it - is it 
possible at all?


if netbeans provides apis or at least ant tasks to do the tasks you 
require, it should be technically possible. Any contributions in this 
area are welcome.

At least an ant task is there - you just have to generate a plain enterprise 
application and get all the tasks and menus. Additionally, it'd be nice, if 
meveide could leave the original project icons and just modify them, just like 
the eclipse plugin is doing it: it's displaying a tiny m2 in the corner of 
the icon.

Let me know how I can contribute :-)

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven-source-plugin 2.0.1 vs. 2.0 - changed behaviour

2006-07-20 Thread andreas.ebbert-karroum
Does anybody has an opinion on that? 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 13 July, 2006 23:07
To: users@maven.apache.org
Cc: [EMAIL PROTECTED]
Subject: maven-source-plugin 2.0.1 vs. 2.0 - changed behaviour

Hi maven2 knowledged people,
 
I finally discovered why my homemade plugin doesn't work 
anymore since some time. It's defining it's own lifecycle 
where it first generates sources (in the generates-sources 
phase) and then uses the maven-source-plugin in the packaging 
phase to jar the gerated sources.
 
Can it be that the 2.0.1 version of the maven-source-plugin 
does call the generate-sources phase internally? I think so, 
because the phase is executed twice (and is failing for the 
second time, i.e. when it's invoked from maven-source-plugin). 
Can I disable that somewhere? Or do I have to stick with 
version 2.0 of the plugin?
 
Thanks for your comments.
Andreas Ebbert-Karroum
  Senior Software Design Engineer - Nokia Networks Services / 
Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven-source-plugin 2.0.1 vs. 2.0 - changed behaviour

2006-07-13 Thread andreas.ebbert-karroum
Hi maven2 knowledged people,
 
I finally discovered why my homemade plugin doesn't work anymore since some 
time. It's defining it's own lifecycle where it first generates sources (in the 
generates-sources phase) and then uses the maven-source-plugin in the packaging 
phase to jar the gerated sources.
 
Can it be that the 2.0.1 version of the maven-source-plugin does call the 
generate-sources phase internally? I think so, because the phase is executed 
twice (and is failing for the second time, i.e. when it's invoked from 
maven-source-plugin). Can I disable that somewhere? Or do I have to stick with 
version 2.0 of the plugin?
 
Thanks for your comments.
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: Error looking up lifecycle mapping to retrieve optional mojos

2006-06-12 Thread andreas.ebbert-karroum
Hi Eric, Dan,

Thanks a lot for your support! I was thinking that I am too stupid to get this 
straigt.

= I will try the workaround as proposed by Eric
= I will open a JIRA for maven-plugin-plugin

I agree, plexus documentation is bad - even with the book, there could be a lot 
more material.

Andreas 

-Original Message-
From: ext dan tran [mailto:[EMAIL PROTECTED] 
Sent: 10 June, 2006 18:44
To: Maven Users List
Subject: Re: Error looking up lifecycle mapping to retrieve 
optional mojos

native-maven-plugin experience the same thing, sound like a bug

Please file a JIRA

Eric, where do have the work around?  your plugin's pom?  or 
the the project that use it?

-D


On 6/10/06, Eric Redmond [EMAIL PROTECTED] wrote:

 Component descriptor cannot be found in the component repository:
 
org.apache.maven.lifecycle.mapping.LifecycleMappingtigerstripe-applica
 tion

 Component role-hints in Plexus are tacked onto the end of the role 
 name, and loaded like a role (someone correct me if I'm wrong about 
 this... good Plexus documentation is nonexistant). The 
problem is that 
 your classloader isn't finding your component.xml file, and 
so when it 
 tries to load your tigerstripe-application packaging role-hint, its 
 not there. You have to tell the maven-plugin-plugin about your 
 project. What I ended up having to do was add my plugin as a 
 dependency of maven-plugin-plugin in the POM that was using it:

 plugins
 plugin
artifactIdmaven-plugin-plugin/artifactId
configuration
  prefixruby/prefix
/configuration
dependencies
  dependency
groupIdorg.codehaus.mojo/groupId
artifactIdrubyscript-maven-plugin/artifactId
version1.0-alpha-3-SNAPSHOT/version
  /dependency
/dependencies
 /plugin
 /plugins

 Its kind of ugly, so I created a parent that all plugin projects may 
 inherit from. It works. If you find a better way to make the 
 plugin-plugin find your components, however, please be good 
enough to 
 post it.

 Eric


 On 6/10/06, [EMAIL PROTECTED]  
 [EMAIL PROTECTED] wrote:
 
  Has somebody else also had this error? What can I do about it?
 
  Thanks,
  _ ___  _
  //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
 `-`
 Andreas Ebbert-Karroum
 Senior Software Design Engineer
  Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-9412-3838 Heltorfer 
Straße 1, 
  40472 Düsseldorf, Germany
 
  

  -- This message is confidential. If you have received this message 
  in
 error,
  please delete it from your system. You should not copy it for any
 purpose,
  or disclose its contents to any other person. Internet 
  communications
 are
  not secure and therefore Nokia GmbH does not accept legal 
  responsibility for the contents of this message as it has been 
  transmitted over a
 public
  network. Thank you.
  Nokia GmbH, Nokia Networks is a German Company. Further 
information 
  about the Company is available from its principal offices at 
  Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the 
  website at http://www.nokia.com/
  

  --
 
  -Original Message-
  From: ext
  [EMAIL PROTECTED]
  e.org
  [mailto:[EMAIL PROTECTED]
  en.apache.org]
  Sent: 08 June, 2006 01:09
  To: users@maven.apache.org
  Subject: Error looking up lifecycle mapping to retrieve optional 
  mojos
  
  Hi,
  
  I've defined my own plugin (with the maven-plugin-tools-ant
  plugin) with it's own lifecycle and artifact handler. when I now 
  try to use the plugin in another project, it works fine, but I'm 
  getting this debug warning - and I have no clue, what it 
is about - 
  can it be fixed, and if yes, how?
  
  [DEBUG] Error looking up lifecycle mapping to retrieve optional 
  mojos. Lifecycle ID: default. Error:
   Component descriptor cannot be found in the component
  repository: org.apache.maven.lifecycle.mappin 
  g.LifecycleMappingtigerstripe-application.
  org.codehaus.plexus.component.repository.exception.ComponentLoo
  kupException: Component descriptor ca nnot be found in the 
  component repository:
  org.apache.maven.lifecycle.mapping.LifecycleMappingtigers
  tripe-application.
  at
  org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
  Container.java:323)
  at
  org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
  Container.java:440)
  at
  
org.apache.maven.execution.MavenSession.lookup(MavenSession.java:120)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.findOptiona
  lMojosForLifecycle(Default
  LifecycleExecutor.java:1106)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecyc
  leForPackaging(DefaultLife
  cycleExecutor.java:994)
  at
  

RE: Error looking up lifecycle mapping to retrieve optional mojos

2006-06-10 Thread andreas.ebbert-karroum
Has somebody else also had this error? What can I do about it?

Thanks,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
-- 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 08 June, 2006 01:09
To: users@maven.apache.org
Subject: Error looking up lifecycle mapping to retrieve optional mojos

Hi,
 
I've defined my own plugin (with the maven-plugin-tools-ant 
plugin) with it's own lifecycle and artifact handler. when I 
now try to use the plugin in another project, it works fine, 
but I'm getting this debug warning - and I have no clue, what 
it is about - can it be fixed, and if yes, how?
 
[DEBUG] Error looking up lifecycle mapping to retrieve 
optional mojos. Lifecycle ID: default. Error:
 Component descriptor cannot be found in the component 
repository: org.apache.maven.lifecycle.mappin 
g.LifecycleMappingtigerstripe-application.
org.codehaus.plexus.component.repository.exception.ComponentLoo
kupException: Component descriptor ca nnot be found in the 
component repository: 
org.apache.maven.lifecycle.mapping.LifecycleMappingtigers
tripe-application.
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
Container.java:323)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
Container.java:440)
at 
org.apache.maven.execution.MavenSession.lookup(MavenSession.java:120)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findOptiona
lMojosForLifecycle(Default
LifecycleExecutor.java:1106)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecyc
leForPackaging(DefaultLife
cycleExecutor.java:994)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLi
fecycleMappings(DefaultLif
ecycleExecutor.java:975)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.
java:453)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
AndHandleFailures(DefaultL
ifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTask
Segments(DefaultLifecycleE
xecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Def
aultLifecycleExecutor.java
:140)
at 
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso
rImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
dAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
 
My plugins component.xml:
 component-set
   components
   component
   
roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role
   role-hinttigerstripe-application/role-hint
   
implementationorg.apache.maven.lifecycle.mapping.DefaultLifec
ycleMapping/implementation
   configuration
   phases
   
generate-sourcesossj.jsr264:maven-tigerstripe-plugin:tigerstr
ipe-generate/generate-sources
   
packageorg.apache.maven.plugins:maven-source-plugin:jar/package
   
installorg.apache.maven.plugins:maven-install-plugin:install
/install
   /phases
   /configuration
   

RE: Error looking up lifecycle mapping to retrieve optional mojos

2006-06-08 Thread andreas.ebbert-karroum
Does somebody have a clue, what's going on here? Can I safely ignore the debug 
warning? I have no idea what it is trying to tell me...

Thanks,
Andreas 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 08 June, 2006 01:09
To: users@maven.apache.org
Subject: Error looking up lifecycle mapping to retrieve optional mojos

Hi,
 
I've defined my own plugin (with the maven-plugin-tools-ant 
plugin) with it's own lifecycle and artifact handler. when I 
now try to use the plugin in another project, it works fine, 
but I'm getting this debug warning - and I have no clue, what 
it is about - can it be fixed, and if yes, how?
 
[DEBUG] Error looking up lifecycle mapping to retrieve 
optional mojos. Lifecycle ID: default. Error:
 Component descriptor cannot be found in the component 
repository: org.apache.maven.lifecycle.mappin 
g.LifecycleMappingtigerstripe-application.
org.codehaus.plexus.component.repository.exception.ComponentLoo
kupException: Component descriptor ca nnot be found in the 
component repository: 
org.apache.maven.lifecycle.mapping.LifecycleMappingtigers
tripe-application.
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
Container.java:323)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexus
Container.java:440)
at 
org.apache.maven.execution.MavenSession.lookup(MavenSession.java:120)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findOptiona
lMojosForLifecycle(Default
LifecycleExecutor.java:1106)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecyc
leForPackaging(DefaultLife
cycleExecutor.java:994)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLi
fecycleMappings(DefaultLif
ecycleExecutor.java:975)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.
java:453)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
AndHandleFailures(DefaultL
ifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTask
Segments(DefaultLifecycleE
xecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Def
aultLifecycleExecutor.java
:140)
at 
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso
rImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
dAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
 
My plugins component.xml:
 component-set
   components
   component
   
roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role
   role-hinttigerstripe-application/role-hint
   
implementationorg.apache.maven.lifecycle.mapping.DefaultLifec
ycleMapping/implementation
   configuration
   phases
   
generate-sourcesossj.jsr264:maven-tigerstripe-plugin:tigerstr
ipe-generate/generate-sources
   
packageorg.apache.maven.plugins:maven-source-plugin:jar/package
   
installorg.apache.maven.plugins:maven-install-plugin:install
/install
   /phases
   /configuration
   /component
   component
   
roleorg.apache.maven.artifact.handler.ArtifactHandler/role
   role-hinttigerstripe-application/role-hint
   
implementationorg.apache.maven.artifact.handler.DefaultArtifa
ctHandler/implementation
   configuration
   extensionjar/extension
   typetigerstripe-application/type
   /configuration
   /component
   /components
/component-set

My plugins POM:
project xmlns=http://maven.apache.org/POM/4.0.0;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdossj.jsr264/groupId
  artifactIdmaven-tigerstripe-plugin/artifactId
  packagingmaven-plugin/packaging
  nameMaven Wrapper for ant build script to use Tigerstripe 
Workbench/name
  

Error looking up lifecycle mapping to retrieve optional mojos

2006-06-07 Thread andreas.ebbert-karroum
Hi,
 
I've defined my own plugin (with the maven-plugin-tools-ant plugin) with it's 
own lifecycle and artifact handler. when I now try to use the plugin in another 
project, it works fine, but I'm getting this debug warning - and I have no 
clue, what it is about - can it be fixed, and if yes, how?
 
[DEBUG] Error looking up lifecycle mapping to retrieve optional mojos. 
Lifecycle ID: default. Error:
 Component descriptor cannot be found in the component repository: 
org.apache.maven.lifecycle.mappin
g.LifecycleMappingtigerstripe-application.
org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
Component descriptor ca
nnot be found in the component repository: 
org.apache.maven.lifecycle.mapping.LifecycleMappingtigers
tripe-application.
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
at org.apache.maven.execution.MavenSession.lookup(MavenSession.java:120)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findOptionalMojosForLifecycle(Default
LifecycleExecutor.java:1106)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLife
cycleExecutor.java:994)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLif
ecycleExecutor.java:975)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:453)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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:585)
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)
 
My plugins component.xml:
 component-set
components
component

roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role
role-hinttigerstripe-application/role-hint

implementationorg.apache.maven.lifecycle.mapping.DefaultLifecycleMapping/implementation
configuration
phases

generate-sourcesossj.jsr264:maven-tigerstripe-plugin:tigerstripe-generate/generate-sources

packageorg.apache.maven.plugins:maven-source-plugin:jar/package

installorg.apache.maven.plugins:maven-install-plugin:install/install
/phases
/configuration
/component
component

roleorg.apache.maven.artifact.handler.ArtifactHandler/role
role-hinttigerstripe-application/role-hint

implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation
configuration
extensionjar/extension
typetigerstripe-application/type
/configuration
/component
/components
/component-set

My plugins POM:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdossj.jsr264/groupId
  artifactIdmaven-tigerstripe-plugin/artifactId
  packagingmaven-plugin/packaging
  nameMaven Wrapper for ant build script to use Tigerstripe Workbench/name
  version1.0/version
  urlhttp://maven.apache.org/url
  build
plugins
  plugin
artifactIdmaven-plugin-plugin/artifactId
dependencies
  dependency
groupIdorg.apache.maven/groupId
artifactIdmaven-plugin-tools-ant/artifactId
version2.0.2/version
scoperuntime/scope
  /dependency
/dependencies
 

RE: m2, fml, multiple parts

2006-05-15 Thread andreas.ebbert-karroum
Are there any comments on this, please? Is it possible to have multiple parts 
in a FAQ? If yes, what am I doing wrong?

Thanks,
Andreas 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 14 May, 2006 08:12
To: users@maven.apache.org
Subject: m2, fml, multiple parts

Hi,
 
in the fml I can define multiple parts, but when I generate 
the site, this is not taken into account, they are just listed 
one after another. Do I have to configure something else to 
make it happen?
 
current fml:
https://jsr264-public.dev.java.net/source/browse/jsr264-public/
jsr264-public-site/src/site/fml/faq.fml?rev=1.2view=markup
 
project:
https://jsr264-public.dev.java.net/source/browse/jsr264-public/
jsr264-public-site/
 
generated website:
https://jsr264-public.dev.java.net/nonav/jsr264/
 
Thanks for your help,
Andreas Ebbert-Karroum
  Senior Software Design Engineer - Nokia Networks Services / 
Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



m2, fml, multiple parts

2006-05-14 Thread andreas.ebbert-karroum
Hi,
 
in the fml I can define multiple parts, but when I generate the site, this is 
not taken into account, they are just listed one after another. Do I have to 
configure something else to make it happen?
 
current fml:
https://jsr264-public.dev.java.net/source/browse/jsr264-public/jsr264-public-site/src/site/fml/faq.fml?rev=1.2view=markup
 
project:
https://jsr264-public.dev.java.net/source/browse/jsr264-public/jsr264-public-site/
 
generated website:
https://jsr264-public.dev.java.net/nonav/jsr264/
 
Thanks for your help,
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





How to get superscript symbol in APT Format?

2006-05-08 Thread andreas.ebbert-karroum
I found this question in the archive, but no answer to it. Is it possible?
 
http://www.mail-archive.com/users@maven.apache.org/msg33187.html
 
(same use-case here, btw: Java^TM)
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





organizationUrl with ','

2006-05-04 Thread andreas.ebbert-karroum
Hi,
 
my organization has ',' in their URL:
http://www.europe.nokia.com/nokia/0,,64463,00.html
 
when I try to enter that in the pom and generate the site, the team overview 
does not pick up the complete URL, but only the part after the last ',' - is 
there a chance to get around it? Even enclosing it in a CDATA does not do the 
trick.
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: packaging for XML Schema or WSDL

2006-05-02 Thread andreas.ebbert-karroum
Hi all,

Does anybody - beside myself - see the benefit in having such a 
packaging/lifecycle defined?

A XML Schema or WSDL would not get compiled of course. But it could be 
validated and also installed in the repository, where other installed schema 
could be picked up, for validation purposes.

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
-- 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 21 April, 2006 11:05
To: users@maven.apache.org
Subject: packaging for XML Schema or WSDL

Hi,
 
is there already a plugin which defines a packaging for XML 
Schema or WSDL? It'd be nice if it also validates the xml 
documents in the testing phase.
 
Andreas Ebbert-Karroum
  Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-29 Thread andreas.ebbert-karroum
Hi,

First, I now got the connection to scm working, without the need to specify the 
username, password or login in the pom. The key was that I first read the 
introduction to profiles (what I should've done earlier...)

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

And I realized, that my profile was not active. I have not included the 
activeProfiles part in settings.xml, the activeByDefault/ obviously was not 
good enough.

  profiles
profile
iddefault/id
  activationactiveByDefault//activation
  properties
javanetUsernameaebbert/javanetUsername
javanetPassword/javanetPassword
javanetCVSServerlocalhost/javanetCVSServer
  /properties
/profile
  /profiles
activeProfiles
  activeProfiledefault/activeProfile
/activeProfiles  

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

 Will do that. Is there any specific class I should start with? The 
 first step is to get some connection to the scm system. After I have 
 an initial pointer to start with, I'm sure I can make my way through 
 the sources :-)

http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-plugi
n/src/main/java/org/apache/maven/scm/plugin/

I'll take a look, thanks :-)

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi,
 
I'd like to interact with our project's cvs repository on java.net from within 
my own plugin, thus I plan to use the maven-scm-api. Is there any documentation 
for it available online? Maybe JavaDocs?
 
Is 1.0-beta-3 the latest version, which is not a snapshot?
 
I'm using a ssh tunnel, so my server is localhost, while I assume that other 
might directly connect to cvs.dev.java.net. All I could find out now, is that 
the scm url is only stored in project.scm.developerConnection
= Can the scm url be put into the ~/.m2/settings.xml? 
 
I tried to validate the scm url with scm:validate and that worked. A scm:status 
failed first, because it had no connectionUrl set. 
= Why does scm:status not look into the project.scm.developerConnection, but 
only in project.scm.connection?
= How do I create the ~/.cvspass?
= Do I have to install a cvs client in order to use cvs?

For people who should find this mail in the mailing list archives, here are a 
few pointers, what I found out so far:
http://maven.apache.org/scm/scms-overview.html

Invalid maven.scm.url
http://www.mail-archive.com/users@maven.apache.org/msg38037.html

[m2] maven scm api and cvs
http://www.mail-archive.com/users@maven.apache.org/msg37009.html
http://www.mail-archive.com/users@maven.apache.org/msg36576.html

How to use scm from Java
http://www.mail-archive.com/users@maven.apache.org/msg37445.html

How check that project should be rebuilded (source code management)?
http://www.mail-archive.com/users@maven.apache.org/msg22675.html

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi Emmanuel, thanks for the quick feedback. My comments inline below: 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

javadocs isn't available online yet. I'll do it asap.

Great :-)

 I'm using a ssh tunnel, so my server is localhost, while I assume 
 that other might directly connect to cvs.dev.java.net. All I 
could find out now, is that the scm url is only stored in 
project.scm.developerConnection = Can the scm url be put into 
the ~/.m2/settings.xml?

It's possible with a property used in a profile.

I have used neither own properties nor a profile yet, but I will try :-)

 I tried to validate the scm url with scm:validate and that 
worked. A scm:status failed first, because it had no 
connectionUrl set. 
 = Why does scm:status not look into the 
project.scm.developerConnection, but only in project.scm.connection?

project.scm.connection is the default connection used, if you 
want to use project.scm.developerConnection, you can set 
connectionType plugin property to developerconnection

Ok, that worked :)

mvn -X -DconnectionType=developerConnection scm:status

 = How do I create the ~/.cvspass?

Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs 
login command

Hm :-k but the command above (scm:status) did not create it, but complained 
that it is missing. 

 = Do I have to install a cvs client in order to use cvs?

Yes, our pure java cvs provider isn't ready yet.

Can I use cvsnt? Or are there other command line cvs clients for windows? I 
read that it does not take the .cvspass into account. Sorry if thesse questions 
might sound stupid :-/

Kind Regards,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Some further own investigations... 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 

 = How do I create the ~/.cvspass?

Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs login 
command

Hm :-k but the command above (scm:status) did not create it, 
but complained that it is missing. 

 = Do I have to install a cvs client in order to use cvs?

Yes, our pure java cvs provider isn't ready yet.

Can I use cvsnt? Or are there other command line cvs clients 
for windows? I read that it does not take the .cvspass into 
account. Sorry if thesse questions might sound stupid :-/

I installed the GNU CVS, which seems to work quite well from 
ftp://ftp.informatik.rwth-aachen.de/pub/gnu/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-21.zip

\USERS\Programs\cvs-1-11-21\cvs login

Logging in to :pserver:[EMAIL PROTECTED]:2401/cvs
CVS password:

cat \Documents and Settings\aebbert\.cvspass
:pserver:[EMAIL PROTECTED]:/cvs XXX :

So the ~\.cvspass now exists, but when I try to use scm:status for example, I'm 
still getting the same error:

mvn -X -DconnectionType=developerConnection scm:status
--
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-scm-plugin:1.0-beta-3:status' --
[DEBUG]   (f) basedir = C:\USERS\My 
Development\ossj\tigersripe_ws\oss_om_distribution
[DEBUG]   (f) connectionType = developerConnection
[DEBUG]   (f) developerConnectionUrl = scm:cvs:pserver:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_
distribution
[DEBUG]   (f) settings = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [scm:status]
[DEBUG] cvsRoot: :pserver:[EMAIL PROTECTED]:2401/cvs
[DEBUG] passFile: C:\Documents and Settings\aebbert\.cvspass
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot run checkout command :

Embedded error: Exception while executing SCM command.
password is required
--

I'm lost here :-(

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

cvsnt is supported by Maven-SCM, but cvsnt doesn't use the cvs 
standard, it doesn't use .cvspass but windows registry instead 
and Maven SCM require .cvspass file. So you'll need to run cvs 
login manually for creating windows registry entry if it 
doesn't

Since I'm now using the gnu cvs, I read that I don't need to run the cvs login 
manually, but that maven scm will create it for me. 

1) Good
2) How :-) ...

 and you can run scm:status with username and password 
parameter, Maven-SCM will create .cvspass with these parameters.

I've tried to put the password in the pom (in the developerConnection url) and 
that worked :-) Is there another way?

So my next tasks are: 

1) use the preferences and profiles as you suggested to move the url out of the 
POM.
2) make the first steps to connect to scm with my own plugin *scary*

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

With username/password define in scm url or in command line parameters

The doc (http://maven.apache.org/scm/plugins/status-mojo.html) says that the 
parameters are only evaluated for svn and starteam protocol, but when I use:


developerConnectionscm:cvs:pserver::@localhost:/cvs:jsr264-private/oss_om_distribution/developerConnection
  

And then run:

C:\USERS\My Development\ossj\tigersripe_ws\oss_om_distributionmvn -X 
-Dusername=aebbert -Dpassword=
XX -DconnectionType=developerConnection scm:changelog

It does work too :-)

 I've tried to put the password in the pom (in the 
developerConnection url) and that worked :-) Is there another way?

yes :-)
You can define them in your settings.xml, in servers part like this:

servers
   server
 idyour_host/idYou can use your_host:your_port, if 
a port is defined in your scm url
 usernameuserusername
 passwordpassword/password
   /server
/servers

What I tried now is to create a profile in the settings.xml:

profile
iddefault/id
  activationactiveByDefault//activation
  properties
javanetUsernameaebbert/javanetUsername
javanetPasswordXXX/javanetPassword
javanetCVSServerlocalhost/javanetCVSServer
  /properties
/profile

And then use the scm url as:

scm:cvs:pserver:${javanetUsername}:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_distribution

But maven didn't like that :-( 

[DEBUG]   (f) developerConnectionUrl = scm:cvs:pserver:null:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_disTribution

I will try your suggestion with the server settings.


 So my next tasks are: 
 
 1) use the preferences and profiles as you suggested to move 
the url out of the POM.
 2) make the first steps to connect to scm with my own plugin *scary*

Why do you create your own scm plugin?

I don't want to create my own scm plugin, I'm creating a plugin, which is using 
the maven-scm-api, and before I do that, I wanted to make sure that I have a 
rough understanding how the stuff is working :-)

Background is, that if you want to have your custom website within your project 
on java.net, you have to upload it to your cvs repository, thus my plugin which 
integrates the project to java.net shall be able to commit the whole generated 
site to cvs. 

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 25 April, 2006 13:13

 I've tried to put the password in the pom (in the 
developerConnection url) and that worked :-) Is there another way?

yes :-)
You can define them in your settings.xml, in servers part like this:

servers
   server
 idyour_host/idYou can use your_host:your_port, if 
a port is defined in your scm url
 usernameuserusername
 passwordpassword/password
   /server
/servers

How does the scm url have to look like in this case? I tried:

scm:cvs:pserver:@localhost:/cvs:jsr264-private/oss_om_distribution

And 

scm:cvs:pserver:localhost:/cvs:jsr264-private/oss_om_distribution

But none of them worked. BTW settings.xml:

settings
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  host172.25.112.90/host
  port8080/port
/proxy
  /proxies
  servers
server
  idlocalhost/id
  usernameaebbert/username
  passwordXX/password
/server
  /servers  
/settings

 So my next tasks are: 
 
 1) use the preferences and profiles as you suggested to move 
the url out of the POM.
 2) make the first steps to connect to scm with my own plugin *scary*

Why do you create your own scm plugin?

BTW: something comparable to this:
https://maven-javanet-plugin.dev.java.net/nonav/maven/goals/site.html

But for maven2.

Merci beaucoup, for all your quick and valuable feedback. I really appreciate 
it!

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: upgrading maven (2.0 - 2.0.x)

2006-04-23 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Henry S. Isidro [mailto:[EMAIL PROTECTED] 

Usually you just upgrade. One thing to remember though is your 
M2_HOME setting.


Thanks for the confirmation. I asked because I vaguely remember some mails on 
this list I foolishly upgraded to 2.0.3 and now this or that plugin is not 
working in my build anymore...

I'll try it out then.

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



packaging for XML Schema or WSDL

2006-04-21 Thread andreas.ebbert-karroum
Hi,
 
is there already a plugin which defines a packaging for XML Schema or WSDL? 
It'd be nice if it also validates the xml documents in the testing phase.
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





unpack only a single dependency

2006-04-19 Thread andreas.ebbert-karroum
Hi,
 
I trying to use the assemply:unpack mojo to extract sources from a dependency 
into the source directory. When I add the dependency in the main section of the 
pom it works, but then the unpack mojo also extracts all the other 
dependencies. And when I try to specify the dependency for the assemply plugin 
only, I'm getting a build error.
 
How can this be resolved?
 
  build

sourceDirectorysrc/main/java/oss_om_spec_model-1.0-SNAPSHOT-sources/sourceDirectory
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration

workDirectory${project.build.sourceDirectory}/../workDirectory
dependencies
dependency
groupIdossj.jsr264/groupId

artifactIdoss_om_spec_model/artifactId
version1.0-SNAPSHOT/version
typejar/type
classifiersources/classifier
scopecompile/scope
/dependency
/dependencies
/configuration
executions
execution
phasegenerate-sources/phase
goals
goalunpack/goal
/goals
/execution
/executions
/plugin
/plugins
  /build

---

[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error configuring: org.apache.maven.plugins:maven-assembly-plugin. 
Reason: ERROR: Cannot over
ride read-only parameter: dependencies in goal: assembly:unpack

Thanks,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: unpack only a single dependency

2006-04-19 Thread andreas.ebbert-karroum
Hi Bernd, 

-Original Message-
From: ext Bernd Bohmann [mailto:[EMAIL PROTECTED] 

Hello Andreas,

please try the dependency-maven-plugin from mojo.

Works perfectly, thanks for the hint!

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven repositories

2006-03-30 Thread andreas.ebbert-karroum
Hi,
 
regarding your mail 
http://www.mail-archive.com/users@maven.apache.org/msg22668.html on the maven 
users list.
 
Is there a way (with maven1) to generate html and pdf javadoc for the same 
project? Can I invoke the javadoc:generate goal from a maven.xml with different 
property sets?
 
Thanks for your help,
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Using maven1 dependencies with m2?

2006-03-29 Thread andreas.ebbert-karroum
Hi,
 
is there any way to use maven1 dependencies with m2? Specifically, I (i.e. my 
plugin) would like to depend on:
 
https://maven-repository.dev.java.net/nonav/repository/javanettasks/poms/
 
but when I try to do so, mvn is obviously complaining:
 
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for: 'javanettasks:javanettasks:pom:1.0.8' does not appear to be 
valid. Its will be ig
nored for artifact resolution.
 
Reason: Invalid POM (not v4.0.0 modelVersion)

Can i do anything about it, or only the developers of javanettasks?
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Maven2 version of the maven-javanet-plugin

2006-03-28 Thread andreas.ebbert-karroum
Hi,
 
I'm considering to work on a maven2 version of the maven-javanet-plugin. To the 
current users of the maven1 version, is there anything to improve or make 
better? otherwise I will follow the goals and principles of the current version.
 
- https://maven-javanet-plugin.dev.java.net
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Proxy optional

2006-03-21 Thread andreas.ebbert-karroum
Hi,
 
can I somehow configute the proxy setting optional? So that when I'm not 
connected to the company intranet, the proxy is ignored and direct http 
requests are made?
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: Properties/Variables in pom?

2006-03-20 Thread andreas.ebbert-karroum
Hi Gunther, 

-Original Message-
From: ext Gunther Popp [mailto:[EMAIL PROTECTED] 

Take a look at the Getting Started Guide 
(http://maven.apache.org/guides/getting-started/index.html), 
section How do I filter resource files?. It explains how to 
reference the elements of the pom.xml/settings.xml using 
property-names.

I've already read that section before, but I don't consider these two sentences 
explaining:

First, it's mentioned at the wrong place (when I'm looking for available 
properties, I would go the the POM references, I think. But not where I filter 
resource files. 

Second:
To accomplish this in Maven, put a reference to the property that will contain 
the value into your resource file using the syntax ${property name}. The 
property can be one of the values defined in your pom.xml, a value defined in 
the user's settings.xml, a property defined in an external properties file, or 
a system property.

Leaves a couple of questions: 
* What's the syntax of property name? Apparently some dot-separated grammar. 
* Does that apply to all elements in the POM? If yes, how are multiple children 
with the same name addressed? 

- The (hard-coded) property ${basedir} (contains the path of 
the POM-file)
- All Java System Properties defined by the JVM.
- All properties defined in the properties-element of the POM.
- All elements in pom.xml and settings.xml as stated above
- All (platform-specific) Environment variables (Just add the 
prefix env. For example ${env.M2_HOME} returns the Maven2 
installation path).

I´m not 100% sure about the list and appreciate any 
additions/corrections.

A great list so far, thanks!

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Properties/Variables in pom?

2006-03-17 Thread andreas.ebbert-karroum
Hi,

Are the default properties documented at all somewhere?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
-- 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 16 March, 2006 12:40
To: users@maven.apache.org
Subject: Variables in pom?

Hi,
 
where are the variables documented, that I can use inside the 
POM? I guess there's something available like ${artifactId} 
and alike, but I couldn't find a place, where they're all 
listed and described.
 
Andreas Ebbert-Karroum
  Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] include sources from a source.jar in repository

2006-03-17 Thread andreas.ebbert-karroum
Hi,
 
how do I extract sources from a jar file in the repository into src/main/java 
prior to the build?
 
PS: if you want to get the bigger picture, the question related to HOWTO-2 of 
problem described here:
http://www.mail-archive.com/users@maven.apache.org/msg37055.html
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Guide to creating a multi-module build

2006-03-17 Thread andreas.ebbert-karroum
While this [1]  is in progress (when will there be a draft available?), what's 
the best place to look for how it's done? I also coulnd't fine anything in the 
mailing list archives, basically because I'm lacking keywords to search for. I 
found a post regardin continuum and multi-module [2], but I'm not sure how to 
progress from there...
 
Second question, how do you combine that with a generated site? Does the 
site:site mojo also collects all sites from dependant modules?
 
[1] http://maven.apache.org/guides/mini/guide-multi-module.html
[2] http://www.mail-archive.com/users@maven.apache.org/msg33382.html
 
Thanks,
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: Properties/Variables in pom?

2006-03-17 Thread andreas.ebbert-karroum
Hi Wayne,

-Original Message-
From: ext Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 17 March, 2006 20:06

Short answer: not anywhere that I've seen.

If you do some research and get a list, feel free to respond 
back to the mailing list, update the Wiki/Confluence, etc.

ok I'll come back, when I found something :-) 

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Properties/Variables in pom?

2006-03-17 Thread andreas.ebbert-karroum
Hi Dan, 

-Original Message-
From: ext dan tran [mailto:[EMAIL PROTECTED] 
Sent: 17 March, 2006 20:03

You can use the pom itself, ie ${project.build.directory}

-D

Sorry, I don't understand, what you're trying to tell me :-) Can you please add 
one or two sentences :-) Is ${project.build.directory} one variable or can I 
somehow look the others up by using that?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Guide to creating a multi-module build

2006-03-17 Thread andreas.ebbert-karroum
What about if this guide in progress at least links to the introduction [1] and 
some interesting threads in the mail archive [2] [3]. It's better than nothing, 
until a full guide will be there. Shall I create a RFE in Jira for that?

[1] 
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20build%20more%20than%20one%20project%20at%20once?
[2] http://www.mail-archive.com/users@maven.apache.org/msg33093.html
[3] http://www.mail-archive.com/users@maven.apache.org/msg33382.html

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--


-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 17 March, 2006 18:00
To: users@maven.apache.org
Subject: Guide to creating a multi-module build

While this [1]  is in progress (when will there be a draft 
available?), what's the best place to look for how it's done? 
I also coulnd't fine anything in the mailing list archives, 
basically because I'm lacking keywords to search for. I found 
a post regardin continuum and multi-module [2], but I'm not 
sure how to progress from there...
 
Second question, how do you combine that with a generated 
site? Does the site:site mojo also collects all sites from 
dependant modules?
 
[1] http://maven.apache.org/guides/mini/guide-multi-module.html
[2] http://www.mail-archive.com/users@maven.apache.org/msg33382.html
 
Thanks,
Andreas Ebbert-Karroum
  Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this 
message in error, please delete it from your system. You 
should not copy it for any purpose, or disclose its contents 
to any other person. Internet communications are not secure 
and therefore Nokia GmbH does not accept legal responsibility 
for the contents of this message as it has been transmitted 
over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further 
information about the Company is available from its principal 
offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
and from the website at http://www.nokia.com/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multimodule building

2006-03-17 Thread andreas.ebbert-karroum
Hi,

What I don't understand, compared to writing really useful information on the 
mailing list, how more difficult is it to keep the guides and FAQs on the page 
in shape? IMHO, if we could streamline the process of updating the guides and 
FAW (wiki like), the documentation could be improved a lot. But I guess the 
guides are in apt format, checked in in cvs, right? 

Anyway, this is something that should be put into the multimodule-guide, which 
does not exist yet.

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-Original Message-
From: ext Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 18 March, 2006 06:18
To: Maven Users List
Subject: Re: multimodule building

A few ways to do this...

Assume you're starting from parent directory...
cd module3
mvn install
cd ..
cd module1
mvn package

This will result in module1 being built and the resulting jar 
placed in module1/target.

OR

Add to parent/pom.xml:
  modules
modulemodule3/module
modulemodule2/module
modulemodule1/module
  /modules

Then make sure you have in module1/pom.xml:
?xml version=1.0 encoding=iso-8859-1? project
  parent
groupIdblah/groupId
artifactIdparent/artifactId
version1.0.0/version
  /parent
  modelVersion4.0.0/modelVersion
  groupIdblah/groupId
  artifactIdmodule1/artifactId
  packagingjar/packaging
  version1.0.0/version
  dependencies
dependency
  groupIdblah/groupId
  artifactIdmodule3/artifactId
  version1.0.0/version
  scopecompile/scope
  typejar/type
   /dependency

And then issue a simple mvn package command from parent directory.
This will also place the resulting jar in the module1/target directory.

Wayne


On 3/17/06, Pierre Monestie [EMAIL PROTECTED] wrote:
 Hello,
 I've been looking all over for this and could not find any answer:
 In a multi module project how can I, from the parent level, build a 
 specific module?
 Going into the child I want to build does not work as it 
refers to a parent.

 For example I have:
 parent
  --module1 (depends on module3)
  --module2
  --module3

 and I just want to build module1.
 Tell me this is possible plz :)
 Thanks in advance,
 Pierre

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



plugin:addPluginArtifactMetadata how do I use it?

2006-03-16 Thread andreas.ebbert-karroum
Hi,
 
how do I use the mojo/hoal plugin:addPluginArtifactMetadata? Can it be used to 
manually put additional files into the plugin? 
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Variables in pom?

2006-03-16 Thread andreas.ebbert-karroum
Hi,
 
where are the variables documented, that I can use inside the POM? I guess 
there's something available like ${artifactId} and alike, but I couldn't find a 
place, where they're all listed and described.
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: [m2] defining new lifecycle / packaging with maven-plugin-tools-ant

2006-03-14 Thread andreas.ebbert-karroum
Hi,

My problem is still existing, I tried to put the components.xml to various 
places, to be picked up automatically, but that did not work out. How do I do 
it?

Thanks,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 
Sent: 11 March, 2006 11:47
To: users@maven.apache.org
Subject: [m2] defining new lifecycle / packaging with 
maven-plugin-tools-ant

Hi,
 
some of you might have followed my trials to setup a new 
project [1]: I'm now trying to work on the first step, which 
is using the assembly plugin to stuff all generated sources 
into a zip/jar file. The problem is, that during the build 
lifecycle I actually only want two plugins to be executed:
1) my custom plugin in the generate-sources phase and
2) the assembly plugin for packaging. 
 
How can that be achieved? When I define only those plugins and 
no packaging, maven defaults to the jar packaging, which is 
invoking a lot of other unwanted plugins/mojos. 
 
I tried to define a new packaging in my plugin for the source 
code generation, but I don't know how to do that. I was 
following the giode [2] so far, but there isn't explained how 
the plexus/components.xml can be integrated, or if it's 
possible at all.
 
[1] http://www.mail-archive.com/users@maven.apache.org/msg37006.html
[2] 
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
 
Thanks for your feedback.
 
Andreas Ebbert-Karroum
  Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 


--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
-- 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: plugin:download in m2

2006-03-12 Thread andreas.ebbert-karroum
Hi,

From what I can tell, the andromda plugin for m2 can currently  not be 
downloaded, either because of a bug in the plugin or in maven2. until that is 
resolved. You have to download the sources and build the plugin yourself. For 
building and installing it - as you said m2 shall be used for it - I assume a 
simple mvn clean install should be enough.

Note: I'm a maven2 newbie myself and have never used andromda, so use my 
comments with care ;-)

Kind Regards,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] defining new lifecycle / packaging with maven-plugin-tools-ant

2006-03-11 Thread andreas.ebbert-karroum
Hi,
 
some of you might have followed my trials to setup a new project [1]: I'm now 
trying to work on the first step, which is using the assembly plugin to stuff 
all generated sources into a zip/jar file. The problem is, that during the 
build lifecycle I actually only want two plugins to be executed:
1) my custom plugin in the generate-sources phase and 
2) the assembly plugin for packaging. 
 
How can that be achieved? When I define only those plugins and no packaging, 
maven defaults to the jar packaging, which is invoking a lot of other unwanted 
plugins/mojos. 
 
I tried to define a new packaging in my plugin for the source code generation, 
but I don't know how to do that. I was following the giode [2] so far, but 
there isn't explained how the plexus/components.xml can be integrated, or if 
it's possible at all.
 
[1] http://www.mail-archive.com/users@maven.apache.org/msg37006.html
[2] http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
 
Thanks for your feedback.
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





project setup expertise needed

2006-03-09 Thread andreas.ebbert-karroum
Hi,
 
we're in the process of setting up our development environment with maven2 and 
I could need some expert advises and best practices. I already read a lot of 
the available documentation, still I have a fuzzy feeling, how to do it.
 
The issue is that we are using a tool to generate three profiles based on a 
model of some kind. I already managed to wrap that tool in a custom ant-based 
plugin. And from my understanding of the maven concepts, the three profiles, 
which should be available independantly, should go into different projects. 
Thus my current idea is to layout the projects like this:
 
/some-tool-plugin
/xyz-spec-model
/xyz-spec-java
/xyz-spec-xsd
/xyz-spec-wsdl
 
When I use the generation tool, I end up with this:
 
/xyz-spec-model/target/generated/xyz.xsd
/xyz-spec-model/target/generated/xyz.wsdl
/xyz-spec-model/target/generated/javax/.../*.java
 
My assumption is that I should package the whole generated target directory 
somehow, pull it out in the other projects (xyz-spec-java, xyz-spec-xsd and 
xyz-spec-wsdl) and repackage it. But how this process could work and even if 
it's the right approach is unclear to me.
 
Thanks for any advise on how to do this.
Kind Regards,
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: [m2] project setup expertise needed

2006-03-09 Thread andreas.ebbert-karroum
Hi Caslos,

Thanks for your feedback, my comments inline below: 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
Of ext Carlos Sanchez

When you say  a custom ant-based plugin  you mean an ant 
script used from the antrun plugin?

No, I created a real ant plugin, as described in this guide:
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html

Anyway if instead of generating them to target/generated, 
which is usually used for generated java sources (not 
resources), you generate them to target/classes, they will end 
bundled in your jar.

The problem is I cannot really control the generator. I can just invoke it, and 
everything ends up in 

/xyz-spec-model/target/generated/xyz.xsd
/xyz-spec-model/target/generated/xyz.wsdl
/xyz-spec-model/target/generated/javax/.../*.java

Besides, you have to license the tool, and not everybody who is interested in 
the generated result, might want to license it, or set it up to run. So I 
though about three projects, which can extract the generated files (java and 
xml) and rebundle them: 

Project /some-tool-plugin
  - the ant plugin

Project /xyz-spec-model
  - the model
  - generates *.java, *.xsd, *.wsdl
  - deploys the generated files to repository as xyz-spec-model.zip (HOWTO-1)

Project /xyz-spec-java
  - retrieves the java files from xyz-spec-model.zip (HOWTO-2)
  - commits the changes to CVS repository (HOWTO-3)
  - deploys xyz-spec-java-src.zip to repository (HOWTO-4)
  - deploys xyz-spec-java-bin.jar to repository

Project /xyz-spec-xsd
  - extracts the XML Schema from xyz-spec-model.zip
  - commits the changes to CVS repository
  - deploys the schema to the repository on its own (feasible???, HOWTO-5)

Project /xyz-spec-wsdl
  - extracts the WSDL from xyz-spec-model.zip
  - commits the changes to CVS repository
  - add some BPL
  - deplosy the WSDL/BPL to the repository on its own

Instead of commiting the changes to CVS, also a remote deploy to a project on 
www.java.net is ok. Whatever is easier.

As you can see, there are a number of steps, which I don't know how to do 
(HOWTO-1 to HOWTO-5), besides I'm even sure if I want it to be like that. 
That's I was asking people who already have a lot of experience with maven, how 
a project like this could be setup best. So all comments, also partial 
solutions to one of the HOWTOs are very welcome!

Kind Regards,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] project setup expertise needed

2006-03-09 Thread andreas.ebbert-karroum
Hi,

Thanks for your suggestions. I'll try that - and possibly come back with more 
detailed questions later :-)

Kind Regards,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ear:ear and symbolic links in repository

2006-02-16 Thread andreas.ebbert-karroum
Yes, I can do that. 

-Original Message-
From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: 16 February, 2006 09:57
To: Maven Users List
Subject: Re: ear:ear and symbolic links in repository

Can you open an issue please.
But I'm not sure that the problem isn't in the JDK :-(

Arnaud

On 2/16/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:
 Hi Arnaud,

 -Original Message-
 From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED]

 I already use them and i didn't have problems.
 Did you check the case of the filename and the directories as it is 
 wrote in the exception ?

 Yes, when I replace the link with the real file, it works 
without problems. But when I copy the file with cp -s, i.e. 
create a link instead of copying the file, the ear target won't work.

  _ ___  _
 //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
  Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-9412-3838  Heltorfer 
Straße 1, 
 40472 Düsseldorf, Germany

 
--
 This message is confidential. If you have received this message in 
 error, please delete it from your system. You should not copy it for 
 any purpose, or disclose its contents to any other person. Internet 
 communications are not secure and therefore Nokia GmbH does 
not accept 
 legal responsibility for the contents of this message as it has been 
 transmitted over a public network. Thank you.
 Nokia GmbH, Nokia Networks is a German Company. Further information 
 about the Company is available from its principal offices at 
 Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from 
the website 
 at http://www.nokia.com/
 
--

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ear:ear and symbolic links in repository

2006-02-16 Thread andreas.ebbert-karroum
-Original Message-
From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED]

Can you open an issue please.

-- http://jira.codehaus.org/browse/MAVEN-1747

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ear:ear and symbolic links in repository

2006-02-15 Thread andreas.ebbert-karroum
Any feedback on this one? Are symbolic links in the repository generally a bad 
idea?

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
-- 

-Original Message-
From: Ebbert-Karroum Andreas (Nokia-NET/Dusseldorf) 
Sent: 14 February, 2006 13:08
To: 'users@maven.apache.org'
Subject: ear:ear and symbolic links in repository

Hi,
 
I am trying to assemble an ear file with maven 1.0.2 on linux. 
The problem is that I have a lot of dependencies, which have 
to go into the ear file as libraries, which have to be 
downloaded from the web and manually added to the repository. 
I did this with symbolic links under linux, and this is 
causing problems for the ear:ear goal. The below mentioned 
oss_common_spec-1.2.jar is copied to the repository for 
testing purposes (it was a link previously), the 
oss_cbe_service_spec is a symbolic link. I couldn't find any 
open bug report for this behaviour. The problem is - as far as 
I can tell - that the test

j:if 
test=${!(checkFile.getAbsolutePath().equals(checkFile.getCanon
icalPath()))}

Doesn't work for symbolic links.

Here's the output from the build:
 
ear:ear:
[echo] Building EAR oss_sa_ri_ear-1.2 with appxml 
/home/andreas/Documents/Development/java.net/ossj/service_acti
vation/root/../ri/app/target/application.xml
[echo] Bundling: jar - ossj:oss_common_spec - 1.2
[echo] Dependency oss_common_spec-1.2.jar will be bundled 
as /oss_common_spec-1.2.jar
[copy] Copying 1 file to
/home/andreas/Documents/Development/java.net/ossj/service_activ
ation/ri/app/target/tmpEarDeps

BUILD FAILED
File.. 
/home/andreas/Documents/Development/java.net/ossj/service_activ
ation/root/maven.xml
Element... m:reactor
Line.. 28
Column 131
Unable to obtain goal [ear:ear] --
/home/andreas/.maven/cache/maven-ear-plugin-1.6/plugin.jelly:99:24: 
ant:fail Case-sensitive issue: The dependency 
ossj:oss_cbe_service_spec has a case problem.  The dependency 
was either retrieved in the past with the wrong case or has 
been specified with the wrong case in your project.xml file.  
Fix your project.xml or update your local repository with the 
properly-cased file and try again.
Total time: 10 seconds
Finished at: Wed Feb 08 09:37:32 CET 2006


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ear:ear and symbolic links in repository

2006-02-15 Thread andreas.ebbert-karroum
Hi Arnaud, 

-Original Message-
From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED] 

I already use them and i didn't have problems.
Did you check the case of the filename and the directories as 
it is wrote in the exception ?

Yes, when I replace the link with the real file, it works without problems. But 
when I copy the file with cp -s, i.e. create a link instead of copying the 
file, the ear target won't work.

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ear:ear and symbolic links in repository

2006-02-14 Thread andreas.ebbert-karroum
Hi,
 
I am trying to assemble an ear file with maven 1.0.2 on linux. The
problem is that I have a lot of dependencies, which have to go into the
ear file as libraries, which have to be downloaded from the web and
manually added to the repository. I did this with symbolic links under
linux, and this is causing problems for the ear:ear goal. The below
mentioned oss_common_spec-1.2.jar is copied to the repository for
testing purposes (it was a link previously), the oss_cbe_service_spec is
a symbolic link. I couldn't find any open bug report for this behaviour.
The problem is - as far as I can tell - that the test

j:if
test=${!(checkFile.getAbsolutePath().equals(checkFile.getCanonicalPath(
)))}

Doesn't work for symbolic links.

Here's the output from the build:
 
ear:ear:
[echo] Building EAR oss_sa_ri_ear-1.2 with appxml
/home/andreas/Documents/Development/java.net/ossj/service_activation/ro
ot/../ri/app/target/application.xml
[echo] Bundling: jar - ossj:oss_common_spec - 1.2
[echo] Dependency oss_common_spec-1.2.jar will be bundled as
/oss_common_spec-1.2.jar
[copy] Copying 1 file to
/home/andreas/Documents/Development/java.net/ossj/service_activation/ri/
app/target/tmpEarDeps

BUILD FAILED
File.. 
/home/andreas/Documents/Development/java.net/ossj/service_activation/roo
t/maven.xml
Element... m:reactor
Line.. 28
Column 131
Unable to obtain goal [ear:ear] --
/home/andreas/.maven/cache/maven-ear-plugin-1.6/plugin.jelly:99:24: 
ant:fail Case-sensitive issue: The dependency
ossj:oss_cbe_service_spec has a case problem.  The dependency was either
retrieved in the past with the wrong case or has been specified with the
wrong case in your project.xml file.  Fix your project.xml or update
your local repository with the properly-cased file and try again.
Total time: 10 seconds
Finished at: Wed Feb 08 09:37:32 CET 2006

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]