Re: Password ignored when checking out using CVS with ext

2006-07-12 Thread Barrie Treloar

And it does not help me to make continuum run in batch.


I'm not suggesting to run continuum in batch.
What I am saying is that you should be able to run the same mvn
command as continuum does.  When you that command it should not prompt
for any information and complete correctly (i.e in a batch mode).
There is no point trying to go any further until you can run the exact
command that continuum would run on the command line yourself.


Ok. I got this to work by using ssh keyfiles.

But what are the username and password fields in the web interface good
for? Can they only be used for pserver connections?


Which screen is this?


RE: Howto: Assembly, type and extension

2006-07-12 Thread Jörg Schaible
Martijn Dashorst wrote on Tuesday, July 11, 2006 6:13 PM:

 IIUC The assembly plugin is used to build distributable artifacts,
 such as zips containing your project, documentation, installation
 scripts, run scripts etc. It is not intended to be put into a
 repository. 

They will, mvn deploy transfers them.
 
 Maven only allows one artifact (the result of building your module)
 per project/module. This is either a jar, war, ejb-jar, or ear. A
 project/module cannot produce both a jar and a war. That is why the
 packaging element is in your pom.

... and an exception to this rule is the ejb-client and the test-jar.
 
 Now the second part of your question: what /is/ your second artifact
 used for? Why do you want to produce a second artifact type from your
 project/module? 

The main artifact contains generated source. The generation process also 
creates some additional files, that may not be included in the jar, but are 
used elsewhere. These should be packed into a ZIP and used elsewhere (well, 
unpacked and added as resource to different artifacts).

Therefore the question is still:

 even after reading available docs (mini-howto's and plugin
 docs) I still don't know awhat I am missing:
 
 In a module I've created a second artifact with a different
 classifier usilizing the assembly plugin. The artifact's type
 seems to be the assembly's id and the file extension (zip) is
 also defined in the assembly.xml. Now, how can I refer this
 artifact in another module? Basically I wanna unpack the zip
 file and add it as resource to my module. But if I add this
 artifact as dependency with its type, the artifact cannot be
 found. Somehow I must still miss something in the picture
 what the assembly plugin produces and the differences between
 a classifier and type with extension. Can someone enlighten me?

- Jörg

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



Re: Howto: Assembly, type and extension

2006-07-12 Thread dan tran

dependency
 artifactId/
 groupId/
 version/
 typezip/type
 classifierwhatever you ask it to do in the assembly /classifier
/dependency

the artifact should have this format

 ${artifactId}-${version}-${classifier}.${type} after it is installed on
you local repo.

-D




On 7/11/06, Jörg Schaible [EMAIL PROTECTED] wrote:


Martijn Dashorst wrote on Tuesday, July 11, 2006 6:13 PM:

 IIUC The assembly plugin is used to build distributable artifacts,
 such as zips containing your project, documentation, installation
 scripts, run scripts etc. It is not intended to be put into a
 repository.

They will, mvn deploy transfers them.

 Maven only allows one artifact (the result of building your module)
 per project/module. This is either a jar, war, ejb-jar, or ear. A
 project/module cannot produce both a jar and a war. That is why the
 packaging element is in your pom.

... and an exception to this rule is the ejb-client and the test-jar.

 Now the second part of your question: what /is/ your second artifact
 used for? Why do you want to produce a second artifact type from your
 project/module?

The main artifact contains generated source. The generation process also
creates some additional files, that may not be included in the jar, but are
used elsewhere. These should be packed into a ZIP and used elsewhere (well,
unpacked and added as resource to different artifacts).

Therefore the question is still:

 even after reading available docs (mini-howto's and plugin
 docs) I still don't know awhat I am missing:

 In a module I've created a second artifact with a different
 classifier usilizing the assembly plugin. The artifact's type
 seems to be the assembly's id and the file extension (zip) is
 also defined in the assembly.xml. Now, how can I refer this
 artifact in another module? Basically I wanna unpack the zip
 file and add it as resource to my module. But if I add this
 artifact as dependency with its type, the artifact cannot be
 found. Somehow I must still miss something in the picture
 what the assembly plugin produces and the differences between
 a classifier and type with extension. Can someone enlighten me?

- Jörg

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




Re: maven2 TestCase with System.getProperty(java.class.path);

2006-07-12 Thread leahpar

hello,
in fact the classpath you get is not the right one due to classloader
inheritance
http://maven.apache.org/guides/mini/guide-maven-classloading.html
It seems that java.class.path is set at the jvm launch so it cannot hold
dynamic modification from classloader...

To get the classpath of your project you should use the API of MavenProject
there's method like
.getTestClasspathElements()
.getTestCompileSourceRoots()

cordialement.




-- 
View this message in context: 
http://www.nabble.com/maven2-TestCase-with-System.getProperty%28%22java.class.path%22%29--tf1927109.html#a5283616
Sent from the Maven - Users forum at Nabble.com.


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



RE: Howto: Assembly, type and extension

2006-07-12 Thread Jörg Schaible
dan tran wrote on Wednesday, July 12, 2006 8:28 AM:

 dependency
   artifactId/
   groupId/
   version/
   typezip/type
   classifierwhatever you ask it to do in the assembly /classifier
 /dependency 
 
 the artifact should have this format
 
   ${artifactId}-${version}-${classifier}.${type} after it is
 installed on you local repo.

Thanks!

 
 -D
 
 
 
 
 On 7/11/06, Jörg Schaible [EMAIL PROTECTED] wrote:
 
 Martijn Dashorst wrote on Tuesday, July 11, 2006 6:13 PM:
 
 IIUC The assembly plugin is used to build distributable artifacts,
 such as zips containing your project, documentation, installation
 scripts, run scripts etc. It is not intended to be put into a
 repository.
 
 They will, mvn deploy transfers them.
 
 Maven only allows one artifact (the result of building your module)
 per project/module. This is either a jar, war, ejb-jar, or ear. A
 project/module cannot produce both a jar and a war. That is why the
 packaging element is in your pom.
 
 ... and an exception to this rule is the ejb-client and the test-jar.
 
 Now the second part of your question: what /is/ your second artifact
 used for? Why do you want to produce a second artifact type from
 your project/module?
 
 The main artifact contains generated source. The generation process
 also creates some additional files, that may not be included in the
 jar, but are used elsewhere. These should be packed into a ZIP and
 used elsewhere (well, unpacked and added as resource to different
 artifacts). 
 
 Therefore the question is still:
 
 even after reading available docs (mini-howto's and plugin
 docs) I still don't know awhat I am missing:
 
 In a module I've created a second artifact with a different
 classifier usilizing the assembly plugin. The artifact's type
 seems to be the assembly's id and the file extension (zip) is
 also defined in the assembly.xml. Now, how can I refer this
 artifact in another module? Basically I wanna unpack the zip
 file and add it as resource to my module. But if I add this
 artifact as dependency with its type, the artifact cannot be
 found. Somehow I must still miss something in the picture
 what the assembly plugin produces and the differences between
 a classifier and type with extension. Can someone enlighten me?
 
 - Jörg
 
 
 -
 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: Problem with Maven 2 dependency

2006-07-12 Thread Nguyen Huy Quang
Hi Jörg, 

Thanks you for your help. It works now.

Quang

