RE: how maven run its plugin goals through java API????

2008-07-22 Thread Renu Gupta
Hi, I m exploring maven core apis for the same and trying on it if something can work out from it. Maven Artifact API http://maven.apache.org/ref/current/maven-artifact/apidocs/ Maven Reporting API (this link is currently broken) http://maven.apache.org/ref/current/maven-reporting/apidocs/

Re: release multi module project

2008-07-22 Thread Martin Höller
Hi! On 21 Jul 2008, Taras Lipatov wrote: Does any one know, when releasing a multi-module project from the project parent.. I have two modules: core and webapp core module is version 1.0.0-SNAPSHOT webapp has a dependency on core:1.0.0-SNAPSHOT When running release:prepare...

Re: Mojo for validating PGP signature

2008-07-22 Thread Chad La Joie
Thanks Brett, this was the info I was looking for. The repo security work looks like it's a ways out. Would you be amenable to a patch to the DefaultWagonManager that did PGP signature validation? My current thinking would be to base the code on the bouncycastle PGP support (so that PGP

Re: Mojo for validating PGP signature

2008-07-22 Thread Brett Porter
Hi Chad, 2008/7/22 Chad La Joie [EMAIL PROTECTED]: Thanks Brett, this was the info I was looking for. The repo security work looks like it's a ways out. Would you be amenable to a patch to the DefaultWagonManager that did PGP signature validation? My current thinking would be to base the

Re: Mojo for validating PGP signature

2008-07-22 Thread Chad La Joie
At this point the dev list seems most appropriate. Let me review what you have, and I'll follow up with you on the dev list once I get subscribed. Thanks for the help. Brett Porter wrote: Hi Chad, 2008/7/22 Chad La Joie [EMAIL PROTECTED]: Thanks Brett, this was the info I was looking for.

name of an assembly

2008-07-22 Thread Haug Bürger
---BeginMessage--- I can't find how to name an assembly. It should contain a free name and the version number.---End Message--- Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie

Re: Multi Inheritance

2008-07-22 Thread Michael McCallum
You can easily solve that with composition rather than inheritance. e.g. domain.db.composite - db.driver domain.axis.composite - axis - spring ws and now... domain.web.project - domain.db.composite - domain.axis.composite each of the above can have a common parent that defines the

Re: Maven cobetura plugin 2.2 not working [C1]

2008-07-22 Thread Ramaraju EDAGUTTI
Can some body help please.. I read some where that these is bug in cobertura tool, I really dont know ? Ramaraju EDAGUTTI/ia/socgen 07/21/2008 04:00 PM To users@maven.apache.org cc Subject Maven cobetura plugin 2.2 not working [C1] Hi, I am trying to generate code coverage reports

Re: name of an assembly

2008-07-22 Thread Dirk Olmes
I can't find how to name an assembly. It should contain a free name and the version number. Configure the maven-assembly-plugin in your pom like this: plugin artifactIdmaven-assembly-plugin/artifactId configuration finalNameyourfreename-${version}/finalName ...

Does Maven store information about snapshotes`s download

2008-07-22 Thread tomascejka
We use these tools for development: Maven 2.0.9, Artifactory 1.2.5 and Hudson 1.236. When Maven tried to download snapshot plugin from Artifactory it generated error: The plugin 'name.of.plugin' does not exist or no valid version could be found First, I found out, that Tomcat with Artifactory

Re: Multi Inheritance

2008-07-22 Thread Stefan Seidel
It is not needed to have a parent pom just for dependencies. You just need an artifact of packaging pom where you declare your dependencies, and then add a dependency to this artifact. As normal dependencies are transitive, this lets you combine several dependency sets. If there are special

Re: Maven cobetura plugin 2.2 not working [C1]

2008-07-22 Thread Stefan Seidel
Try to start here: http://mojo.codehaus.org/cobertura-maven-plugin/mail-lists.html and look here: http://jira.codehaus.org/browse/MCOBERTURA In general, reducing your projects complexity in order to find the error usually helps a) to find the mistake (if it is yours) b) to report a bug (if

Re: how maven run its plugin goals through java API????

2008-07-22 Thread Stefan Seidel
Firstly, please do use normal English sentences, it helps you to be understood and increases your chances to get a reply. You will need the Maven Embedder[0] if your really want to run Maven goals. If you just want to execute the _logic_ of Maven goals, have a look if there is a normal way of

RE: Does Maven store information about snapshotes`s download

