Custom properties injected within the execution of archetype:create

2008-07-31 Thread Alexandre Touret
Hello, I m currently trying to inject a custom property in the execution of the creation of a project my an archetype. I'd like to maven resolves this property like groupId or artifactId in a pom file. I tried to both inject the property in the command line (eg.: -Dmyproperty ) and the settings

Deploy a site generated by mvn site with FTP

2008-07-18 Thread Alexandre Touret
Hello is there a way to deploy a website generated with mvn site by FTP ? According to the documentation I only saw file scp. Do you know an other way ? thanks in advance for your help regards, Alexandre -- View this message in context:

mvn site by ftp ?

2008-06-27 Thread Alexandre Touret
hi, I m looking for a way to copy to a remote server the web site created by mvn site. Now, I only found the scp way and I d like an other way such as rcp or ftp. Is these protocols avialable ? Thanks Alexandre -- View this message in context:

Deploy in the repository as many artifacts as profile target environments

2008-06-12 Thread Alexandre Touret
Hello, I m trying to implement maven into all my development processes such as compile, package, release, quality,and much more. Especially I'd like to deploy on a maven repository my artifacts but classified by target environment. Right now, I have 5 ones : local for developers, develepment,

Re: maven release failure: Content is not allowed in prolog

2008-05-13 Thread Alexandre Touret
I saw that both pom.xml and settings.xml doesn t like files modified by ultraedit. When I opened these files with edit ( in command prompt yeahh) I could see a 'bad' byte at the beginning. It this one which occurs this error hope this helps regards alexandre Danilo Tuler-2 wrote: Hi, I'm

Re: Plugins vs Ant tasks

2008-03-21 Thread Alexandre Touret
In my opinion, if you want to produce a 'one shot' action and you dont care about reusability - which is the case of your touch plugin- you may run an antrun plugin inside a phase. Else, if you want to produce a reusable action, you should work to a mojo plugin Alexandre Saloucious wrote:

Re: Getting Maven and BEA Workshop to play nice...

2008-03-20 Thread Alexandre Touret
Hello, In my opinion, you should try to run the eclipse plugin with wtp enabled. If you have read the maven user list recently you should have read the announcement about the last release of the maven-eclipse-plugin. For WTP support run the following command if you have the eclipse-plugin 2.5

Re: Getting Maven and BEA Workshop to play nice...

2008-03-20 Thread Alexandre Touret
suggestions how how to do that?! Thanks, James Alexandre Touret [EMAIL PROTECTED] ree.fr

Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Alexandre Touret
Hello, I guess install is not a plugin but a phase, such ascompile or test the related plugin is described as following : dependency groupIdplugins.org.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version2.0-alpha-3/version /dependency Hope this helps ;-)

Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Alexandre Touret
Hello, I guess install is not a plugin but a phase, such ascompile or test the related plugin is described as following : dependency groupIdplugins.org.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version2.0-alpha-3/version /dependency Maybe, you should try

Re: which ant version that maven-antrun-plugin will run?

2008-03-10 Thread Alexandre Touret
Hello, No I don't think so Regards, Alexandre 2008/3/10, Baz [EMAIL PROTECTED]: Is there a way that I can use Maven 2 to run ant 1.7.0 tasks? On Mon, Mar 10, 2008 at 12:37 AM, Baz [EMAIL PROTECTED] wrote: Do you know if there is a maven version that will support Ant 1.7.0+ ? Thanks.

Re: Maven doesnt download archetypes from a custom repository

2008-03-04 Thread Alexandre Touret
Thanks Alexandre Touret wrote: Hi, I deployed a custom archetype in the repository of my company. Unfortunately, I cant figure out how to retreive automatically that. I saw on JIRA I should use the remoteRepositories property but I have the same behaviour. Maven doesnt try to download

Re: Maven doesnt download archetypes from a custom repository

2008-03-04 Thread Alexandre Touret
Hello I tried to create a project from a SNAPSHOT release of my custom archetype. It works fine ... So, in conclusion : maven can download automatically archetypes from a snapshot custom repository but not for a release repository If you can see how to solve this problem or any workaround

