Re: [site-plugin] remote clean deploy area?

2007-05-10 Thread Wim Deblauwe
Could somebody of the site-plugin maintainters shed some light? regards, Wim 2007/4/16, Wim Deblauwe [EMAIL PROTECTED]: Should I file an enhancement request on the site plugin? regards, Wim 2007/4/12, Wim Deblauwe [EMAIL PROTECTED]: I mean cleaning not in your local target directory but

Re: Applet with maven 2

2007-05-10 Thread Napoleon Esmundo Ramirez
I don't see any reason why you wouldn't want the applet installed in the local repository. Anyway, I think you could still do `mvn package` on archiva parent directory as long as the archiva-applet is found on any other remote repository. On 5/10/07, Stephen More [EMAIL PROTECTED] wrote: I

convert maven 1 plugins to maven 2: best way to go

2007-05-10 Thread maarten roosendaal
Hi, We have a few custom Maven 1 plugins we need to convert to Maven 2 plugins but i'm not sure what the best way is. We have 1 that is a wrapper around specific maven goals and a few customer goals, and we have 2 custom plugins. One of these does: goal name=tdi:sloc ant:echoStart SLOC

Re: convert maven 1 plugins to maven 2: best way to go

2007-05-10 Thread Milos Kleint
you probably should be writing java files. IMHO at least. However it should be fairly easy to keep calling the ant tasks from your java mojo. Milos On 5/10/07, maarten roosendaal [EMAIL PROTECTED] wrote: Hi, We have a few custom Maven 1 plugins we need to convert to Maven 2 plugins but i'm

Re: Multi Module Project - Problems Generating Javadoc

2007-05-10 Thread Antonio Petrelli
2007/5/10, Tobias Reese [EMAIL PROTECTED]: Hi @All, I have a Multi Module Project as follows: main - utils - ejb (depends on utils) - web (depends on ejb) - ear (depends on utils, ejb, web) I can do mvn package, which succesfully builds my artifacts. However, if i do mvn

Re: Multi Module Project - Problems Generating Javadoc

2007-05-10 Thread John Patrick
mvn install should solve your issue. package creates the artifact within the projects target directory, but when working on a multi module project you need to do install so it uploads the artifacts into you local repository so they are avaliable to the rest of the modules. I hope that helps,

Re: Multi Module Project - Problems Generating Javadoc

2007-05-10 Thread Tobias Reese
That was quick. ;) Thanks a lot for your help. mvn install in deed solves my problem. But what I don't understand is that the mvn package task runs without problems. This indicates that the compile task could resolve the dependent artifacts without being deployed to local repo. Cheers Tobias

Re: Multi Module Project - Problems Generating Javadoc

2007-05-10 Thread Antonio Petrelli
2007/5/10, Tobias Reese [EMAIL PROTECTED]: But what I don't understand is that the mvn package task runs without problems. This indicates that the compile task could resolve the dependent artifacts without being deployed to local repo. It's a bug in the Javadoc plugin, that does not run

maven2 + continuum - scm cvs connection url?