2008-07-22 Thread Brian E. Fox
The information is stored in the local repository. Using -U should have fixed it. -Original Message- From: tomascejka [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 8:29 AM To: users@maven.apache.org Subject: Does Maven store information about snapshotes`s download We use these

Re: How to use ear plugin? Am I stupid??

2008-07-22 Thread Stefan Seidel
It is really very easy, you add the artifacts you want to include in the EAR as dependencies to the pom.xml. Modules refers not to Maven modules, but to the WARs and EJB-JARs that are included in the EAR. If dependencies and packaging are relatively new for you, I recommend reading one of

Continuum and Archiva mail address.

2008-07-22 Thread Magne Nordtveit
Hi! I have just set up Archiva and Continuum on the same Tomcat server, and its working beautifully (After setting the users-db to different directories... Doh!). Only one thing remaining now, to make Archiva's mailing address be [EMAIL PROTECTED] and give it a name i.e Archiva Repository

Re: Continuum and Archiva mail address.

2008-07-22 Thread Stefan Seidel
I know for continuum it is the VERY unintuitive file continuum/apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml where there is a from-mailbox and from-name tag. Stefan Magne Nordtveit wrote: Hi! I have just set up Archiva and Continuum on the same Tomcat server, and its

scm:bootstrap plugin

2008-07-22 Thread Jeudy, Guillaume
Hi, I'm trying to use mvn scm:bootstrap plugin with the below command-line: mvn scm:bootstrap -DconnectionUrl=scm:cvs:ext:[EMAIL PROTECTED]:/data/vol01/cvs/ARCH:dataplace/backoffice/rdm -DscmVersion=rdm_1_0_0_branch -DscmVersionType=branch -Dgoals=install -Prdm,int

Re: release multi module project

2008-07-22 Thread Taras Lipatov
Thanks for the info!! So I guess I have an odd-ball case with my artifacts.. Here is the full scenario. I have a project with 2 modules: `-- project-parent |-- pom.xml |-- core | `-- pom.xml `-- webapp `-- pom.xml project-parent: - packaging pom core: - artifact:

Filtering when using war overlays

2008-07-22 Thread Taras Lipatov
Hi, I have a project that extends a 3rd party webapp. All that is provided by the 3rd party is a war file. So I used a war dependency and war overlays. How ever, I need to filter tokens within certain files during war:war. Can this be done for files that come from the war dependency? Or do I

Re: release multi module project

2008-07-22 Thread Jeff MAURY
You should use the maven build-helper plugin ( http://mojo.codehaus.org/build-helper-maven-plugin) in order to attach the zip artifact to your JAR pom so that Maven is aware of it and can build pacefully. Jeff MAURY On 7/22/08, Taras Lipatov [EMAIL PROTECTED] wrote: Thanks for the info!! So

RE: Does Maven store information about snapshotes`s download

2008-07-22 Thread tomascejka
Thanks, I have found in xml tags of each plugin/module called lastUpdated. Do I suppose right the date is used by Maven for check if plugin has been searched or downloaded? If it does, there is question: what for is this behavour/feature good? Tomas Cejka Brian E Fox wrote: The

Java 1.4 Facet additionally from nowhere ?

2008-07-22 Thread public
Hello Everyone, I am currently having a quiet tedious problem with creating eclipse settings. I simply need a utility project 1.0 with the Java Facet 5.0. Simply a Java 5 Projects that can be added to a WebApplication via J2EE Dependencies. But when I set the eclipse plugin to the

Ear Plugin exclude parent pom dependencies

2008-07-22 Thread Paul G
I have a ear project that extends from a parent project this parent project has some dependencies defined in it when I build the ear file I get my war file include as configured but it puts the dependencies from the parent pom in the app-inf/lib directory. How do I stop the jar files being

Continuum + Tomcat: Not using settings.xml?

2008-07-22 Thread Magne Nordtveit
I have set up continuum in tomcat. It seems to be working good, but when i add a project with dependencies to internal jar files, continuum doesn't resolve the repositories specified in the maven/conf/settings.xml file... I get a Missing artifact trying to build the POM. Check that its parent

Fw: Maven scm:checkout using revision

2008-07-22 Thread logachandru . x . rajamanickam
Can someone please throw light on this. Thanks Regards, Logu Rajamanickam - Forwarded by Logachandru X Rajamanickam/JPMCHASE on 07/22/2008 11:13 AM - [EMAIL PROTECTED] 07/21/2008 05:50 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List

Re: release multi module project

2008-07-22 Thread Taras Lipatov
Thanks for the suggestion, How ever, the module only seems to attach the .zip to the life-cycle for install/deploy and it is still not resolving in the module.. so my layout is: project-parent - core -webapp module core generates: org.my.group:core-1.0.0-SNAPSHOT.zip using the assembly

Re: Continuum + Tomcat: Not using settings.xml?

2008-07-22 Thread Wendy Smoak
On Tue, Jul 22, 2008 at 9:23 AM, Magne Nordtveit [EMAIL PROTECTED] wrote: I get a Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. error message, and no usefull output from the logs either... Please ask on the Continuum mailing

Example for using plexus-utils

2008-07-22 Thread Andreas Gies
Hello, does someone have an example for using the plexus-utils in a mojo. I think I am missing proper configuration in my mojo. Thanks in advance Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: release multi module project

2008-07-22 Thread Martin Höller
On 22 Jul 2008, Taras Lipatov wrote: Thanks for the info!! So I guess I have an odd-ball case with my artifacts.. Here is the full scenario. I have a project with 2 modules: `-- project-parent |-- pom.xml |-- core | `-- pom.xml `-- webapp `-- pom.xml

Issues with Maven scm:checkout using Subversion revision

2008-07-22 Thread logachandru . x . rajamanickam
All, May be I'm not putting it a right way. Rather wanted to put it precisely as follows. On a command prompt using maven scm:checkout, how do we checkout the source code from a specific revison on the branch of a Subversion repository? I tried the below mentioned command and got the

Regarding distributionManagement element

2008-07-22 Thread Sesha Nandyal
Hello All, I am running mvn site-deploy, I get the following error: INFO] [ERROR] BUILD ERROR [INFO] [INFO] Missing site information in the

