Re: issue with plugin beeing reused

2007-11-09 Thread nicolas de loof
, nicolas de loof wrote: Here is my antrun configuration. As you can see, I'm setting some plugin dependencies. I'm also using antrun in another module to run a java command line class from sql2java, set as plugin dependency. On the second antrun execution, it's classpath is set from

Re: issue with plugin beeing reused

2007-11-09 Thread nicolas de loof
for this issue 2007/11/9, Roland Asmann [EMAIL PROTECTED]: And the ant-run is defined in the parent? Or in the separate modules? On Friday 09 November 2007 16:47, nicolas de loof wrote: Not the case. I only have a parent pom to group modules, and all modules are on the same hierarchival

Re: [ANNOUNCE] Archiva 1.0 Beta 3 Released

2007-11-05 Thread nicolas de loof
Sorry, I came too late for the vote on this beta-3 release. Jira is in maintenance for now and I cannot check for issues. For my personnal experiments, beta3 solves all the issues I got with archiva from a maven1 point of view. I'm using it (installed one hour ago) as my corporate repository for

Re: jsunit integration

2007-10-23 Thread nicolas de loof
locations. I plan to look at selenium how they run browsers without full path. Nico 2007/10/22, Insitu [EMAIL PROTECTED]: nicolas de loof [EMAIL PROTECTED] writes: FYI I've started a javascript plugin project as part of maven Mojo. It allready support running jsunit tests : http

Re: jsunit integration

2007-10-23 Thread nicolas de loof
I just included your code (backported to jsunit 2.1) in my jsUnitMojo to get the expected report. I also requested for upload of the required dependencies on central. 2007/10/22, nicolas de loof [EMAIL PROTECTED]: I also got no reply to my request. jsunit (2.1) depends on jetty 4.2. I've

Re: declare dependencies depending on jdk version

2007-10-23 Thread nicolas de loof
That's not the same case : testng has many jars with various classifier, depending on the jdk used to build it from sources. They all share the same POM A maven artifact with a classifier always has the same POM as the no-classifier artifact. You will need to create multiple VERSIONS on the jar

Re: jsunit integration

2007-10-22 Thread nicolas de loof
FYI I've started a javascript plugin project as part of maven Mojo. It allready support running jsunit tests : http://svn.codehaus.org/mojo/trunk/sandbox/javascript-maven-tools You can look at javascript-maven-plugin JsUnitMojo, that runs a customized TestCase with a shared jsUnit server to

Re: jsunit integration

2007-10-22 Thread nicolas de loof
, merged with a project's test cases and dependencies, is worth looking more at. Harlan On 10/22/07, nicolas de loof [EMAIL PROTECTED] wrote: FYI I've started a javascript plugin project as part of maven Mojo. It allready support running jsunit tests : http://svn.codehaus.org/mojo

how to specify the default email domain ?

2007-10-19 Thread nicolas de loof
Hello, I'd like continuum to notify developers who broke the build by email. The new Send a mail to latest committers option should solve this, but many developers in my team did not add a developer element in the project POM. Is there any way to make continuum use a default email format ? We all

Re: list of companies using Maven 2.0.7

2007-10-11 Thread nicolas de loof
We are using it at capgemini on many projects, but it has not (yet ?) been selected as a corporate tool. Nico. 2007/10/11, Habib [EMAIL PROTECTED]: Can any one tell me which are the companies using Maven 2.0.7 or Maven 2.x? thanks in advance. -- View this message in context:

Re: Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread nicolas de loof
What differs between the plexus-utils DirectoryScanner and the ant one ? Nico. 2007/10/8, Manos Batsis [EMAIL PROTECTED]: Tim Kettler wrote: the plugins provided by the maven team use plexus-utils for this [1]. The relevant classes are DirectoryScanner and FileUtils. Have a look at the

eclipse:eclipse and war dependencies