2007-05-10 Thread fabian maass
hello, i just tried to run continuum with a maven2 project, which i already tried with cruise control, and where the scm connection url actually worked, so i wonder why i get connection problems now in continuum the scm url is : scm:cvs:pserver:fms:[EMAIL

Re: depenedency:analyze and JSP compilation ?

2007-05-10 Thread Mark Hobson
On 07/05/07, Olivier Dehon [EMAIL PROTECTED] wrote: Hi, How can I get the dependency:analyze goal to include the class files that result from the compilation of the JSPs in the actual analysis? Is there a configuration parameter to indicate additional target directories to look into? Am I

Confusion: maven[2]-xdoclet[2]-plugin

2007-05-10 Thread Graham Leggett
Hi all, Up until now I have been using the xdoclet-maven-plugin from org.codehaus.mojo, and having upgraded to v2.0.6 of maven, this plugin no longer works. Research shows that this particular plugin seems to have been abandoned. Further research finds a confusing array of plugins, named

Re: Site generation at one with Multimodule project

2007-05-10 Thread Roland Asmann
If your project is set up correctly, calling site:deploy will upload the sites to one location on a remote server. You must have that location configured in your POM of course! Just call mvn site:deploy from the root of the project. On Wednesday 09 May 2007 22:27, [EMAIL PROTECTED] wrote:

Feedback from a maven beginner (Maven Profiles, plugin binding, maven-resources-plugin)

2007-05-10 Thread Alexander Opatz
Hi, I'm new to maven and after getting started with maven doc and Vincent Massol's book Better Builds with Maven there are still some obscurities from my point of view. I hope for some ideas to get my example project running and to help improving maven (may it be in code or documentation) So

RE: Confusion: maven[2]-xdoclet[2]-plugin

2007-05-10 Thread Jörg Schaible
Graham Leggett wrote on Thursday, May 10, 2007 12:48 PM: Hi all, Up until now I have been using the xdoclet-maven-plugin from org.codehaus.mojo, and having upgraded to v2.0.6 of maven, this plugin no longer works. It works, you just have to add the dep to ant at the plugin's declaration:

Open Im build problem

2007-05-10 Thread Numan Ilyas
Dear, I m compiling Open IM with Maven 2.0.6 with the command mvn install but i m not able to compile OpenIm. Please help me in this regard. And following is the surefire Report. --- Test set:

RE: Confusion: maven[2]-xdoclet[2]-plugin

2007-05-10 Thread Graham Leggett
On Thu, May 10, 2007 1:16 pm, Jörg Schaible wrote: It works, you just have to add the dep to ant at the plugin's declaration: dependencies dependency groupIdant/groupId artifactIdant/artifactId version1.6.5/version /dependency

How to create 3 different jars from a single mvn package command?

2007-05-10 Thread suchitra
How do I create three separate jars (of classes) in the target directory, from a single source file? For example, A |---src | |---main | |java | |my_java files |--target |--classes

How to create 3 jars?

2007-05-10 Thread R, Suchitra \(GE Infra, Aviation, Non-GE\)
How do I create three separate jars (of classes) in the target directory, from a single source file? For example, A |---src | |---main | |java | |my_java files |--target |--classes

Re: Deactivating profiles

2007-05-10 Thread David Corbin
On Wednesday 09 May 2007 11:48:00 John Casey wrote: It's a little hackish, but if you have a profile that's activeByDefault, and you want to disable it deliberately, then you can create an empty, dummy profile, and activate that. So: profile iddummy/id /profile then: mvn -P dummy

Re: Open Im build problem

2007-05-10 Thread Antonio Petrelli
2007/5/10, Numan Ilyas [EMAIL PROTECTED]: Dear, I m compiling Open IM with Maven 2.0.6 with the command mvn install but i m not able to compile OpenIm. Please help me in this regard. I think you should ask the Open IM team for that. Antonio

Re: Deactivating profiles

2007-05-10 Thread Stephen Coy
Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: profile activation property name!myVar/name /property /activation

Re: Open Im build problem

2007-05-10 Thread Emmanuel Venisse
You can file an issue there: http://jira.codehaus.org/browse/OPENIM Emmanuel Numan Ilyas a écrit : Dear, I m compiling Open IM with Maven 2.0.6 with the command mvn install but i m not able to compile OpenIm. Please help me in this regard. And following is the surefire Report.

mvn compile -- unsuccessfull, but maven package successfull, how it may be?

2007-05-10 Thread Alexander Zynevich
Hello, I created a simple j2ee proj: C:\alex\workspacemvn archetype:create -DartifactId=simple -DgroupId=simple -Dar chetypeArtifactId=maven-archetype-j2ee-simple (I removed modulessite/modules because archetype does not create *site* sub-project aka module) after that I could see that project

Re: How to create 3 different jars from a single mvn package command?

2007-05-10 Thread Alexander Zynevich
Looks like it is out of ideology of maven. I think to solve it you should have 3 projects. However if you create your own plugin everything is possible :) suchitra wrote: How do I create three separate jars (of classes) in the target directory, from a single source file? For example,

Re: How to create 3 different jars from a single mvn package command?

2007-05-10 Thread Stefano Bagnara
I use the assembly plugin. plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-1/version configuration descriptorSourceDirectory${basedir}/src/assemble//descriptorSourceDirectory /configuration /plugin and then in the src/assemble I create xml files like this: assembly

