Re: Alpha plugin

2007-11-07 Thread Jean-Yves LEBLEU
Understood, I will lock the plugins, thanks for your answers. Jean-Yves On Nov 6, 2007 4:18 PM, olivier lamy <[EMAIL PROTECTED]> wrote: > Hi, > Yes you can lock the plugin version in your poms. > Use xml element. > > -- > Olivier > > 2007/11/6, Jean-Yves LEBLEU <[EMAIL PROTECTED]>: > > > > > Hel

Re: Migrate project to maven

2007-11-07 Thread Sean Qiu
I am interested in this topic. I have another question, what can maven handle the native code that is distinct from operation systems? Is there any reference to follow? 2007/11/7, Vanja Petreski <[EMAIL PROTECTED]>: > > 1) Manually > > 2) You can play with super pom to override default settings,

Re: Migrate project to maven

2007-11-07 Thread Vanja Petreski
Operating system can trigger activation of specific profile, so you can have operating system specific builds. On Nov 7, 2007 9:39 AM, Sean Qiu <[EMAIL PROTECTED]> wrote: > I am interested in this topic. > I have another question, what can maven handle the native code that is > distinct from oper

Re: Maven/Subversion/Eclipse/Subclipse Configuration

2007-11-07 Thread Régis Décamps
Simon Taylor-2 wrote: > > Were using Maven2, Subversion accessible via WebDAV, Eclipse with both > Subclipse and Maven2Eclipse plugin. > > We created a new Maven2 project in Eclipse. > We have an existing project structure that we want to convert to Maven 2 > and check in to the repository so w

Building 2.1 - Tests fail

2007-11-07 Thread Torsten Schlabach
Dear list! I just did a clean checkout of Maven 2.1 and tried mvn install. Some tests fail; if I read the code correctly this is because there is a test which tries to use versions 2.2 and 2.3 of the maven-surefire-plugin in parallel, but for whatever reason, it fails to get 2.2 from the reposi

Re: Alpha plugin

2007-11-07 Thread Dimitris Kapanidis
Wayne Fay wrote: Actually, I lock down all versions of all plugins and all dependencies. Unless I need a new feature in a new release of a plugin, or I run into a bug that's been fixed in a newer version, the "old" version works just fine for me. Is there a way (a plugin for example) that can

Binding an Antrun execution to post-site does not work?

2007-11-07 Thread Manos Batsis
Hello, My project's packaging is jar. I'm trying to bind two antrun executions to the pre-site and post-site phase respectively with: maven-antrun-plugin antrun-copy-js-to-site pre-site

Re: Alpha plugin

2007-11-07 Thread Stephane Nicoll
Can you create an issue with a description and a way to reproduce? Stéphane On 11/6/07, Jean-Yves LEBLEU <[EMAIL PROTECTED]> wrote: > Hello all, > > Is there any way to avoid using alpha version of plugins with maven. > > I have some builds which used to run fine and as the plugin is updated > to

Internals of Maven Framework questions

2007-11-07 Thread Plotnicki, Grzegorz
Hi, I seem to have questions pertaining to the internals of the Maven Framework and it API. Is there a way to search the Maven Developer List archives? And Is it appropriate to post on the Maven Developer List if I'm not an official maven developer? thanQ Grzeg~ =) ...{-_-}... In a real dar

[ANN] Maven Doxia and Doxia-sitetools 1.0-alpha-10 Released

2007-11-07 Thread Dennis Lundberg
The Maven team is pleased to announce the release of Maven Doxia and Doxia-sitetools, version 1.0-alpha-10. http://maven.apache.org/doxia/ Release Notes - Maven Doxia - Version 1.0-alpha-10 ** Bug * [DOXIA-156] - XhtmlSink#tableCell( boolean headerRow, String width ) uses a COLSPAN attrib

Re: Does it make sense to have a shared library deployed in an executable jar file assembly?