--- Jörg Schaible [EMAIL PROTECTED]
wrote:

 Hi,
 
 Nguyen Huy Quang wrote on Tuesday, July 11, 2006
 7:24 AM:
 
 [snip]
 
  This config is the same in two poms.
  
  When I compile the projects from the root
 directory of
  parent0, the mapping files are generated. But the
  problem is:
  
  All the generated mapping files of the project
 child2
  are put in the directory src/main/resources of the
  child1, not in child2. It seems to me that the pom
 of
  child2 is not used to generate the mapping files.
 And
  it is overriden by the pom of child1.
  
  Could you give me a help?
 
 Known problem, see MOJO-265 caused by Bug in XDoclet
 1.2.3
 
 You must explicitly add the destdir attribute to all
 subtasks:
 
 hibernatedoclet
   destdir=THIS VALUE IS IGNORED NOW
   excludedtags=@version,@author,@todo,@see
   verbose=true
 
   fileset dir=src/main/java/
   include name=**/*.java /
   /fileset
 
   !-- Every subtask must have the destdir to work
 with Xdoclet 1.2.3 --
   hibernate version=3.0
 destdir=src/main/resources /
 /hibernatedoclet
 
 - Jörg
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

 But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
  ...). Is there anything available? I know Sun releases a javaee.jar
 package with SAS and Glashfish containing all JavaEE APIs in one, but
 there is no maven repository for it.
 
I've found the API's for JSR-220 on sun site and wonder why there are no
current sugestions in maven2 for this. You can grab the final JSR-220
here http://java.sun.com/products/ejb/docs.html.
Are there any maven2 repositories having this API or are there group and
artifact sugestions on the way just the way it is with the other sun
packages?

Thanks
Markus Wolf
- --

 emedia-solutions wolf
 Wedeler Landstrasse 63
 22559 Hamburg
 (040) 550 083 70

  web: http://www.emedia-solutions-wolf.de
 mail: [EMAIL PROTECTED]
  pgp: http://wwwkeys.de.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtKbZeyJE91ndMG4RAvuvAJsEHLKqikaYwkQ5nMepFdbkW4QTEACfWyMF
S2oK/8yCI5RuNVzwSPx/I6U=
=a4KA
-END PGP SIGNATURE-

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



Re: [ANN] Mergere Maestro 1.0.1 Released

2006-07-12 Thread Wim Deblauwe

Is there a page that explains the differences between using Maven/Continuum
and using Maestro?

regards,

Wim

2006/7/11, Brett Porter [EMAIL PROTECTED]:


Mergere is pleased to announce the release of Maestro 1.0.1, an
end-to-end build solution based upon Apache Maven and Continuum that's
easy to use, fast, and pre-configured for use with a high performance
repository.

Maestro includes:
- the Maestro Project Server for managing automated builds, project
artifacts and developer sites
- the Maestro Developer Client for building Maven projects
- auto-configuration of developer settings from a common Project Server
- an automated installer for Windows, Mac and Linux systems
- comprehensive bundled documentation
- the book Better Builds with Maven (v1.0.1, also available as a
separate download)
- Source code, licensed under the Apache License 2.0

Maestro is free to download and use (after registering) from
http://www.mergere.com/products_developers.jsp. There is no need to
re-register if you have previously downloaded from Mergere.

Support is also available from Mergere. For more information, see
http://www.mergere.com/services_core.jsp.

Regards,
Brett

--
Director of Engineering
Mergere, Inc. - A Simula Labs Enterprise
[EMAIL PROTECTED]
http://www.mergere.com


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




Re: mvn deploy

2006-07-12 Thread ben short

the wagon plugin needs to be in the maven home dir for this to work.

On 7/12/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:

Hey Ben,

the wagon plugin is already part of the project (MyFaces).
So I guess something different is wrong

Will try on a linux box. That is easier ;)

Thanks,
Matthias

On 7/11/06, ben short [EMAIL PROTECTED] wrote:
 Matthias,

 You dont need to use the sshExecuteable element. I use the that setup
 on windows xp and it works. Maven uses wagon [1] to do the ssh.
 Although you will need to manually download it ad put it into the lib
 dir under your maven home dir.

 [1] http://maven.apache.org/wagon/

 Ben

 On 7/11/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
  Ben,
 
  thanks for your help. I tried to add my passed to settings.xml.
  But I more thing that putty / pscp are not *callable* for my box/environment
  (windoze w/o ! cygwin)
 
  Below is my message...
  I added sshExecuteable to my settings. Now putty comes up -o unkown 
option.
  any ideas?
 
  snip
 
  [INFO] Retrieving previous build number from apache-maven-snapshots
  [WARNING] repository metadata for: 'snapshot
  org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
  be retrieved from repository: apache-maven-snapshots due to an error:
  Failed to post-process the source file
  [INFO] Repository 'apache-maven-snapshots' will be blacklisted
  Uploading: 
scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
  [INFO] 

  [ERROR] BUILD ERROR
  [INFO] 

  [INFO] Error deploying artifact: Error executing command for transfer
 
  Exit code 1 - 'ssh' is not recognized as an internal or external command,
  operable program or batch file.
 
  [INFO] 

  [INFO] For more information, run Maven with the -e switch
  /snip
 
  -Matt
 
 
  On 7/10/06, ben short [EMAIL PROTECTED] wrote:
   I use the follwoing in my pom.xml
  
   distributionManagement
   −
   repository
   idinternal-released/id
   urlscp://192.168.6.194/var/mvn/internal-released/url
   /repository
   −
   snapshotRepository
   idinternal-snapshot/id
   urlscp://192.168.6.194/var/mvn/internal-snapshot/url
   /snapshotRepository
   /distributionManagement
  
   and the following in my settings.xml
  
   server
 idinternal-snapshot/id
 usernamemvn/username
 passwordmvn/password
   /server
   server
 idinternal-released/id
 usernamemvn/username
 passwordmvn/password
   /server
  
  
   On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Hey,
   
I am getting this error
   
snip
[INFO] Error deploying artifact: Error executing command for transfer
   
Exit code 1 - 'ssh' is not recognized as an internal or external 
command,
operable program or batch file.
/snip
   
when trying mvn deploy on windoze
   
my settings.xml contains:
   
...
  servers
server
  idapache-maven-snapshots/id
  usernamematzew/username
  configuration
scpExecutablepscp/scpExecutable
  /configuration
/server
  /servers
   
...
   
   
BTW pscp is in my $PATH
   
Any missing configuration ?
   
-Matt
   
--
Matthias Wessendorf
   
futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-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]
  
  
 
 
  --
  Matthias Wessendorf
 
  futher stuff:
  blog: http://jroller.com/page/mwessendorf
  mail: mwessendorf-at-gmail-dot-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]




--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-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: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 I've found the API's for JSR-220 on sun site and wonder why there are no
 current sugestions in maven2 for this. You can grab the final JSR-220
 here http://java.sun.com/products/ejb/docs.html.
 Are there any maven2 repositories having this API or are there group and
 artifact sugestions on the way just the way it is with the other sun
 packages?
 
Thinking again about this I realized that groupId javax.persistence and
artifactId ejb are what I searched for, but I think this naming scheme
is a bit irritating. javax.ejb would be a better groupId IMHO.

Thanks anyway
Markus Wolf
- --

 emedia-solutions wolf
 Wedeler Landstrasse 63
 22559 Hamburg
 (040) 550 083 70

  web: http://www.emedia-solutions-wolf.de
 mail: [EMAIL PROTECTED]
  pgp: http://wwwkeys.de.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtK2weyJE91ndMG4RAndNAJ0VRr1RaJDGza+hs9t/djbuUsEYnQCdFn7O
NuwK9WopwYAkSddxMYV/onk=
=cfcH
-END PGP SIGNATURE-

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



Re: WEB-INF/lib excludes once more

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have to add a note to this:
With the given POM snippet there are no dependencies generated in
eclipse project anymore. This is kind of anoying and should not counted
as proper solution for this I think.

Markus Wolf
- --

 emedia-solutions wolf
 Wedeler Landstrasse 63
 22559 Hamburg
 (040) 550 083 70

  web: http://www.emedia-solutions-wolf.de
 mail: [EMAIL PROTECTED]
  pgp: http://wwwkeys.de.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtK5leyJE91ndMG4RAlNaAJwOHFWN+Xsv8PPoP4Xv/jVa7tk1hgCfXDZ6
dCld7Wx448205RGnFPca+tY=
=LTu9
-END PGP SIGNATURE-

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



Eclipse, WTP Maven2

2006-07-12 Thread Trent Nelson

The last time I looked into it, the coherency between Eclipse's Maven2
plugin (http://m2eclipse.codehaus.org/) and Maven2's eclipse:eclipse was
quite poor; each one didn't seem to know about the other, and you
certainly couldn't use both in harmony.

What's the state of play now?  Can 'mvn eclipse:eclipse' be made to
produce an Eclipse environment that the Eclipse Maven2 plugin plays
nicely with?

Also, what's the state of all of the above when it comes to WTP support?
Can all three components be coerced to play together nicely?

The last time I tried, if I created a WTP-enabled web project directly
in Eclipse (or MyEclipse in my case), I'd get all the nice warm and
fuzzy features offered by WTP, but lost all the project/library
management offered by Maven2.  (And vice-versa with regards to taking
the Maven2 approach; I'd have to 'mvn compile|deploy' to push code
changes I was making back onto the app server.)


Regards,

Trent.

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



Re: Site plugin and modules

2006-07-12 Thread Andrew Williams
I think the question is really why are the modules not inheriting from 
the aggregator, that is certainly normal.


The aggregator can inherit from the parent (or what you sometimes seem 
to call super) if it is defaults that you are woried about inheriting.


The site plugin will always (if I observe correctly)  follow the 
heirarchy of inheritance, not the heirarchy of your file system.


Andy

[EMAIL PROTECTED] wrote:

I have a multi-module project. The modules POMs are inheriting from a
super-POM ( which is different from the aggregator POM ).
 
When I run the site plugin, the sites for aggregator POM does not list the

modules under the Modules section. If I change the module POMs to inherit
from the project POM, the modules show up.
 
Also, when the module POMs inherit from the super-POM, the module site is

deployed under the parent site and not the aggregator project site.
 
So, how do I get the modules to be deployed correctly, is there anything in

the project POM that needs to be configured differently?
 
Or, is this a practice that is frowned on?
 
 
 +-Parent

+-pom.xml
 +-project
   +- module 1
+-pom.xml  ( derives from parent\pom.xml )
   +- module 2
+-pom.xml  ( derives from parent\pom.xml )
   +- pom.xml( the aggregator pom )
 
-Moiz


  



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



RE: Java EE

2006-07-12 Thread PATRON Mickaël

When I have installed the API's for JSR-220 :
mvn deploy:deploy-file -DgroupId=javax.ejb -DartifactId=j2ee15 -Dversion=3.0 
-Dfile=ejb-3_0-api.jar -Durl=file:///userprofile/.m2 -Dpackaging=jar

I would like know the best practice with the value to done to groupId and 
artifactId. Anyone knows this ?

But after, I have a trouble with ejb-jar.xml when I do mvn package.

 [INFO] Error assembling EJB
Embedded error: 
D:\developpement\j2ee\console3\ejb\target\classes\META-INF\ejb-jar.xml isn't a 
file.

How can I generate ejb-jar.xml ?

-Message d'origine-
De : Markus Wolf [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 09:38
À : Maven Users List
Objet : Re: Java EE

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

 But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
  ...). Is there anything available? I know Sun releases a javaee.jar
 package with SAS and Glashfish containing all JavaEE APIs in one, but
 there is no maven repository for it.
 
I've found the API's for JSR-220 on sun site and wonder why there are no
current sugestions in maven2 for this. You can grab the final JSR-220
here http://java.sun.com/products/ejb/docs.html.
Are there any maven2 repositories having this API or are there group and
artifact sugestions on the way just the way it is with the other sun
packages?

Thanks
Markus Wolf
- --

 emedia-solutions wolf
 Wedeler Landstrasse 63
 22559 Hamburg
 (040) 550 083 70

  web: http://www.emedia-solutions-wolf.de
 mail: [EMAIL PROTECTED]
  pgp: http://wwwkeys.de.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtKbZeyJE91ndMG4RAvuvAJsEHLKqikaYwkQ5nMepFdbkW4QTEACfWyMF
S2oK/8yCI5RuNVzwSPx/I6U=
=a4KA
-END PGP SIGNATURE-

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



unable to use snapshot for maven-scm-provider-perforce

2006-07-12 Thread Yuri Schimke
Hey,I'm trying to use a snapshot version of maven-scm-provider-perforce for reporting. I believe it fixes a bug with perforce changelist support.PerforceChangeLogCommand.java (line 101) uses the correct command (which works from a dos prompt)
 command.createArgument().setValue( ... );However the maven output shows the following[INFO] SCM Command Line[0]: p4 [INFO] SCM Command Line[1]: filelog 
[INFO] SCM Command Line[2]: -tl [INFO] SCM Command Line[3]: //depot/project_branchI've added the snapshot repository. And even tried specifying the maven-scm version explicitly. However it still loads the perforce provider version 
1.0-alpha-2 pluginRepositories pluginRepository idsnapshots-plugins/id nameMaven Snapshot Plugins Development Repository/name url
http://people.apache.org/maven-snapshot-repository//url releases enabledfalse/enabled /releases
 /pluginRepository /pluginRepositories   plugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-scm-plugin/artifactId
version1.0-SNAPSHOT/version   /pluginAny help much appreciated.-- Yuri Schimke


surefire-plugin and surefire-reports

2006-07-12 Thread Carsten Karkola
We have different tests in the test/java dir and the surefire-report-plugin is 
specified in the pom.xml:

reporting
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-report-plugin/artifactId
  /plugin
/plugins
  /reporting

If I execute mvn site, the test cases in the target/surfire-reports/TEST*.xml 
files are inserted multiple times:

TEST-a.xml contains:
  testcase time=78.041 name=testCreateOffer/
  testcase time=2.39 name=testKeywordSearch/
  testcase time=0.421 name=testDeleteOffers/

and TEST-b.xml contains again:
  testcase time=78.041 name=testCreateOffer/
  testcase time=2.39 name=testKeywordSearch/
  testcase time=0.421 name=testDeleteOffers/
and the new entry
  testcase time=0.101 name=testDbReportExtended

We have more than 400 tests and the list gets longer and longer due to the 
repeated entries for every test case. Is there some misconfiguration or is 
this a bug?

Regards, carsten



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



Maven JXR Plugin - Version 2.0

2006-07-12 Thread olivier . lambert

Hello,

I would like to use the Maven JXR plugin version 2.0 instead of 2.0-beta-1
because I need a bug fixing (MJXR-11):

http://www.mail-archive.com/announce@maven.apache.org/msg00036.html

On which repository can I find the version 2.0 of this plugin ? It 's not
available on repo1:

http://www.ibiblio.org/maven2/org/codehaus/mojo/jxr-maven-plugin/

Thks for your help
Olivier


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



Re: Maven JXR Plugin - Version 2.0

2006-07-12 Thread Edwin Punzalan


Its here: 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jxr-plugin



[EMAIL PROTECTED] wrote:

Hello,

I would like to use the Maven JXR plugin version 2.0 instead of 2.0-beta-1
because I need a bug fixing (MJXR-11):

http://www.mail-archive.com/announce@maven.apache.org/msg00036.html

On which repository can I find the version 2.0 of this plugin ? It 's not
available on repo1:

http://www.ibiblio.org/maven2/org/codehaus/mojo/jxr-maven-plugin/

Thks for your help
Olivier


-
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: unable to use snapshot for maven-scm-provider-perforce

2006-07-12 Thread Yuri Schimke

Hi,

OK, this email thread gave me the solution.  Stop using the Mojo
changelist plugin and start using the maven-changelog-plugin.

http://mail-archives.apache.org/mod_mbox/maven-users/200605.mbox/[EMAIL 
PROTECTED]

It's working now.

On 7/12/06, Yuri Schimke [EMAIL PROTECTED] wrote:


Hey,

I'm trying to use a snapshot version of maven-scm-provider-perforce for 
reporting.  I believe it fixes a bug with perforce changelist support.

PerforceChangeLogCommand.java (line 101) uses the correct command (which works 
from a dos prompt)

command.createArgument().setValue( ... );

However the maven output shows the following

[INFO] SCM Command Line[0]: p4
[INFO] SCM Command Line[1]: filelog
[INFO] SCM Command Line[2]: -tl
[INFO] SCM Command Line[3]: //depot/project_branch

I've added the snapshot repository.  And even tried specifying the maven-scm 
version explicitly.  However it still loads the perforce provider version  
1.0-alpha-2

pluginRepositories
 pluginRepository
   idsnapshots-plugins/id
   nameMaven Snapshot Plugins Development Repository/name
   url http://people.apache.org/maven-snapshot-repository//url
   releases
 enabledfalse/enabled
   /releases
 /pluginRepository
   /pluginRepositories

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
version1.0-SNAPSHOT/version
/plugin

Any help much appreciated.





--
Yuri Schimke


Re: Maven JXR Plugin - Version 2.0

2006-07-12 Thread olivier . lambert
thks ... but I do not want to do anything else but specifying a plugin in
my pom:

plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jxr-plugin/artifactId
   version2.0/version
/plugin

Is this version of the plugin not available on any repository ?





 Its here:
 http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jxr-plugin


 [EMAIL PROTECTED] wrote:
  Hello,
 
  I would like to use the Maven JXR plugin version 2.0 instead of
2.0-beta-1
  because I need a bug fixing (MJXR-11):
 
  http://www.mail-archive.com/announce@maven.apache.org/msg00036.html
 
  On which repository can I find the version 2.0 of this plugin ? It 's
not
  available on repo1:
 
  http://www.ibiblio.org/maven2/org/codehaus/mojo/jxr-maven-plugin/
 
  Thks for your help
  Olivier
 
 
  -
  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]



izpack maven2 plugin

2006-07-12 Thread Mikael Andersson

Does anyone know if there is any ongoing work on a maven2 plugin for izpack?
Had a look at codehaus but couldn't spot anything there, the only thing I
have found is the maven1 plugin.


Regards
Mike


Eclipse plugin WTP and servlet version

2006-07-12 Thread Antonio Parolini

Hello,

We are using tomcat 4.1.31 under Eclipse and WTP. The problem is that the
eclipse plugin only genereate a WTP config file with the 2.4 servlet version
value. Our Tomcat version is using servlet 2.3, thus our workaround is to
change this by hand afterward after the eclipse:eclipse maven call. 

If we dont change this value,  the only probleme is that we cannot add the
webapp to a server. The is no big deal with this, i agree. It is just a bit
enoying though.

Is there a way to force the jst.web to 2.3 instead of 2.4 ? ( It seems
hardcoded in the pluging to me..)

faceted-project
  fixed facet=jst.java/
  fixed facet=jst.web/
  installed facet=jst.web version=2.4/
  installed facet=jst.java version=1.4/
/faceted-project

Thanks in advance.

Antonio Parolini
-- 
View this message in context: 
http://www.nabble.com/Eclipse-plugin-WTP-and-servlet-version-tf1929878.html#a5285636
Sent from the Maven - Users forum at Nabble.com.


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



RE : surefire-plugin and surefire-reports

2006-07-12 Thread Olivier Lamy
Look at http://jira.codehaus.org/browse/MSUREFIRE-114.

--
Olivier

-Message d'origine-
De : Carsten Karkola [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 10:50
À : users@maven.apache.org
Objet : surefire-plugin and surefire-reports


We have different tests in the test/java dir and the
surefire-report-plugin is 
specified in the pom.xml:

reporting
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-report-plugin/artifactId
  /plugin
/plugins
  /reporting

If I execute mvn site, the test cases in the
target/surfire-reports/TEST*.xml 
files are inserted multiple times:

TEST-a.xml contains:
  testcase time=78.041 name=testCreateOffer/
  testcase time=2.39 name=testKeywordSearch/
  testcase time=0.421 name=testDeleteOffers/

and TEST-b.xml contains again:
  testcase time=78.041 name=testCreateOffer/
  testcase time=2.39 name=testKeywordSearch/
  testcase time=0.421 name=testDeleteOffers/
and the new entry
  testcase time=0.101 name=testDbReportExtended

We have more than 400 tests and the list gets longer and longer due to
the 
repeated entries for every test case. Is there some misconfiguration or
is 
this a bug?

Regards, carsten



-
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: Maven JXR Plugin - Version 2.0

2006-07-12 Thread Fabrice BELLINGARD

Yes it's available on ibiblio:
http://ibiblio.org/maven2/org/apache/maven/plugins/maven-jxr-plugin/2.0/
Your dependency should work fine...


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


thks ... but I do not want to do anything else but specifying a plugin in
my pom:

plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jxr-plugin/artifactId
   version2.0/version
/plugin

Is this version of the plugin not available on any repository ?





 Its here:
 http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jxr-plugin


 [EMAIL PROTECTED] wrote:
  Hello,
 
  I would like to use the Maven JXR plugin version 2.0 instead of
2.0-beta-1
  because I need a bug fixing (MJXR-11):
 
  http://www.mail-archive.com/announce@maven.apache.org/msg00036.html
 
  On which repository can I find the version 2.0 of this plugin ? It 's
not
  available on repo1:
 
  http://www.ibiblio.org/maven2/org/codehaus/mojo/jxr-maven-plugin/
 
  Thks for your help
  Olivier
 
 
  -
  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]




[OT][ANN] Final Call: JAVAWUG BOF XX / Oracle City of London / 13th July 2006 @ 7pm

2006-07-12 Thread Peter Pilgrim

Hi

We are holding our twentieth birds-of-a-feather (BOF 20) of the Java Web Users 
Group in London, UK.


The speakers:

Emmanuel, Okyere
`` RIFE : The Java EE Petstore Edition''


Emmanuel has been hard at work convert the (in)famous J2EE Petstore
application into RIFE. This is an opportunity to learn about
RIFE and see what it is all about in comparison to a web
frame work like Struts or Java Server Faces. RIFE is an innovative
framework, for example the ``continuations'' part of it has been used
in other Java web framework like the forthcoming
Struts Framework  2.0. This is great chance to learn what other
luminaries, e.g. Geert Bevin are doing in this web technology space.



Peter Pilgrim
`` Rearchitecting Legacy J2EE Applications with Spring ''


This is talks presents hints and tips on using the refactoring
core J2EE functionalities with the Spring Framework.
In particular Peter will talk about refactoring legacy EJBs
into Spring-EJB. He will advise how to manage those application
context files. He will describe the best avenues to get
your IT workshop to think about using and/or doing more Agile
development techniques.


For more information jump to here http://jroller.com/page/javawug . Thanks!

--
Peter Pilgrim  ( Windows XP / Thunderbird 1.5 )

_ ___  + Expert Java
__  /_ ___   ___ ____  /__  /  + Enterprise
___ _  /_  __ `/_ | / /  __ `/__  __/  __  __/ + Design
/ /_/ / / /_/ /__ |/ // /_/ / _  /___  _  /___ + Architecture
\/  \__,_/ _/ \__,_/  /_/  /_/ + Web New Age

On Line Resume
   ||
   \\===  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''

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



Re: [m2] maven-it-plugin

2006-07-12 Thread Kenney Westerhof
On Wed, 12 Jul 2006, Adam Hardy wrote:

Hi,

It was an attempt of mine to be able to fork test projects like
maven-core-it/*/ in projects themselves.

