Problem ejbdoclet and ejb:install
Hello, I'm using ejbdoclet to generate the EJB Classes for a project, that are put in the directory target/xdoclet/ejbdoclet of my project.. When I launche ejb:install, these classes are not included in my ejb-jar. What have I got to do for this ? Thanks in advance. ___ _ _ _ bgOnline
Plugin JAR : bug maven.jar.final.name
Hello, I set the JAR variable maven.jar.final.name = ${pom.artifactId}-client-${pom.currentVersion}.jar. When I make a jar:install, I have this jar in my target directory, but the jar installed in my local repository is ${pom.artifactId}-${pom.currentVersion}.jar. What should I do in order to install the jar generated with the good name ? Thanks in advance. _ _ _ bgOnline
How to use Environment variables
Hello, Is it possible to use environment variables as a reference in the project.properties file ? In fact, I'd like to make a reference to my environment variable JBOSS_HOME as ${JBOSS_HOME}. Is it possible ? Thanks in advance... ___ _ _ _ bgOnline
Mevenide and Eclipse 3.1
Hello, I'm working under Eclipse 3.1.0 and Maven 1.1-beta-2. When I install the mevenide plugin for Eclipse, and that I try to launch a maven goal, I have the following exception : javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:202) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:162) at org.apache.maven.plugin.PluginManager.createJellyScriptHousing(PluginManager.java:395) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:589) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) I suppose this error is due to the package xerces that can't be found by Maven. Where can I put it so it works ? Thanks in advance. __ _ _ _ bgOnline
How to include Java files generated by XDoclet ?
Hello, I'm generating some files using XDoclet, that I put in the directory project/target/xdoclet/my_generated_files. When I try to compile my sources, I get an error as the generated files aren't compiled. How can I add them for the compilation ? For info, I'm usnig Maven 1.1-beta-2. Thanks in advance. __ _ _ _ bgOnline
Local repository update from the remote repository
Hello, Is it possible to update the local repository from the remote repository ? Indeed, in my custom remote repository, I updated a jar file, and I want that when I launch a maven command on my workstation including this jar file, maven gets the new jar file from the remote repository. Thanks in advance... ___ _ _ _ bgOnline
RE: Local repository update from the remote repository
I forgot to mention that I was using maven 1.1. And when I look into the options, the -u option is for displaying help on using the current project. So, this option doesn't work for me. Or have I got to type the command maven install to update my repository ? _ _ _ _ bgOnline -Original Message- From: Deepika.M [mailto:[EMAIL PROTECTED] Sent: jeudi 15 décembre 2005 13:50 To: Maven Users List Subject: Re: Local repository update from the remote repository Hi there, Yes you can upgrade your repository from remote machine by using -U option with ur old command for example: C:\mvn install -U try this - Deepika.S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to define another local repository in Maven 1.1 ?
Hello, Is it possible to define another directory for the local repository in Maven 1.x ? Thanks in advance. ___ _ _ _ bgOnline
Continuous Integration with Luntbuild
Hello, I'm currently trying the tool Luntbuild, which seems to be appropriate for my needs. Nevertheless, I don't manage to make it work for one of my project. I have a Subversion VCS repository, and one of my project is at the following url : http://tomcat/svn/commons/trunk/commons Thus, all the sources are under the directory commons/trunk/commons. In luntbuild, I've defined a VCS adaptor, with the following repository url base: http://tomcat/svn/commons Directory for trunk : trunk ... modules : commons == when a checkout is done with luntbuild, I have the following structure: luntbuild/work/commons/commons/... But my maven project.xml file is under the last commons directory. How can I solve this problem ? Thanks in advance... ___ _ _ _ bgOnline
RE: Continuous Integration with Luntbuild
I managed doing it now, but setting the following property in Builders of type maven : Directory to run Maven in : commons It works, and my jar has been successfully constructed, but it has been failed for luntbuild. I have the following output in my build_log.txt : --- jar:jar: [jar] Building jar: C:\Program Files\luntbuild\work\commons\commons\target\commons-1.0.jar LA CONSTRUCTION A RÈUSSIE Temps total: 28 secondes Fini le: lundi 28 novembre 2005 8:41:18 CET Maven builder failed: build success condition not met! --- How can I solve this ? Thanks in advance... _ _ _ bgOnline -Original Message- From: Blaise Gosselin Sent: lundi 28 novembre 2005 8:37 To: Maven Users List Cc: '[EMAIL PROTECTED]' Subject: Continuous Integration with Luntbuild Hello, I'm currently trying the tool Luntbuild, which seems to be appropriate for my needs. Nevertheless, I don't manage to make it work for one of my project. I have a Subversion VCS repository, and one of my project is at the following url : http://tomcat/svn/commons/trunk/commons Thus, all the sources are under the directory commons/trunk/commons. In luntbuild, I've defined a VCS adaptor, with the following repository url base: http://tomcat/svn/commons Directory for trunk : trunk ... modules : commons == when a checkout is done with luntbuild, I have the following structure: luntbuild/work/commons/commons/... But my maven project.xml file is under the last commons directory. How can I solve this problem ? Thanks in advance... ___ _ _ _ bgOnline
Continuous Integration Tool
Hello, What is the best tool to use for Continuous Integration ? I've already tested the following : - CruiseControl : good tool but apparently, not yet supported in Maven 2 - Continuum : problem to add a Maven 1.x project, error messages not explicite enough, etc. Thanks in advance for your help. _ _ _ bgOnline
RE: Continuous Integration Tool
I enter the URL of the POM of the Maven 1.x project in Subversion, and I have such a kind of error : The URL you provided is not a valid URL. Moreover, I don't really like the fact that Continuum is only accessible by http://localhost:8080/continuum/ I would prefer a webapp, as for CruiseControl, where I can make a link to the results. _ _ _ bgOnline -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: vendredi 25 novembre 2005 15:49 To: Maven Users List Subject: Re: Continuous Integration Tool Blaise Gosselin a écrit : Hello, What is the best tool to use for Continuous Integration ? I've already tested the following : - CruiseControl : good tool but apparently, not yet supported in Maven 2 - Continuum : problem to add a Maven 1.x project, error messages not explicite enough, etc. What are your error messages? Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Continuous Integration Tool
Did you already try CruiseControl, Continuum, DamageControl, etc. ? Is LuntBuild easy to install, etc. ? Thanks for your advice. _ _ _ _ bgOnline -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 25 novembre 2005 16:13 To: Maven Users List Subject: RE: Continuous Integration Tool I recommend you to try Luntbuild: http://www.pmease.com/luntbuild/ You can also have a look at this matrix: http://damagecontrol.codehaus.org/Continuous+Integration+Server+Feature+Matrix Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Blaise Gosselin [EMAIL PROTECTED] Pour 25/11/2005 15:40 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List Continuous Integration Tool [EMAIL PROTECTED] che.org Hello, What is the best tool to use for Continuous Integration ? I've already tested the following : - CruiseControl : good tool but apparently, not yet supported in Maven 2 - Continuum : problem to add a Maven 1.x project, error messages not explicite enough, etc. Thanks in advance for your help. _ _ _ bgOnline - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Continuous Integration Tool
Thanks a lot for your answer Fabrice, very clear to me. _ _ _ _ bgOnline -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 25 novembre 2005 16:46 To: Maven Users List Subject: RE: Continuous Integration Tool Actually, I had to choose a CI tool last year. At that time, I tried most existing CI tools, amongst which Luntbuild seemed to me to be the best choice. But: 1- it was one year ago. I haven't had the time to try Continuum since its release. And as I'm really satisfied with Luntbuild, so I don't feel the need to change for the moment. 2- you should really try them all (hope you have some time to spend ;o)). We've had already lots of questions like yours on the mailing list, and what I've seen is that the final choice really depends on your requirements (obvious!) and the feeling you will have with the tool. And yes, Luntbuild is really easy to install, and very well documented. Have fun! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Blaise Gosselin [EMAIL PROTECTED] Pour 25/11/2005 16:21 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List RE: Continuous Integration Tool [EMAIL PROTECTED] che.org Did you already try CruiseControl, Continuum, DamageControl, etc. ? Is LuntBuild easy to install, etc. ? Thanks for your advice. _ _ _ _ bgOnline -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vendredi 25 novembre 2005 16:13 To: Maven Users List Subject: RE: Continuous Integration Tool I recommend you to try Luntbuild: http://www.pmease.com/luntbuild/ You can also have a look at this matrix: http://damagecontrol.codehaus.org/Continuous+Integration+Server+Feature+Matrix Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Blaise Gosselin [EMAIL PROTECTED] Pour 25/11/2005 15:40 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List Continuous Integration Tool [EMAIL PROTECTED] che.org Hello, What is the best tool to use for Continuous Integration ? I've already tested the following : - CruiseControl : good tool but apparently, not yet supported in Maven 2 - Continuum : problem to add a Maven 1.x project, error messages not explicite enough, etc. Thanks in advance for your help. _ _ _ bgOnline - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Which mevenide should I use ?
Hello, I'm working with the following configuration : - Eclipse 3.1.0 - Maven 1.1-beta-2 - JDK 1.4.2_07 Which version of Mevenide should I use for compatibility ? Thanks in advance. __ _ _ _ bgOnline
[m1] How to define my own remote repository in my maven installation ?
Hello, Is it possible to define my own remote repository in the installation directories of Maven 1 ? If yes, where should I configure it ? I know that it can be configured in a file project.properties of a maven project, but I'd like to define it only once for all my projects. Thanks in advance. ___ _ _ _ bgOnline
RE: [m1] How to define my own remote repository in my maven installation ?
What do you mean by home directory ? I suppose it is the C:\Documents and Settings\user\.maven for Windows ? Isn't it possible to define it in my installation directory ? ___ _ _ _ bgOnline -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: jeudi 17 novembre 2005 13:49 To: Maven Users List Subject: RE: [m1] How to define my own remote repository in my maven installation ? Blaise Gosselin wrote on Thursday, November 17, 2005 1:46 PM: Hello, Is it possible to define my own remote repository in the installation directories of Maven 1 ? If yes, where should I configure it ? I know that it can be configured in a file project.properties of a maven project, but I'd like to define it only once for all my projects. Define it in the build.properties of your home directory. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] Run jar without the tests ?
Is it possible, in Maven 1, to disable the tests while executing the jar command ? __ _ _ _ bgOnline
RE: [m1] How to bundle an ejb-client into a web module ?
Thanks a lot Arnaud. Everythnig is OK now !! _ _ _ _ bgOnline -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: lundi 14 novembre 2005 23:35 To: 'Maven Users List' Subject: RE: [m1] How to bundle an ejb-client into a web module ? Hi Blaise, It is a known bug : http://jira.codehaus.org/browse/MPWAR-50 It's already fixed, you can get the snapshot with : maven plugin:download -Dmaven.repo.remote=http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-war-plugin -Dversion=1.6.2-SNAPSHOT Arnaud -Message d'origine- De : Blaise Gosselin [mailto:[EMAIL PROTECTED] Envoyé : lundi 14 novembre 2005 15:00 À : users@maven.apache.org Objet : [m1] How to bundle an ejb-client into a web module ? Hello, I'm using Maven 1.1-beta-2. I have a web module that have the following dependency : dependency groupIdgroupd/groupId artifactIdartifact/artifactId version1.0/version typeejb-client/type properties war.bundletrue/war.bundle /properties /dependency But when I launch the maven command maven war in the web directory, I can't see the file ejb-client included in my generated artifact. What have I got to do ? Thanks in advance. _ _ _ _ bgOnline - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] How to bundle an ejb-client into a web module ?
Hello, I'm using Maven 1.1-beta-2. I have a web module that have the following dependency : dependency groupIdgroupd/groupId artifactIdartifact/artifactId version1.0/version typeejb-client/type properties war.bundletrue/war.bundle /properties /dependency But when I launch the maven command maven war in the web directory, I can't see the file ejb-client included in my generated artifact. What have I got to do ? Thanks in advance. _ _ _ _ bgOnline
[m1] How to bundle an ejb-client into a web module ?
Hello, I'm using Maven 1.1-beta-2. I have a web module that have the following dependency : dependency groupIdgroupd/groupId artifactIdartifact/artifactId version1.0/version typeejb-client/type properties war.bundletrue/war.bundle /properties /dependency But when I launch the maven command maven war in the web directory, I can't see the file ejb-client included in my generated artifact. What have I got to do ? Thanks in advance. _ _ _ _ bgOnline
[m2] Which is the last/good version ?
Hello, I'm new to m2, and I'm actually downloading the plugins of m2 in my own remote repository. So, I'm wondering what is the good version of plugin such as the following one : http://www.ibiblio.org/maven2/org/apache/maven/maven-plugin-api/ Indeed, there are 6 directories, containing almost the same files, but in different versions. Which is the good one, the last one, the one that I have to use ? I looked into the metadata file, but there is no default version. Could you help me please ? Thanks in advance. __ _ _ _ bgOnline
How to make a quick mirror of the repository central ?
Hello, I have to use to my own remote reopsitory, and so I'd like to make a one-shot download of the central remote repository of Maven2. How can I do that ? Is there a way to connect by FTP to the ibiblio server ? Or is there a plugin in Maven2 that allows to make this ? Can I use a tool like teleportpro ? Does someone have an idea ? Thanks in advance. __ _ _ _ bgOnline
RE: How to make a quick mirror of the repository central ?
Hello Nicolas, Thanks for your help. I find it quite easy to configure the maven-proxy, but I have a problem with my proxy. In fact, I have the following exception : 2005-11-10 10:52:23,562 [WARN ] commons.httpclient.HttpMethodBase - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials Any idea ?? Thanks in advance. ___ _ _ _ bgOnline -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: jeudi 10 novembre 2005 10:20 To: Maven Users List Subject: Re: How to make a quick mirror of the repository central ? You can use maven-proxy that can merge downloads from ibilio (and get repository upgrades) and private artifacts. This is usefull as you will get a private copy of maven repo limited to the artifact you're realy using in your projects. Blaise Gosselin a écrit : Hello, I have to use to my own remote reopsitory, and so I'd like to make a one-shot download of the central remote repository of Maven2. How can I do that ? Is there a way to connect by FTP to the ibiblio server ? Or is there a plugin in Maven2 that allows to make this ? Can I use a tool like teleportpro ? Does someone have an idea ? Thanks in advance. __ _ _ _ bgOnline This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to make a quick mirror of the repository central ?
Could you send me a package with the source of the core of the project maven-proxy ? I can't connect to the CVS repository from my machine, and it will take me a long time to get all the source by HTTP. Thanks in advance... _ _ _ bgOnline -Original Message- From: Peter Bright [mailto:[EMAIL PROTECTED] Sent: jeudi 10 novembre 2005 12:13 To: Maven Users List Subject: RE: How to make a quick mirror of the repository central ? It's pretty easy to make maven-proxy support NTLM for its own upstream proxies. Whether this change breaks it in any way, I don't know; we need to be able to use an NTLM proxy and aren't actually bothered if it breaks non-NTLM proxies, and for NTLM proxies it works fine. I built and changed maven-proxy from CVS in late July '05; I don't think it's changed since then so I think these changes should still be correct. I'd give a diff if I had the original source lying about, but I don't, so I won't (since I hate fighting with cvsgrab I'm not going to redownload it): 1) Add a 'domain' property to org.apache.maven.proxy.config.ProxyConfiguration (so a getter, a field, an argument in the constructor). 2) Make org.apache.maven.proxy.config.PropertyLoader populate this new domain field: String propertyList = props.getProperty( proxy.list ); if ( propertyList != null ) { StringTokenizer tok = new StringTokenizer( propertyList, , ); while ( tok.hasMoreTokens() ) { String key = tok.nextToken(); String host = getMandatoryProperty( props, proxy. + key + .host ); int port = Integer.parseInt( getMandatoryProperty( props, proxy. + key + .port ) ); // the username and password isn't required String username = props.getProperty( proxy. + key + .username ); String password = props.getProperty( proxy. + key + .password ); String domain = props.getProperty( proxy. + key + .domain ); ProxyConfiguration pc = new ProxyConfiguration( key, host, port, username, password, domain ); rcc.addProxy( pc ); } } 3) Make org.apache.maven.proxy.config.HttpRepoConfiguration use an NTCredentals object for its authentication: private HttpClient createHttpClient() { HttpClient client = new HttpClient(); HostConfiguration hostConf = new HostConfiguration(); ProxyConfiguration proxy = getProxy(); if ( proxy != null ) { hostConf.setProxy( proxy.getHost(), proxy.getPort() ); client.setHostConfiguration( hostConf ); if ( proxy.getUsername() != null ) { Credentials creds = new NTCredentials( proxy.getUsername(), proxy.getPassword(), proxy.getHost(), proxy.getDomain() ); client.getState().setProxyCredentials( null, null, creds ); } } return client; } I think that's it--the httpclient library knows how to speak NTLM, it's just it needs to get the right kind of credentials object to do so. This change gives it one. You now have an additional domain property for proxy auth settings, so populate that appropriately, and you should be good to go. YMMV, EOE, etc.. -Original Message- From: Blaise Gosselin [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 10:10 To: Maven Users List Subject: RE: How to make a quick mirror of the repository central ? Hello Nicolas, Thanks for your help. I find it quite easy to configure the maven-proxy, but I have a problem with my proxy. In fact, I have the following exception : 2005-11-10 10:52:23,562 [WARN ] commons.httpclient.HttpMethodBase - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials Any idea ?? Thanks in advance. ___ _ _ _ bgOnline -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: jeudi 10 novembre 2005 10:20 To: Maven Users List Subject: Re: How to make a quick mirror of the repository central ? You can use maven-proxy that can merge downloads from ibilio (and get repository upgrades) and private artifacts. This is usefull as you will get a private copy of maven repo limited to the artifact you're realy using in your projects. Blaise Gosselin a écrit : Hello, I have to use to my own remote reopsitory, and so I'd like to make a one-shot download of the central remote repository of Maven2. How can I do that ? Is there a way to connect by FTP to the ibiblio server ? Or is there a plugin in Maven2 that allows to make this ? Can I use a tool like teleportpro ? Does someone have an idea ? Thanks in advance. __ _ _ _ bgOnline This message contains information
Difference on the central repository of m2
Hello, I'm new to m2, and I'm wondering what's the difference between teh two followings URLs : http://www.ibiblio.org/maven2/org/apache/maven/plugins/ http://www.ibiblio.org/maven2/org/apache/maven/plugins/ http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ Indeed, I have no Internet connection here, and I'll have to create my own central mirror repository, in order to check the plugins in intern. So, what are the main packages and files I have to download to make so ? Thanks in advence. _ _ _ _ bgOnline