2007-11-07 Thread Wayne Fay
You may find some useful info here: http://java.freehep.org/freehep-nar-plugin/ Wayne On 11/7/07, Ed <[EMAIL PROTECTED]> wrote: > This may not be a maven question, however I'm wondering someone on this list > can help me. > > I'd like to deploy an executable jar file for use by our group, but avo

[m2] Clearcase, Continuum and Maven 2?

2007-11-07 Thread Mick Knutson
I am wondering if there is anyone out there that is working with Continuum, Maven2 and Clearcase for continuous integration? I am having issues setting up the and Continuum to build. I have a multi-module project and do not have a web accessible src tree. -- Thanks, Mick Knutson http://www.bas

Does it make sense to have a shared library deployed in an executable jar file assembly?

2007-11-07 Thread Ed
This may not be a maven question, however I'm wondering someone on this list can help me. I'd like to deploy an executable jar file for use by our group, but avoid having them install the dependent shared library on their linux box. I've created the assembly and placed the shared library in the c

Re: shared library in executable jar file

2007-11-07 Thread Heinrich Nirschl
On Nov 6, 2007 11:17 PM, Ed <[EMAIL PROTECTED]> wrote: > Where do I configure to have a shared library file included correctly in an > executable assembly file? > I've been looking in the assembly plugin area with no luck. > > When I try to run the executable jar file I get an > UnsatisfiedLinkErro

Bug in property resolution?

2007-11-07 Thread Nigel Magnay
Hi I have a big reactor project. In one project, there is a property set as 2.2.1 and in a later project, it is 2.2.4-SNAPSHOT .. commons commons-maven

Re: Alpha plugin

2007-11-07 Thread Wayne Fay
That has been discussed and I believe something along those lines is in-progress. I'm unsure who is working on it, but I believe the intent is that we can use (a new?) plugin to lock them down and then enforcer plugin to verify all plugins and dependencies etc are locked down, to guarantee repeatab

line endings in maven-assembly-plugin

2007-11-07 Thread Gunnar Boström
Hi, I use the maven-assembly-plugin to create a zip file on windows XP. It works ok, with one problem. The zip file will be unzipped on a Solaris computer so I need to fix the line endings. This works fine if I do mvn package directly in a module, but if I run mvn package from the master it will n

Excluding JavaDoc generation (from sub-module) when releasing project

2007-11-07 Thread jim.s
Hello everyone, I am using maven 2.0.7 and I have the following project layout: project-a project-b project-c project-d Project a is the parent with b, c, and d being sub-modules. When I run a Maven release (deploy, site-deploy) I require JavaDoc generation from project c, but I

Can I define a system property in my settings.xml rather than in the POM?

2007-11-07 Thread Torsten Schlabach
Hi! IIUC there is a way to set default parameters for a plugin in settings.xml, is there? My environment requires me to pass some properties to the forked JVM which the Maven Surefire plugin is using to execute tests. For example, I would need to set the user.home system property in the JVM

Re: Building 2.1 - Tests fail

2007-11-07 Thread Torsten Schlabach
Hi again! > Might the problem be that these settings are not inherited when the > tests execute? I was able to confirm this. The issue seems to be the with testTwoExecutionsDoNotCacheChangedData test in the MavenEmbedderTest class. This test instantiates a Maven embedder to execute a project.

Re: CVS checkout fails: "Terminated with fatal signal 11"

2007-11-07 Thread Emmanuel Venisse
It seems a kill was sent to the cvs client. How many time is used to do a checkout? Emmanuel [EMAIL PROTECTED] a écrit : Hi togehter, I'm using continuum 1.1 beta 3 at the moment. I have set up 2 Projects which work just fine. Now I'm in the process of setting up my third project, which is

[M2] Pb Release and preserve timestamps

2007-11-07 Thread Rémy Sanlaville
Hi, When I try to do a release with the maven-release-plugin, it seems that it (or certainly wagon) asks to preserve the timestamps when deploying my artifact to my repository. My problem is if I am not the owner of the file (for instance the maven-metadata.xml file), it fails when deploying my ar

Re: [m2] Clearcase, Continuum and Maven 2?