The idea is that you create src/it/project1/pom.xml,
src/it/project2/pom.xml etc. and use those poms to do integration
tests on the completed artifact, using the pom to set up and run the
tests.

What is your setup, what are the problems you're experiencing, and
what are you trying to accomplish?

I basically wanted a way to test .war files and maven plugins in the
project itself. The test phase doesn't have access to the packaged
artifact, but the integration-test phase does. When I started the plugin,
there was no pre-integration-test and post-integration-test phase,
and I needed more than 1 phase to deploy the .war, run the tests, and
undeploy it (for instance).

Right now you could just use the pre-integration-test phase to deploy the
war and compile the integration test sources, the integration-test phase
to run your unit tests using surefire, and the post-integration-test to
clean up after the test. But maybe a simple project in src/it/ is easier.

It's still in the sandbox, unfortunately, until there's some really good
purpose for it. Maybe your usecase will help.

-- Kenney

 Integration testing is getting too big and lengthy for our app and I
 want to move it so that we don't have to run them during normal builds.

 i.e. we can configure continuous integration to run them seperately.

 I can see maven-it-plugin in the sandbox and I can see a couple of
 emails in the archive and also this JIRA issue:

 http://jira.codehaus.org/browse/MNG-1922

 which makes me wonder, what is it for?

 I tried setting it up but couldn't figure out the configuration. Is
 anybody using?


 Adam

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


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Effective-pom and junit M2

2006-07-12 Thread Andrew-A . Davies
Title: Effective-pom and junit M2






Hi,


I have a multi project set-up in M2 - version 2.0.4. I have set up a pom containing things that I want to apply across all modules 

(such as certain reports - PMD, Macker, Checkstyle, etc).


If I include a dependency management in there (e.g)


 dependencyManagement

  dependencies

   dependency

groupIdjunit/groupId

artifactIdjunit/artifactId

version3.8.1/version

scopetest/scope

   /dependency

  /dependencies

 /dependencyManagement


Why, at a module level do I get the error that Junit packages cannot be found ?

I have referred to the other pom via the parent tag.

I have run the mvn help:effective-pom and I can see Junit is a dependency, but code can't seem to see it.


I have seen a bug reported in 2.0.2 of maven and some further discussion around it. Jira says it is fixed, but am I just seeing that it has been reintroduced ?

http://jira.codehaus.org/browse/MNG-2068


Thx

Andy




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

Re: Effective-pom and junit M2

2006-07-12 Thread Kenney Westerhof
On Wed, 12 Jul 2006 [EMAIL PROTECTED] wrote:

Hi,

Dependencies specified in dependencyManagement are not added as
dependencies. They just specify defaults for projects that _do_ specify
those dependencies - they could only specify groupId and arfifactId,
the version and scope will be set from the depMgt section.

So in your case, either add a dep on junit to the child projects that need
junit, or remove the dependencyManagement opening and closing tags
from the parent project.

-- Kenney

 Hi,

 I have a multi project set-up in M2 - version 2.0.4. I have set up a pom
 containing things that I want to apply across all modules
 (such as certain reports - PMD, Macker, Checkstyle, etc).

 If I include a dependency management in there (e.g)

   dependencyManagement
   dependencies
   dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version3.8.1/version
   scopetest/scope
   /dependency
   /dependencies
   /dependencyManagement

 Why, at a module level do I get the error that Junit  packages cannot be
 found ?
 I have referred to the other pom via the parent tag.
 I have run the mvn help:effective-pom and I can see Junit is a
 dependency, but code can't seem to see it.

 I have seen a bug reported in 2.0.2 of maven and some further discussion
 around it. Jira says it is fixed, but am I just seeing that it has been
 reintroduced ?
 http://jira.codehaus.org/browse/MNG-2068

 Thx
 Andy


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Re: [m2] maven-it-plugin

2006-07-12 Thread Adam Hardy

I don't think we have a demanding use-case really.

