RES: RES: M2 from behind a proxy
Hi, Luca, John Casey and Peter Pilgrim. I created file settings.xml like this in ~/.m2 directory: true http copacabana.cetipnet 3128 true http bpeixoto.cetipnet 3128 And executed Maven like this: >mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Everything is working fine now. Thanks a lot for your help. Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: John Casey [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de outubro de 2005 13:47 Para: Maven Users List Assunto: Re: RES: M2 from behind a proxy -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might want to see the FAQ entry on proxy setup on the Maven website. You need an entry in ~/.m2/settings.xml to tell what the proxy settings are... http://maven.apache.org/guides/mini/guide-proxies.html HTH, john Roberto Castro wrote: | Hi, Luca! | I've entered this line but it didn't work yet: | mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app | -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128 | | Here is the error message I've been facing: | | + Error stacktraces are turned on. | [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin | gs\roberto\.m2\plugin-registry.xml' | [DEBUG] Building Maven global-level plugin registry from: 'G:\Maven\Apache Softw | are Foundation\maven-2.0\conf\plugin-registry.xml' | [INFO] Scanning for projects... | [INFO] Searching repository for plugin with prefix: 'archetype'. | [DEBUG] maven-archetype-plugin: using locally installed snapshot | [DEBUG] Artifact not found - using stub model: Unable to determine the latest ve | rsion | org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom | | | [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- | plugin:pom:LATEST | [DEBUG] maven-archetype-plugin: using locally installed snapshot | [DEBUG] Artifact not found - using stub model: Unable to determine the release v | ersion | org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom | | | [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- | plugin:pom:RELEASE | [INFO] - - | --- | [ERROR] BUILD ERROR | [INFO] - - | --- | [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi | st or no valid version could be found | [INFO] - - | --- | [DEBUG] Trace | org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m | aven.plugins:maven-archetype-plugin' does not exist or no valid version could be | found | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa | ultLifecycleExecutor.java:1124) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor | (DefaultLifecycleExecutor.java:1356) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy | AggregationNeeds(DefaultLifecycleExecutor.java:376) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:132) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | | at org.codehaus.classworlds.Launcher.main(Launcher.java:375) | Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p | lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val | id version could be found | at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl | uginVersion(DefaultPluginVersionManager.java:225) | at org.apache.maven.plugin.version.DefaultPluginVersionMan
RES: RES: M2 from behind a proxy
Luca, I deleted .m2/repository and executed Maven agind, but, It didn't work. I think Maven is not able to find ibiblio. Actually, the problem must be with proxy configuration. I'll try to configure settings.xml and I'll inform you later. Let's see. Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Luca Gmail [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de outubro de 2005 13:54 Para: 'Maven Users List' Assunto: RE: RES: M2 from behind a proxy The problem is not the proxy conf. maven, i don't know why, is unable to resolve the right version. I suggest to delete the .m2/repository dir and retry. Bye, Luca -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: venerdì 28 ottobre 2005 17.47 To: Maven Users List Subject: Re: RES: M2 from behind a proxy -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might want to see the FAQ entry on proxy setup on the Maven website. You need an entry in ~/.m2/settings.xml to tell what the proxy settings are... http://maven.apache.org/guides/mini/guide-proxies.html HTH, john Roberto Castro wrote: | Hi, Luca! | I've entered this line but it didn't work yet: | mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app | -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128 | | Here is the error message I've been facing: | | + Error stacktraces are turned on. | [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin | gs\roberto\.m2\plugin-registry.xml' | [DEBUG] Building Maven global-level plugin registry from: 'G:\Maven\Apache Softw | are Foundation\maven-2.0\conf\plugin-registry.xml' | [INFO] Scanning for projects... | [INFO] Searching repository for plugin with prefix: 'archetype'. | [DEBUG] maven-archetype-plugin: using locally installed snapshot | [DEBUG] Artifact not found - using stub model: Unable to determine the latest ve | rsion | org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom | | | [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- | plugin:pom:LATEST | [DEBUG] maven-archetype-plugin: using locally installed snapshot | [DEBUG] Artifact not found - using stub model: Unable to determine the release v | ersion | org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom | | | [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- | plugin:pom:RELEASE | [INFO] - - | --- | [ERROR] BUILD ERROR | [INFO] - - | --- | [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi | st or no valid version could be found | [INFO] - - | --- | [DEBUG] Trace | org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m | aven.plugins:maven-archetype-plugin' does not exist or no valid version could be | found | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa | ultLifecycleExecutor.java:1124) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor | (DefaultLifecycleExecutor.java:1356) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy | AggregationNeeds(DefaultLifecycleExecutor.java:376) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:132) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | | at org.codehaus.classworlds.Launcher.main(Launcher.java:375) | Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p | lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val | id version could be found | at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl | uginVersion(DefaultPluginVersionManager.java:225) | at org.apache.maven.plugin
RES: M2 from behind a proxy
Hi, Luca! I've entered this line but it didn't work yet: mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128 Here is the error message I've been facing: + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin gs\roberto\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'G:\Maven\Apache Softw are Foundation\maven-2.0\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] maven-archetype-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest ve rsion org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- plugin:pom:LATEST [DEBUG] maven-archetype-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release v ersion org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- plugin:pom:RELEASE [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] - --- [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1124) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1356) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:376) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:132) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:158) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1095) ... 14 more [INFO] - --- [INFO] Total time: 1 second [INFO] Finished at: Fri Oct 28 13:22:39 BRST 2005 [INFO] Final Memory: 1M/2M [INFO] - --- Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: luca rasconi [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de outubro de 2005 12:07 Para: Maven Users List Assunto: Re: M2 from behind a proxy http://maven.apache.org/guides/mini/guide-proxies.html Luca On 10/28/05, Roberto Castro <[EMAIL PROTECTED]> wrote: > > Hi all, how I can configure M2 to access ibiblio from behind a proxy? > I'd like to create my first M2 project using a command line like this: > mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app > Thanks in advance, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro
M2 from behind a proxy
Hi all, how I can configure M2 to access ibiblio from behind a proxy? I'd like to create my first M2 project using a command line like this: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Thanks in advance, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Installing Maven in a Network drive
Hi, Brett and Dion, I installed Maven in a Windows network drive "G:" and moved local repository to network drive too. G:\ +- Maven +- Apache Software Foundation +- Maven 1.0.2 +- bin +- lib +- plugins +- LocalRepo +- .maven +- cache +- plugins +- repository To have lots of users using the same local repository, I started Maven this way: - set MY_GROUPID=MM-%USERNAME% call maven goaldefault -Dmaven.home.local=G:\Maven\LocalRepo\.maven -Dmm_groupid=%MY_GROUPID% . . . - So "G:\Maven\LocalRepo\.maven" is the network drive where I moved the local repository. I concateneted a string, wich identify my system "MM", with the username of each station in the variable "MY_GROUP". I configured "project.xml" file of the master project this way: 1 ${mm_groupid} . . . . . . The dependencies in "project.xml" of the subprojects are like the following: ${mm_groupid} spbmessage-${mm_domain} ${pom.currentVersion} At last, the local repository is this way: sample-echo [current directory] +- MM-roberto +- jars +- poms +- MM-luis +- jars +- poms This configurations is working fine now. Do you both see any problem in this configuration? This way to make other developers in the same network to use Maven, I will have to configure MAVEN_HOME variable only. Thank you all for the help. Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Dion Gillard [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 4 de outubro de 2005 01:00 Para: Maven Users List; Roberto Castro Assunto: Re: Installing Maven in a Network drive What Brett suggests below is exactly what we do, and it works great. We use mavenproxy from codehaus as the 'internal remote repo'. On 10/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > On 10/4/05, Roberto Castro <[EMAIL PROTECTED]> wrote: > > Hi all, is it possible to install Maven in a Network drive? I would like to > > install Maven in a shared drive to be used by all MsWindows computers of > > all developers in the company's network. > > Yes, this should work just fine. > > > At least, I would like all developers to use the same local repository. To > > do this, I would like to move and configure Maven in all computers to use > > Local Repositoty in a shared drive. > > This is dangerous. It is not read only - so developers can write their > changes over someone elses as they work. It is instead recommended > that you build an internal "remote" repository for them to use (can > still be shared), but that their "local" repository is still their > personal space. > > - Brett > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ "You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live." - George Bernard Shaw Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Installing Maven in a Network drive
Hi all, is it possible to install Maven in a Network drive? I would like to install Maven in a shared drive to be used by all MsWindows computers of all developers in the company's network. At least, I would like all developers to use the same local repository. To do this, I would like to move and configure Maven in all computers to use Local Repositoty in a shared drive. Thanks in advance. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems using dotuml plugin
Hi, I'm trying to use dotuml plugin to generate class diagram report inside my project's site. I'm using Maven 1.02 and Java 1.3.1_08 but I'm facing the followind error: popping off [EMAIL PROTECTED] for org.apache.maven [EMAIL PROTECTED] in maven-pom-plugin:maven-pom-plugin popping off [EMAIL PROTECTED] for org.apache.maven [EMAIL PROTECTED] in maven-artifact-plugin:maven-artifact-plugin popping off [EMAIL PROTECTED] for org.apache.maven. [EMAIL PROTECTED] in MM:MM BUILD FAILED File.. C:\Temp\SPBv2.00\MMmaster\maven.xml Element... echo Line.. 23 Column 9 java.lang.reflect.InvocationTargetException com.werken.werkz.UnattainableGoalException: Unable to obtain goal [multiproject: clean] -- C:\Temp\SPBv2.00\MMmaster\maven.xml:23:9: null at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Temp\SPBv2.00\MMmaster\maven.xml: 23:9: null at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:176) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) To start Maven I user the following script: maven multiproject:clean goaldefault multiproject:site dotuml -Dmm_tag_version=snapshot -Dcvsuser=roberto -Dcvspwd=trocar -Dreporemuser=rpremoto -Dreporempwd=matrix01 -Dmm_subprojects_name=spbmessage -Dmm_domain=cetip -X First of all I call "multiproject:cleam" and then a "goaldefault" goal. I have one master project "MMmaster" and a subproject "spbmessage". Does anyone know if there is any problem when running dotuml plugin with multiproject plugins? Thanks in advance, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem deploying to remote repository an artifact that already exists
Hi, all, I've been facing a problem when Maven tries to deploy to remote repository an artifact that already exists. I'm using Maven 1.02 and here are the master project properties: # Remote Repository Properties === maven.repo.remote=http://laranjeiras:8080/reporemoto maven.repo.remote.enabled=true #list of repositories to which we will deploy. #There are 1 repository maven.repo.list= CTPREPO #settings for repository 'CTPREPO' maven.repo.CTPREPO=ftp://laranjeiras maven.repo.CTPREPO.username=${reporemuser} maven.repo.CTPREPO.password=${reporempwd} maven.repo.CTPREPO.directory=tomcat/webapps/maven The followind messages are part of Mavenlog: 227 Entering Passive Mode (172,20,238,32,213,118). STOR ftpcetip-R1_0.pom 550 ftpcetip-R1_0.pom: Overwrite permission denied Failed to deploy to: CTPREPO Reason: Error executing FTP command org.apache.maven.deploy.exceptions.TransferFailedException: Error executing FTP command Thanks in advance for help. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reactor: Error getting projects
Hi all, reactor is facing a problem when it tries to find subprojects "project.xml" files, when I run multiproject:deploy. All subprojects are in directories like these: "SILOC/SilocLog", "SILOC/SilocException". I configured "maven.multiproject.basedir=${basedir}/SILOC" and "maven.multiproject.includes="SilocLog/project.xml,SilocException/project.xml" but reactor is not able to find subprojects. Here is the error: BUILD FAILED File.. /home/gver/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly Element... maven:reactor Line.. 63 Column 9 Error reading XML or initializing com.werken.werkz.UnattainableGoalException: Unable to obtain goal [goaldefault] -- /home/gver/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly:63:9: Error getting projects at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) I've been using mavem 1.0.2. Is there anytihng I can do to solve this problem? Thanks a lot in advance for the help. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: RES: Artifacts final names
Brett, Dan and Felipe. I migrated to 1.0.2 and downloaded ear plugin 1.6.1, everything is working fine know, except, "maven.war.final.name". Maven continues generating war artifact as "$(ArtifactId}-${pom.currentVersion}.war". By the way, as soon as, I decided not to change war artifact name, this probleam doesn't bother me anymore. Thanks a lot for the help. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Felipe Leme [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 3 de janeiro de 2005 23:20 Para: Maven Users List Assunto: Re: RES: Artifacts final names On Mon, 2005-01-03 at 18:37, Roberto Castro wrote: > It is working without "maven.war.final.name", but according Brett Porter, > when "Install" copies artifacts to local repository, The artifacts that are installed in the repository are always versioned, but inside the ear you could change their names, using the ear.bundle.name property. > I'll migrate to 1.0.2 anyway. After you migrate, please upgrade the maven ear plugin to the 1.6.1, as there were some issues with the ear.bundle properties on 1.6. You can automatically do that using the following command: maven plugin:download -DgroupId=maven -DartifactId=maven-ear-plugin -Dversion=1.6.1 -- Felipe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Artifacts final names
Yes, Dan. I have one subproject for each artifact. It is working without "maven.war.final.name", but according Brett Porter, when "Install" copies artifacts to local repository, it keeps the original name, i.e., "$(ArtifactId}-${pom.currentVersion}.war". It's OK now, but, the problem is that I would like to generate artifacts with the following names: "siloc-${pom.currentVersion}.war", "siloc-${pom.currentVersion}.jar" and "siloc-${pom.currentVersion}.ear", but I think it is impossible. No problem at all, I will generate "silocWar-${pom.currentVersion}.war", "silocJar-${pom.currentVersion}.jar" and "silocEar-${pom.currentVersion}.ear". I'll migrate to 1.0.2 anyway. Thanks a lot. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: dan tran [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 3 de janeiro de 2005 18:28 Para: Maven Users List Assunto: Re: Artifacts final names Roberto, did you divide your workspace into 4 projects, master, jar, war, ear? and have the mutiproject does the magic for you? Upgrade to maven 1.0.2 would help interm of multiproject and inheritent Also, search back to the list, there are strong objections on using maven.final.name. My suggestion here is first to to get it working without using maven.final.name. Then then tracing thru the jelly code of the plugins as well as plugin doco to get what you want. -D On Mon, 3 Jan 2005 18:12:24 -0200, Roberto Castro <[EMAIL PROTECTED]> wrote: > Check it out Brett. > > C:\SilocMaster>maven -v > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0 > > C:\SilocMaster> > >Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > > -Mensagem original- > De: Brett Porter [mailto:[EMAIL PROTECTED] > Enviada em: segunda-feira, 3 de janeiro de 2005 18:09 > Para: Maven Users List > Assunto: Re: Artifacts final names > > > > Maven is able to change the name of jar artifact, but, the same thing > > doesn't occurs with war artifact. > > What version of Maven? As far as I know it should work. > > > Besides this, when multiproct install copies jar and war artifacts to my > > local repository, It changes artifacts names, thus, even generating jar > > artifact with "maven.final.name", "Install" changes its names to > > "$(ArtifactId}-${pom.currentVersion}.jar". > > This is correct. The repository has a set format you can't change. > > > Besides this, when Maven genarates the 2 artifacts inside a "ear" artifact, > > it is not able to change artifacts names using tag "".. > > Is it a bug? Is there a work around to do this changes? > > Sorry, someone else will have to help with EAR. > > - Brett > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) > acima > identificado(s), podendo conter informações e/ou documentos > confidencias/privilegiados e seu sigilo é protegido por lei. > Caso você tenha recebido por engano, por favor, informe o remetente e > apague-a de > seu sistema. > Notificamos que é proibido por lei a sua retenção, disseminação, > distribuição, cópia ou > uso sem expressa autorização do remetente. > Opiniões pessoais do remetente não refletem, necessariamente, o ponto de > vista da > CETIP, o qual é divulgado somente por pessoas autorizadas. > > Attention: This message was sent for exclusive use of the addressees above > identified, being able to contain information and or privileged/confidential > documents > and law protects its secrecies. > In case that you it has received for deceit, please, it informs the shipper > and erases it > of your system. > We notify that law forbids its retention, dissemination, distribution, copy > or use without > express authorization. > Personal opinions of the shipper do not reflect, necessarily, the point of > view of the > CETIP, which is only divulged by authorized people. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: Artifacts final names
Check it out Brett. C:\SilocMaster>maven -v __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 C:\SilocMaster> Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Brett Porter [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 3 de janeiro de 2005 18:09 Para: Maven Users List Assunto: Re: Artifacts final names > Maven is able to change the name of jar artifact, but, the same thing doesn't > occurs with war artifact. What version of Maven? As far as I know it should work. > Besides this, when multiproct install copies jar and war artifacts to my > local repository, It changes artifacts names, thus, even generating jar > artifact with "maven.final.name", "Install" changes its names to > "$(ArtifactId}-${pom.currentVersion}.jar". This is correct. The repository has a set format you can't change. > Besides this, when Maven genarates the 2 artifacts inside a "ear" artifact, > it is not able to change artifacts names using tag "". > Is it a bug? Is there a work around to do this changes? Sorry, someone else will have to help with EAR. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Artifacts final names
Hi, all. In my Maven project, 2 artifacts are generated, a "jar" and a "war" artifact. I use "maven.final.name" and "maven.war.final.name" to change both artifacts' names. Maven is able to change the name of jar artifact, but, the same thing doesn't occurs with war artifact. Besides this, when multiproct install copies jar and war artifacts to my local repository, It changes artifacts names, thus, even generating jar artifact with "maven.final.name", "Install" changes its names to "$(ArtifactId}-${pom.currentVersion}.jar". Besides this, when Maven genarates the 2 artifacts inside a "ear" artifact, it is not able to change artifacts names using tag "". Is it a bug? Is there a work around to do this changes? Thanks in advance for the help. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deploy more than one artifact of one subproject to the remote repository
Jose, I tried to copy the jar files to local repository first to check your suggestion. Let me explain my project a litlle bit. The subproject artifactid is "SilocBR" and it generates "SilocBR.jar", besides this, I generate other 2 jar files using ant script inside maven.xml: "SilocBRClient.jar" and "SilocBRWeb.jar". When the "artifact:install", described below, executes, it copies "SilocBRClient.jar" file to local repository but it changes its name to "SilocBR.jar", as it is inside project.xml. Is there a work around for this kind of thing? Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 16 de dezembro de 2004 14:01 Para: Maven Users List Assunto: Re: Deploy more than one artifact of one subproject to the remote repository I do this in maven.xml to install the schema file generate with hibernate to the local repository. I guess you may do something similar just using artifact:deploy instead of artifact install, just read the documentation of artifact: Regards Jose On Thu, 16 Dec 2004 12:20:46 -0200, Roberto Castro <[EMAIL PROTECTED]> wrote: > Hi ! Althought not recommended, I generate one jar, one war and one ear > artifact in only one Maven subproject. The system is not mine and I cannot > modify it, but I'd like to deploy all artifacts to the remote repository. Is > it possible to do this kind of thing? > I can copy all artifacts to the local repository using ant copy command in > "maven.xml" file, but I don't know what to do to copy to the remote > repository. > Thanks in advance for the help. > Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) > acima > identificado(s), podendo conter informações e/ou documentos > confidencias/privilegiados e seu sigilo é protegido por lei. > Caso você tenha recebido por engano, por favor, informe o remetente e > apague-a de > seu sistema. > Notificamos que é proibido por lei a sua retenção, disseminação, > distribuição, cópia ou > uso sem expressa autorização do remetente. > Opiniões pessoais do remetente não refletem, necessariamente, o ponto de > vista da > CETIP, o qual é divulgado somente por pessoas autorizadas. > > Attention: This message was sent for exclusive use of the addressees above > identified, being able to contain information and or privileged/confidential > documents > and law protects its secrecies. > In case that you it has received for deceit, please, it informs the shipper > and erases it > of your system. > We notify that law forbids its retention, dissemination, distribution, copy > or use without > express authorization. > Personal opinions of the shipper do not reflect, necessarily, the point of > view of the > CETIP, which is only divulged by authorized people. > > - > 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] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deploy more than one artifact of one subproject to the remote repository
Hi ! Althought not recommended, I generate one jar, one war and one ear artifact in only one Maven subproject. The system is not mine and I cannot modify it, but I'd like to deploy all artifacts to the remote repository. Is it possible to do this kind of thing? I can copy all artifacts to the local repository using ant copy command in "maven.xml" file, but I don't know what to do to copy to the remote repository. Thanks in advance for the help. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas. Attention: This message was sent for exclusive use of the addressees above identified, being able to contain information and or privileged/confidential documents and law protects its secrecies. In case that you it has received for deceit, please, it informs the shipper and erases it of your system. We notify that law forbids its retention, dissemination, distribution, copy or use without express authorization. Personal opinions of the shipper do not reflect, necessarily, the point of view of the CETIP, which is only divulged by authorized people. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Dependency problens when generating war file
Hi, Jeff. I decided not to rename the jar files. It worked correctly with the version number in jar name. The other problem with tld and xml files, I realised, the directories of my web application are not following the correct pattern. Tld's ans xml files are in "webapp/config", and not in "webapp/WEB-INF" directory, but, as soon as, the application is not mine, it belongs to the other department in my company and I think they won't change it in a near future, I'm planning to move tld and xml files to the correct directory manually, i. e., I'll use a goal in maven.xml to move the files. Thanks for the help. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 15 de outubro de 2004 10:12 Para: [EMAIL PROTECTED] Assunto: Re: Dependency problens when generating war file Did you specify these two properties? maven.war.src = maven.war.webxml= Jeff Registered Linux user number 366042 This e-mail is intended exclusively for the addressee. If you are not the addressee you must not read, copy, use or disclose the e-mail nor the content; please notify us immediately (by clicking "Reply") and delete this e-mail. - 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]
Dependency problens when generating war file
Hi, all. I've been facing two problens generating a war file. Maven inserts jar files into war files with version number in its name. To avoid this, I created a goal in maven.xml to rename jar file, like this: Is it the better way to do this? Second problem: To copy tld and xml files into war file, I do the following: [EMAIL PROTECTED] src web/config *.xml *.tld But maven copys tld and xml files into "WEB-INF/classes" directory, insted of, "web-inf" directory. What can I do to solve this problem? Thank you all in advance for the help. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: source folder not recognised unless already existing
Hi, in my project I use "scm:checkout-project" plugin inside a "forEach" loop, in order to, checkout all modules I need. In this loop I set "maven.scm.cvs.module" with module name, and "maven.scm.bootstrap.pom.dir" this way: value="${basedir}/${maven.scm.cvs.module}". This is checkout directory: maven.scm.checkout.dir=. It works perfectly. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Carlos Sanchez [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 12 de agosto de 2004 13:46 Para: 'Maven Users List' Assunto: RE: source folder not recognised unless already existing Hi, Check scm:perform-release goal, I think that's exactly what you need instead of changing maven.src.dir. Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net > -Original Message- > From: Karan-Sahni (Contractor) [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 4:38 PM > To: Maven Users List > Subject: source folder not recognised unless already existing > > I am defining my source folder in the project.properties as > > maven.src.dir=${maven.scm.checkout.dir}/${maven.scm.cvs.module} > > because I have subprojects that I call using reactor. Each > subproject downloads files from cvs , then builds the jar. > > Problem is that if the specific > ${maven.scm.checkout.dir}/${maven.scm.cvs.module} do not > exist before I run maven, the source folder is not recognised > and the resulting jar is empty. > > what can I do to work around this problem? > > - > 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]
RE: Multiproject:clean problem
Hi Mario, I followed Dion Gillard's suggestions and I created a customized "multiproject:cleam" goal inside maven.xml of the my master project. This way: [Ctp] ### Running CtpMultiproject:Clean ### . . . And, I run maven this way: maven multiproject:clean mygoal ... -Dmm_tag_version=$1 -Dmm_subprojects_name=spbmessage,mmserver,MM_Business,ispbdns -Dmm_domain=cetip -Dmm_cvs_checkout=true -X | tee -a $HOME/MMmaster/mmlogs/$DATA It worked perfectly. Thanks a lot. Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Stefanutti, Mario [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 10 de agosto de 2004 14:12 Para: Maven Users List Assunto: R: Multiproject:clean problem It is a workaround. Anyway it works so fine! maven -o multiproject:clean Bye -Messaggio originale- Da: Milos Kleint [mailto:[EMAIL PROTECTED] Inviato: lunedì 9 agosto 2004 15.34 A: Maven Users List Oggetto: Re: Multiproject:clean problem and what about the scenario when I do a multiproject clean the a multiproject build which however failt mid-way.. a subsequent multiproject clean failt, because it cannot resolve all dependencies.. is there a way out? it seems liuke one can only do a clean build after successfully building the multiproject.. Milos Dion Gillard wrote: >You typically need to do a multiproject:install or >multiproject:install-snapshot before using any other goals. > >This places the dependent jars in the local repo. > >On Mon, 9 Aug 2004 10:24:04 -0300, Roberto Castro <[EMAIL PROTECTED]> wrote: > > >>Hi, when I run "Multiproject:clean" in my master project, it tries to find a jar >>file that was not created yet. >>I use an argument passed to Maven (mm_domain) to create the name of jar file. >>Is there a bug in Multiproject:clean? I've looked up in faq but I didn't find >>anything about this error. >>Here is log: >>+ >>| Executing clean:clean MM - SPBDns >>| Memory: 3M/6M >>+ >>Verifying dependencies for MM:spbdns >>Getting failed dependencies: [EMAIL PROTECTED] >>Attempting to download spbmessage-cetip-snapshot.jar. >>Getting URL: http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar >>Received status code: 404 >>File not found on one of the repos >>java.io.FileNotFoundException: >>http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar >>at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547) >>at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) >>at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) >>at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) >>at >> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326) >>at >> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255) >>at >> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171) >>at >> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97) >>at org.apache.maven.project.Project.verifyDependencies(Project.java:1365) >>at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510) >>at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) >>at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:342) >>at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) >>at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) >>at >> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) >>at >> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) >>at com.werken.werkz.Goal.fire(Goal.java:639) >>at com.werken.werkz.Goal.attain(Goal.java:575) >>at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) >>at >> org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) >>
RES: Multiproject:clean problem
It doesn't make sense Carlos, Running "install", then "clean" to run "install" again. I think "clean" could be used to delete the directories, only this. Why it looks for the dependencies? By the way, I'll delete target directory using ant. Thank you a lot. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Carlos Sanchez [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 9 de agosto de 2004 11:33 Para: 'Maven Users List' Assunto: RE: Multiproject:clean problem You only need to make multiproject:install once, so you have dependent jars in repo. Then you can run clean as many times as you want without running multiproject:install (until you change your dependencies). Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net > -Original Message- > From: Roberto Castro [mailto:[EMAIL PROTECTED] > Sent: Monday, August 09, 2004 4:29 PM > To: Maven Users List > Subject: RE: Multiproject:clean problem > > My intentions running Multiproject:clean was, exactly, to > clean target directory, before building another project. So, > how can I run Multiproject:install first? It doesn't make > sense. In fact, I run Multiproject:install after "clean". > Well, what I'm going to do is, delete target directory using > ant script, because I'm afraid an old file in target > directory could interfer when generating project again. > By the way, thank you all for the comments. > Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > > > > -Mensagem original- > De: Milos Kleint [mailto:[EMAIL PROTECTED] Enviada em: > segunda-feira, 9 de agosto de 2004 10:41 > Para: Maven Users List > Assunto: Re: Multiproject:clean problem > > > Dion Gillard wrote: > > >AFAIK, the reactor (which multiproject uses), verifies > projects before > >calling goals on them. > > > >This means, yes, you'll need all the dependent jars in the > repo before > >doing a multiproject:clean > > > > > > IMHO it shouldn't do it, at least for the the artifacts of > the projects included in the multiproject clean. > > Milos > > > >On Mon, 09 Aug 2004 15:33:41 +0200, Milos Kleint > <[EMAIL PROTECTED]> wrote: > > > > > >>and what about the scenario when I do a multiproject clean the a > >>multiproject build which however failt mid-way.. a subsequent > >>multiproject clean failt, because it cannot resolve all > dependencies.. > >>is there a way out? it seems liuke one can only do a clean > build after > >>successfully building the multiproject.. > >> > >>Milos > >> > >> > >> > >> > >>Dion Gillard wrote: > >> > >> > >> > >>>You typically need to do a multiproject:install or > >>>multiproject:install-snapshot before using any other goals. > >>> > >>>This places the dependent jars in the local repo. > >>> > >>>On Mon, 9 Aug 2004 10:24:04 -0300, Roberto Castro > <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>>Hi, when I run "Multiproject:clean" in my master project, > it tries to find a jar file that was not created yet. > >>>>I use an argument passed to Maven (mm_domain) to create > the name of jar file. > >>>>Is there a bug in Multiproject:clean? I've looked up in > faq but I didn't find anything about this error. > >>>>Here is log: > >>>>+ > >>>>| Executing clean:clean MM - SPBDns > >>>>| Memory: 3M/6M > >>>>+ > >>>>Verifying dependencies for MM:spbdns Getting failed dependencies: > >>>>[EMAIL PROTECTED] > >>>>Attempting to download spbmessage-cetip-snapshot.jar. > >>>>Getting URL: > >>>>http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-sna > pshot.jar > >>>>Received status code: 404 > >>>>File not found on one of the repos > >>>>java.io.FileNotFoundException: > http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar > >>>> at >
RE: Multiproject:clean problem
My intentions running Multiproject:clean was, exactly, to clean target directory, before building another project. So, how can I run Multiproject:install first? It doesn't make sense. In fact, I run Multiproject:install after "clean". Well, what I'm going to do is, delete target directory using ant script, because I'm afraid an old file in target directory could interfer when generating project again. By the way, thank you all for the comments. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Milos Kleint [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 9 de agosto de 2004 10:41 Para: Maven Users List Assunto: Re: Multiproject:clean problem Dion Gillard wrote: >AFAIK, the reactor (which multiproject uses), verifies projects before >calling goals on them. > >This means, yes, you'll need all the dependent jars in the repo before >doing a multiproject:clean > > IMHO it shouldn't do it, at least for the the artifacts of the projects included in the multiproject clean. Milos >On Mon, 09 Aug 2004 15:33:41 +0200, Milos Kleint <[EMAIL PROTECTED]> wrote: > > >>and what about the scenario when I do a multiproject clean the a >>multiproject build which however failt mid-way.. a subsequent >>multiproject clean failt, because it cannot resolve all dependencies.. >>is there a way out? it seems liuke one can only do a clean build after >>successfully building the multiproject.. >> >>Milos >> >> >> >> >>Dion Gillard wrote: >> >> >> >>>You typically need to do a multiproject:install or >>>multiproject:install-snapshot before using any other goals. >>> >>>This places the dependent jars in the local repo. >>> >>>On Mon, 9 Aug 2004 10:24:04 -0300, Roberto Castro <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>> >>>>Hi, when I run "Multiproject:clean" in my master project, it tries to find a jar >>>>file that was not created yet. >>>>I use an argument passed to Maven (mm_domain) to create the name of jar file. >>>>Is there a bug in Multiproject:clean? I've looked up in faq but I didn't find >>>>anything about this error. >>>>Here is log: >>>>+ >>>>| Executing clean:clean MM - SPBDns >>>>| Memory: 3M/6M >>>>+ >>>>Verifying dependencies for MM:spbdns >>>>Getting failed dependencies: [EMAIL PROTECTED] >>>>Attempting to download spbmessage-cetip-snapshot.jar. >>>>Getting URL: http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar >>>>Received status code: 404 >>>>File not found on one of the repos >>>>java.io.FileNotFoundException: >>>>http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar >>>> at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547) >>>> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) >>>> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) >>>> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) >>>> at >>>> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326) >>>> at >>>> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255) >>>> at >>>> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171) >>>> at >>>> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97) >>>> at org.apache.maven.project.Project.verifyDependencies(Project.java:1365) >>>> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510) >>>> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) >>>> at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:342) >>>> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) >>>> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) >>>> at >>>> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) >>>> at >>>> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.ja
Multiproject:clean problem
Hi, when I run "Multiproject:clean" in my master project, it tries to find a jar file that was not created yet. I use an argument passed to Maven (mm_domain) to create the name of jar file. Is there a bug in Multiproject:clean? I've looked up in faq but I didn't find anything about this error. Here is log: + | Executing clean:clean MM - SPBDns | Memory: 3M/6M + Verifying dependencies for MM:spbdns Getting failed dependencies: [EMAIL PROTECTED] Attempting to download spbmessage-cetip-snapshot.jar. Getting URL: http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar Received status code: 404 File not found on one of the repos java.io.FileNotFoundException: http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326) at org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255) at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171) at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97) at org.apache.maven.project.Project.verifyDependencies(Project.java:1365) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:342) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) 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) WARNING: Failed to download spbmessage-cetip-snapshot.jar. Root cause Final Memory: 3M/6M Total time: 32 seconds Finished at: Mon Aug 09 12:57:57 GMT 2004 Thanks in advance, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: How to define a default value for a Maven argument?
Carlos, there is no error in my mavem.xml. This is the way I test the property, check it out: [Ctp] ### CvsPwd="${cvspwd}" ### [Ctp] ### CvsPwd="none" ### [Ctp] ### B R A S I L ### In my project.properties file, I have: # MM Properties === # cvspwd=none Take a look in the execution: C:\MMmaster3>maven goaldefault -Dmm_tag_version=head -Dcvslogin=roberto - Dreporemuser=rpremoto -Dreporempwd=... -Dmm_subprojects_name=spbmessage -Dm m_domain=CETIP __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 build:start: goaldefault: [echo] [Ctp] ### CvsPwd="none" ### [echo] [Ctp] ### B R A S I L ### . . . Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Carlos Sanchez [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 30 de julho de 2004 11:39 Para: 'Maven Users List' Assunto: RE: How to define a default value for a Maven argument? Hi, That should work, you probably have an error in your maven.xml Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net > -Original Message- > From: Roberto Castro [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 4:09 PM > To: [EMAIL PROTECTED] > Subject: How to define a default value for a Maven argument? > > Hi, all. I pass an argument to Maven(maven -Darg=xyz ), > but sometimes I'd like not to pass the argument and use a > default value, so, I defined the default value in > "project.properties" file, like this: > arg=defaultValue > > Well, in "maven.xml" when I echoed the argument "arg", it > shows me the correct value, i.e., "defaultValue", but when I > performed an "if" comand to check if the argument was passed > in CLI or not, it's always different from the value I defined > in "project.properties". > Is there a work around for this situation? > Thanks in advance. > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[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]
Réf. : How to define a default value for a Mavenargument?
Not yet. How can I do this? I also have another similar problem when I pass an argument to maven and uppercase it. Inside maven.xml it is in uppercase letters, when I echoed it, but if I use it in a project.xml file, for example, it is not in uppercase letters. I think project.xml gets its value before maven.xml runs. Is that correct? Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 30 de julho de 2004 11:14 Para: Maven Users List Assunto: Réf. : How to define a default value for a Mavenargument? Did you try to set the MAVEN_OPTS environment variable ? Nicolas "Roberto Castro" <[EMAIL PROTECTED]> 30/07/2004 11:09 Veuillez répondre à "Maven Users List" Pour : <[EMAIL PROTECTED]> cc : Objet : How to define a default value for a Maven argument? Hi, all. I pass an argument to Maven(maven -Darg=xyz ), but sometimes I'd like not to pass the argument and use a default value, so, I defined the default value in "project.properties" file, like this: arg=defaultValue Well, in "maven.xml" when I echoed the argument "arg", it shows me the correct value, i.e., "defaultValue", but when I performed an "if" comand to check if the argument was passed in CLI or not, it's always different from the value I defined in "project.properties". Is there a work around for this situation? Thanks in advance. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[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]
RE: how to use maven scm bootstrap-project
Michael, in my case I configured mavem.xml in the master project to checkout all subprojects, one by one(scm:checkout-project). Property maven.scm.cvs.module must have a CVS module name. In my project, I configure a property with the name of all subprojects, and entered a forEach command inside maven.xml to iterate this property, in order to checkout all subprojects. after this, I performed a multiproject:install to build all subprojects. I'm not sure if you can perform this in only one step. If I have some time, I'll test scm:bootstrap-project goal and let you know. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Michael Mattox [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 29 de julho de 2004 10:31 Para: Maven-users Assunto: how to use maven scm bootstrap-project I can't get the scm bootstrap to work. I have a flat directory structure, with my "master" maven project.xml file in a subdirectory called maven. For example: module is sources sources/project1 sources/project2 sources/maven(contains project.xml) I'm not sure what to put for the maven.scm.bootstrap.pom.dir and whatever I put, it doesn't seem to make a difference. If I set the module to be sources/maven it works but it doesn't get all the projects, just maven. If I set the module to sources I get this error: C:\tmp>maven -Dmaven.scm.method=cvs -Dmaven.scm.bootstrap.goals=clean -Dmaven.scm.bootstrap.pom.dir=maven -Dmaven.scm.cvs.module=sources -Dmaven.scm.cvs.quiet=false scm:bootstrap-project BUILD FAILED File.. C:\Documents and Settings\user\.maven\cache\maven-scm-plugin-1.4\plug in.jelly Element... maven:maven Line.. 158 Column 9 Error parsing project.xml 'C:\tmp\target\checkouts\sources\project.xml' Total time: 2 minutes 42 seconds Finished at: Thu Jul 29 14:45:38 CEST 2004 I now think maybe there is a limitation where the project.xml has to be located in the module directory instead of a subdirectory? Can anyone give me some advice on this? Thanks, Michael PS: Using Maven 1.0 -- This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. - 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]
How to define a default value for a Maven argument?
Hi, all. I pass an argument to Maven(maven -Darg=xyz ), but sometimes I'd like not to pass the argument and use a default value, so, I defined the default value in "project.properties" file, like this: arg=defaultValue Well, in "maven.xml" when I echoed the argument "arg", it shows me the correct value, i.e., "defaultValue", but when I performed an "if" comand to check if the argument was passed in CLI or not, it's always different from the value I defined in "project.properties". Is there a work around for this situation? Thanks in advance. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiproject
Try SCM Plugin. If your are in a remote computer, you need to install CVS client like CVSNT. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Thierry Hanot [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 29 de julho de 2004 04:16 Para: 'Maven Users List' Assunto: Multiproject Hello I 've created a multiproject as defined in the wiki ejbExample . /project/ /project/commons /project/mystuff Both common and mystuff have there sources in a cvs repository How can i manage the checkout/update/tag of the sources with a multiproject ? Thanks Thierry - 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]
Problem running Reactor
Hi, I've been facing a problem when Maven runs Reactor in my project. Although Reactor shows an exception, It manages to determine the correct subprojects order. But, I'd like to run Maven without any error message. I have only one "project.properties" file in the master project and no "build.properties" files in any subdirectory. The attached file is the master "project.properties" file. <> Thanks in advance for a help. Here is the error when I run Mavem: Starting the reactor... Using userBuildPropertiesFile: C:\Documents and Settings\roberto\build.propertie s Using projectPropertiesFile: C:\MMmaster3\ispbdns\project.properties Using projectBuildPropertiesFile: C:\MMmaster3\ispbdns\build.properties Using userBuildPropertiesFile: C:\Documents and Settings\roberto\build.propertie s Using projectPropertiesFile: C:\MMmaster3\project.properties Using projectBuildPropertiesFile: C:\MMmaster3\build.properties Using userBuildPropertiesFile: C:\Documents and Settings\roberto\build.propertie s Using projectPropertiesFile: C:\MMmaster3\mmserver\project.properties Using projectBuildPropertiesFile: C:\MMmaster3\mmserver\build.properties Unexpected error evaluating expression java.lang.ClassCastException: org.apache.maven.project.Project at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820 ) at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123) at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290) at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(Reacto rTag.java:400) at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:29 6) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 634) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Using userBuildPropertiesFile: C:\Documents and Settings\roberto\build.propertie s Using projectPropertiesFile: C:\MMmaster3\MM_Business\project.properties Using projectBuildProp
RE: How to generate properties dynamically (maven.multiproject.includes)
Hi, Carlos, that's exactly the problem I've been facing. In my master project I have a "forEach" loop, in order to set "maven.scm.cvs.module" property to checkout the CVS modules I need to build all subprojects, but, I think when Maven runs "maven.scm.cvs.module" property does not exist yet, and the following error occurs: Using projectPropertiesFile: C:\MMmaster3\project.properties Using projectBuildPropertiesFile: C:\MMmaster3\build.properties Unexpected error evaluating expression java.lang.ClassCastException: org.apache.commons.jelly.expression.jexl.JexlExpre ssionFactory$ExpressionSupportLocal at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820 ) at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123) at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290) at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(Reacto rTag.java:400) at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:29 6) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) This problem doesn't cause me any problem. Is there a work around for this problem, or do you thing I can live with this error message without a problem? Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] > -----Mensagem original- > De: Roberto Castro > Enviada em: terça-feira, 27 de julho de 2004 15:05 > Para: '[EMAIL PROTECTED]' > Assunto: How to generate properties dynamically (maven.multiproject.includes) > > Hi, I'd like to generate "maven.multiproject.includes" and other properties > dynamically inside mavem.xml of my master project. How can I do this kind of thing? > Thanks in advance, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to generate properties dynamically (maven.multiproject.includes)
Hi, I'd like to generate "maven.multiproject.includes" and other properties dynamically inside mavem.xml of my master project. How can I do this kind of thing? Thanks in advance, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SCM plugin - How can I configure password to connect to CVS serve r?
Hi Dion, now I know my problem is before that. I monitored the CVS server and, I realized that scm plugin is not trying to connect to it, although I cannot see any error message. What is wrong in my configuration? By the way, how can I perform a CVS login at Maven? Here is my maven.xml. maven.scm.method=cvs maven.scm.checkout.dir=${basedir}/checkouts maven.scm.ignore.pom.connection=true maven.scm.ignore.pom.developerConnection=true #maven.scm.check.tagged=false #maven.scm.bootstrap.goals=goalteste maven.scm.bootstrap.pom.dir=${basedir} #maven.scm.cvs.root=${pom.repository.cvsRoot} maven.scm.cvs.root= scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cetip/cvstree maven.scm.cvs.update.flags= -P maven.scm.cvs.module= spbmessageX #maven.scm.cvs.sticky.tag= maven.scm.cvs.quiet=false #maven.scm.cvs.checkout.flags= -R maven.scm.cvs.rsh=ssh #maven.scm.cvs.tag= Thanks a lot, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Dion Gillard [mailto:[EMAIL PROTECTED] Enviada em: domingo, 18 de julho de 2004 11:43 Para: Maven Users List Assunto: Re: SCM plugin - How can I configure password to connect to CVS serve r? Since the scm plugin uses CVS, just do a cvs login. On Fri, 16 Jul 2004 16:24:23 -0300, Roberto Castro <[EMAIL PROTECTED]> wrote: > Hi, I need to ckeckout source code from CVS in order to build my project, > but, I didn't find where can I configure the password of CVS's computer. > Could anyone give me a help? > Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ - 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]
SCM plugin - How can I configure password to connect to CVS serve r?
Hi, I need to ckeckout source code from CVS in order to build my project, but, I didn't find where can I configure the password of CVS's computer. Could anyone give me a help? Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven.scm.bootstrap.goals Property
Hello, I've been facing a problem trying to checkout files from CVS in order to generate my project. I don't know exactly how to configure maven.scm.bootstrap.goals property. Here is maven.xml: I run maven this way: maven cvsgoal And this is the error: BUILD FAILED File.. C:\Documents and Settings\roberto\.maven\cache\maven-scm-plugin-1.4\p lugin.jelly Element... ant:mkdir Line.. 235 Column 54 Directory C:\Temp\MMmaster\spbmessageX\checkouts\spbmessageX creation was not su ccessful for an unknown reason com.werken.werkz.UnattainableGoalException: Unable to obtain goal [cvsgoal] -- C :\Documents and Settings\roberto\.maven\cache\maven-scm-plugin-1.4\plugin.jelly: 235:54: Directory C:\Temp\MMmaster\spbmessageX\checkouts\spbmessageX creation was not successful for an unknown reason at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 616) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Documents and Settings\roberto\.m aven\cache\maven-scm-plugin-1.4\plugin.jelly:235:54: Directory C:\Te mp\MMmaster\spbmessageX\checkouts\spbmessageX creation was not successful for an unknown reason at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav a:683) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 616) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Root cause Directory C:\Temp\MMmaster\spbmessageX\checkouts\spbmessageX creation was not su ccessful for an unknown reason at org.apache.tools.ant.taskdefs.Mkdir.execute(Mkdir.java:99) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.
RE: How to build subproject from CVS
Hi Pascal, my maven configuration works fine generating jar file when java sources are in local directory. What I'd like to do is to checkout java file from cvs for each subproject. As soon as each subproject is a different CVS module, I think I can use "scm:checkout-project". My problem is that, I'm a little bit confused, in when and how to invoke this plugin to checkout the files corretly in eack "maven.xml" of each subproject. I didn't understand some plugin properties too, like "maven.scm.bootstrap.goals". Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Pascal Thivent [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de julho de 2004 09:33 Para: Maven Users List Assunto: Re: How to build subproject from CVS Hi, I think you should use a Continuous Integration solution like Anthill or Cruise Control to achieve this task. -- Pascal On Fri, 9 Jul 2004 09:06:36 -0300 , Roberto Castro <[EMAIL PROTECTED]> wrote: > Hi, Brett. My main project doesn't generate anything, it starts the > subprojects only. In fact, the hole project is a group of 4 subprojects. > Four jar files that are Weblogic startup classes. Each subproject is a > different module in CVS. > What I'm trying to do in each subproject "maven.xml" file, is to checkout > java codes from CVS before compile the code. Because of that, I've entered > this statement (), to force checking out files > before invoking the compilation. > Is it clear now? > Regards, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > -Mensagem original- > De: Brett Porter [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 8 de julho de 2004 20:08 > Para: Maven Users List > Assunto: Re: How to build subproject from CVS > > I can't see what you are trying to achive. At which point in the build > of the main project do you want to build the subproject? > > What you are attempting in maven.xml above is "before you compile the > current project, checkout the subproject and do nothing with it." > > - Brett > > On Thu, 8 Jul 2004 18:03:05 -0300 , Roberto Castro > <[EMAIL PROTECTED]> wrote: > > Hello all, I've been trying to build a subproject of my system checking > out > > source codes from CVS. > > This is the properties of the subproject: > > maven.scm.method=cvs > > maven.scm.cvs.root=${pom.repository.cvsRoot} > > maven.scm.checkout.dir=${basedir}/checkouts > > maven.scm.cvs.rsh=ssh > > maven.scm.check.tagged=false > > maven.scm.bootstrap.goals=goal > > maven.scm.cvs.module=spbmessageX > > > > And, this is mavel.xml: > > > > > > > > > > > > > > > > I run mavem this way: maven multiproject:install -Dmm.tag.version=2.0 > > -Dmm.spbmessage.domain=CETIP -X > > > > But I've been facing a problem discribed in the log file attached. > > I couldn't understand the purpose of the property: > maven.scm.bootstrap.goals > > Could anyone help me in this task? > > Thanks in advance, > > <> > > > > Roberto de Castro > > Analista de Suporte > > Cetip - Desus Rio de Janeiro > > +55 21 2276-7439 > > mailto:[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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to build subproject from CVS
Hi, Brett. My main project doesn't generate anything, it starts the subprojects only. In fact, the hole project is a group of 4 subprojects. Four jar files that are Weblogic startup classes. Each subproject is a different module in CVS. What I'm trying to do in each subproject "maven.xml" file, is to checkout java codes from CVS before compile the code. Because of that, I've entered this statement (), to force checking out files before invoking the compilation. Is it clear now? Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Brett Porter [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 8 de julho de 2004 20:08 Para: Maven Users List Assunto: Re: How to build subproject from CVS I can't see what you are trying to achive. At which point in the build of the main project do you want to build the subproject? What you are attempting in maven.xml above is "before you compile the current project, checkout the subproject and do nothing with it." - Brett On Thu, 8 Jul 2004 18:03:05 -0300 , Roberto Castro <[EMAIL PROTECTED]> wrote: > Hello all, I've been trying to build a subproject of my system checking out > source codes from CVS. > This is the properties of the subproject: > maven.scm.method=cvs > maven.scm.cvs.root=${pom.repository.cvsRoot} > maven.scm.checkout.dir=${basedir}/checkouts > maven.scm.cvs.rsh=ssh > maven.scm.check.tagged=false > maven.scm.bootstrap.goals=goal > maven.scm.cvs.module=spbmessageX > > And, this is mavel.xml: > > > > > > > > I run mavem this way: maven multiproject:install -Dmm.tag.version=2.0 > -Dmm.spbmessage.domain=CETIP -X > > But I've been facing a problem discribed in the log file attached. > I couldn't understand the purpose of the property: maven.scm.bootstrap.goals > Could anyone help me in this task? > Thanks in advance, > <> > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[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]
How to build subproject from CVS
Hello all, I've been trying to build a subproject of my system checking out source codes from CVS. This is the properties of the subproject: maven.scm.method=cvs maven.scm.cvs.root=${pom.repository.cvsRoot} maven.scm.checkout.dir=${basedir}/checkouts maven.scm.cvs.rsh=ssh maven.scm.check.tagged=false maven.scm.bootstrap.goals=goal maven.scm.cvs.module=spbmessageX And, this is mavel.xml: I run mavem this way: maven multiproject:install -Dmm.tag.version=2.0 -Dmm.spbmessage.domain=CETIP -X But I've been facing a problem discribed in the log file attached. I couldn't understand the purpose of the property: maven.scm.bootstrap.goals Could anyone help me in this task? Thanks in advance, <> Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] C:\Temp\MMmaster>maven multiproject:install -Dmm.tag.version=2.0 -Dmm.spbmessage .domain=CETIP -X __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc4 Initializing Plugins! Set plugin source directory to C:\Arquivos de programas\Apache Software Foundati on\Maven 1.0-rc4\plugins Set unpacked plugin directory to C:\Documents and Settings\roberto\.maven\cache Set user plugin directory to C:\Documents and Settings\roberto\.maven\plugins Loading plugin cache Now mapping cached plugins Loading plugin 'maven-scm-plugin-1.4' Loading plugin 'maven-multichanges-plugin-1.1' Loading plugin 'maven-jdepend-plugin-1.5' Loading plugin 'maven-ear-plugin-1.5' Loading plugin 'maven-pom-plugin-1.4.1' Loading plugin 'maven-jellydoc-plugin-1.3' Loading plugin 'maven-war-plugin-1.6' Loading plugin 'maven-jboss-plugin-1.5' Loading plugin 'maven-plugin-plugin-1.5' Loading plugin 'maven-checkstyle-plugin-2.4.1' Loading plugin 'maven-faq-plugin-1.4' Loading plugin 'maven-xdoc-plugin-1.7.2' Loading plugin 'maven-ant-plugin-1.7' Loading plugin 'maven-tasklist-plugin-2.3' Loading plugin 'maven-idea-plugin-1.5' Loading plugin 'maven-javadoc-plugin-1.5' Loading plugin 'maven-linkcheck-plugin-1.3.1' Loading plugin 'maven-changes-plugin-1.4' Loading plugin 'maven-junit-report-plugin-1.5' Loading plugin 'maven-jcoverage-plugin-1.0.5' Loading plugin 'maven-release-plugin-1.4' Loading plugin 'maven-ashkelon-plugin-1.2' Loading plugin 'maven-announcement-plugin-1.1' Loading plugin 'maven-shell-plugin-1.1' Loading plugin 'maven-eclipse-plugin-1.7' Loading plugin 'maven-rar-plugin-1.0' Loading plugin 'maven-aspectj-plugin-3.1' Loading plugin 'maven-j2ee-plugin-1.5' Loading plugin 'maven-file-activity-plugin-1.5' Loading plugin 'maven-clover-plugin-1.5' Loading plugin 'maven-uberjar-plugin-1.2' Loading plugin 'maven-dashboard-plugin-1.3' Loading plugin 'maven-jar-plugin-1.6' Loading plugin 'maven-simian-plugin-1.4' Loading plugin 'maven-jira-plugin-1.1' Loading plugin 'maven-tjdo-plugin-1.0.0' Loading plugin 'maven-ejb-plugin-1.4' Loading plugin 'maven-developer-activity-plugin-1.5' Loading plugin 'maven-jxr-plugin-1.4' Loading plugin 'maven-multiproject-plugin-1.3.1' Loading plugin 'maven-nsis-plugin-1.0' Loading plugin 'maven-changelog-plugin-1.6' Loading plugin 'maven-license-plugin-1.2' Loading plugin 'maven-jdiff-plugin-1.4' Loading plugin 'maven-dist-plugin-1.6' Loading plugin 'maven-pmd-plugin-1.5' Loading plugin 'maven-repository-plugin-1.2' Loading plugin 'maven-jbuilder-plugin-1.5' Loading plugin 'maven-console-plugin-1.1' Loading plugin 'maven-webserver-plugin-2.0' Loading plugin 'maven-cruisecontrol-plugin-1.3' Loading plugin 'maven-aspectwerkz-plugin-1.2' Loading plugin 'maven-test-plugin-1.6.2' Loading plugin 'maven-jetty-plugin-1.1' Loading plugin 'maven-docbook-plugin-1.2' Loading plugin 'maven-latka-plugin-1.4' Loading plugin 'maven-native-plugin-1.1' Loading plugin 'maven-site-plugin-1.5' Loading plugin 'maven-gump-plugin-1.3' Loading plugin 'maven-appserver-plugin-2.0' Loading plugin 'maven-java-plugin-1.4' Loading plugin 'maven-pdf-plugin-2.1' Loading plugin 'maven-jdee-plugin-1.1' Loading plugin 'maven-jalopy-plugin-1.2' Loading plugin 'maven-jnlp-plugin-1.3' Loading plugin 'maven-html2xdoc-plugin-1.3' Loading plugin 'maven-jdeveloper-plugin-1.4' Loading plugin 'maven-junit-doclet-plugin-1.2' Loading plugin 'maven-hibernate-plugin-1.1' Loading plugin 'maven-wizard-plugin-1.1' Loading plugin 'maven-artifact-plugin-1.3' Loading plugin 'maven-javacc-plugin-1.1' Loading plugin 'maven-antlr-plugin-1.2' Loading plugin 'maven-struts-plugin-1.3' Loading plugin 'maven-clean-plugin-1.3' Loading plugin 'maven-castor-plugin-1.2' Loading plugin 'maven-latex-plugin-1.2' Loading plugin 'maven-genapp-plugin-2.2' Loading plugin 'maven-caller-plugin-1.1' Loading plugin 'maven-vdoclet-plugin-1.2' Now loading uncached plugins Finished initializing Plugins! Using userBuildPropertiesFile: C:\Documents and Settings\roberto\build.propertie s Using projectPropertiesFile: C:\Temp\MMmaster\project.properties Using projectBu
RES: How to correlate "pom.currentVersion" with CVS tag.
Hi, Dion. I'm going to use scm plugin, but I need to inform which tag version I'd like to checkout from cvs, and , I'll correlate jar version with cvs tab using "pom.currentversion". That's OK! I'll follow John Taylor's suggestion: " You could set ${myversion} and then pass myversion in on the command line: maven -Dmyversion=1.2 jar:jar" Thanks a lot, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Dion Gillard [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 7 de julho de 2004 22:34 Para: Maven Users List Assunto: Re: How to correlate "pom.currentVersion" with CVS tag. Is there a reason you can't use the scm plugin for this? On Wed, 7 Jul 2004 10:02:16 -0300 , Roberto Castro <[EMAIL PROTECTED]> wrote: > Hi, I'like to generate jar files of my project downloading source codes from > CVS. I'd like to run maven passing a parameter indicating the CVS tag > version. I'd like to configure "pom.currentVersion" with the same CVS > version, in order to, generate jar files with this version. > Is it possible to configure "pom.currentVersion" dimanically? > Thanks in advance, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ - 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]
How to correlate "pom.currentVersion" with CVS tag.
Hi, I'like to generate jar files of my project downloading source codes from CVS. I'd like to run maven passing a parameter indicating the CVS tag version. I'd like to configure "pom.currentVersion" with the same CVS version, in order to, generate jar files with this version. Is it possible to configure "pom.currentVersion" dimanically? Thanks in advance, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Generating a project from CVS
Hi, I'm trying to generate my project, downloading source code from CVS. I'm planning to allow people reponsible for generating project files, even to generate different versions of the system. I mean, I'd like them to generate versions based on different source versions on CVS. I could pass a version parameter to maven. Is it possible to do this directly via Maven, using tag, or do I have to develop an "ant" script to download source codes from CVS? Thanks a lot. Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to generate a variable number of subprojects?
Hi, I use multiproject plugin to generate jar files of my project, but, sometimes, acoording to a parameter I pass to maven (mm.spbmessage.domain), I'd like not to generate all subprojects (jars). I run maven this way; ">maven multiproject:install -Dmm.spbmessage.domain=CETIP" Is there a conditional command I could use in "project.properties" file, in order to configure "maven.multiproject.includes" accordingly? Thanks in advance. Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: RES: UnattainableGoalException: Unable to obtain goal
Hi John, I've followed your sugestion and it is ok know, but, I created a snapshot configuration version and I'm using "multiproject:install-snapshot" to copy snapshot jars to local repository. What can I do not to generate jars ..jar to local repository when I run maven with "multiproject:install-snapshot" ? Thank you in advance. Best regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: John Casey [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 29 de junho de 2004 19:46 Para: Maven Users List Assunto: Re: RES: UnattainableGoalException: Unable to obtain goal One last thing: multiproject:install should imply multiproject:artifact, just like jar:install implies jar:jar, so you shouldn't have to specify both on the command line. maven multiproject:install should take care of what you want. HTH, john On Tue, 2004-06-29 at 17:17, Roberto Castro wrote: > Ok, John, I entered "maven multiproject:artifact multiproject:install" and > all jars were generated correctly and were copied to the local repository. > I've made a confusion because I was using jar:install in each subproject > mavel.xml to copy jar file to local repository in rc2, instead of using > "multiproject:install" and, when I migrated to rc3 it stop working. > Thanks a lot, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[EMAIL PROTECTED] > > > > > -Mensagem original- > De: Brett Porter [mailto:[EMAIL PROTECTED] > Enviada em: segunda-feira, 28 de junho de 2004 20:34 > Para: Maven Users List > Assunto: Re: UnattainableGoalException: Unable to obtain goal > > > and file a bug in JIRA to improve the error reporting :) We should be > able to handle this gracefully. > > On Mon, 28 Jun 2004 19:03:55 -0400, John Casey <[EMAIL PROTECTED]> > wrote: > > > > On Mon, 2004-06-28 at 17:00, Roberto Castro wrote: > > > > > > > > > > > > > > > > > > > > > > > > > try this: > > > > > > > > > > > > > > > > > > You need to wrap the tag in a tag...use the > > default attribute of the project tag to indicate which is the default > > goal to attain (as in the command line "maven"). > > > > HTH, > > -john > > > > -- > > John Casey > > [EMAIL PROTECTED] > > CommonJava Open Components Project > > http://www.commonjava.org > > > > > > > > > > - > > 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] -- John Casey [EMAIL PROTECTED] CommonJava Open Components Project http://www.commonjava.org - 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]
RES: UnattainableGoalException: Unable to obtain goal
Ok, John, I entered "maven multiproject:artifact multiproject:install" and all jars were generated correctly and were copied to the local repository. I've made a confusion because I was using jar:install in each subproject mavel.xml to copy jar file to local repository in rc2, instead of using "multiproject:install" and, when I migrated to rc3 it stop working. Thanks a lot, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: Brett Porter [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 28 de junho de 2004 20:34 Para: Maven Users List Assunto: Re: UnattainableGoalException: Unable to obtain goal and file a bug in JIRA to improve the error reporting :) We should be able to handle this gracefully. On Mon, 28 Jun 2004 19:03:55 -0400, John Casey <[EMAIL PROTECTED]> wrote: > > On Mon, 2004-06-28 at 17:00, Roberto Castro wrote: > > > > > > > > > > > > > > > try this: > > > > > > > > > You need to wrap the tag in a tag...use the > default attribute of the project tag to indicate which is the default > goal to attain (as in the command line "maven"). > > HTH, > -john > > -- > John Casey > [EMAIL PROTECTED] > CommonJava Open Components Project > http://www.commonjava.org > > > > > - > 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]
RES: RES: UnattainableGoalException: Unable to obtain goal
That's it, but there is something wrong with "jar:install" at rc3 and rc4. It used to work on rc2. When it is invoked () it generates(compiling, building) the project again, creating a loop. But let's see multiproject:install. I have 1 master project with 3 subprojects. Do I have to configure "maven.xml" of the subprojects to invoke multiproject:install, like the following code? multiproject:install Run 'artifact':install goal for all project. 'artifact' is replaced by the value of property maven.multiproject.type which should be set individualy for each project. E.g. if we have projects A, B and C with following settiing: A: maven.multiproject.type=war B: maven.multiproject.type=ejb C: maven.multiproject.type=jar Following goals will be run: A: war:install B: ejb:install C: jar:install Regards, Roberto de Castro Analista de Suporte Cetip - Desus Rio de Janeiro +55 21 2276-7439 mailto:[EMAIL PROTECTED] -Mensagem original- De: John Casey [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 29 de junho de 2004 14:23 Para: Maven Users List Assunto: Re: RES: UnattainableGoalException: Unable to obtain goal Not sure, but I think what you're looking for is actually multiproject:install... HTH, john On Tue, 2004-06-29 at 13:15, Roberto Castro wrote: > Hi, John, your suggestion worked fine for one project, but, what to do when > you have many subproject and have to run "multiproject:artifact". It didn't > work. I tryed to run "jar:install" as a postgoal of "jar:jar", but it didn't > work too. In fact, I faced a loop. > > Regards, > Roberto de Castro > Assunto: Re: UnattainableGoalException: Unable to obtain goal > > > and file a bug in JIRA to improve the error reporting :) We should be > able to handle this gracefully. > > On Mon, 28 Jun 2004 19:03:55 -0400, John Casey <[EMAIL PROTECTED]> > wrote: > > > > On Mon, 2004-06-28 at 17:00, Roberto Castro wrote: > > > > > > > > > > > > > > > > > > > > > > > > > try this: > > > > > > > > > > > > > > > > > > You need to wrap the tag in a tag...use the > > default attribute of the project tag to indicate which is the default > > goal to attain (as in the command line "maven"). > > > > HTH, > > -john > > > > -- > > John Casey > > [EMAIL PROTECTED] > > CommonJava Open Components Project > > http://www.commonjava.org > > > > > > > > > > - > > 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] -- John Casey [EMAIL PROTECTED] CommonJava Open Components Project http://www.commonjava.org - 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]
RES: UnattainableGoalException: Unable to obtain goal
Hi, John, your suggestion worked fine for one project, but, what to do when you have many subproject and have to run "multiproject:artifact". It didn't work. I tryed to run "jar:install" as a postgoal of "jar:jar", but it didn't work too. In fact, I faced a loop. Regards, Roberto de Castro Assunto: Re: UnattainableGoalException: Unable to obtain goal and file a bug in JIRA to improve the error reporting :) We should be able to handle this gracefully. On Mon, 28 Jun 2004 19:03:55 -0400, John Casey <[EMAIL PROTECTED]> wrote: > > On Mon, 2004-06-28 at 17:00, Roberto Castro wrote: > > > > > > > > > > > > > > > try this: > > > > > > > > > You need to wrap the tag in a tag...use the > default attribute of the project tag to indicate which is the default > goal to attain (as in the command line "maven"). > > HTH, > -john > > -- > John Casey > [EMAIL PROTECTED] > CommonJava Open Components Project > http://www.commonjava.org > > > > > - > 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]
UnattainableGoalException: Unable to obtain goal
Hi, I'm trying to run "jar:install" goal, in order to, copy the jar file that has just been generated, to the local repository, but , build failed with "UnattainableGoalException: Unable to obtain goal" error. Here is my "mavel.xml" file: and here is the maven log: BUILD FAILED File.. C:\Documents and Settings\roberto\.maven\cache\maven-multiproject-plu gin-1.3.1\plugin.jelly Element... maven:reactor Line.. 217 Column 9 C:\Temp\testemaven\SpbMessage\maven.xml:20:38: nested plugin housin gs com.werken.werkz.UnattainableGoalException: Unable to obtain goal [multiproject: artifact] -- C:\Documents and Settings\roberto\.maven\cache\maven-multiproject-p lugin-1.3.1\plugin.jelly:217:9: Reactor subproject failure occur red at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 616) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Documents and Settings\roberto\.m aven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly:217:9: R eactor subproject failure occurred at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:35 2) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 616) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Root cause org.apache.commons.jelly.JellyTagException: C:\Temp\testemaven\SpbMessage\maven. xml:20:38: nested plugin housings at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:125) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:112) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:96 6) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:34 2) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.Scri