the archetype plugin doesnt download any archetype from a custom repository

2008-03-04 Thread Alexandre Touret
Hi, I deployed a custom archetype in the repository of my company. Unfortunately, I cant figure out how to retreive automatically that. I saw on JIRA I should use the remoteRepositories property but I have the same behaviour. Maven doesnt try to download the archetype from the 'local' repository

[m2.06] How to catch the 'prepare-package' phase in this release ?

2007-06-19 Thread Alexandre Touret
Hello, I have to replace one argument in a file which is in the src/main/webapp/WEB-INF directory . Just for information, the argument is the version of the current maven project. ex. : from core:init debug=true jndi-pattern=@@applicationname@@/#{ejbName}/local / to core:init debug=true

Re: [MOJO] What s the dependency including MavenProject class ?

2007-06-14 Thread Alexandre Touret
in Maven core.. you can find it inside the uber jar in your $M2_HOME/lib. -Deng Alexandre Touret wrote: Hello, I m currently programming a mojo plugin. I d like to use the MavenProject class as described in the book Better builds with maven. I created the project with a simple plugin

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexandre Touret
Hello, probably, you could add the directory META-INF in your resource directory like src/main/resources/META-INF It should work Alexandre Farrukh S. Najmi a écrit : Dear colleagues, My maven2 war project produces a file under the target tree as part of the generate-source phase:

Re: How to add file to war META-INF dir

2007-06-14 Thread Alexandre Touret
META-INF files from target tree? Any other suggestions? Alexandre Touret wrote: Hello, probably, you could add the directory META-INF in your resource directory like src/main/resources/META-INF It should work Alexandre Farrukh S. Najmi a écrit : Dear colleagues, My maven2 war

[MOJO] What s the dependency including MavenProject class ?

2007-06-13 Thread Alexandre Touret
Hello, I m currently programming a mojo plugin. I d like to use the MavenProject class as described in the book Better builds with maven. I created the project with a simple plugin archetype generation. However, the class MavenProject is not present in the dependencies and I didn t figure out

[M2] EAR module, WTP and eclipse plugin

2007-03-02 Thread Alexandre Touret
Hello, I m using M2.0.5 with the last releases of both eclipse and wtp. I have an EAR archetype with some wars and jars (ejb, and others). When I run the eclipse plugin in maven, I have some troubles (sometimes described in this mailing list) : - the ear is not recognized as an enterprise

MVN Repository firefox search engine

2007-02-27 Thread Alexandre Touret
Hello, do you know if there are any firefox extension (search engine) available for the website mvn repository ? Thanks. Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

How to skip tests during release phase ?

2007-01-16 Thread Alexandre Touret
Hello, I tried to skip the testcases with the property maven.test.skip initialized to true during the release:prepare goal but its not work. Is it possible to skip test phase ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: How to skip tests during release phase ?

2007-01-16 Thread Alexandre Touret
Alexandre Touret wrote: Hello, I tried to skip the testcases with the property maven.test.skip initialized to true during the release:prepare goal but its not work. Is it possible to skip test phase ? I forgot: Thanks in advance :-D Regards, Alexandre

Re: [M2] How to run a testng singletest with surefire ?

2006-12-06 Thread Alexandre Touret
Hello firstly, thanks for your response. Unfortulately, I already tried this option but when I dont set any testsuite, surefire doesnt find any testcase. Alexandre Touret Petar Tahchiev wrote: On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem

Re: [M2] How to run a testng singletest with surefire ?

2006-12-06 Thread Alexandre Touret
OK I moved the testng dependency from my root project (I use a multiproject ) to each module. Now it works fine. I suppose its a bug I m going to add an issue in JIRA Regards, Alexandre Alexandre Touret wrote: Hello firstly, thanks for your response. Unfortulately, I already tried

[M2] How to run a testng singletest with surefire ?

2006-12-05 Thread Alexandre Touret
hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase

[M2] Some troubles with maven-surefire-plugin and testng

2006-12-04 Thread Alexandre Touret
hello, I m trying to run maven-surefire-plugin with testng. I have some troubles: 1 - if I dont specify teh testsuites path in pom.xml, surefire doesnt find any test, even if I try to specify include elements My pattern : include**/*Test.java/include I decided to specify a testsuite in a xml

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret
Hello, I have already tried this. Regards, Alexandre [EMAIL PROTECTED] wrote: Hi Try: mvn -DwtpVersion=1.0 eclipse:eclipse Hermod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret
Alexandre Touret wrote: 2 / The configuration of project facets how may configure the eclipse plugin in order to specify the versions of projects facets of WTP (Servlet API version number, JAVA version ,...) ? I finally solved this problem. I add the following configuration to the maven

Maven 2, Eclipse WTP

2006-11-06 Thread Alexandre Touret
Hello, I m trying to integration a J2EE multiproject built with maven2 under eclipse WTP (last version) I have some troubles: 1 / The location of WEB-INF directory according to the maven structure, I put the WEB-INF directory in src/main/webapp Unfortunately when I start mvn eclipse:eclipse

Re: [M1] AspectJ with two source trees (main/src main/test)

2006-11-02 Thread Alexandre Touret
Hello, There are 2 builds : the classes and test classes. If you specify the aspectsourcedirectory in src/java, aspectj doesn t parse any file in src/test. Its the default behaviour I can suggest you to put all the aspects file have in ${maven.src.dir}/aspectj (as described in the plugin

[M2] Exclude a library for all the dependencies of my project

2006-11-02 Thread Alexandre Touret
/exclusions My question : is there a way to specify ONE TIME this exclusion for all the project ? Thanks Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2 - eclipse plugin]Specify the eclipse.dependency between artifacts

2006-10-31 Thread Alexandre Touret
Hello, is there a way to specify the project dependencies between some artifacts of a J2EE application in pom.xml ? In my application, I have a war which depends of some JARS and I d like to specify this depencency with the eclipse plugin Is it possible ? Thanks for your help! Regards,

Re: [M2] Surefire and Spring configuration files

2006-10-18 Thread Alexandre Touret
Finally, I solved my problem with this config location: classpath*:**/applicationContext-test*.xml Regards Alexandre Alexandre Touret wrote: Hello, I programmed some testcases which run perfectly under M1.x . I moved them to M2 recently. Unfortunately, I have some troubles

[M2] Surefire and Spring configuration files

2006-10-17 Thread Alexandre Touret
configuration files under test-classes. I have already verified that all the files are present in this directory. I also tried to fork the process and to do the childDelegation. I have the same result What can I do ? Thanks for your help Regards, Alexandre Touret

Re: Ant tasks in Maven

2006-10-17 Thread Alexandre Touret
Hello I think you should try to do your plugin with the JAVA API instead of ANT. In my opinion, I prefer do JAVA Plugins and as a last resort, do ant plugin Regards, Alexandre Morgovsky, Alexander (US - Glen Mills) wrote: Is using Ant tasks in Maven going to be supported as long as Maven 2

[M2] ANT plugins and mapping maps or collections

2006-10-03 Thread Alexandre Touret
Hello, is there a way to specify collections or maps parameters to ant plugins ? I know that it s possible with mojo plugin and I d like to do same thing in a ant plugin Thanks in advance Regards, Alexandre - To

How to use ant-contrib inside an ant plugin?

2006-10-03 Thread Alexandre Touret
/groupId artifactIdant-contrib/artifactId version20020829/version /dependency Thanks in advance for your help!! Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[M2] How to include scripting libraries in the dependency classpath of a plugin ?

2006-09-28 Thread Alexandre Touret
not create task or type of type: script. I 've tried to include rhino dependencies in the plugin's pom.xml but I still have the same error. How may I use the script task ? Thanks Regards, Alexandre Touret - To unsubscribe, e