I was looking at the alternatives for removing lengthy integration tests 
from the standard compile/test/package/install for our services component.


The first option is to put a filter on the tests in a profile for 
developers, and have no filter in the profile for the continuous 
integration.


The second option is to put the integration tests into a seperate project.

This maven-it-plugin seems to offer a lot of flexibility but it's not 
something we need at this stage, although I can foresee our requirements 
getting much more complicated - we've only just started really.


Regards
Adam

Kenney Westerhof wrote:

On Wed, 12 Jul 2006, Adam Hardy wrote:

Hi,

It was an attempt of mine to be able to fork test projects like
maven-core-it/*/ in projects themselves.

The idea is that you create src/it/project1/pom.xml,
src/it/project2/pom.xml etc. and use those poms to do integration
tests on the completed artifact, using the pom to set up and run the
tests.

What is your setup, what are the problems you're experiencing, and
what are you trying to accomplish?

I basically wanted a way to test .war files and maven plugins in the
project itself. The test phase doesn't have access to the packaged
artifact, but the integration-test phase does. When I started the plugin,
there was no pre-integration-test and post-integration-test phase,
and I needed more than 1 phase to deploy the .war, run the tests, and
undeploy it (for instance).

Right now you could just use the pre-integration-test phase to deploy the
war and compile the integration test sources, the integration-test phase
to run your unit tests using surefire, and the post-integration-test to
clean up after the test. But maybe a simple project in src/it/ is easier.

It's still in the sandbox, unfortunately, until there's some really good
purpose for it. Maybe your usecase will help.

-- Kenney


Integration testing is getting too big and lengthy for our app and I
want to move it so that we don't have to run them during normal builds.

i.e. we can configure continuous integration to run them seperately.

I can see maven-it-plugin in the sandbox and I can see a couple of
emails in the archive and also this JIRA issue:

http://jira.codehaus.org/browse/MNG-1922

which makes me wonder, what is it for?

I tried setting it up but couldn't figure out the configuration. Is
anybody using?


Adam

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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Default standard location for resources that shouldn't be in classpath

2006-07-12 Thread Jimisola Laursen

Hi!

The Standard Directory Layout doesn't seem to specify where resource files
that shouldn't be added to the classpath should be placed (hence, not
src/main/resources).

I consider, e.g. FreeMarker template files, as some sort of resource files
and not a configuration files, so src/main/config doesn't feel appropriate
either.

Also, Standard Directory Layout only seem to specifiythat target directory
is used to house all output of the build. Are locations of where class
files go (target/classes), test class files (target/test-classes),
autogenerated source code (target/generated-sources) etc specified or is
this according to custom (an accepted procedure)?

It would also be of interest to have common location for the location of
files that are needed under build time but aren't source code or to be put
in classpath.

Hope that my thoughts aren't to project specific to my own project. I assume
that there are to be others with similar usage.

Regards,
Jimisola
-- 
View this message in context: 
http://www.nabble.com/Default-standard-location-for-resources-that-shouldn%27t-be-in-classpath-tf1930344.html#a5286943
Sent from the Maven - Users forum at Nabble.com.


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



[M2] Build complex projects

2006-07-12 Thread Alexandre Touret

Hi,
I m migrating my projects from M1 to M2. I have a J2EE project (Struts, 
spring, hibernate) with the following structure:


daos
? dao
ears
? ear
ejbs
? ejb
guis
? back-gui
? front-gui
services
? back-service
? front-service
site
src
main
resources
There are a pom.xml for each type of artefact (daos,guis,...)

In this project , I have two webapps which use the sames libraries (eg. 
struts) I would like to externalize them to the EAR top level and only 
refer by the manifest classpath. I know that if I assign all the 
dependencies in the EAR and assign these dependencies with the scope 
'provided' in the guis pom.xml but I would like to know what the 'best 
practices' for this kind of problem.


Thanks in advance

Regards,
Alexandre Touret


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



Re: Eclipse, WTP Maven2

2006-07-12 Thread christophe blin
I do not know about WTP, but I am doing mvn eclipse:eclipse, then I use
the import feature of eclipse and then I right-click on the project and
do Enable maven.

Everything is working fine : I can launch maven as an external tools
without any problems (except for the jetty integration, do not know why).

regards,
chris

Trent Nelson a écrit :
 The last time I looked into it, the coherency between Eclipse's Maven2
 plugin (http://m2eclipse.codehaus.org/) and Maven2's eclipse:eclipse was
 quite poor; each one didn't seem to know about the other, and you
 certainly couldn't use both in harmony.

 What's the state of play now?  Can 'mvn eclipse:eclipse' be made to
 produce an Eclipse environment that the Eclipse Maven2 plugin plays
 nicely with?

 Also, what's the state of all of the above when it comes to WTP support?
 Can all three components be coerced to play together nicely?

 The last time I tried, if I created a WTP-enabled web project directly
 in Eclipse (or MyEclipse in my case), I'd get all the nice warm and
 fuzzy features offered by WTP, but lost all the project/library
 management offered by Maven2.  (And vice-versa with regards to taking
 the Maven2 approach; I'd have to 'mvn compile|deploy' to push code
 changes I was making back onto the app server.)


 Regards,

   Trent.

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




   

-- 

_
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_
Siège social :
6, rue Léonard de Vinci - 53001 Laval Cedex -
Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue réaumur - 75003 Paris -
Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -
Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85
The information in this message sent by TENNAXIA is confidential 
and may be legally privileged. It is intended solely for the 
addressee(s). Access to this message by anyone else is unauthorized.
If you are not the intended recipient, please delete it and notify 
the sender : any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.



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



[continuum] Could not find Maven project descriptor.

2006-07-12 Thread Valerio Schiavoni

Hello
i'm using continuum 1.0.3 in a linux/ubuntu machine.
i want to use it with a multi-module project; my scm is svn.

The parent pom and the modules poms are loaded correctly, as I can see them
in the 'Show Projects'/Continuum Projects.

If I try to build the parent, it fails, and I can see this message in the
results report:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could
not find Maven project descriptor.

at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)


If i try to build a module,  I can see this message in the results report:

Provider message: The svn command failed.
Command output:
---
svn: request REPORT failed on '/svn/infopipe/!svn/bc/42/infopipe-crawler'
svn: '/svn/infopipe/!svn/bc/42/infopipe-crawler' path not found
---

(i translated it from english..).

not sure if this is the intended behaviour, but if when i try to see the
working copy of one of the module, the source tree is empty; instead, if i
try to explore the working copy from the the parent project, i can see the
whole source tree (trunk, branches, tags)

I have no idea of what's going on. can you give me some help?

thanks,
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni


RE : surefire-plugin and surefire-reports

2006-07-12 Thread Carsten Karkola
Thank you very much, I've inserted the line
  forkModealways/forkMode
as suggested in the Bug Comments and the test results are shown in the
right way.
Regards, Carsten

On 12 Jul 2006 at 12:03, Olivier Lamy wrote:

 Look at http://jira.codehaus.org/browse/MSUREFIRE-114.

 --
 Olivier

 -Message d'origine-
 De : Carsten Karkola [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 12 juillet 2006 10:50
 À : users@maven.apache.org
 Objet : surefire-plugin and surefire-reports


 We have different tests in the test/java dir and the
 surefire-report-plugin is
 specified in the pom.xml:

 reporting
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-surefire-report-plugin/artifactId
   /plugin
 /plugins
   /reporting

 If I execute mvn site, the test cases in the
 target/surfire-reports/TEST*.xml
 files are inserted multiple times:

 TEST-a.xml contains:
   testcase time=78.041 name=testCreateOffer/
   testcase time=2.39 name=testKeywordSearch/
   testcase time=0.421 name=testDeleteOffers/

 and TEST-b.xml contains again:
   testcase time=78.041 name=testCreateOffer/
   testcase time=2.39 name=testKeywordSearch/
   testcase time=0.421 name=testDeleteOffers/
 and the new entry
   testcase time=0.101 name=testDbReportExtended

 We have more than 400 tests and the list gets longer and longer due to
 the
 repeated entries for every test case. Is there some misconfiguration or
 is
 this a bug?

 Regards, carsten



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



Problems con maven-plugin-java

2006-07-12 Thread ThE-cLoN NoLc-EhT
i need help, i newbie in maven

i am compile java proyect

mvn java:compile

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:
'java'.
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)
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:324)
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)
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Jul 12 13:21:24 MEST 2006
[INFO] Final Memory: 1M/6M
[INFO]



i haven't idea

tnk




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



Problems con maven-plugin-java

2006-07-12 Thread ThE-cLoN NoLc-EhT
i need help, i newbie in maven

i am compile java proyect

mvn java:compile

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:
'java'.
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)
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:324)
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)
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Jul 12 13:21:24 MEST 2006
[INFO] Final Memory: 1M/6M
[INFO]



i haven't idea

tnk




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



Re: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
 
 Convention is to use the java package for java APIs as groupId.
 So for example, the java connector API (jca) has groupId
 javax.resources. You can ask SUN and the JCA JSR members why the did
 not use javax.jca or javax.connector as package name.
 
This does not hold for JSR-220 as far as I know.
Use groupId javax.persistence and artifactId ejb for JSR-220.
I mentioned already that javax.ejb would be a better groupId.

Markus
- --
__

  Markus Wolf
  Wedeler Landstrasse 63
  22559 Hamburg

 tel: (+49) 40 / 550 083 70
 mob: (+49) 177 / 288 48 67
 web: http://www.matrixweb.de
 icq: #109622365
 pgp: http://wwwkeys.de.pgp.net
__
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtMBDYuGbqyQxpHcRAsQ1AJ95rKZTKIEWVymdW57kpEiwf4C0gACaAnXY
IJ/TJuDYRjj20arPskpSsCw=
=X36X
-END PGP SIGNATURE-

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



How to package a binary distribution with dependencies / resources

2006-07-12 Thread Jeremy Thomerson

Okay, I give up.  I've searched high and low.  I'm new to Maven, just using
it (2.0.4) for an OS project I opened (http://vitalsigns.sourceforge.net).
I love it so far, except that I'm having a terrible time trying to find an
documentation on how to do anything other then the out-of-the--box
functionality.

The main thing that is killing me right now is this:  How do I package my
jar with all of its dependencies in a binary distribution of sorts?  A zip
file that has my jar, my resources, and my dependencies?

All help is appreciated.  Thanks for your hard work!

Jeremy Thomerson
jthomerson AT users DOT sourceforge DOT net


mvn release:perform fails on tests

2006-07-12 Thread Pillinger, Adrian
Hi

I have a problem. When I run mvn clean install and mvn clean
release:prepare my project junit tests run successfully and it all
builds.

However, when I run mvn release:perform the tests fail. 

I can only assume it is a class path issue.

My tests startup an EJB container which is configured by some xml files
on the testResource path.

Does anyone have any ideas? I can post more info as required.

Thanks.
Adrian

-
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose.  If you
are not the intended recipient, delete this message.  If you are
not the intended recipient, disclosing, copying, distributing, or
taking any action based on this message is strictly prohibited.


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



RE: [M2] Build complex projects

2006-07-12 Thread Andrew-A . Davies
Hi I have a similar setup and deploy struts, spring, etc in the ear by
including them as dependencies in the ear

I use manifest classpaths within wars to externalise dependencies there
are a number of ways to do the classpath stuff, I list the ones I know
below.

I also had this problem, and it took a while to sort out. Here are the
ways I found ...

I've managed to get something into the Manifest.mf Class-Path without it
appearing in the WEB-INF/lib in M2 by placing dependencies as follows in
the war packaging pom ...

dependency 
groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId 
artifactIdcim-j2eeclient/artifactId 
version${rkyc-cim-version}/version 
scopecompile/scope 
  exclusions 
exclusion 
  artifactIdcim-j2eeclient/artifactId 
 
groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId 
/exclusion 
  /exclusions 
  optionaltrue/optional 
/dependency 

And then your war plugin configuration should be

plugins
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin

You could also look to use add a classpath and then explicitly exclude
jars with the excludesWEB-INF/lib/*.jar/excludes construct within
the war configuration

The excludes tag will only exclude JARs in your workspace directory.
It does not prevent the JARs specified by dependencies to be added to
the lib directory. To do so add a scope tag with the value provided to
the dependency:

Alternatively, if you know exactly what you want the manifest class path
to look like you could also specify a special manifest.mf in the
manifest tag: 

 
manifestFile${basedir}/WebContent/META-INF/MANIFEST.MF/manifestFile 

Or if you have a manifest file in the standard location
(src/main/webapp/META-INF/) Maven will use that. 
If you want Maven to create the manifest, simply delete the manifest in
the standard location. 


Hope this helps
Andy

-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED] 
Sent: 12 July 2006 12:42
To: Maven Users List
Subject: [M2] Build complex projects

Hi,
I m migrating my projects from M1 to M2. I have a J2EE project (Struts,
spring, hibernate) with the following structure:

daos
? dao
ears
? ear
ejbs
? ejb
guis
? back-gui
? front-gui
services
? back-service
? front-service
site
src
main
resources
There are a pom.xml for each type of artefact (daos,guis,...)

In this project , I have two webapps which use the sames libraries (eg. 
struts) I would like to externalize them to the EAR top level and only
refer by the manifest classpath. I know that if I assign all the
dependencies in the EAR and assign these dependencies with the scope
'provided' in the guis pom.xml but I would like to know what the 'best
practices' for this kind of problem.

Thanks in advance

Regards,
Alexandre Touret


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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: [continuum] Could not find Maven project descriptor.

2006-07-12 Thread Valerio Schiavoni

hello kenney, thanks for the reply

On 7/12/06, Kenney Westerhof [EMAIL PROTECTED] wrote:


Do you have svn:externals set up in svn?



what exactly  is svn:externals ?

It looks like the source tree is indeed empty. Try a checkout for the

URL defined in the root pom;



i did a:
svn co same-url-defined-in-the-parent-pom

and it checked out the whole project.



i'm using continuum 1.0.3 in a linux/ubuntu machine.
 i want to use it with a multi-module project; my scm is svn.

 The parent pom and the modules poms are loaded correctly, as I can see
them
 in the 'Show Projects'/Continuum Projects.

 If I try to build the parent, it fails, and I can see this message in
the
 results report:

 org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could
 not find Maven project descriptor.

   at
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut
(MavenTwoBuildExecutor.java:108)
   at
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute
(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
   at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:273)
   at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
(BuildProjectTaskExecutor.java:47)
   at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
(ThreadedTaskQueueExecutor.java:103)
   at java.lang.Thread.run(Thread.java:595)


 If i try to build a module,  I can see this message in the results
report:

 Provider message: The svn command failed.
 Command output:

---
 svn: request REPORT failed on
'/svn/infopipe/!svn/bc/42/infopipe-crawler'
 svn: '/svn/infopipe/!svn/bc/42/infopipe-crawler' path not found

---

 (i translated it from english..).

 not sure if this is the intended behaviour, but if when i try to see the
 working copy of one of the module, the source tree is empty; instead, if
i
 try to explore the working copy from the the parent project, i can see
the
 whole source tree (trunk, branches, tags)

 I have no idea of what's going on. can you give me some help?

 thanks,
 valerio
 --
 http://valerioschiavoni.blogspot.com
 http://jroller.com/page/vschiavoni


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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





--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni


RE: Effective-pom and junit M2

2006-07-12 Thread Andrew-A . Davies
Thanks Kenney

A 

-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: 12 July 2006 12:26
To: Maven Users List
Subject: Re: Effective-pom and junit M2

On Wed, 12 Jul 2006 [EMAIL PROTECTED] wrote:

Hi,

Dependencies specified in dependencyManagement are not added as
dependencies. They just specify defaults for projects that _do_ specify
those dependencies - they could only specify groupId and arfifactId, the
version and scope will be set from the depMgt section.

So in your case, either add a dep on junit to the child projects that
need junit, or remove the dependencyManagement opening and closing
tags from the parent project.

-- Kenney

 Hi,

 I have a multi project set-up in M2 - version 2.0.4. I have set up a 
 pom containing things that I want to apply across all modules (such as

 certain reports - PMD, Macker, Checkstyle, etc).

 If I include a dependency management in there (e.g)

   dependencyManagement
   dependencies
   dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version3.8.1/version
   scopetest/scope
   /dependency
   /dependencies
   /dependencyManagement

 Why, at a module level do I get the error that Junit  packages cannot 
 be found ?
 I have referred to the other pom via the parent tag.
 I have run the mvn help:effective-pom and I can see Junit is a 
 dependency, but code can't seem to see it.

 I have seen a bug reported in 2.0.2 of maven and some further 
 discussion around it. Jira says it is fixed, but am I just seeing that

 it has been reintroduced ?
 http://jira.codehaus.org/browse/MNG-2068

 Thx
 Andy


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: Using maven to create an executable

2006-07-12 Thread Alexandre Poitras

Just create a jar and fill its manifest file correctly.

On 7/10/06, Louisa Nilsennygaard [EMAIL PROTECTED] wrote:


i'm new to maven, but i've been getting on really well with it thus far.  however, i now 
want to generate an executable file for an application i am developing.  at the moment i 
use the Eclipse Product export wizard to package and export my application.  
is there a plugin available for maven which would accomplish something similar, or some 
other way to integrate this process into maven?

many thanks

louisa




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



RE: Problems con maven-plugin-java

2006-07-12 Thread Mike Perham
'mvn compile' is what you want.  'mvn clean install' is what I use 90% of the 
time.

-Original Message-
From: ThE-cLoN NoLc-EhT [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 6:24 AM
To: users@maven.apache.org
Subject: Problems con maven-plugin-java

i need help, i newbie in maven

i am compile java proyect

mvn java:compile

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:
'java'.
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)
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:324)
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)
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Jul 12 13:21:24 MEST 2006
[INFO] Final Memory: 1M/6M
[INFO]



i haven't idea

tnk




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.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]



Passing plugin build configuration from pom to a custom bean

2006-07-12 Thread Jimisola Laursen

Hi!

I am having problem passing parameters from the pom to a bean in my maven
plugin.
I've read the section about  Parameter Types With Multiple Values on
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html,
but still can't get it to work. It would really help with some documentation
on this matter.
E.g.:

 - the section on Other Object Classes: This category covers any class
which does not implement java.util.Map, java.util.Collection, or
java.util.Dictionary. leaves a lot in the dark

 -  implementation hint is mentioned in If the XML contains an
implementation hint, that is used, but what is it aka how do I hint?

Anyway, what I want to accomplish is fairly simple and I've simplified it as
much as possible (I think).

I have a Bean:

public class MyBean
{
String outputFile;

public String getOutputFile()
{
return this.outputFile;
}

public void setOutputFile(String outputFile)
{
this.outputFile = outputFile;
}
}


NOTE: I don't want to/cannot have outputFile on the top level, since I there
will be other bean, e.g. MyOtherBean, that contain a outputFile
variable/parameter as well.

MyMojo extends AbstractMojo and has:

/**
 * Configures MyBean
 * @parameter expression=${mybean};
 */