Maven definitive guide parent POM child POM example: creates modules jar and war but not jar in war?

2008-07-22 Thread David Brown
Hello maven gurus, users and mere mortals. I have a parent POM similar to the maven definitive guide multi-module example. The parent POM locates the the child POMs as expected. Both modules are built correctly: 1 (dot).war file and 1 (dot).jar file but the (dot).jar is not included in the

Re: Maven definitive guide parent POM child POM example: creates modules jar and war but not jar in war?

2008-07-22 Thread Arnaud HERITIER
you have to had in the war project a dependency to the jar project. Arnaud On Tue, Jul 22, 2008 at 10:33 PM, David Brown [EMAIL PROTECTED] wrote: Hello maven gurus, users and mere mortals. I have a parent POM similar to the maven definitive guide multi-module example. The parent POM locates

Re: Regarding distributionManagement element

2008-07-22 Thread Geoffrey Wiseman
On Tue, Jul 22, 2008 at 4:25 PM, Sesha Nandyal [EMAIL PROTECTED] wrote: Hello All, I am running mvn site-deploy, I get the following error: INFO] [ERROR] BUILD ERROR [INFO]

Re: How to use ear plugin? Am I stupid??

2008-07-22 Thread Kent Närling
I do understand the dependency and packaging concepts, but I failed to get it working by refering to another artifact even though i ran mvn install on the dependent artifact. (ok, it only installed it in my local repository, but that shouldn't matter?) But this is the way it is supposed to work

Re: Regarding distributionManagement element

2008-07-22 Thread Sesha Nandyal
Thank you, Geoff. I had to replace repository element with site element and drop the layout element . By making this change and also adding entries in the setting.xml, I was able to get it to work. Sesha Geoffrey Wiseman wrote: On Tue, Jul 22, 2008 at 4:25 PM, Sesha Nandyal [EMAIL PROTECTED]

Re: Maven definitive guide parent POM child POM example: creates modules jar and war but not jar in war?

2008-07-22 Thread David Brown
Hello Arnaud, thanks for the reply. I did have the dependency included as you suggested. For the sake of posterity I will have to say that the mistake I made was the so-called Maven coordinate element: scopeprovided/scope instead of: scopecompile/scope. ;-) David. Arnaud HERITIER wrote .. you

Setting output folders in Eclipse

2008-07-22 Thread Pierre Thibault
Hello, Is it possible to set the output folders for different source folders when creating the Eclipse project with 'mvn eclipse:eclipse'? Pierre __ Get the name you've always wanted

Seeking opinion about deploying artifact into repository for different environment

2008-07-22 Thread Deep Blue Li
Hi all, I have searched and read about how to make maven articles able to deploy to different environment. Most of the suggestions are recommending using maven profiles to do filtering on the configuration files. However, how can we solve the problem if we need to deploy the artifact to internal

Add class folders to weaveDependencies

2008-07-22 Thread Pierre Thibault
Hello, I would like to apply my aspects to the Groovy files in my Eclipse project. Since AspectJ does not understand Groovy, I want to weave these aspects to the class files generated by the Groovy compiler. With the 'weaveDependencies' parameter of the aspectj:compile goal from

Does Maven support dependency group?

2008-07-22 Thread youhaodeyi
I want to make some dependencies into one group and let user dependent on this group. All the dependencies under this group will be added to maven project. Can I do this in Maven? -- View this message in context:

Re: Does Maven support dependency group?

2008-07-22 Thread Michael McCallum
On Wed, 23 Jul 2008 14:51:00 youhaodeyi wrote: I want to make some dependencies into one group and let user dependent on this group. All the dependencies under this group will be added to maven project. Can I do this in Maven? yes just set the packaging to pom... and release as per a normal

Re: Does Maven support dependency group?

2008-07-22 Thread youhaodeyi
ok thanks. Michael McCallum-3 wrote: On Wed, 23 Jul 2008 14:51:00 youhaodeyi wrote: I want to make some dependencies into one group and let user dependent on this group. All the dependencies under this group will be added to maven project. Can I do this in Maven? yes just set the

Adding 3rd Party Libs to Central

2008-07-22 Thread Chad La Joie
This has probably been asked before but I wasn't able to find it. Whats the policy regarding people not affiliated with a project (other than being users of their libraries) adding those projects artifacts to the central repository? My project has a number of libs that either don't appear in

Re: How to use ear plugin? Am I stupid??

2008-07-22 Thread Vedanta Ulises
As I understand, packaging EAR will produce files with extension .ear not .jar. May be this link will give more enlighten on how to arrange the project. http://sdudzin.blogspot.com/2007/09/maven-2-and-websphere-automated-build.html On Wed, Jul 23, 2008 at 4:52 AM, Kent Närling [EMAIL PROTECTED]