Re: [M2] How to include scripting libraries in the dependency classpath of a plugin ?

2006-09-28 Thread Alexandre Touret
of type: script. I 've tried to include rhino dependencies in the plugin's pom.xml but I still have the same error. How may I use the script task ? Thanks Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED

[m2]Plugins transitive dependencies in EAR ?

2006-09-21 Thread Alexandre Touret
as: dependency groupIdcom.oracle.oc4j/groupId artifactIdjavax77/artifactId version10.1.3/version /dependency How can I disabled this ? Thanks in advance! Regards, Alexandre Touret

[M2]Handle some dependencies in ANT plugin

2006-09-20 Thread Alexandre Touret
in maven 1 Thanks ! Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2]Maven fails while developing plugin with 1.5 compliant sources

2006-08-31 Thread Alexandre Touret
possible to use the Sun APT in order to process annotations in despite of qdox ? Do you know any other workaround? Thanks in advance for your help! Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Downloading artifacts and metadata

2006-08-31 Thread Alexandre Touret
to the ibiblio site http://ibiblio.org/maven2 and look at the pom.xml of the artifact. If so, would it be necessary to download the whole artifact to extract this kind of information? Thanks a lot in advance for any help! Hope this help Best regards, Ovidio Regards, Alexandre Touret

Re: Specifying a pre-existing application.xml

2006-08-31 Thread Alexandre Touret
Hello Jeff Mutonho wrote: Q1) How do I specify a pre-existing application.xml to the maven-ear-plugin ? Look at the official documentation of the ear plugin. It seems to have one property to set during the ear:generate-application.xml execution

[M2] Create Dynamic Web Projects of Enterprise Projects under Eclipse WTP

2006-08-23 Thread Alexandre Touret
in advance for your help! Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Building ear, war without including resources (Maven 2.0)

2006-08-23 Thread Alexandre Touret
Hello did you try to set the scope of the dependencies to system or runtime ? Regards, Alexandre daniele pirola wrote: Hi, I am novice in Maven. I try to investigate if my company projects could be migrated to Maven and I have a question. We have building many projects creating ear files or war

[M2] Build complex projects

2006-07-12 Thread Alexandre Touret
the dependencies in the EAR and assign these dependencies with the scope 'provided' in the guis pom.xml but I would like to know what the 'best practices' for this kind of problem. Thanks in advance Regards, Alexandre Touret

Re: [M2] Build complex projects

2006-07-12 Thread Alexandre Touret
-Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: 12 July 2006 12:42 To: Maven Users List Subject: [M2] Build complex projects Hi, I m migrating my projects from M1 to M2. I have a J2EE project (Struts, spring, hibernate) with the following structure: daos ? dao

Re: Exclude subversion files in war