private MyBean myBean;


How do I configure this in my pom.xml? It fails with this:

  build
plugins
  plugin
groupIdse.example.mymojo/groupId
artifactIdmymojo-maven-plugin/artifactId
configuration
  mybean
outputFilestdout/outputFile
  /mybean
/configuration
executions
  execution
idmybean-exec/id
goals
  goalgenerate/goal
/goals
phasegenerate-sources/phase
  /execution
/executions
  /plugin
/plugins
  /build

While debugging I know that:

 1. the plugin runs
 2. mybean != null
 3. mybean.getOutputFile() == null


What do I need to do to get this working?

I would really appreciate an answer on this issue since I am currently stuck
here.

Regards,
Jimisola
-- 
View this message in context: 
http://www.nabble.com/Passing-plugin-build-configuration-from-pom-to-a-custom-bean-tf1930560.html#a5287739
Sent from the Maven - Users forum at Nabble.com.


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



RE: How to package a binary distribution with dependencies / resources

2006-07-12 Thread Jörg Schaible
Jeremy Thomerson wrote on Wednesday, July 12, 2006 9:27 AM:

 Okay, I give up.  I've searched high and low.  I'm new to
 Maven, just using
 it (2.0.4) for an OS project I opened
 (http://vitalsigns.sourceforge.net).
 I love it so far, except that I'm having a terrible time
 trying to find an
 documentation on how to do anything other then the out-of-the--box
 functionality. 
 
 The main thing that is killing me right now is this:  How do
 I package my
 jar with all of its dependencies in a binary distribution of sorts? 
 A zip file that has my jar, my resources, and my dependencies?
 
 All help is appreciated.  Thanks for your hard work!

Have a look at the assembly plugin. It has even a predefined configuration for 
this type.

- Jörg

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



Re: Passing plugin build configuration from pom to a custom bean

2006-07-12 Thread Jimisola Laursen

Found the solution, but this should definetly be in the documentation.

I thought that I'd seen this sort of configuration before.. and yes the
Maven Dependency Plugin uses it for artifact item (see
http://mojo.codehaus.org/dependency-maven-plugin/howto.html):

configuration
artifactItems
  artifactItem
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
 typejar/type

outputDirectory${project.build.directory}/alternateLocation/location
 destFileNameoptional-new-name.jar/destFileName
   /artifactItem
 /artifactItems
  
outputDirectory${project.build.directory}/wars/outputDirectory
/configuration

I suspected that I needed to add javadoc annotations to my bean - which I
got confirmed by the Dependency plugin:

public class ArtifactItem
{
/**
 * Group Id of Artifact
 * @parameter
 * @required
 */
private String groupId;

[...]

/**
 * @return Returns the artifactId.
 */
public String getArtifactId()
{
return artifactId;
}

/**
 * @param artifactId The artifactId to set.
 */
public void setArtifactId( String artifact )
{
this.artifactId = artifact;
}

[...]
}

One of the mojos looks has this section:

/**
 * Collection of ArtifactItems to work on. (ArtifactItem contains
groupId, artifactId, version, type, location, destFile, markerFile and
overwrite.)
 * See How To Use and Javadoc for details.
 * @parameter
 * @required
 */
private ArrayList artifactItems;

(The Dependency Maven Plugin source code is  Copyright 2005-2006 Brian Fox
 and licensed under the Apache License, Version 2.0).

Regards,
Jimisola

-- 
View this message in context: 
http://www.nabble.com/Passing-plugin-build-configuration-from-pom-to-a-custom-bean-tf1930560.html#a5288122
Sent from the Maven - Users forum at Nabble.com.


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



Re: [continuum] Could not find Maven project descriptor.

2006-07-12 Thread Valerio Schiavoni

On 7/12/06, Kenney Westerhof [EMAIL PROTECTED] wrote:


Do you have svn:externals set up in svn?


what exactly  is svn:externals ?



ok, i documented my self a bit about externals:
http://svnbook.red-bean.com/en/1.0/ch07s03.html

but still haven't solved my problem. In particular, i didn't understand
which properties should I set to make continuum happy...

--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni


Re: [M2] Build complex projects

2006-07-12 Thread Alexandre Touret

Ok thanks
I ll try to implement your first solution. I prefer to generate to let 
maven generate the manifest :-)

[EMAIL PROTECTED] wrote:

Hi I have a similar setup and deploy struts, spring, etc in the ear by
including them as dependencies in the ear

I use manifest classpaths within wars to externalise dependencies there
are a number of ways to do the classpath stuff, I list the ones I know
below.

I also had this problem, and it took a while to sort out. Here are the
ways I found ...

I've managed to get something into the Manifest.mf Class-Path without it
appearing in the WEB-INF/lib in M2 by placing dependencies as follows in
the war packaging pom ...

dependency 
groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId 
artifactIdcim-j2eeclient/artifactId 
version${rkyc-cim-version}/version 
scopecompile/scope 
  exclusions 
exclusion 
  artifactIdcim-j2eeclient/artifactId 
 
groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId 
/exclusion 
  /exclusions 
  optionaltrue/optional 
/dependency 


And then your war plugin configuration should be

plugins
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin

You could also look to use add a classpath and then explicitly exclude
jars with the excludesWEB-INF/lib/*.jar/excludes construct within
the war configuration

The excludes tag will only exclude JARs in your workspace directory.
It does not prevent the JARs specified by dependencies to be added to
the lib directory. To do so add a scope tag with the value provided to
the dependency:

Alternatively, if you know exactly what you want the manifest class path
to look like you could also specify a special manifest.mf in the
manifest tag: 

 
manifestFile${basedir}/WebContent/META-INF/MANIFEST.MF/manifestFile 


Or if you have a manifest file in the standard location
(src/main/webapp/META-INF/) Maven will use that. 
If you want Maven to create the manifest, simply delete the manifest in
the standard location. 



Hope this helps
Andy

-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED] 
Sent: 12 July 2006 12:42

To: Maven Users List
Subject: [M2] Build complex projects

Hi,
I m migrating my projects from M1 to M2. I have a J2EE project (Struts,
spring, hibernate) with the following structure:

daos
? dao
ears
? ear
ejbs
? ejb
guis
? back-gui
? front-gui
services
? back-service
? front-service
site
src
main
resources
There are a pom.xml for each type of artefact (daos,guis,...)

In this project , I have two webapps which use the sames libraries (eg. 
struts) I would like to externalize them to the EAR top level and only

refer by the manifest classpath. I know that if I assign all the
dependencies in the EAR and assign these dependencies with the scope
'provided' in the guis pom.xml but I would like to know what the 'best
practices' for this kind of problem.

Thanks in advance

Regards,
Alexandre Touret
  



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



Exclude subversion files in war

2006-07-12 Thread schumhan

Hi,
I have a multi-module project and use the war-plugin to create finally a war
file. All that works more than fine. Actually my project is version
controlled by subversion and the war-plugin  puts  the files from .svn/*.*
all in the war file. I tried many hints like exludes or filter. Nothing
works !! I am quite sure there must be a easy way to do so because svn or
cvs are really common. Please give me any example or best practice how to do
this.
Thank you !
Juergen
-- 
View this message in context: 
http://www.nabble.com/Exclude-subversion-files-in-war-tf1930919.html#a5288845
Sent from the Maven - Users forum at Nabble.com.


Re: Exclude subversion files in war

2006-07-12 Thread Alexandre Touret

schumhan wrote:

Hi,
I have a multi-module project and use the war-plugin to create finally a war
file. All that works more than fine. Actually my project is version
controlled by subversion and the war-plugin  puts  the files from .svn/*.*
all in the war file. I tried many hints like exludes or filter. Nothing
works !! I am quite sure there must be a easy way to do so because svn or
cvs are really common. Please give me any example or best practice how to do
this.
Thank you !
Juergen
  
Did you put an inclusion of several resource files in your build 
configuration like this ?


   resource
   directorysrc/main/java/directory
   includes
   include**/*/include
   /includes
   /resource

Alexandre

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



[m2] dependency license warning

2006-07-12 Thread DJ Gredler

Hi,

I'm trying to add some code to an Apache project that depends on an
LGPL-licensed jar (the dependency is scoped provided). In order to satisfy
legal, we need to add an alert or warning the first time a user builds the
project, telling the user about the dependency and allowing them to either
continue building or cancel the build. Is there currently a way to do this?
If not, what's the best extension point?

Regards,

Daniel Gredler

PS- The two thoughts that came to mind were to either add a call to a new
plugin somewhere into the build process or to extend the dependency plugin
to allow for this kind of modal confirm/cancel alert...


Re: Exclude subversion files in war

2006-07-12 Thread schumhan

Hi,
No, I dont have any inclusions. Just using the defaults from the war-plugin.

Juergen
-- 
View this message in context: 
http://www.nabble.com/Exclude-subversion-files-in-war-tf1930919.html#a5289146
Sent from the Maven - Users forum at Nabble.com.


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



Using a ressources directory for tests

2006-07-12 Thread Sebastien Pennec

Hello,

I am pretty new to Maven 2. The project I am working on contains a 
ressource directory that we use for unit tests.


It's located where the Maven convention wants it to be: /src/test/ressources

Unfortunately, I can't get Maven to copy its content to the target 
directory. Using the ressources tag in the pom file just copies the 
filesto the target/classes dir, when I'd like them to be in the 
target/test-classes dir.


Am I missing something?

Thanks for your help

Sebastien

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



Re: Using a ressources directory for tests

2006-07-12 Thread Jo Vandermeeren

Maybe that's because maven expects you to talk English? ;)
There is no such thing as ressources.. You might want to try resources..

On 7/12/06, Sebastien Pennec [EMAIL PROTECTED] wrote:


Hello,

I am pretty new to Maven 2. The project I am working on contains a
ressource directory that we use for unit tests.

It's located where the Maven convention wants it to be:
/src/test/ressources

Unfortunately, I can't get Maven to copy its content to the target
directory. Using the ressources tag in the pom file just copies the
filesto the target/classes dir, when I'd like them to be in the
target/test-classes dir.

Am I missing something?

Thanks for your help

Sebastien

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




Re: Using a ressources directory for tests

2006-07-12 Thread Sebastien Pennec

How could I not see that ;)