Maven 2 Clover Plugin Error in clover:instrument-artifact has 2 candidates

2007-05-10 Thread Maya Nayak
INFO - INFO - [INFO] [clover:instrumentInternal] INFO - [WARNING] No Clover instrumentation done as no matching sources files found INFO - [INFO] [ear:generate-application-xml] INFO - [INFO] INFO - [ERROR] BUILD FAILURE

Maven 2 wrapper plugin

2007-05-10 Thread maarten roosendaal
Hi, What is the best way to write a Maven 2 plugin that wraps multiple goals? In Maven 1 we create a plugin which did something like: our-own-plugin:do-a ccupdate (via antexec) multiproject:clean multiproject:install multiproject:site our-own-plugin:do-b I hope i don't have to write a Java

Maven 2 Clover Plugin --ERROR: No source files specified

2007-05-10 Thread Maya Nayak
I am getting this error in a multiproject. I have a child module with no source code and hence it fails. I dont want to instrument the submodule. Is there a way to do it? INFO - [INFO] [clover:instrumentInternal] ERROR - Clover Version 1.3.13, built on September 04 2006 ERROR - loaded from:

Re: Deactivating profiles

2007-05-10 Thread David Corbin
On Thursday 10 May 2007 08:52:04 Stephen Coy wrote: Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: profile activation property

Re: How to create 3 jars?

2007-05-10 Thread Wayne Fay
This is not normal Maven usage. Having said that, the Assembly plugin can probably do this for you. Wayne On 5/10/07, R, Suchitra (GE Infra, Aviation, Non-GE) [EMAIL PROTECTED] wrote: How do I create three separate jars (of classes) in the target directory, from a single source file? For

Customizing generated Eclipse .classpath file