2007-10-05 Thread nicolas de loof
Hello, I just checkout an existing multimodule JEE project. I run mvn eclipse:eclipse to configure my workspace, and the plugin handles dependencies ordering as expected to build my eclipse conf WITHOUT having to first install the artifacts. (eclipse plugin reminds the project artifacts and

Re: Using maven for JavaScript projects

2007-10-01 Thread nicolas de loof
forward to contributing. If we can produce a unified view on how to develop js I don't see any reason not to adopt this. Rich -Original Message- From: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: 01 October 2007 06:10 To: Maven Users List Subject: Re: Using maven for JavaScript

Re: Using maven for JavaScript projects

2007-10-01 Thread nicolas de loof
I plan to add support for the yahoo compressor. I have some issues with the dojo one (needs to reset the rhino context, and found no way to do so) I'll look at the plugin you pointed, thanks. 2007/10/1, Haroon Rafique [EMAIL PROTECTED]: On Today at 9:56am, HR=Haroon Rafique [EMAIL PROTECTED]

Re: Using maven for JavaScript projects

2007-09-30 Thread nicolas de loof
there; and the second is MIT. Harlan On 9/27/07, nicolas de loof [EMAIL PROTECTED] wrote: Thanks a lot for those links, i'll take a look tomorow. Is it ok with you that I pick up code and/or ideas from this projects ? I didn't found a License notice on the first one. The second one is MIT

recommandation for JS packaging ? (was Using maven for JavaScript projects)

2007-09-28 Thread nicolas de loof
What would be the better way to package JS libs ? - option 1 : use existing WAR packaging with war overlay good : Works today with no change, just requires us to agree on a common folder for scripts bad : cannot be used with jetty:run as the weapp is not packaged - option 2 : use js

Re: recommandation for JS packaging ? (was Using maven for JavaScript projects)

2007-09-28 Thread nicolas de loof
: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: 28 September 2007 15:10 To: Maven Users List Subject: recommandation for JS packaging ? (was Using maven for JavaScript projects) What would be the better way to package JS libs ? - option 1 : use existing WAR packaging with war overlay good

Re: recommandation for JS packaging ? (was Using maven for JavaScript projects)

2007-09-28 Thread nicolas de loof
jetty using the jetty:run goal... Nico. 2007/9/28, Manos Batsis [EMAIL PROTECTED]: nicolas de loof wrote: What would be the better way to package JS libs ? - option 1 : use existing WAR packaging with war overlay good : Works today with no change, just requires us to agree on a common

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
I also started a javascript plugin. The first mojo is a compressor based on Dojo shrinksafe. The main advantage of this compressor is that it is based on Rhino, a Java JS runtime, and so ensure the compressed code IS strictly equivalent to the original one.

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
That was one goal of my plugin : provide a maven extention to allow js packaging type. I proposed for contrib on the mojo dev list but got fiew interest. My goal is to allow build projects like scriptaculous using maven : dependency on prototype, merging of multiple individual .js, attachement

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
: how do you integrate with jsDoc ? AFAIK this is a JS based tool, not really simple to invoke from a Java Mojo. Or maybe you use a JS Mojo ? Would you like to colaborate on a common javascript plugin ? Would you publish it as part of the Mojo project ? 2007/9/27, nicolas de loof [EMAIL PROTECTED

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
) that uses these plugins if there isn't one already? It would be a good starting point for people who want to use maven for JavaScript. -Original Message- From: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: 27 September 2007 11:51 To: Maven Users List Subject: Re: Using maven for JavaScript

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
Sourceforge has a patch entry in tracker (http://sourceforge.net/tracker/?atid=717014group_id=128899func=browse) You can also send it to me at [EMAIL PROTECTED] Thanks a lot for contributing. 2007/9/27, Insitu [EMAIL PROTECTED]: If I want to contribute something, where do I send patches ? --

Re: Using maven for JavaScript projects

2007-09-27 Thread nicolas de loof
: http://soashable.googlecode.com/svn/jslibbuilder/trunk/ On 9/27/07, nicolas de loof [EMAIL PROTECTED] wrote: I myself make test based on scriptaculous and prototype. I'm not developer on this project so this is only a proof-of-concept. Prototype is based on multiple simple js files

assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
Hello, My pom has a dependencyManagement set to configurre commons-collection dependency to version 3.2. My eclipse classpath has the expected Jar, my build works fine. When I use assembly to create a jar-with-dependencies I get commons-collections-2.0 unpacked. I have 2 dependencies that both

Re: assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
the commons-collection version that you don't want in your dependency declaration. http://maven.apache.org/pom.html#Exclusions HTH Jim On 9/26/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, My pom has a dependencyManagement set to configurre commons-collection dependency

Any advantage of utisng plexus-compiler-eclipse ?

2007-09-24 Thread nicolas de loof
Just curious, Is there anybody that use an alternative compiler for maven-compiler-plugin ? Does the eclipse compiler support any must-have feature ? Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Any advantage of utisng plexus-compiler-eclipse ?

2007-09-24 Thread nicolas de loof
Is there any compiler to target 1.3 with source 1.5 ? There is no limitation for that in the class file format. 2007/9/24, Carlos Sanchez [EMAIL PROTECTED]: osgi package imports/exports for instance. AFAIK is the only one that supports it On 9/24/07, nicolas de loof [EMAIL PROTECTED] wrote

Re: Repos Managers : Archiva, artifactory, proximity, file://

2007-09-24 Thread nicolas de loof
I have installed archiva for our corporae repo with no issue. I also made some contribs for a better maven1 support (I have lot's of legacy project taht uses maven1), so that I don't require 2 similar repos just to support m1 m2. Archiva works fine, and I didn't get performance issues. Archiva

producing UML from javadocs (or other source-level meta-datas)

2007-09-19 Thread nicolas de loof
Hello, I'm looking for a nice tool to generate UML diagrams from my source code, based on some javadocs tags or other source-level meta-datas. The idea is to allow source code refactoring without having to apply changes manually on a UML model. I'd like this tool to run as part of my mvn site

surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
Hello, I've got an issue in my project that uses retrotranlator : http://hammerfest.svn.sourceforge.net//svnroot/hammerfest/retrotanslator-runtime13/trunk/ The retrotranslator runtime is declared as a dependency to compile project classes (that is an extension to retrotranslator) Retrotranslator

Re: surefire classpath uses project dependencies prior to target/classes

2007-09-06 Thread nicolas de loof
I've found myself the response by searching JIRA : SUREFIRE-61 Using surefire-2.4-SNAPSHOT solves my issue. 2007/9/6, nicolas de loof [EMAIL PROTECTED]: Hello, I've got an issue in my project that uses retrotranlator : http://hammerfest.svn.sourceforge.net//svnroot/hammerfest/retrotanslator

how to declare a dependency that depends of target JRE ?

2007-09-05 Thread nicolas de loof
Hello, I'm writing a shared utility project that uses backport-util-concurrent. This dependency has 3 versions, for java 1.2/1.3, java 1.4 and Java 5. How to set my POM dependencies so that projects that use my lib get the expected backport in classpath ? For now the only way I've found is to

Re: RE : how to declare a dependency that depends of target JRE ?

2007-09-05 Thread nicolas de loof
not print this email unless absolutely necessary. Capgemini encourages environmental awareness. De: nicolas de loof [mailto:[EMAIL PROTECTED] Date: mer. 05/09/2007 09:47 À: Maven Users List Objet : how to declare a dependency that depends of target JRE

Re: buildNumber plugin error

2007-08-29 Thread nicolas de loof
I have the same issue as I'm french and my svn installation is localized by default, so the svn info command returns : Révision : xxx This makes the plugin fail. I've allready reported this issue to the plugin author and he planned to fix this in next release. Nico. 2007/8/29, cNT [EMAIL

castor-1.0.4.jar on maven repo is not same as the one distributed by codehaus

2007-08-17 Thread nicolas de loof
I've got an issue with castor jar : artifacts from http://dist.codehaus.org/castor/1.0.4/ are compiled for 1.3, and the ones published at http://repo1.maven.org/maven2/org/codehaus/castor/castor/1.0.4/ require java 1.4 Jars are not the same. What's wrong ? Who published those jars ? Where do

Re: castor-1.0.4.jar on maven repo is not same as the one distributed by codehaus

2007-08-17 Thread nicolas de loof
. 2007/8/17, Werner Guttmann [EMAIL PROTECTED]: Hi, I am not 100% sure, but it could be that somebody uploaded these JARs to the ibiblio repos manually, as we (the Castor team) switched to Maven uploads slightly later. Regards Werner Castor, committer Jörg Schaible wrote: nicolas de loof

any way to use legacy layout for local repository ?

2007-08-09 Thread nicolas de loof
Hello Lot's of my old projects use maven1, and new one start with maven2. To avoid downloading multiple copy of same jars, I'd like to share the local repository between m1 and m2. Is there any way to make maven2 use legacy repository layout ? Nico.

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
- and only set that property under the profiles you want it to execute under. You can see how to active a block of ant code here in my book: http://www.sonatype.com/book/lifecycle.html#a_structure_for_goal_execution -- Eric Redmond http://blog.propellors.net On 8/6/07, nicolas de loof

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
your suggestion works fine. Thanks to helping me solving this issue. Nico. 2007/8/8, nicolas de loof [EMAIL PROTECTED]: Based on your link, I don't need a profile but a (plugin) dependency to antcontrib to use the if tag. My POM will the look more and more like an ant script. Maven

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
you can extract ant from your pom. -- Eric Redmond http://blog.propellors.net On 8/8/07, nicolas de loof [EMAIL PROTECTED] wrote: Based on your link, I don't need a profile but a (plugin) dependency to antcontrib to use the if tag. My POM will the look more and more like an ant

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
for many existing but not (yet) supported tools. Seems we have to wait for maven 2.1 for this :( Nico. 2007/8/8, nicolas de loof [EMAIL PROTECTED]: I agree about being better to create a plugin. Will just have to find time for doing it, and good arguments to spend time on a project

Re: castor plugin and castor version

2007-08-07 Thread nicolas de loof
castor 1.0 split code into castor + castor-codegen-antask, so I tried : - creating a relocation pom for castor 1.1 - adding castor:castor:1.1 and org.codehaus.castor:castor-codegen-anttask as dependencies to the plugin I get the expected warning : [WARNING] While downloading

file based profile activation - best practice ?

2007-08-06 Thread nicolas de loof
Hello, I'm using a code generator, and I'd like to avoid regeneration of code on each build. I've set a profile to launch the generation using the antrun plugin The profile is active based on a generated file missing : profile idsql2java/id activation file

castor plugin and castor version

2007-08-06 Thread nicolas de loof
I'm using castor to generate code. the plugin (mojo) has a dependency on castor:castor:0.9.7 This version has a generator bug (http://jira.codehaus.org/browse/CASTOR-742) that is solved in 1.0.4 But I can't override the plugin classpath to set version to 1.0.4 as the groupId has been changed

Re: file based profile activation - best practice ?

2007-08-06 Thread nicolas de loof
that when running from the parent ie sql2java_top or something. Wayne On 8/6/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, I'm using a code generator, and I'd like to avoid regeneration of code on each build. I've set a profile to launch the generation using the antrun plugin

repository with latest hibernate jars ?

2007-08-01 Thread nicolas de loof
Is there a maven repository with latest hibernate jars ? I've looked at http://repository.jboss.org/ but is doesn't contain the latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?

Re: repository with latest hibernate jars ?

2007-08-01 Thread nicolas de loof
PROTECTED]: Have you looked at the http://repo1.maven.org/maven2/org/hibernate/hibernate repo. They've got both the 3.2.4ga and 3.2.4sp1, but no 3.2.5 yet. Christopher On 8/1/07, nicolas de loof [EMAIL PROTECTED] wrote: Is there a maven repository with latest hibernate jars ? I've looked

assembly issue with an ear

2007-07-31 Thread nicolas de loof
My project has multiple modules, one of them packages my webapp as ear. My parent project has an assembly descriptor to build a tar from artifacts + some script files If I run mvn assembly:assembly I get a strange error about my ear having no file attached : [INFO] Failed to create assembly:

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
phase ahead of the assembly invocation, to ensure all modules have been built. 2007/7/31, nicolas de loof [EMAIL PROTECTED]: My project has multiple modules, one of them packages my webapp as ear. My parent project has an assembly descriptor to build a tar from artifacts + some script files

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
would execute first (std package or assembly), but it might be worth a short. In 2.1 the pre-package phase will be added, so things like this should be easier to deal with in a consistent way. -- Eric Redmond http://blog.propellors.net On 7/31/07, nicolas de loof [EMAIL PROTECTED] wrote

[maven 1.1] StackOverflowError error for ant:echo in multiproject plugin ???

2007-07-18 Thread nicolas de loof
Hello, I'm working on an old project that used maven 1.0.1 and try to upgrade to 1.1. When I run the multiproject:install goal, I get a java.lang.StackOverflowError: at java.lang.String.init(String.java:208) at java.lang.StringBuffer.toString(StringBuffer.java:586) This is cause

Re: [maven 1.1] StackOverflowError error for ant:echo in multiproject plugin ???

2007-07-18 Thread nicolas de loof
PROTECTED]: Two more jira's that might be helpful: http://jira.codehaus.org/browse/MAVEN-1745 http://jira.codehaus.org/browse/MAVEN-1830 -Lukas Lukas Theussl wrote: Probably because of this: http://jira.codehaus.org/browse/MAVEN-1749 check your properties... HTH, -Lukas nicolas de loof

Re: JavaScript compression plugin

2007-06-11 Thread nicolas de loof
I've built one based on dojo shrinksafe. It's not yet released. I've proposed it as contrib to maven mojo but did not get the expected interest. I'll release it this summer if you can wit for it. 2007/6/11, Adam Altemus [EMAIL PROTECTED]: We (http://www.mobilvox.com) are currently working

Re: m2: Profile activation based on project (not System) property

2007-06-11 Thread nicolas de loof
Had the same request some weeks ago. The reply is ... not yet supported, only possible on maven 2.1 with some dedicated plugins... 2007/6/12, Samuel Le Berrigaud [EMAIL PROTECTED]: Hi Dave, did you get any reply to that? We are trying achieve a similar configuration and would appreciate any

any way to override a plugin dependency ?

2007-06-05 Thread nicolas de loof
Hello, I've got a legacy project to convert from maven1 to maven2. It uses castor to generate code based on an XSD. castor plugin from mojo uses castor 0.9.7, and my project use castor 0.9.5, and the generated code is not compatible (unmarshall returns Object in 0.9.7 !) I've those options : 1

Re: any way to override a plugin dependency ?

2007-06-05 Thread nicolas de loof
Seems to work, I also though it didn't. 2007/6/5, Wendy Smoak [EMAIL PROTECTED]: On 6/5/07, nicolas de loof [EMAIL PROTECTED] wrote: I've got a legacy project to convert from maven1 to maven2. It uses castor to generate code based on an XSD. castor plugin from mojo uses castor 0.9.7

Re: profile activation based on property = properties in POM

2007-06-04 Thread nicolas de loof
trying to accomplish, but it only works on Maven trunk (which is currently pre-alpha). Sorry for any confusion. -john On May 28, 2007, at 5:03 AM, nicolas de loof wrote: Hello, I'd like to have a set of profiles in my corporate parent POM for various maven usage. To enable them depending

transitive provided dependency

2007-06-04 Thread nicolas de loof
Hello, My POM declares a dependency on a library that itself has dependency on JEE apis (jca, jms) declared as provided. Those dependencies are not set in my classpath by the eclipse plugin, neither get include during compile. According to

Re: transitive provided dependency

2007-06-04 Thread nicolas de loof
on which your project depends, but are expected to be provided by the environment in which the code is going to be executed. You don't want the dependency in your war/ear, neither do you want to force them on dependent projects. Cheers Jo On 6/4/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, My

Re: How to tell Maven where to find jar (specify classpath)

2007-06-02 Thread nicolas de loof
You can also point to an existing location in maven public repo ( http://repo1.maven.org/maven2/com/oracle/) When trying to compile, maven will complain not finding the dependecy and output the command required to install the file in the local repository. The POM gives the URL to download the

any way to exclude many or all transitive dependencies with exclusions ?

2007-06-01 Thread nicolas de loof
Hello, Spring 2.1-m2 changed spring packaging and I had to revisit my POM. I get lot's of dependencies conflicts as many other dependencies introduce old spring modules as transitive dependencies. I'll have to set a huge number of exclude to make it work. Is there any way to use exclude with

profile activation based on property = properties in POM

2007-05-28 Thread nicolas de loof
Hello, I'd like to have a set of profiles in my corporate parent POM for various maven usage. To enable them depending on projects I'd like to set a property in the project POM to enable the profile : example : - corporate parent pom : profile idJava5/id activation

maven plugin to download (and unzip) a JAR ?

2007-05-15 Thread nicolas de loof
Hello I'm looking for a maven plugin to download a Jar that IS NOT is maven repo. The target Jar is the Dojo modified Rhino.jar. As it is in Dojo subversion, it is available but subject to changes, so I'd like to get the latest during my build. The maven-remote-resource-plugin only support

Re: maven plugin to download (and unzip) a JAR ?

2007-05-15 Thread nicolas de loof
Thats the solution I'm currently trying thanks. 2007/5/15, Stephane Nicoll [EMAIL PROTECTED]: What about an ant task (wget + unzip). Stéphane On 5/15/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello I'm looking for a maven plugin to download a Jar that IS NOT is maven repo. The target

Re: how to run svn propset from maven ?

2007-05-14 Thread nicolas de loof
is create a pre-commit hook for subversion that will prevent said files from being added. I think that should be much, much easier to enforce than using maven. Trevor Spackman -Original Message- From: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 7:40 AM To: Maven

Re: how to run svn propset from maven ?

2007-05-14 Thread nicolas de loof
I finally used the tigris svnant package and the antrun plugin. Seems to work (more testing required). 2007/5/14, nicolas de loof [EMAIL PROTECTED]: I've found various projects that use a .svnignore file, that is set to svn:ignore property using the -F option. I'll try to use the mojo exec

how to run svn propset from maven ?

2007-05-11 Thread nicolas de loof
Hello, I'd like to include in my corporate POM the required configuration to set svn:ignore on maven projects when added to a svn repository. Lot's of svn newbee commit all the project, including eclipse conf and target content. Any suggestion ? Nico.

how to disable a profile ?

2007-05-03 Thread nicolas de loof
Hello, my settings.xml contain a set of mirror. In some circunstances I'd like to disable them. To do this, I've set them in a profile that is enabled by default. How can I disable this profile from the command line ? Nico.

Re: how to disable a profile ?

2007-05-03 Thread nicolas de loof
In fact, I was wrong, the settings descriptor doesn't allow to set mirrors in a profile. I'll have to comment the XML block any time I want to disable mirrors... 2007/5/3, nicolas de loof [EMAIL PROTECTED]: Hello, my settings.xml contain a set of mirror. In some circunstances I'd like

Re: how to disable a profile ?

2007-05-03 Thread nicolas de loof
Thanks ! 2007/5/3, Jörg Schaible [EMAIL PROTECTED]: mvn -s alternate-settings.xml :) nicolas de loof wrote on Thursday, May 03, 2007 12:02 PM: In fact, I was wrong, the settings descriptor doesn't allow to set mirrors in a profile. I'll have to comment the XML block any time I want

Re: Guide to creating archetypes...

2007-05-03 Thread nicolas de loof
I'm trying to use the archetypeNG plugin from an existing complex (multi module) project. The plugins ask me for archetype groupId and other properties on every module of the source project. It generates an archetype for every module. I'd like to generate the complete project with modules from

Re: Guide to creating archetypes...

2007-05-03 Thread nicolas de loof
I allready tried this, but the generated archetype does not include modules (only parent pom). 2007/5/3, Raphaël Piéroni [EMAIL PROTECTED]: Try mvn -N archetypeng:create-from-project Raphaël 2007/5/3, nicolas de loof [EMAIL PROTECTED]: I'm trying to use the archetypeNG plugin from

Re: What is the official maven 2 repository location?

2007-05-01 Thread nicolas de loof
http://repo1.maven.org/maven2 is the official location. maven 1.1-dev also has been updated to download from http://repo1.maven.org/maven The doc may needs some cleanup. 2007/5/1, Xavier Hanin [EMAIL PROTECTED]: Hi, I'd like to know what is the official maven 2 repository location. Indeed

how to set the repositories to be used for plugin dependencies ?

2007-04-24 Thread nicolas de loof
Hello, I'd like to configure a dependency to the compiler plugin (the SUN rt.jarfor java 1.3) as I use it for bootclasspath : artifactIdmaven-compiler-plugin/artifactId configuration compilerArguments bootclasspath

Re: How do Archiva Proxied Repositories work?

2007-04-23 Thread nicolas de loof
Archiva downloads artifacts on demand via HTTP using wagon-http. I use a similar config with no issue, but I don't have any proxy to set to access repo1. AFAIK rsync is not yet available. 2007/4/23, M Wurm [EMAIL PROTECTED]: Hi there, I've set up Archiva and (almost everything) works fine. I

Re: Maven and Archiva in a corporate environment

2007-04-20 Thread nicolas de loof
I myself have this config : I have folder-based repositories (hand managed, not included in archiva as managed repo) for - private corporate artifacts (release + snapshots) - restricted libs (sun jar, oracle driver...) - free libs not available on repo1 OR -soures.jar for existing libs

Re: Maven and Archiva in a corporate environment

2007-04-20 Thread nicolas de loof
! nicolas de loof-2 wrote: I myself have this config : I have folder-based repositories (hand managed, not included in archiva as managed repo) for - private corporate artifacts (release + snapshots) - restricted libs (sun jar, oracle driver...) - free libs not available on repo1 OR -soures.jar

howto set svn:ignore in archetype ?

2007-04-19 Thread nicolas de loof
Hello is there any way to specify svn:ignore metadata as elements of an archetype ? I'd like my archetype to generate a webapp, with target and eclipse .project automatically set as svn:ignore. Any suggestion ? Nico

Re: How to set the Eclipse Java Compiler property JDK Compliance using the eclipse plugin?

2007-04-14 Thread nicolas de loof
This requires http://jira.codehaus.org/browse/MECLIPSE-172 to be fixed. You can vote for it. 2007/4/13, Paul Spencer [EMAIL PROTECTED]: I have set the compiler version for the maven-compiler-plugin, but that does not seem to affect the eclipse plugin. plugin

Re: Using maven directly from a java application ?

2007-04-12 Thread nicolas de loof
The snapshot is for the parent POM, so having a repository set in the POM has no effect as maven has to resolve the parent before reading the POM... You can run maven with -DremoteRepositories= http://people.apache.org/maven-snapshot-repository This avoids changing your settings and allow to

Re: maven 2.0.6 and xdoclet-maven-plugin

2007-04-05 Thread nicolas de loof
Why don't we get a dependency failure if maven cannot built the expected classpath ? 2007/4/4, Jörg Schaible [EMAIL PROTECTED]: nicolas de loof wrote on Wednesday, April 04, 2007 5:24 PM: I got the same issue. xdoclet plugin requires some ant classes. Maven 2.0.6 seems to make changes

what JvmMx to set ? (OutOfMemoryError: Java heap space)

2007-04-04 Thread nicolas de loof
Hello I'm using archiva SNAPSHOT as proxy to multiple public repos in my corporate environment I get some OutOfMemoryError: Java heap space. Not sure this is related to archiva itself as it is deployed on a windows box as Tomcat service, with default config. What would you recommand for JvmMx

Re: integrate JavaScript dev tools in maven build ?

2007-04-04 Thread nicolas de loof
Thanks a lot for all those links. 2007/4/4, Manos Batsis [EMAIL PROTECTED]: nicolas de loof wrote: I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. Actually

Re: maven 2.0.6 and xdoclet-maven-plugin

2007-04-04 Thread nicolas de loof
I got the same issue. xdoclet plugin requires some ant classes. Maven 2.0.6 seems to make changes in plugins classpath and you have to add a dependency to the plugin : plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId

Re: ConcurrentModificationException

2007-04-03 Thread nicolas de loof
synchronization or use of a CopyOnWriteArrayList. I've created http://jira.codehaus.org/browse/WAGON-79 for this. 2007/4/2, nicolas de loof [EMAIL PROTECTED]: Hello, I've setup archiva as proxy to maven central. I'm using a recent snapshot build. I get sometimes (?) 500 errors when downloading

integrate JavaScript dev tools in maven build ?

2007-04-03 Thread nicolas de loof
Hello, My webapps now come with more and more JavaScript (web 2.0 !) I expect maven to bring me best-practices and great tools the same way it did for my java code. Is there any work-in-progress to integrate some JS-tools as maven plugins ? - jsdoc (or similar) to générate javadoc-like

Re: integrate JavaScript dev tools in maven build ?

2007-04-03 Thread nicolas de loof
I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. 2007/4/3, nicolas de loof [EMAIL PROTECTED]: Hello, My webapps now come with more and more JavaScript (web 2.0 !) I

regression using maven 2.0.6

2007-04-03 Thread nicolas de loof
I've upgraded to maven 2.0.6 and my build fails : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal '

Re: regression using maven 2.0.6

2007-04-03 Thread nicolas de loof
/dependency /dependencies 2007/4/3, nicolas de loof [EMAIL PROTECTED]: I've upgraded to maven 2.0.6 and my build fails : [INFO] [ERROR] BUILD ERROR [INFO

Re: Diff like pluigin

2007-04-03 Thread nicolas de loof
the changelog plugin ( http://maven.apache.org/plugins/maven-changelog-plugin/changelog-mojo.html) can produce a log starting from a specified tag the scm plugin (http://maven.apache.org/scm/plugins/changelog-mojo.html) can also dump a changelog to console based on dates. I never used them

Re: integrate JavaScript dev tools in maven build ?

2007-04-03 Thread nicolas de loof
I also discovered Dojo has a javascript compressor that may be embedded as maven plugin http://alex.dojotoolkit.org/shrinksafe/ An alternative is JSMin that has a Java version ( http://inconspicuous.org/projects/jsmin/JSMin.java) 2007/4/3, nicolas de loof [EMAIL PROTECTED]: I just

Re: Is it possible to execute maven-jar-plugin in a different lifecycle phase than package phase?

2007-04-03 Thread nicolas de loof
Why don't you create the jar in another module, and set it as dependency ? 2007/4/3, Zhou, Wei [EMAIL PROTECTED]: Hi, I need to build the jar file before my test code can be run. But Maven 2 only packages the jar file after the test code is run successfully. I have tried to play with my pom

ConcurrentModificationException

2007-04-02 Thread nicolas de loof
Hello, I've setup archiva as proxy to maven central. I'm using a recent snapshot build. I get sometimes (?) 500 errors when downloading artifacts. According to logs, this is a ConcurrentModificationException. Is this a known bug ? Here is the stacktrace : 2007-04-02 10:11:25,392

can an archetype update the project pom ?

2007-03-29 Thread nicolas de loof
I've read on archetype plugin doc that allowPartial can be used to run archetype on an existing project. What happens when the archetype creates some existing files, in particular the POM : I'd like my archetype to add some Struts2 conf to an existing webapp, and this includes updating

Re: Proxied Repositories

2007-03-29 Thread nicolas de loof
.../repository? When I go to the website and look at /repository, I get a directory listing. Is that just standard tomcat doing that or is it archiva making that page for me? -Ben nicolas de loof wrote: Your right about the download on request behaviour : Archiva will ask the proxied

Re: Proxied Repositories

2007-03-29 Thread nicolas de loof
/pluginRepositories /profile nicolas de loof wrote: The browsing is rendered by archiva. What URL did you provide as miror ? 2007/3/29, Ben Tatham [EMAIL PROTECTED]: Oh wait...I spoke to soon. Now it got the artifact directly from repo1.maven...That's what I don't want. Argg... Nico

Re: any way to read properties file from a POM ?

2007-03-29 Thread nicolas de loof
plugin to read from a properties file. Wayne On 3/29/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, I'm using dbunit mojo to create a clean database before my integration-tests run. My DB configuration is set in the test classes via a properties file ( jdbc.properties) I'd like to avoid

need help to create an integration-test archetype

2007-03-28 Thread nicolas de loof
Hello, I'd like to create an integration-test archetype for my webapps projects. It will use cargo and selenium as explained on matt raible blog and some other blogs/maven wikis. I get an issue as my POM template must include the cargo deployable element to refer to the WAR artifact :

Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread nicolas de loof
I'm using Archiva for the same use case but this requires to apply MRM-153 patch I've suggested. MRM-153 was allready included in oldest archiva builds, but recent changes required me to reopen this issue. No comment yet from archiva developers. 2007/3/28, Elid OR [EMAIL PROTECTED]: Hi all,

<    1   2   3   4   5   6   7   >