Thanks!

Jo Vandermeeren a écrit :

Maybe that's because maven expects you to talk English? ;)
There is no such thing as ressources.. You might want to try 
resources..


On 7/12/06, Sebastien Pennec [EMAIL PROTECTED] wrote:


Hello,

I am pretty new to Maven 2. The project I am working on contains a
ressource directory that we use for unit tests.

It's located where the Maven convention wants it to be:
/src/test/ressources

Unfortunately, I can't get Maven to copy its content to the target
directory. Using the ressources tag in the pom file just copies the
filesto the target/classes dir, when I'd like them to be in the
target/test-classes dir.

Am I missing something?

Thanks for your help

Sebastien

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



target in antrun

2006-07-12 Thread rebels_mascot

Hey all,

I'm converting a goal from Maven 1 to Maven 2 using antrun. I've problems
with some it do. With:
target name=media
/target

I get:
Embedded error: Could not create task or type of type: target.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual 
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file: 

Is there a target option I can use in ant as a substitute?

-- 
View this message in context: 
http://www.nabble.com/%3Ctarget%3E-in-antrun-tf1931494.html#a5290712
Sent from the Maven - Users forum at Nabble.com.


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



Re[2]: Problems con maven-plugin-java

2006-07-12 Thread ThE-cLoN NoLc-EhT
Estimado Mike,

i need one example 1 pom.xml, build proyect java
(compiler)

tnk

 'mvn compile' is what you want.  'mvn clean install'
is what I use 90% of the time.

 -Original Message-
 From: ThE-cLoN NoLc-EhT [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 12, 2006 6:24 AM
 To: users@maven.apache.org
 Subject: Problems con maven-plugin-java

 i need help, i newbie in maven

 i am compile java proyect

 mvn java:compile

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix:
 'java'.
 [INFO]


 [ERROR] FATAL ERROR
 [INFO]


 [INFO] null
 [INFO]


 [INFO] Trace
 java.lang.NullPointerException
 at

org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
 at

org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
 at

org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)
 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:324)
 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)
 [INFO]


 [INFO] Total time: 1 second
 [INFO] Finished at: Wed Jul 12 13:21:24 MEST 2006
 [INFO] Final Memory: 1M/6M
 [INFO]




 i haven't idea

 tnk



 
 __ 
 LLama Gratis a cualquier PC del Mundo. 
 Llamadas a fijos y móviles desde 1 céntimo por
minuto. 
 http://es.voice.yahoo.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]




-- 
Saludos,
 the   
mailto:[EMAIL PROTECTED]




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



Re: [continuum] Could not find Maven project descriptor.

2006-07-12 Thread Emmanuel Venisse



Valerio Schiavoni a écrit :

Hello
i'm using continuum 1.0.3 in a linux/ubuntu machine.
i want to use it with a multi-module project; my scm is svn.

The parent pom and the modules poms are loaded correctly, as I can see them
in the 'Show Projects'/Continuum Projects.

If I try to build the parent, it fails, and I can see this message in the
results report:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could
not find Maven project descriptor.

at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) 

at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) 

at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) 

at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) 

at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) 


at java.lang.Thread.run(Thread.java:595)


Do you have a pom.xml in your directory?




If i try to build a module,  I can see this message in the results report:

Provider message: The svn command failed.
Command output:
--- 


svn: request REPORT failed on '/svn/infopipe/!svn/bc/42/infopipe-crawler'
svn: '/svn/infopipe/!svn/bc/42/infopipe-crawler' path not found
--- 



(i translated it from english..).

not sure if this is the intended behaviour, but if when i try to see the
working copy of one of the module, the source tree is empty; instead, if i
try to explore the working copy from the the parent project, i can see the
whole source tree (trunk, branches, tags)


if you see trunk, branches, tags for parent project, your scm url is wrong. you need to provide the 
scm url of your project (to the directory that contains your pom) and not a parent directory of trunk


The mailing list for continuum is continuum-users@maven.apache.org ;-)

Emmanuel


I have no idea of what's going on. can you give me some help?

thanks,
valerio



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



Problem with changes plugin

2006-07-12 Thread Arnaud Bailly
Hi,
I have problems using changes plugin:
 - it is referenced in the maven.apache.org/plugins list 
 - there is no plugin org.apache.maven.plugins/maven-changes-plugin
 - there is a plugin org.codehaus.mojo/changes-maven-plugin

When I try to invoke the plugin from the CLI using
changes:announcement-generate 
maven complains that it can't find
org.apache.maven.plugins/maven-changes-plugin which implies that
prefix changes is resolved to the apache version.

Could someone point me in the righht direction ?

thx,
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



RE: Problem with changes plugin

2006-07-12 Thread Manfred Moser
Hi,
I have problems using changes plugin:
 - it is referenced in the maven.apache.org/plugins list 
 - there is no plugin org.apache.maven.plugins/maven-changes-plugin
 - there is a plugin org.codehaus.mojo/changes-maven-plugin

 When I try to invoke the plugin from the CLI using
changes:announcement-generate 
 maven complains that it can't find
org.apache.maven.plugins/maven-changes-plugin which implies that prefix 
 changes is resolved to the apache version.

 Could someone point me in the righht direction ?

This works for me with Maven 2.0.4:

Use this in the reports section in your pom.

!--  Changelog  --
plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdchangelog-maven-plugin/artifactId
  configuration
typerange/type
range30/range
basedir${basedir}/basedir 
  /configuration
/plugin  

It has the advantage that you get changes for the whole project tree and
not just the src folder. 