2006-07-12 Thread Alexandre Touret
schumhan wrote: Hi, I have a multi-module project and use the war-plugin to create finally a war file. All that works more than fine. Actually my project is version controlled by subversion and the war-plugin puts the files from .svn/*.* all in the war file. I tried many hints like exludes or

Re: [M2] Control all the dependencies injected

2006-07-11 Thread Alexandre Touret
OK thanks for your answers, I ll try to implement that :-) Alexandre Jörg Schaible wrote: Hi Alöexandre, Alexandre Touret wrote on Monday, July 10, 2006 6:35 PM: Hello, I m trying to migrate from m1.x to m2. I think M2 is powerfull by transitive dependencies functionality.But in my J2EE

Re: Best practices in testing Hibernate/EJB3 POJOs (or doing database tests)

2006-07-11 Thread Alexandre Touret
which produce some injections of dependencies like spring. It will be easier for you. Hope this helps Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2] Control all the dependencies injected

2006-07-10 Thread Alexandre Touret
Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [M1.0.2] How to change resources dependencies at runtime

2005-10-24 Thread Alexandre Touret
d'origine- De : Alexandre Touret [mailto:[EMAIL PROTECTED] Envoyé : vendredi 21 octobre 2005 11:53 À : Maven Users List Objet : [M1.0.2] How to change resources dependencies at runtime Hi I would like to change resources dependencies at runtime with a jelly script is t possible ? it would

[M1.0.2] How to change resources dependencies at runtime

2005-10-21 Thread Alexandre Touret
Hi I would like to change resources dependencies at runtime with a jelly script is t possible ? it would be nice if someone could give me a sample Thanks in advance Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED

Offline documentation

2005-07-21 Thread Alexandre Touret
Hi, how can I download all the reference documentation of maven 1.0.2 like we can see on maven web site? I want to install it on a server for avoid several access on maven site just for doc. Thanks in advance Alexandre -

FTP internal repository

2005-07-08 Thread Alexandre Touret
Hi I have created a FTP Repository for maven in my society maven cant connect to this server with this configuration maven.repo.list= R1, R2 # Interne (par défaut) maven.repo.R1=ftp://172.20.1.89/repository maven.repo.R1.username=ato maven.repo.R1.password=ato

[M 1.0.2] Plugin Scripting problem

2005-07-06 Thread Alexandre Touret
Hi, I am coding a plugin. When I try to start any of the goal I have the following error $ maven oc4jcore:shutdown __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 org.apache.commons.jexl.parser.TokenMgrError: Lexical

Re: maven and ssh via jsch library?

2005-06-15 Thread Alexandre Touret
dan tran wrote: dont know to much about this yet, but here it is http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-ssh/ -D On 6/14/05, Alexandre Touret [EMAIL PROTECTED] wrote: phillip rhodes wrote: I need to do some ssh commands in maven. Has anyone ever

Re: maven and ssh via jsch library?

2005-06-14 Thread Alexandre Touret
phillip rhodes wrote: I need to do some ssh commands in maven. Has anyone ever used jsch in maven? I would expect to see it documented as a plugin, but numerous searches for ssh and maven did not return any information. Thanks. I tried to do this a few time ago with Maven 1.0.2.. I

[Maven 1.0.2] How to do SSH/SCP/SFTP ?

2005-06-08 Thread Alexandre Touret
Hi all, I am using maven 1.0.2 with JDK 1.4.2. How can I do SSH SCP and SFTP? I was try ant:scp and ant:ssh but these tasks are not available into this version of maven. Do I try to execute the command with ant:exec ? Thanks for your help Alexandre

Re: [Maven 1.0.2] How to do SSH/SCP/SFTP ?

2005-06-08 Thread Alexandre Touret
/pscp.exe ant:arg line=-v/ ant:arg line=D:/Temp/example.txt [EMAIL PROTECTED]:d:/Temp / echoCommand Executed/echo /ant:exec The above code working for me. And SFTP goal you can use 'taskdef' import that class and it will work Thanks Kumar -Original Message- From: Alexandre

Hibernate dependencies

2005-04-14 Thread Alexandre Touret
Hi, I am trying to parameter hibernate with maven. Could you send me a sample of project configuration file where the dependencies of hibernate are initialized? Thanks in advance Alexandre - To unsubscribe, e-mail: [EMAIL

Re: Hibernate dependencies

2005-04-14 Thread Alexandre Touret
/dependency JTA you will need to park somewhere on your own server. And I am not sure anymore if it is required. Also, note that depending on your environment you might need to add more deps. -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 8:00

Re: project dependencies

2005-04-06 Thread Alexandre Touret
Hi, I think you could set this dependency in the project descriptor project.xml like this dependencies dependency groupIdthe group/groupId artifactIdthe artifact/artifactId typejar/type version1.0/version /dependency /dependencies Alexandre Bahaa Nasrallah wrote: Hi,

[APPSERVER] tomcat install corrupted

2005-03-31 Thread Alexandre Touret
Hi, I am trying to use the appserver plugin for use it with tomcat 4.1.27. I ran appserver:install and all the JAR copied into my ${maven.appserver.dir}directory are corrupted! For an example, I cant open bootstrap.jar . My configuration maven 1.0.2 J2SE SUN 1.4.2_07 Thanks in advance for you