Re: How to handle inter-project dependencies

2007-05-21 Thread David Roussel
Petter, I can see your point about explict paths, but in the example you give the client is calling xjc and the server is referencing the generated files via a relative path. If instead the server referenced the generated files from the client artifact, then you'd be ok, right? David

Project build order for multiple Maven 2 projects - Alphabetical by Project Name?

2007-05-21 Thread Shaun Barriball
Hi all, We've been using Continuum (1.0.3) successfully as part of our automated build and deploy for 6 months or so. We have one big issue which I'd appreciate input on. We have a large software system with 15 or so separate Maven 2 projects (assume for simplicity Project A, Project B and

Re: Project build order for multiple Maven 2 projects - Alphabetical by Project Name?

2007-05-21 Thread Emmanuel Venisse
Continuum build all maven projects in the order oof the dependencies tree AND if dependencies between projects are circular, Continuum build projects in alphabetical order. Continuum 1.0.3 build only dependecy that have some changes in SCM but not on dependency changes. You can try Continuum

Re: Building Dependencies in 1.1.alpha.1

2007-05-21 Thread Brett Porter
Yes. On 22/05/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Based on what I have read, Continuum will build a project if its dependencies have changed. Also, Continuum will follow the Maven build hiearachy when building all projects using the Build All function. Are both

RE: Building Dependencies in 1.1.alpha.1

2007-05-21 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you, I will download this version of Continuum and configure the build. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 8:08 PM To: continuum-users@maven.apache.org Subject: Re: Building Dependencies in 1.1.alpha.1 Yes. On 22/05/07,

QALab Main Report shows a blank index page

2007-05-21 Thread suchitra
Hi, Actually, I had described the pmd, checkstyle, etc along with the qalab in the reporting section. I had no problem with pmd,checkstyle and other reports. Only the QALab Main Report and QALab movers report were empty. Your suggestion for the profile section, helped me in getting the

Re: Fw: Assistance required - why doesn't my index.html get generated when generating my site?

2007-05-21 Thread Arnaud Bailly
Ian Rowlands [EMAIL PROTECTED] writes: Hello Ian, Any suggestions? Is there any other information that I can provide which would help diagnosis? Did you try adding a site.xml descriptor inside the src/site directory ? I think this is mandatory for multi-modules projects (FIXME). Here is

Re: Merge assemblies across projects?

2007-05-21 Thread Arnaud Bailly
Mark Diggory [EMAIL PROTECTED] writes: Hello List, Hello Mark, I have a couple projects (each with their own assemblies) as modules of a current project. Is there a way I can have their generated assemblies merged when I call assembly:assembly? I don't think it is possible to do

Re: QALab Main Report shows a blank index page

2007-05-21 Thread Rémy Sanlaville
Hi Suchitra, Now, I can give an example. You have to check for the version of the plugins (I think, some have new version) and change the configuration for your context : build plugins [...] !-- Checkstyle plugin -- !-- cf.

pom as dependency

2007-05-21 Thread zalym
hi, i have 5 modules and a pom. I want to use these 5 modules in my war. i want to include the pom as a dependency but it isn't taking it. i have to include the modules rather for it to work. Appreciate any help. --Saleem -- View this message in context:

Re: How configure to Multiproject Site references

2007-05-21 Thread James Abley
On 20/05/07, Mac Systems [EMAIL PROTECTED] wrote: Hello, actually i wonder how to generate an Site for an Multiproject ? The (Master) Project Site will be generated for all my Modules but i do not know how to link to each module's site ? Project: pom.xml | | Module A pom.xml -

Re: Build error with weblogic-maven-plugin

2007-05-21 Thread Ole-Martin Mørk
Hi Scott. Have you seen any progress on this issue? If I run the command manually, outside of maven, it works ok. I run it like this: java -Xmx1024m -classpath c:\bea92\weblogic92\server\lib\weblogic.jar;c:\bea92\jdk150_04\lib\tools.jar

Re: Issue with dependency plugin, unpack goal

2007-05-21 Thread Maria Odea Ching
Hi, I think what you have here is just a configuration problem. The dependencyManagement that you have in your my-dep-app module should be on the parent pom, not in the my-dep-app pom. That's why the dependency's version here -- [INFO] Configured Artifact: com.mycomp.app:my-app:?:jar cannot

Re: Specify Context Path for WAR project in Maven2

2007-05-21 Thread Geir Gullestad Pettersen
Thanks, that did wonders! 2007/5/21, [EMAIL PROTECTED] [EMAIL PROTECTED]: Try the buildfinalNameMyWebAppName/finalName/build in the POM. /U -- Original message -- From: geirgp [EMAIL PROTECTED] When I use the jboss plugin to deploy my war project to the

Re: Optional Runtime Dependencies

2007-05-21 Thread Martin Jericho
Thanks for your response Wendy, but this still isn't clear to me at all. Are you saying I have to add two dependency elements for each library, once with a scope of compile, and once with a scope of runtime but with the optional flag set? Doesn't the compile scope imply runtime dependency as

how to change the dependency reading order in maven 2.0.6

2007-05-21 Thread Kiran Kodlady
hello...all, I got some interesting question here.. At our project specific remote repository , below mentioned structure has been followed for storing a particular jar : es-core--jars--es-asynchronous-4.0.8 But latest maven 2.0.6 requires above given jar should be placed in a different way

Re: Issue with dependency plugin, unpack goal

2007-05-21 Thread Varghese C V
Thank you, Maria for your reply. I was just trying various variations of the dependency. First I tried putting the version in the dependency-plugin configuration and no dependency elements defined. That didnt work. Specifying my-app:1.0-SNAPSHOT in dependency dependencyManagement elements did

Re: Optional Runtime Dependencies

2007-05-21 Thread Wendy Smoak
On 5/21/07, Martin Jericho [EMAIL PROTECTED] wrote: So you are saying that to indicate that a dependency is required for compilation and optional for runtime, I simply set it with the scope runtime and and optional flag. This seems to completely contradict the documentation, which says of the

Enabling a profile disables an other

2007-05-21 Thread gc134728
Hey maven users, When I enable a profile using mvn clean install -PbuildCon It disables an other profile that has an activation active by default. profile ... activation activeByDefaulttrue/activeByDefault /activation ... /profile Is this a bug in maven or correct? Thx for any assitance, Y.

Re: Optional Runtime Dependencies

2007-05-21 Thread Martin Jericho
Required for compilation is scopecompile/scope which is the default so you don't need to specify it. Optional at runtime is optionaltrue/optional That will force your users to declare this dependency in their own projects if they want it. This is how we handle the Cargo depdendency in Shale

Surefire systemClassLoader option

2007-05-21 Thread Grant Ingersoll
I am having some trouble with class loading in tests. For some tests in my set of tests, the only way the pass via M2 is if I set useSystemClassLoader to true per http://jira.codehaus.org/browse/ SUREFIRE-106. On the other hand, some other subset of tests only pass if useSystemClassLoader

how to use the same jar in the maven repository but in another java version?

2007-05-21 Thread emerson cargnin
Hi all I'm using maven 1.1. I have two multi-build projects that depend on same jars. But one is to be compiled in 1.4 and the other in 1.5. The thing is that the 1.4 one tries to dowload from the maven repository, as it has a newer date (as it was run by cruisecontrol) and ends up having

Re: how to change the dependency reading order in maven 2.0.6

2007-05-21 Thread Wayne Fay
It sounds like you are dealing with a Maven1 repository layout. Is that correct? Or is this a layout which just happens to be similar to Maven1, but has some small differences etc? Wayne On 5/21/07, Kiran Kodlady [EMAIL PROTECTED] wrote: hello...all, I got some interesting question here..

Re: pom as dependency

2007-05-21 Thread Wayne Fay
This should work. Check your dependency scopes. How do you know it isn't taking it? What's the test which is failing? Wayne On 5/21/07, zalym [EMAIL PROTECTED] wrote: hi, i have 5 modules and a pom. I want to use these 5 modules in my war. i want to include the pom as a dependency but it

[REPOST] Can't canonicalize system path with goal eclipse:eclipse

2007-05-21 Thread Paul Spencer
I get a Can't canonicalize system path error using the goal eclispse:eclipse when the warSourceDirectory of the maven-war-plugin starts with ${basedir}. If I remove the ${basedir}, the build is successful. maven-eclipse-plugin verion 2.3 maven-war-plugin verion 2.0.2 [INFO]

How to install library into repository?

2007-05-21 Thread Jansen Werner
Hi everybody, we would like to use jcalendar (http://www.toedter.com/en/jcalendar/) in our project. But it isn't available from the central repository. Maven suggests adding it to the local repository: Then, install it using the command: mvn install:install-file

Re: How configure to Multiproject Site references

2007-05-21 Thread vgpande
Hi when you run the mvn site for Maven2 at the application root level, the command is executed to generate the site at application root level. James Abley-2 wrote: On 20/05/07, Mac Systems [EMAIL PROTECTED] wrote: Hello, actually i wonder how to generate an Site for an Multiproject ?

Re: how to use the same jar in the maven repository but in another java version?

2007-05-21 Thread Jo Vandermeeren
Hi, If you are making multiple artifacts from one module, you should definitely use classifiers for the build artifacts. Otherwise, they get mixed up and you end up with garbage. You can configure the maven-jar-plugin or the maven-assembly-plugin to add classifiers to the artifacts when their

Use of ${version} in published pom

2007-05-21 Thread Gilles Scokart
The pom : http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/cargo/cargo-core-api-generic/0.9/cargo-core-api-generic-0.9.pom Contains some ${version}. I looked in the parent poms, but there is no explicit property with this name. Where does this value comes from? Is it a standard

Re: How to install library into repository?

2007-05-21 Thread Wayne Fay
This is well documented on the Maven site: http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html Wayne On 5/21/07, Jansen Werner [EMAIL PROTECTED] wrote: Hi everybody, we would like to use jcalendar (http://www.toedter.com/en/jcalendar/) in our project. But it isn't

Re: How to install library into repository?

2007-05-21 Thread jesseliu
You should install(deploy) the jar file into your company repository which is shared with your team. maven deploy command line seems like:(assuming on Windows OS) mvn deploy:deploy-file -DgroupId=com.toedter.calendar -DartifactId=jcalendar -Dversion=1.3.2 -Dpackaging=jar -

Re: [m2] Problem extending a MOJO: incongruency in default @parameter value

2007-05-21 Thread Steven Rowe
Hi Alessio, I'm a Maven newbie, and am only responding because no one else has... I have seen a couple of messages to the effect that plugin extension is not supported by the Maven architecture. See this thread for a couple of workarounds:

Re: Use of ${version} in published pom

2007-05-21 Thread Wendy Smoak
On 5/21/07, Gilles Scokart [EMAIL PROTECTED] wrote: The pom : http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/cargo/cargo-core-api-generic/0.9/cargo-core-api-generic-0.9.pom Contains some ${version}. I looked in the parent poms, but there is no explicit property with this name.

AW: How configure to Multiproject Site references

2007-05-21 Thread Jens Hohl
Hello, ist me (mac) from other mail Adress: Actually I have some problems to get this really working. I tried mvn site:run which results that the 'master' Website Is available through localhost. But I have same problems To reference to the sub-projects. In my site.xml I link via relative path

RE: Project build order for multiple Maven 2 projects - Alphabetical by Project Name?

2007-05-21 Thread Shaun Barriball
We're just trying the upgrade to 1.1 now from 1.0.3. Is there an upgrade path for this which preserves the database or do we have to re-install all projects from scratch? 1.1 isn't mentioned on http://maven.apache.org/continuum/upgrade.html. Regards, Shaun. -Original Message- From:

Re: jaxb2-maven-plugin

2007-05-21 Thread Steven Rowe
Hi Vidya, You will probably get a quicker response from the Mojo Project mailing lists for questions about Mojo Project plugins: http://mojo.codehaus.org/jaxb2-maven-plugin/mail-lists.html Steve Vidya Mahavadi wrote: Hi, I am using jaxb2-maven-plugin and in the application I would like

Integration tests in a separate moule

2007-05-21 Thread Arnaud Jeansen
Hi, I have been trying for two days to get a nice integration module, but I have been mostly bumping my head into a thick wall. My project is a simple EAR (no EJB), that I organized as shown in the Better Builds PDF : Structure : foo foowar/ src/

Re: Integration tests in a separate moule

2007-05-21 Thread Wendy Smoak
On 5/21/07, Arnaud Jeansen [EMAIL PROTECTED] wrote: My problem is that I can't make these integration tests compile in the test phase of the integtesttomcat module. These tests depend on the classes from foowar/src/main/java (to compile test classes looking like web services clients, I need the

Re: Project build order for multiple Maven 2 projects - Alphabetical by Project Name?

2007-05-21 Thread Emmanuel Venisse
You must readd all projects Emmanuel Shaun Barriball a écrit : We're just trying the upgrade to 1.1 now from 1.0.3. Is there an upgrade path for this which preserves the database or do we have to re-install all projects from scratch? 1.1 isn't mentioned on

access plugin groupId/artifactId/version from within plugin

2007-05-21 Thread ertnutler
I have a plugin that does some generation, but I want to be able to print the groupId/artifactId/version of the plugin to the file that gets generated. I don't see anything in the docs that addresses this, and when I step through my plugin in eclipse, the pluginContext Map is empty. How do I

M2: Portability and distributionManagement

2007-05-21 Thread Chris Helck
Hi, I'm having problems with portability and I can't seem to solve it without replicating a lot of details in every pom I have. I have three environments I build from: Development:Uses ibiblio, and internal development repo. Creates web sites on internal machine. All developers use

Re: Add and Label Artifact in SCM after Release:Perform

2007-05-21 Thread Steven Rowe
Hi Neil, My approach for a similar issue was to create a plugin with the necessary functionality, then add the goal to the configuration for maven-release-plugin in my POM, e.g.: plugin artifactIdmaven-release-plugin/artifactId configuration goalsdeploy site-deploy myplugin:mygoal/goals

Re: [REPOST] Can't canonicalize system path with goal eclipse:eclipse

2007-05-21 Thread Wayne Fay
Remove the ${basedir} from the warSourceDirectory? Why do you need it? Wayne On 5/21/07, Paul Spencer [EMAIL PROTECTED] wrote: I get a Can't canonicalize system path error using the goal eclispse:eclipse when the warSourceDirectory of the maven-war-plugin starts with ${basedir}. If I remove

Re: [REPOST] Can't canonicalize system path with goal eclipse:eclipse

2007-05-21 Thread Paul Spencer
Wayne, So far removing ${basedir} works with the following goals clean, eclipse:eclipse, package, and war:inplace. As to Why do you need it?. Consistency with other path references in the pom. If, as it appears, the war plugin uses different rules related to the prefixing a path with

Re: [REPOST] Can't canonicalize system path with goal eclipse:eclipse

2007-05-21 Thread Wayne Fay
If you are reasonably convinced its a bug, please go file a bug in JIRA against the proper component (in this case, the eclipse plugin). And if you want it fixed (quickly), I'd suggest you pull the plugin code down, adjust as needed, and contribute it back to be included in a future release of

RE: Issue with dependency plugin, unpack goal

2007-05-21 Thread Brian E. Fox
In some cases, Maven will look in the reactor projects and find artifacts that haven't been installed. In my opinion, it shouldn't do this. Things should have to be located in the local repo to be shared amongst projects. The dependency plugin specifically does not look in the reactors (at least

CVS parameters

2007-05-21 Thread Jon Strayer
I'm getting this error when I try to update my project: [ERROR] No CVS root is set. Check your repository information in the POM. Where in the POM do I set the CVS Root? How can I specify the user id and password outside of the POM? -- Esse Quam Videre To Be, rather than to Seem

Re: CVS parameters

2007-05-21 Thread Wayne Fay
This is pretty well-documented on the website: http://maven.apache.org/scm/cvs.html Wayne On 5/21/07, Jon Strayer [EMAIL PROTECTED] wrote: I'm getting this error when I try to update my project: [ERROR] No CVS root is set. Check your repository information in the POM. Where in the POM do I

Using Maven to build a release distribution

2007-05-21 Thread Bryant Harris
Hi, I'm new to Maven and have begun experimenting with breaking my project into jars and WARs and EJBs etc. It seems like Maven is great for this. Is Maven also typically used for assembling a distribution, which might include jars, javadocs, source jars, licensing, samples, etc. Or

Re: CVS parameters

2007-05-21 Thread Wayne Fay
You may also find some info on this page useful: http://docs.codehaus.org/display/MAVENUSER/Continuous+Integration Specifically, the sections .cvspass file creation and Configure settings.xml file. Wayne On 5/21/07, Wayne Fay [EMAIL PROTECTED] wrote: This is pretty well-documented on the

Re: Why doesn't my index.html get generated when generating my site?

2007-05-21 Thread Mac Systems
Hello, out of a sudden i ran into the same Issue tonight. As i my last changes to my pom where not that big i think i found the problem: In my POM i have : reporting ... plugins pluginorg.apache.maven.plugin/plugin

Re: using emma on maven 2

2007-05-21 Thread romale
I created a new Maven2 plugin for EMMA. You can download my current work here: http://jira.codehaus.org/browse/MOJO-762 I advise a lot of people to try this plugin and give me feedback. I hope to create an official EMMA plugin backed by the Mojo Project. Tell me what you think about it!

Re: Fw: Assistance required - why doesn't my index.html get generated when generating my site?

2007-05-21 Thread Ian Rowlands
I have been told that an index.html should be generated, and it is not. I know how to generate it with a site.xml, but it should be necessary. Regards, Ian Rowlands Ian Rowlands [EMAIL PROTECTED] writes: Hello Ian, Any suggestions? Is there any other information that I can

Re: CVS parameters

2007-05-21 Thread Jon Strayer
On 5/21/07, Wayne Fay [EMAIL PROTECTED] wrote: This is pretty well-documented on the website: http://maven.apache.org/scm/cvs.html I assume that's true if you already know the answer. Trust me when I tell you that after spending hours reading the site and searching through mailing list

Re: CVS parameters

2007-05-21 Thread Wayne Fay
I'm not clear -- is this response not sufficient and you're asking for more help, or do you have things working? If you still need help, I'd suggest looking at example pom.xml files for some open source projects to see how they have configured their SCM. Here's a few links:

A trivial question

2007-05-21 Thread Hernani Cerqueira
Hello all, I use maven for a while, but I always had a problem with downloading files from ibiblio, so, every time i need a file, i download it manualy and put it on my local repository. I had a quite big repository, until the unexpected happened. My hard disk failed and i lost all that

RE: Build error with weblogic-maven-plugin

2007-05-21 Thread Murugan, Vellaichamy
Hi, I have used this version version2.9.0-20061221.203929-8/version of weblogic-maven-plugin it is working perfectly. Regard's Murugan -Original Message- From: Ole-Martin Mørk [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:37 PM To: Maven Users List Subject: Re: Build error

Re: A trivial question

2007-05-21 Thread Wayne Fay
Are you using Maven1 or Maven2? As for your problem downloading files -- are you behind a web proxy? If so, you will need to configure it before the automatic downloading of files will be successful. Wayne On 5/21/07, Hernani Cerqueira [EMAIL PROTECTED] wrote: Hello all, I use maven for a

Re: how to change the dependency reading order in maven 2.0.6

2007-05-21 Thread Kiran Kodlady
Hey wayne.. U r right... I am using layout structure similiar to maven1.. Wayne Fay wrote: It sounds like you are dealing with a Maven1 repository layout. Is that correct? Or is this a layout which just happens to be similar to Maven1, but has some small differences etc? Wayne On

How to create site with just jar files?

2007-05-21 Thread Dennis Cook
I am new to maven2 and trying to convert a project that is using a makefile to maven2. This is a simple java application, one main jar with 3 dependent libraries. I have gotten the build process to work up to the install goal. But I need to progress to the point that the application jar and

Re: How to create site with just jar files?

2007-05-21 Thread Dennis Cook
Okay, so adding the distributionManagement element to the POM helped get past the error message, but the result was did not provide what I was looking for. I got a staging directory containing some template html files. Neither the application library nor any of the supporting libraries were

Maven remote repository - AsyncWeb

2007-05-21 Thread jing hez
Hi I looked at maven2/org/safehaus and I don't see AsyncWeb in Maven remote repository. -- Hez AsyncWeb http://docs.safehaus.org/display/ASYNCWEB/Home - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: how to change the dependency reading order in maven 2.0.6

2007-05-21 Thread Wayne Fay
The Maven2 deploy plugin can deploy files to a Maven1 (legacy) style repository layout. See this page for more details, specifically the repositoryLayout parameter: http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html Wayne On 5/21/07, Kiran Kodlady [EMAIL PROTECTED] wrote:

Re: How to create site with just jar files?

2007-05-21 Thread Wayne Fay
Please describe (specifically) what you are trying to do, what end results you are hoping to achieve, and someone on this list will most likely reply back with information that may prove helpful. Wayne On 5/22/07, Dennis Cook [EMAIL PROTECTED] wrote: Okay, so adding the distributionManagement

RE: access plugin groupId/artifactId/version from within plugin

2007-05-21 Thread Jörg Schaible
ertnutler wrote on Monday, May 21, 2007 7:03 PM: I have a plugin that does some generation, but I want to be able to print the groupId/artifactId/version of the plugin to the file that gets generated. I don't see anything in the docs that addresses this, and when I step through my plugin

Re: Maven remote repository - AsyncWeb

2007-05-21 Thread Wayne Fay
If you would like to see the AsyncWeb artifacts available in the Maven repository, submit a bug/request to the AsyncWeb development team and ask that they make their application/library/etc available in the Maven repo. Wayne On 5/22/07, jing hez [EMAIL PROTECTED] wrote: Hi I looked at