manfred

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



Re: Developer name and CVS log information does not appear in changes section

2006-07-12 Thread Emmanuel Venisse
ok, I think it's the pb. In the update process, we call the changelog command and we don't throw an 
exception when it fail.


We need to remove extra quotes on cvs command line. We'll fix it in maven-scm.

Thanks for your tests, I know the pb now and what to fix.

Emmanuel

Carlo Bonamico a écrit :

Emmanuel Venisse wrote:
Can you test with bothe quote/double quotes like the command executed 
by continuum.




If I run:
D:\build\continuum-1.0.3\apps\continuum\working-directory\2cvs -z3 -f 
-d :ext:c

[EMAIL PROTECTED]:/home/cvs -q log -d '2006-07-06T16:00:08+0200'

I get the following error:
cvs [log aborted]: Can't parse date/time: 2006-07-06T16:00:08+0200'

notice the single quote at the end...

My machine runs on Windows XP Professional.

Thank you for you help!
Carlo








[m2] is there a way to utilize an 'unless' clause in an ant-run?

2006-07-12 Thread Heck, Joe
I'm converting a few builds from Ant into Maven2, and the ant targets
are using an unless clause to do a little conditional work. Is there a
mechanism by which we can specify an unless class in an ant-run task?

 

-joe



Re: Passing plugin build configuration from pom to a custom bean

2006-07-12 Thread Jimisola Laursen

These is some documentation on this:
http://maven.apache.org/guides/mini/guide-configuring-plugins.html

However, I find that some of this documentation is non-user documentation
(Java implementation details on e.g. mapping of complex objects and
getters/setters) and would have been better of in Guide to Developing Java
Plugins.

Regards,
Jimisola
-- 
View this message in context: 
http://www.nabble.com/Passing-plugin-build-configuration-from-pom-to-a-custom-bean-tf1930560.html#a5292442
Sent from the Maven - Users forum at Nabble.com.


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



Re: Problem with changes plugin

2006-07-12 Thread Arnaud Bailly
I think we are not talking about teh same plugin. Changelog plugin
uses scm log information to otuput an activity report. Changes plugin
uses a changes.xml file to generate announcements, release notes and
the like.

regards,
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



Continuum with Apache/SSL

2006-07-12 Thread Alex Lam

Hi,

It seems like its possible to have Continuum run on Apache with SSL, but I
can't seem to figure it out and was wondering if anyone knew how to set it
up. I have Apache compiled with mod_ssl. In httpd.conf, I thought about
setting up a VirtualHost directive with port 444 (and with Continuum running
on port 444), but didn't know what to set for the DocumentRoot.

Thanks for any help you can give me.


Re: [continuum] Could not find Maven project descriptor.

2006-07-12 Thread Valerio Schiavoni

hello Emmanuel,

On 7/12/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:


Do you have a pom.xml in your directory?



i do

if you see trunk, branches, tags for parent project, your scm url is wrong.

you need to provide the
scm url of your project (to the directory that contains your pom) and not
a parent directory of trunk



thanks for this suggestion, i correct it and i got 1 step further..

The mailing list for continuum is continuum-users@maven.apache.org ;-)


that i'll ask there :)


--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni


Re: Build time classpath using my java plugin

2006-07-12 Thread TimHedger

OK, so now I'm using the exec-plugin instead of my own code - great.
But I've lost the control I had over when the exec step happened.

I am using the plugin to generate SOAP wrappers for some Java code using
glue (themindelectric).  This step involves running a Java class with
certain parameters and it creates various xml files and a directory
structure, ready for packing into a war for distribution.

My problem is this is happening every time I compile using maven.  I've lost
any control over checking whether source is stale and thus the soap/exec
step if nothing's changed since my last build.

How can I get this control with the exec plugin?
-- 
View this message in context: 
http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5292877
Sent from the Maven - Users forum at Nabble.com.


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



Web site generation for multiple projects

2006-07-12 Thread HUGOT Franck
Hello,



Is there a way to generate only one web site for multiple projects?
I can't find a way to do this, except generate a web site for each
project and develop a specific home page that refer to each project home
page.



Thanks in advance.


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



Re: Web site generation for multiple projects

2006-07-12 Thread Arnaud HERITIER

m1 or m2 ?

m1 - you have to use the multiproject plugin
m2 - you use directly the modules

Arnaud

On 7/12/06, HUGOT Franck [EMAIL PROTECTED] wrote:


Hello,



Is there a way to generate only one web site for multiple projects?
I can't find a way to do this, except generate a web site for each
project and develop a specific home page that refer to each project home
page.



Thanks in advance.


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




RE: Web site generation for multiple projects

2006-07-12 Thread HUGOT Franck
Sorry, this is for m2.

What do you mean by using directly the modules?

I known how to generate a web site for one module but for multiple in only one 
web site?

Thanks.


-Message d'origine-
De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 19:06
À : Maven Users List
Objet : Re: Web site generation for multiple projects

m1 or m2 ?

m1 - you have to use the multiproject plugin
m2 - you use directly the modules

Arnaud

On 7/12/06, HUGOT Franck [EMAIL PROTECTED] wrote:

 Hello,



 Is there a way to generate only one web site for multiple projects?
 I can't find a way to do this, except generate a web site for each
 project and develop a specific home page that refer to each project home
 page.



 Thanks in advance.


 -
 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 : Web site generation for multiple projects

2006-07-12 Thread Olivier Lamy
Try from the top : mvn site.
I mean by top
Top (root directory)
Pom.xml (root pom)
  module1 pom.xml
  module2 pom.xml
 
Add in rootdirectory/src/site/site.xml
Something like :
menu ref=parent / (module will have link to the parent one)
menu ref=reports /
menu ref=modules / (top will have link to modules)


--
Olivier