2007-11-07 Thread Mick Knutson
But I thought the default file-url does not support multi-module project...? no? On 11/7/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: > > Yes, I have it working. Search for some old posts. You need to enable > file-protocol from Continuum, then use a file-URL to get the pom. Maintain > a > se

CVS checkout fails: "Terminated with fatal signal 11"

2007-11-07 Thread Manuel.Renz
Hi togehter, I'm using continuum 1.1 beta 3 at the moment. I have set up 2 Projects which work just fine. Now I'm in the process of setting up my third project, which is quite large (clean checked out working copy round about ~260MB ), with which I have massive problems. Here is a short snippe

Re: Alpha plugin

2007-11-07 Thread Dennis Lundberg
Running 'mvn help:effective-pom' will show you the pom that will be used by your project. It also includes stuff that if inherited from a parent or the super-pom. It's a great way to find out your real configuration. Dimitris Kapanidis wrote: Wayne Fay wrote: Actually, I lock down all version

Re: Bug in property resolution?

2007-11-07 Thread Nigel Magnay
Building a test project shows that actually the property resolution seems fine (so is getting the right version), it's just not invoking the plugin - instead I get ERROR] BUILD ERROR [INFO] [INFO] 'mymojo' was specified in an

Problem caching an external Maven 1 repo .jar to Archiva internal repository

2007-11-07 Thread cbrown
Hello, Archiva Beta 3, plexus standalone, Fedora Core 5, jdk1.5.0_09 A user asked me to cache http://download.java.net/maven/1, a Maven 1 repo. I configured a proxy connector to cache it into the Archiva 'internal' maven 2 repository. The user has the following in his settings.xml;

RE: Alpha plugin

2007-11-07 Thread Brian E. Fox
The next release of enforcer has a rule to make sure plugins are locked down. Dependencies must already be specified, but there is also a rule to make sure snapshots aren't included (similar to release plugin). -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: how to replace config files during packaging the war

2007-11-07 Thread Jean-Yves LEBLEU
We have a project from which we can produce three different web applications. We are using resource filtering to generate config files with properties defined in different profiles. In this case we hare 3 different profiles with 3 different pom properties sets. JY On Nov 6, 2007 5:41 PM, Thomas

Re: [m2] Clearcase, Continuum and Maven 2?

2007-11-07 Thread Kalle Korhonen
Yes, I have it working. Search for some old posts. You need to enable file-protocol from Continuum, then use a file-URL to get the pom. Maintain a separate view for Continuum. Kalle On 11/7/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I am wondering if there is anyone out there that is working

Re: Problem caching an external Maven 1 repo .jar to Archiva internal repository

2007-11-07 Thread Brett Porter
I was able to reproduce it. The problem is that this looks like a maven1 plugin, coming from a maven1 repository, so it translates to /plugins/ which doesn't exist. Manually installing is a reasonable workaround. You can file an issue if you like - though the only way I could think to fix it is fo

Re: [m2] Clearcase, Continuum and Maven 2?

2007-11-07 Thread Kalle Korhonen
It doesn't support discovering the sub-modules. Just add them to Continuum manually. Kalle On 11/7/07, Mick Knutson <[EMAIL PROTECTED]> wrote: > > But I thought the default file-url does not support multi-module > project...? > no? > > > > > > On 11/7/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote

Does my POM have to know the full SCM path?

2007-11-07 Thread kroe
We use SVN as a source control system. I am trying to implement maven/continuum and am a bit confused. Hopefully I am missing something... In order for continuum to find a maven2 project in the source repository and check it out, you need an scm entry in your POM. It seems like this needs to b

Re: Does my POM have to know the full SCM path?

2007-11-07 Thread Graham Leggett
kroe wrote: > If the branch must be included in the scm entry in the POM (e.g. trunk), then the POM would need to be updated every time we create a branch or merge one back into the trunk. This sounds like a pain. Use the release plugin for your releases and creating your branches. The relea

[ms] issues with ssh connection to repo?