2007-05-10 Thread lightbulb432
I'd like to specify based on properties in profiles.xml some values for Eclipse's .classpath file. How could I do this? (i.e. Where in the profiles.xml you could specify the path of a Java Build Path variable, for example, and the generated .classpath file for the eclipse:eclipse goal would

RE: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-10 Thread Barrett Nuzum
Hi folks. For one of our clients, we just have the CI server call 'mvn clean source:jar deploy' and Maven includes the source jars when it deploys. File under what is the simplest thing that could possibly work. Barrett :: Barrett Nuzum Consultant, Skill Development Direct:

Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-10 Thread Stephane Nicoll
On 5/10/07, Barrett Nuzum [EMAIL PROTECTED] wrote: Hi folks. For one of our clients, we just have the CI server call 'mvn clean source:jar deploy' and Maven includes the source jars when it deploys. That's the same as adding it explicitely in an execution. File under what is the simplest

Re: Deactivating profiles

2007-05-10 Thread James Abley
On 10/05/07, David Corbin [EMAIL PROTECTED] wrote: On Thursday 10 May 2007 08:52:04 Stephen Coy wrote: Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: profile activation

maven-resources-plugin output directory problems

2007-05-10 Thread Ondřej Černoš
Hi all, I am quite new to maven, so I apologize in advance if my problem is caused by my ignorance. Actually I hope it is. I have a small project, for evaluation and management persuade purposes, jar packaging, consisting of some java classes and some resources. Nothing big. I don't want the

RE: How to create 3 different jars from a single mvn package command?

2007-05-10 Thread Chris Hilton
I might have to try the assembly plugin method. Personally, I use a jar task in an antrun plugin execution to create the jars, then use the buildhelper plugin to attach them to the project. Chris -Original Message- From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 May,

Re: eclipse:eclipse

2007-05-10 Thread Marcos Silva Pereira
Try to run eclipse:eclipse using -U to update all plugins. Kind Regards On 5/3/07, Borut Bolčina [EMAIL PROTECTED] wrote: Hello, checking out svn checkout https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/ tacos-project and then mvn eclipse:eclipse inside tacos-project directory

Re: Maven 2 Clover Plugin Error in clover:instrument-artifact has 2 candidates

2007-05-10 Thread Wayne Fay
I don't really use Clover, so hopefully someone else who uses Clover will reply with more specific info. Classifier is simply a child node of dependency: dependency groupId/ artifactId/ version/ scope/ classifier/ /dependency So you'd want to use classifierclover/classifier in your

Re: Filtering Changes Jira Report By Version

2007-05-10 Thread Dennis Lundberg
jp4 wrote: I was wondering if it's possible to configure the changes plugin to pull only the jira issues that were assigned to the current version of my project. For example, if my project version is 1.1, I would like to see only issues that were assigned to version 1.1 in the changes jira

Re: Maven 2 Clover Plugin Error in clover:instrument-artifact has 2 candidates

2007-05-10 Thread Maya Nayak
Thanks Wayne. That was very helpful. I added a classifier with no value to force it to look for the maven generated jar file and not clover generated jar file because i dont want maven using clover jar file for its builds. Maya Wayne Fay [EMAIL PROTECTED] wrote: I don't really use Clover, so

Help in Configuring ArtifactHandler for Standalone Plugin

2007-05-10 Thread Shane Isbell
I am creating a standalone plugin (@requiresProject false, @requiresDirectInvocation true) that invokes the org.apache.maven.artifact.resolver.ArtifactResolver.resolveTransitivelymethod. I also have a components.xml file within the jar that contains an entry for the artifact handlers.

(newbie question) seding war somewhere else

2007-05-10 Thread Arrowx7
Hello, I have mevenide2 installed, and when I run lifecycle phase install one of the output lines is [INFO]Installing /root/sourcecode/myproject.war to /root/.m2/repository/org/myproject.war is there a way to get it to install somewhere other than /root/.m2/repository/... say

Re: (newbie question) seding war somewhere else

2007-05-10 Thread John Patrick
The common approache is to use deploy to get the war to the 'deployment' location. Install is just to install into your local repository so its avaliable to other projects your working on. On 10/05/07, Arrowx7 [EMAIL PROTECTED] wrote: Hello, I have mevenide2 installed, and when I run

Re: Applet with maven 2

2007-05-10 Thread Stephen More
While developing two child projects at the same time I would like to just 'mvn package' at the parent level. - mvn package parent - code - mvn package parent - code That does not seem to be the case so I end up doing this: - mvn install child 1 - 1.0-snapshot - mvn package child 2 - code - mvn

Re: (newbie question) seding war somewhere else

2007-05-10 Thread Arrowx7
how do I change the deployment location?? nhoj_p wrote: The common approache is to use deploy to get the war to the 'deployment' location. Install is just to install into your local repository so its avaliable to other projects your working on. On 10/05/07, Arrowx7 [EMAIL PROTECTED]

Re: (newbie question) seding war somewhere else

2007-05-10 Thread Greg_Vaughn
Arrowx7 [EMAIL PROTECTED] wrote on 05/10/2007 12:16:04 PM: I have mevenide2 installed, and when I run lifecycle phase install one of the output lines is [INFO]Installing /root/sourcecode/myproject.war to /root/.m2/repository/org/myproject.war is there a way to get it to install

System.in and release preparation goals

2007-05-10 Thread Grant Ingersoll
Hi, Long time M1 user upgrading to M2... I have a Mojo that I have written that asks for user input concerning it's operation (I use a BufferedReader wrapping System.in). When I run the goal standalone, everything works fine. However, when I run the goal as preparationGoal of the

Create a project for its dependencies

2007-05-10 Thread lightbulb432
How can I create a project for the sole purpose of its pom.xml serving as a place to organize several dependencies. For example, if I have a main project that depends on 100 JARs, could I get this main project to depend on 4-5 subprojects whose sole purpose is to specify a subset of those JARs?

Re: Create a project for its dependencies

2007-05-10 Thread Wendy Smoak
On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote: How can I create a project for the sole purpose of its pom.xml serving as a place to organize several dependencies. For example, if I have a main project that depends on 100 JARs, could I get this main project to depend on 4-5 subprojects whose

Re: (newbie question) seding war somewhere else

2007-05-10 Thread Wayne Fay
Another option of course is to use the Cargo Maven2 plugin for your deployment. Depending on your container, this may be a better approach. Wayne On 5/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Arrowx7 [EMAIL PROTECTED] wrote on 05/10/2007 12:16:04 PM: I have mevenide2 installed, and

Re: Create a project for its dependencies

2007-05-10 Thread Wayne Fay
I think he was expecting that his produced JAR would have all the other 100 jars (that he depended upon transitively) bundled inside it. Is that what you want? Or what? Wayne On 5/10/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote: How can I create

Re: System.in and release preparation goals

2007-05-10 Thread Wayne Fay
In M2, things like this are generally either passed as parameters (-D...) or simply specified as configurations for the plugin in the pom.xml configuration. Actually, I can't think of a single M2 plugin that prompts the user for input while processing etc. There is probably a good reason for

Re: Create a project for its dependencies

2007-05-10 Thread lightbulb432
Yes, the way you have described it is precisely what I'd like to accomplish, ideally. It works with when the type of the produced archive is WAR (it shows up in WEB-INF/lib) as opposed to JAR - is it even possible with JAR? Also, to clarify, would I have to specify type=pom in two places? One

Re: Snapshot repository

2007-05-10 Thread lightbulb432
To add to my confusion in this thread, there's the repositories element that has a releases and snapshots element. I'm really confused! lightbulb432 wrote: I added a snapshotRepository element in addition to the repository element in the distributionManagement section of my pom.xml.

Re: System.in and release preparation goals

2007-05-10 Thread Grant Ingersoll
On May 10, 2007, at 4:35 PM, Wayne Fay wrote: In M2, things like this are generally either passed as parameters (-D...) or simply specified as configurations for the plugin in the pom.xml configuration. Actually, I can't think of a single M2 plugin that prompts the user for input while

Parent POM and basedir

2007-05-10 Thread Chris Helck
In my parent POM I'd like to setup the PMD plugin with a set of rules in src/site/pmd.xml. In my parent POM I have: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId configuration targetJdk1.5/targetJdk

How to move or deploy artifacts to a different location with different names

2007-05-10 Thread Ross, Bryan M
I would like to move some jar files (artifacts) after a build (clean, install) has been accomplished. I could accomplish that with a simple ant and/or shell script, but the documentation seems to suggest that I can accomplish that with Maven goals. In my local repository, I have something like

Release and Changes plugin

2007-05-10 Thread Chris Helck
Hi, I've started using the changes plugin. Does it integrate with the release plugin? What I mean is if changes.xml contains a line like: release version=SNAPSHOT date=2007-03-01 description=Bug Fixes When I run release:prepare, release:peform I'd like the line to be changed to reflect

Re: Parent POM and basedir

2007-05-10 Thread Wendy Smoak
On 5/10/07, Chris Helck [EMAIL PROTECTED] wrote: In my parent POM I'd like to setup the PMD plugin with a set of rules in src/site/pmd.xml. In my parent POM I have: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId configuration

Re: System.in and release preparation goals

2007-05-10 Thread Wayne Fay
Sorry about that, and good point, I had forgotten about release plugin. In that case, I would probably check out the release mojo code and follow their approach for your own plugin. But you already knew that. ;-) Wayne On 5/10/07, Grant Ingersoll [EMAIL PROTECTED] wrote: On May 10, 2007, at