-Message d'origine-
De : HUGOT Franck [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 19:09
À : Maven Users List
Objet : RE: Web site generation for multiple projects


Sorry, this is for m2.

What do you mean by using directly the modules?

I known how to generate a web site for one module but for multiple in
only one web site?

Thanks.


-Message d'origine-
De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 19:06
À : Maven Users List
Objet : Re: Web site generation for multiple projects

m1 or m2 ?

m1 - you have to use the multiproject plugin
m2 - you use directly the modules

Arnaud

On 7/12/06, HUGOT Franck [EMAIL PROTECTED] wrote:

 Hello,



 Is there a way to generate only one web site for multiple projects?
 I can't find a way to do this, except generate a web site for each
 project and develop a specific home page that refer to each project
home
 page.



 Thanks in advance.


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



i need help by change variable compileSourceRoots in mojo

2006-07-12 Thread ThE-cLoN NoLc-EhT
Hi, i need change this variable

compileSourceRoots
outputDirectory
buildDirectory

where selection properties mojo and
what is the file properties?
where go?

thk






__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



RE: Continuum with Apache/SSL

2006-07-12 Thread Bravo, Kris
Continuum runs in a servlet container (Jetty). The scenario you are
looking for is proxying calls to apache over to the Jetty server:

http://mortbay.org/jetty/faq?s=200-Generalt=apache


kris bravo * Clarify Development * office: 678.893.1288 * mobile:
678.296.8723 


-Original Message-
From: Alex Lam [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 12:47 PM
To: continuum-users@maven.apache.org
Subject: Continuum with Apache/SSL

Hi,

It seems like its possible to have Continuum run on Apache with SSL, but
I can't seem to figure it out and was wondering if anyone knew how to
set it up. I have Apache compiled with mod_ssl. In httpd.conf, I thought
about setting up a VirtualHost directive with port 444 (and with
Continuum running on port 444), but didn't know what to set for the
DocumentRoot.

Thanks for any help you can give me.


Re: Chicken and egg problem (disabling inheritance)

2006-07-12 Thread javaguy1974

Actually, the only solution that I found is to merge top-level POM
(excluding the plugin) to the child POM and not inherit from the top-level
POM.
-- 
View this message in context: 
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%29-tf1932757.html#a5295095
Sent from the Maven - Users forum at Nabble.com.


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



Chicken and egg problem (disabling inheritance)

2006-07-12 Thread javaguy1974

Hello,

I encountered the following problem (Maven 2.0.4):

There is a top-level (organizational) POM which is inherited by all other
projects' POMs. Particularly, a custom Maven plugin inherits from the
top-level POM. The problem is that the top-level POM uses the custom plugin
(the plugin is bound to the package phase to log deployment info to the
database, thus it is declared in the top-level POM). Obviously, there is a
circular dependency which prevents me from installing/deploying the custom
plugin (mvn install; mvn deploy). I'm wondering if there is a way to somehow
disable plugin inheritance in the child POM (custom plugin POM). (Custom
plugin deployments don't need to be logged to the database). The only thing
I found that the parent POM can specify that a plugin won't be inherited by
a child POM but I'm looking for the opposite. I also tried to use empty
plugins/plugins tag in the child POM but it didn't help.

Thanks!
Lukasz

-- 
View this message in context: 
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%29-tf1932757.html#a5294856
Sent from the Maven - Users forum at Nabble.com.


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



RE: Chicken and egg problem (disabling inheritance)

2006-07-12 Thread javaguy1974

Well, this is still not what I'm looking for. This would require to redeclare
the plugin in many child POMs which inherit from the top-level one (30+).

-- 
View this message in context: 
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%29-tf1932757.html#a5295755
Sent from the Maven - Users forum at Nabble.com.


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



RE: Chicken and egg problem (disabling inheritance)

2006-07-12 Thread Mike Perham
Change the plugin so that it does nothing when the current project uses
pom and/or maven-plugin packaging?  You have a circular dependency here
- there's no solution other than breaking the cycle.  You need to have a
master POM which is not tracked via this plugin.

-Original Message-
From: javaguy1974 [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 1:38 PM
To: users@maven.apache.org
Subject: Chicken and egg problem (disabling inheritance)


Hello,

I encountered the following problem (Maven 2.0.4):

There is a top-level (organizational) POM which is inherited by all
other
projects' POMs. Particularly, a custom Maven plugin inherits from the
top-level POM. The problem is that the top-level POM uses the custom
plugin
(the plugin is bound to the package phase to log deployment info to the
database, thus it is declared in the top-level POM). Obviously, there is
a
circular dependency which prevents me from installing/deploying the
custom
plugin (mvn install; mvn deploy). I'm wondering if there is a way to
somehow
disable plugin inheritance in the child POM (custom plugin POM). (Custom
plugin deployments don't need to be logged to the database). The only
thing
I found that the parent POM can specify that a plugin won't be inherited
by
a child POM but I'm looking for the opposite. I also tried to use empty
plugins/plugins tag in the child POM but it didn't help.

Thanks!
Lukasz

-- 
View this message in context:
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%2
9-tf1932757.html#a5294856
Sent from the Maven - Users forum at Nabble.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]



How to prevent lifecycle forking

2006-07-12 Thread Mark Koops
Hi,
 
Some assistence with following usecase would be much appreciated:
 
During the automated build executions in our project I like to perform
the following steps:
1. compile sources
2. instrument class files, using Cobertura
3. compile test sources and execute tests
4. (optionally perform integration tests with the instrumented classes)
5. create surefire test report
6. create Cobertura coverage report
 
My experience till now is that both the surefire-report plugin and the
cobertura-plugin will fork a new lifecycle including the test phase.
and if I also want to perform the integration tests in the same run, I
end-up with the test phase being executed 3 times!
And in addtion to that, there seems no way to include the integration
tests in the coverage reporting.
 
Is there a way to merge the Cobertura instrumentation step into the main
life cycle just before the test execution and produce the reports
without introducing additonal life cycles. Or is there another way to
prevent build steps to be executed double or triple.
 
Thanks in advance,
 
Mark Koops
GE Healthcare Information Technology
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/385 - Release Date:
11-7-2006
 


Re: Problem with changes plugin

2006-07-12 Thread Dennis Lundberg

Arnaud Bailly wrote:

Hi,
I have problems using changes plugin:
 - it is referenced in the maven.apache.org/plugins list 
 - there is no plugin org.apache.maven.plugins/maven-changes-plugin

 - there is a plugin org.codehaus.mojo/changes-maven-plugin

When I try to invoke the plugin from the CLI using
changes:announcement-generate 
maven complains that it can't find

org.apache.maven.plugins/maven-changes-plugin which implies that
prefix changes is resolved to the apache version.

Could someone point me in the righht direction ?


This plugin was first developed at mojo.codehaus.org. Recently it moved 
to the Apache Maven sandbox. From what I can see, no SNAPSHOT has been 
made after the plugin moved to Apache. I will ping the dev-list to see 
if we can't get a SNAPSHOT out.


In the meantime you can use the mojo version:
  org.codehaus.mojo:changes-maven-plugin:2.0-beta-1

--
Dennis Lundberg

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



Re: maven2 TestCase with System.getProperty(java.class.path);

2006-07-12 Thread Patrick GIRY

How can I get the current MavenProject into my TestCase setUp() method?



2006/7/12, leahpar [EMAIL PROTECTED]:



hello,
in fact the classpath you get is not the right one due to classloader
inheritance
http://maven.apache.org/guides/mini/guide-maven-classloading.html
It seems that java.class.path is set at the jvm launch so it cannot hold
dynamic modification from classloader...

To get the classpath of your project you should use the API of
MavenProject
there's method like
.getTestClasspathElements()
.getTestCompileSourceRoots()

cordialement.




--
View this message in context:
http://www.nabble.com/maven2-TestCase-with-System.getProperty%28%22java.class.path%22%29--tf1927109.html#a5283616
Sent from the Maven - Users forum at Nabble.com.


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




Is there a way to install pom locally

2006-07-12 Thread Alex Shneyderman

when I execute mvn install:install-file?

I install outside jars in my local repo but pom is not automatically
generated resulting in a round trip to the central repo.


--
Thanks,
Alex.

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



RE: Chicken and egg problem (disabling inheritance)

2006-07-12 Thread javaguy1974

It would be nice if Maven provided a capability for a child POM to ignore
some inherited stuff like plugins. Otherwise, it is very difficult to design
a truly top-level organizational POM that is shared by all projects. I'm not
sure what you actually mean by suggesting changing the plugin? Do you mean
change the plugin POM so it no longer depends on the parent? This is exactly
what I did by copying and pasting some settings from the parent but again
that is not a desired solution.
-- 
View this message in context: 
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%29-tf1932757.html#a5297319
Sent from the Maven - Users forum at Nabble.com.


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



Re: Problem with changes plugin

2006-07-12 Thread Arnaud Bailly
Dennis Lundberg [EMAIL PROTECTED] writes:


 This plugin was first developed at mojo.codehaus.org. Recently it
 moved to the Apache Maven sandbox. From what I can see, no SNAPSHOT
 has been made after the plugin moved to Apache. I will ping the
 dev-list to see if we can't get a SNAPSHOT out.

 In the meantime you can use the mojo version:
   org.codehaus.mojo:changes-maven-plugin:2.0-beta-1

Thx for the answer,

Actually, Iam using the mojo plugin in my pom but the prefix gen
resolved to the apache plugin.

-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



RE : Web site generation for multiple projects

2006-07-12 Thread Thomas Van Buskirk
I tried this and the modules didn't display.  All I saw was the
Modules menu with no modules displayed below them.

I looked on JIRA and it seems there is a bug for it:

http://jira.codehaus.org/browse/MSITE-86

It says that it's fixed in 2.0-beta-5 (i'm assuming that means 2.0.5)

Does anyone have a workaround for version 2.0.4?

Thanks!

Tom

 [EMAIL PROTECTED] 07/12/06 10:16 AM 
Try from the top : mvn site.
I mean by top
Top (root directory)
Pom.xml (root pom)
  module1 pom.xml
  module2 pom.xml
 
Add in rootdirectory/src/site/site.xml
Something like :
menu ref=parent / (module will have link to the parent one)
menu ref=reports /
menu ref=modules / (top will have link to modules)


--
Olivier

-Message d'origine-
De : HUGOT Franck [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 19:09
À : Maven Users List
Objet : RE: Web site generation for multiple projects


Sorry, this is for m2.

What do you mean by using directly the modules?

I known how to generate a web site for one module but for multiple in
only one web site?

Thanks.


-Message d'origine-
De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 19:06
À : Maven Users List
Objet : Re: Web site generation for multiple projects

m1 or m2 ?

m1 - you have to use the multiproject plugin
m2 - you use directly the modules

Arnaud

On 7/12/06, HUGOT Franck [EMAIL PROTECTED] wrote:

 Hello,



 Is there a way to generate only one web site for multiple projects?
 I can't find a way to do this, except generate a web site for each
 project and develop a specific home page that refer to each project
home
 page.



 Thanks in advance.


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



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



Re: Is there a way to install pom locally

2006-07-12 Thread Wayne Fay

Add -generatePom=true to the install:install-file command... it will
generate an empty pom for the project using very basic data about
the artifact and install it alongside the artifact in your local repo.

Wayne

On 7/12/06, Alex Shneyderman [EMAIL PROTECTED] wrote:

when I execute mvn install:install-file?

I install outside jars in my local repo but pom is not automatically
generated resulting in a round trip to the central repo.


--
Thanks,
Alex.

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



Using reporting in profiles.xml ?

2006-07-12 Thread Michael Waluk

Hi,

I am not able to use the reporting tag within my profiles.xml for some
reason.  I am using the

maven-v4_0_0.xsd as a guide, as well as advice from the Mergere book.  But I
get this error:
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'reporting' (position: START_TAG seen ...i
ddevsite/id\r\n\t\t\treporting... @34:15)
   at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile
(ProfilesXpp3Reader.java:620)

I'm just trying to create some profiles that have different report plugins
in them (our nightly build gets the full set).

Here is the offending section from my profiles.xml...


profiles

!-- Profile which creates a minimal Maven site for auto-builds. --

profile

   iddevsite/id

   reporting

   plugins

   plugin

   groupIdorg.apache.maven.plugins/groupId

   artifactIdmaven-project-info-reports-plugin/artifactId

   reportSets

   reportSet

   reports

   reportdependencies/report

   reportdependency-convergence/report
Any ideas?

Thanks,
Michael


Re: Is there a way to install pom locally

2006-07-12 Thread Alex Shneyderman

that is great.
thanks

On 7/12/06, Wayne Fay [EMAIL PROTECTED] wrote:

Add -generatePom=true to the install:install-file command... it will
generate an empty pom for the project using very basic data about
the artifact and install it alongside the artifact in your local repo.

Wayne


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



Re: Using reporting in profiles.xml ?

2006-07-12 Thread Michael Waluk

Sorry, found the answer at
http://maven.apache.org/guides/introduction/introduction-to-profiles.html

Profiles in external files are restricted as follows:

[specified in external files (i.e in settings.xml or profiles.xml) are not
portable in the strictest sense that anything that seems to stand a high
chance of changing the result of the build is restricted to the inline
profiles in the POM. Things like repository lists could simply be a
proprietary repository of approved artifacts, and won't change the outcome
of the build. Therefore, you will only be able to modify the *repositories*and
*pluginRepositories* sections of the POM, plus an extra *properties*section. ]

Thanks,
- Michael

On 7/12/06, Michael Waluk [EMAIL PROTECTED] wrote:


 Hi,

I am not able to use the reporting tag within my profiles.xml for some
reason.  I am using the

maven-v4_0_0.xsd as a guide, as well as advice from the Mergere book.  But
I get this error:
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'reporting' (position: START_TAG seen ...i
ddevsite/id\r\n\t\t\treporting... @34:15)
at
org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile(
ProfilesXpp3Reader.java:620)

I'm just trying to create some profiles that have different report plugins
in them (our nightly build gets the full set).

Here is the offending section from my profiles.xml...



profiles

!-- Profile which creates a minimal Maven site for auto-builds. --

profile

iddevsite/id

reporting

plugins

plugin

groupIdorg.apache.maven.plugins/ groupId

artifactIdmaven-project-info-reports-plugin /artifactId

reportSets

reportSet 

 reports

reportdependencies/report

reportdependency-convergence/report 
Any ideas?

Thanks,
Michael



Re: Chicken and egg problem (disabling inheritance)

2006-07-12 Thread Barrie Treloar

On 7/13/06, javaguy1974 [EMAIL PROTECTED] wrote:


It would be nice if Maven provided a capability for a child POM to ignore
some inherited stuff like plugins. Otherwise, it is very difficult to design
a truly top-level organizational POM that is shared by all projects. I'm not
sure what you actually mean by suggesting changing the plugin? Do you mean
change the plugin POM so it no longer depends on the parent? This is exactly
what I did by copying and pasting some settings from the parent but again
that is not a desired solution.


I believe what Mike is suggesting is that your top level pom does not
need to depend upon your tracking pom, or your custom pom should not
depend upon your top level pom.  You need to break that dependency.

You top level master pom should be providing default values for
inheritance and not much else. For this I have an organisational wide
bootstrap pom which does nothing more than define the internal
repositories.

Then each project inherits the bootstrap pom.  In the project pom
there is dependencyManagement, reporting, build, and pluginManagement
which get inherited by the modules. I don't see it being such an issue
that each project needs to define that it uses the custom plugin.

You may be able to use the inherited tag in plugins/pluginManagement
to do what you are wanting.

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



Additional build definitions are not being run (e.g. nightly build schedule)

2006-07-12 Thread Barrie Treloar

I have defined for my top level projects a second build definition

Goals = site site:deploy
Arguments = --batch-mode
POM File =pom.xml   
Profile = DEFAULT   
Schedule = NIGHTLY_SITE_BUILD   

From = Project


Where NIGHTLY_SITE_BUILD is (runs at 7:15 pm mon-fri)
Name = NIGHTLY_SITE_BUILD
Description = Build and deploy the site nightly
Cron = 0 15 19 ? * MON-FRI
Quiet Period (seconds) = 0

I'm finding that my site documentation is saying Last Published:
06/28/2006 indicating it is not running as expected.

If I look at the Builds section of the project under Continuum, then
there isn't any way to tell which schedule caused the build to occur,
but none of them appear to be starting at 7:15pm.

I'm assuming that this is failing because there have been no changes
to the repository and hence the default build has already successully
built the project and the secondary build definition will not fire.

So I have added the parent project again to Continuum, and deleted the
module definitions that automatically get added.  So now I have two
projects with the same name in Continuum but I can have different
build definitions for these two projects.

Is this the way people are expecting things to work?


Announcement: IDLJ Maven Plugin 1.0 Release

2006-07-12 Thread Kris Bravo
I'd like to announce the release of version 1.0 of the idlj maven
plugin. This plugin can be used to create Java stubs for CORBA idl
interface files using either idlj or jacorb.

For more information, please refer to the documentation at the Mojo
website:

http://mojo.codehaus.org/idlj-maven-plugin/

Issues associated with the plugin may be created under the Mojo project,

http://jira.codehaus.org/browse/MOJO

until we get a separate project created for the plugin.

-- 
Kris Bravo
Corridor Software, Inc.


signature.asc
Description: This is a digitally signed message part