2007-11-07 Thread Mick Knutson
I want to connect to a remote repository with a different user than I am when I am compiling: remote-esp-dap-site maven_user somephrase c:/ssh/rc-sun66e-private.ppk plink pscp

Build profiles and overriding resources

2007-11-07 Thread ravasthi
I'm having an odd problem to do with overriding resources and build profiles. I'm hoping someone can give me some insight as to why Maven is behaving as it does. First, let me give you some background. I recently migrated my Ant project to a Maven project, and I'm running Maven 2.0.7. I'm relative

Setting the Build Properties

2007-11-07 Thread Jean-Philippe Steinmetz
Hello All, I need to compile a project for java 1.5. I've searched around and found that I need to set the maven.compile.build property to 1.5 but where exactly do I need to make this change? What file do I edit? Also, can I set it within my pom.xml instead to make it project specific? Thanks J

Re: Setting the Build Properties

2007-11-07 Thread Wayne Fay
This is documented in a lot of places... Take your pick. 1. In the Maven FAQ: http://maven.apache.org/general.html#Compiling-J2SE-5 2. In the maven-compiler-plugin docs: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html 3. In the Maven User Wiki (so

Re: [MAVEN CHECKOUT]

2007-11-07 Thread Wayne Fay
Maven is simply looking to download the pom files for those dependencies, which apparently are missing in the repos you've configured. Please encourage the providers of those various jar files to provide corresponding pom files. Once Maven has the pom files, it will stop trying to download them.

Re: Simple WAR file question

2007-11-07 Thread Kram
Thats an interesting idea, I will have to think about the best way to do this, it shouldn't be this hard... I just need to figure out what is going on behind the scenes, then I can make the right judgement Thanks for the idea Lee Meador-3 wrote: > > What if your build had two steps. > > 1) C

Re: Migrate project to maven

2007-11-07 Thread Sean Qiu
thanks, :) 2007/11/7, Vanja Petreski <[EMAIL PROTECTED]>: > > Operating system can trigger activation of specific profile, so you can > have > operating system specific builds. > > On Nov 7, 2007 9:39 AM, Sean Qiu <[EMAIL PROTECTED]> wrote: > > > I am interested in this topic. > > I have another q

[MAVEN CHECKOUT]

2007-11-07 Thread João Kreuzberg
Hello guys, I'm having some problems regarding maven checking out dependencies every single time I try to run any command. a simple mvn compile results on at least 2 or 3 minutes waiting. Even I have all the dependencies, it still goes ahead and look for dependencies. The only usable way is add

Re: Maven Release

2007-11-07 Thread Brett Porter
it looks more like your working copy is corrupt - have you tried a clean checkout? On 08/11/2007, Simon Taylor <[EMAIL PROTECTED]> wrote: > Im trying to configure my first release and having an issue. > > Mvn release:clean > Mvn release:prepare > > [INFO] [release:prepare] > [INFO] Resuming releas

Re: [ms] issues with ssh connection to repo?

2007-11-07 Thread Dennis Lundberg
You need to use the same id in your distribution management section in your pom, as the server settings you want to use from server.xml. In your case that would be 'remote-esp-dap-site'. So putting this in your pom.xml should do it: remote-esp-dap-site DAP

Re: Dependency resolution for multi-module projects

2007-11-07 Thread Dmitry
Please check documentation - maven book its very usefull. Thanks, DT Search www.ejinz.com - Original Message - From: "Plotnicki, Grzegorz " <[EMAIL PROTECTED]> To: Sent: Tuesday, November 06, 2007 5:29 PM Subject: Dependency resolution for multi-module projects Hi, I'm writing a cus

Maven Release

2007-11-07 Thread Simon Taylor
Im trying to configure my first release and having an issue. Mvn release:clean Mvn release:prepare [INFO] [release:prepare] [INFO] Resuming release from phase 'scm-tag' [INFO] Tagging release with the label RemedySLAFormula-1.0... [INFO] Executing: svn --non-interactive copy --file C:\WINDOWS\TEM