Re: Create a project for its dependencies

2007-05-10 Thread Wayne Fay
Jars by default don't bundle dependencies like Wars do. You want the assembly plugin using jar-with-dependencies configuration. Wayne On 5/10/07, lightbulb432 [EMAIL PROTECTED] wrote: Yes, the way you have described it is precisely what I'd like to accomplish, ideally. It works with when the

Embedder for normal application use?

2007-05-10 Thread Ravi Luthra
Does anyone have any code that demonstrates using the MavenEmbedder to read the classpath for /META-INF/maven/path/to/pom.xml to expand all dependencies, download if necessary and modify the classpath such that an application can run without copying Jars everywhere. In other words, I want to

Re: Signed jars in the repository

2007-05-10 Thread Tamás Cservenák
Hello, Your A strategy will be easily implementable using the proxy-cache Proximity (the new one, NOT the currect RCx tree). You need a new router, based on an existing one. See the http://trac.abstracthorizon.org/proximity/wiki/Release_2 Architecture link. All you would do is the following:

problem with subversion and HTTPS

2007-05-10 Thread Jens Schmidt
Hi I am currently setting up a test environment to check out subversion, continuum and maven on a windows 2003 server. All access to the repository goes through HTTPS using apache. I created a test certificate using Openssl. Everything works perfect so far. I can check in and out files and