Problem running Cruisecontrol
-- View this message in context: http://www.nabble.com/Problem-running-Cruisecontrol-tf3062780s177.html#a8517088 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem running Cruisecontrol
Hi, I have a problem running Cruiscontrol with Maven 1.0 When I enter maven cruisecontrol:run I've got the Problem: Attempting to download jaxen-1.0-FCS-full.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/jaxen/jars/jaxen-1.0-FCS-full.jar]: java.net.ConnectException: Connection refu sed: connect WARNING: Failed to download jaxen-1.0-FCS-full.jar. Attempting to download saxpath-1.0-FCS.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/saxpath/jars/saxpath-1.0-FCS.jar]: java.net.ConnectException: Connection refus ed: connect WARNING: Failed to download saxpath-1.0-FCS.jar. The build cannot continue because of the following unsatisfied dependencies: Why does the computer trying to download this ? Shall I take this jars in the maven local repo ? Or wants Maven this jars in the lib section of its own. -- View this message in context: http://www.nabble.com/Problem-running-Cruisecontrol-tf3062791s177.html#a8517129 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to have war exploded into my ear file?
Hey, On 1/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All I have multi module projcte like Project |_ ejb_project |_pom.xml |_ java_project |_pom.xml |_ web_project |_pom.xml |_ ear |_pom.xml |_ pom.xml This works fine, and i create ear in ear/target directory with all the subprojects (ejb,java web project) , web project is being added as web.war. Is there a way to add web project as exploded directory instead of war ??? Sure. unpacktrue/unpack http://maven.apache.org/plugins/maven-ear-plugin/examples/unpacking-a-module.html So you should add a module entry for your war project and set the exploded property to true. HTH, Stéphane Thanks, Raghurajan Gurunathan - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2: Error packaging the ear
Hi, On 1/22/07, Alok Jindal [EMAIL PROTECTED] wrote: Hi, I'm http://www.nabble.com/file/5835/TraceLogEar.txt TraceLogEar.txt http://www.nabble.com/file/5836/pom.xml pom.xml I working on a project, having ejb, web and java project. I want to package then as a ear but i'm facing the given in the TraceLogEar.txt file. Also i get the same error when i try to generate aplication.xml using the plugin. I have attached my pom.xml as well. Kindly help me to solve this error, any input would really be helpful Yeah right. EarMojo line 152 in the *standard* EAR plugin is */ You're most probably using a forked EAR plugin and the issues is coming from there I guess. HTH, Stéphane thanks and regards Alok Jindal -- View this message in context: http://www.nabble.com/Maven2%3A-Error-packaging-the-ear-tf3058066s177.html#a8502532 Sent from the Maven - Users mailing list archive at Nabble.com. - 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]
Creating a web services application with client
Hi I'm trying to create a web services project (JAX-RPC with Axis 1.3) and want to do it with maven 2. I've read Better Builds with Maven and searched googled about this matter but couldn't found info. BBWM talks about how to make a client ws application. I wonder how should I make a structure for both projects ws and ws client because both are related and client source code will be generated from ws application code. So, it's this scenario possible with maven 2 ? Any clue welcome... Thanks in advance J -- View this message in context: http://www.nabble.com/Creating-a-web-services-application-with-client-tf3063057s177.html#a8518094 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how can i find the http.jar for jax-ws
Hi there is a jar named http.jar in jax-ws 2.0 libs,but i can't find it in maven rep,help me! Thanks!
Re: Install custom plugin manually
Try to extract the pom first inside the jar then execute your command including the -DpomFile parameter mvn install:install-file -Dfile=custom-plugin-1.0-SNAPSHOT.jar -DgroupId=com.foo.mojo -DartifactId=custom-maven-plugin -Dpackaging=maven-plugin -Dversion=1.0-SNAPSHOT -DpomFile=path of pom This will install both the artifact and the pom file in your local repository. But I haven't tried installing a plugin like this before so I am not sure if the plugin will work. -allan On 1/23/07, Willie Vu [EMAIL PROTECTED] wrote: I want to install a custom plugin manually using the following: mvn install:install-file -Dfile=custom-plugin-1.0-SNAPSHOT.jar -DgroupId=com.foo.mojo -DartifactId=custom-maven-plugin -Dpackaging=maven-plugin -Dversion=1.0-SNAPSHOT The jar file is installed in the local repository but not the .pom file. When a goal of the custom plugin is executed, Maven can't find the plugin and gives the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.foo.mojo ArtifactId: custom-maven-plugin Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.foo.mojo:custom-maven-plugin:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) It seems Maven complains the missing .pom file in the local repository. Since the pom.xml actually in the jar file, shouldn't install:install-file install the .pom file? -- Willie Vu HKJUG - http://hkjug.dev.java.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- == - alramirez
how to generate hibernate .hbm.xml file from xdoclet tag using maven
Hi, how to generate hibernate .hbm.xml file from xdoclet tag using maven while mvn compile or deploy I achive this using ant but maven how can i proceed ? Any help appriciated. Alauddin -- View this message in context: http://www.nabble.com/how-to-generate-hibernate-.hbm.xml-file-from-xdoclet-tag-using-maven-tf3063259s177.html#a8518869 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Out of memory error
Hi Jeff, Not really. You can either create an artifact that contains your checkstyle config file and add it to your project as a dependency or you could specify its URL. Personally I would recommend the second one. Here's a snippet of my pom.xml. ... configuration configLocationhttp://your.domain.goes.here/jeff_checks.xml/configLocation /configuration ... You could also use file:// if you want to. Dário -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: terça-feira, 23 de janeiro de 2007 05:32 To: Maven Users List Subject: Re: Out of memory error On 1/22/07, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote: I've faced the same problem. It seems to be a bug in the checkstyle plugin. I've noticed it happens only if there are too many checkstyle errors. My suggestion is to decrease this number to about 1 (hopefully most of them are tab related). It should work. Do not ask me why :-) Dário I'm looking at the maven-checkstyle-plugin in my pom and it says , configLocationconfig/sun_checks.xml/configLocation I understand that sun_checks.xml is located in the config directory , in the plugin jar.If I wish to specify my own as : configLocationjeffs-checks.xml/configLocation The plugin documentation says that when one specifies a custom check-style file as above it causes the Maven 2 Checkstyle plugin to check for a File named checkstyle.xml or a resource named checkstyle.xml within the compile scope of the dependencies or build extensions classpath. From this , does that mean jeffs-checks.xml above should be located in the same directory as the pom.xml? Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - 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 generate hibernate .hbm.xml file from xdoclet tag using maven
plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId executions execution idxdoclet/id phasegenerate-resources/phase goals goalxdoclet/goal /goals /execution /executions configuration tasks hibernatedoclet destdir=${project.build.outputDirectory} fileset dir=${basedir}/src/main/java includes=**/domain/*.java / hibernate version=3.0 / /hibernatedoclet /tasks /configuration /plugin 2007/1/23, Alauddin [EMAIL PROTECTED]: Hi, how to generate hibernate .hbm.xml file from xdoclet tag using maven while mvn compile or deploy I achive this using ant but maven how can i proceed ? Any help appriciated. Alauddin -- View this message in context: http://www.nabble.com/how-to-generate-hibernate-.hbm.xml-file-from-xdoclet-tag-using-maven-tf3063259s177.html#a8518869 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Dashboard
you could read this issue : http://jira.codehaus.org/browse/MSITE-189 which coordinate the efforts of several users to write a Dashboard Plugin for Maven 2 and i have release a snapshot version of my dashboard plugin : http://mojo.codehaus.org/dashboard-maven-plugin/ a newer version will be released soon as 1.0.1-SNASHOT David Vicente Rik Bosman wrote: Hi Laksman, Below the answer I recieved some months ago: *Hi Rik, We implemented this in the dashboard for maven1. However this does not exist for m2 yet. There are some thought on this on **http://docs.codehaus.org/display/MAVEN/Maven+Dashboard*http://docs.codehaus.org/display/MAVEN/Maven+Dashboard * (I've put a diagram of how I would view an architecture for this). I don't think much work has been done on this and most of the m2 dev team has focused on stabilizing/firming up the m2 core and core plugins. -Vincent * 2006/9/22, Lakshman Srilakshmanan [EMAIL PROTECTED] : Hi All, Is there a maven-dashboard-plugin as in maven 1.x for maven 2 ? Thanks Lakshman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-m2--Dashboard-tf2315975s177.html#a8519299 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RepositoryMetadataManager, Plexus, extensions
Hello, I have a use case where I want to use public repositories, like central, and internal repositories. All in the same maven project.. nothing new this far. Some of the artifacts I store in the internal repository, like customer specific material, are for sure never going to be found in central. My problem is how to stop maven from trying to connect to central to get those artifacts/metadata for which I know it should only look in internal. I could not find out how to do it from the configuration level only. So, I have created a very simple extension component that extends maven-artifact's DefaultRepositoryMetadataManager resolver methods and will filter the repositories list and only allow a repositories with id xxx-... for articafts with groupId com.yyy, then delegate actual work to original class. I installed it as a jar with META-INF/plexus/components.xml like this: component-set components component roleorg.apache.maven.artifact.repository.metadata.RepositoryMetadataManager/role implementationcom.yyy.MyRepositoryMetadataManager/implementation requirements requirement roleorg.apache.maven.artifact.manager.WagonManager/role /requirement /requirements /component /components /component-set Then I tried to use the pom/build/extensions/extension element to get it working but it failed miserably. My extension was detected, loaded, but never used. Probably because DefaultRepositoryMetadataManager was up and running already. The only way I got it to work was by modifying MAVEN_HOME/bin/m2.conf to make sure my xtension is loaded before other jars, like this: [plexus.core.maven] load ${maven.home}/lib/myextension.jar load ${maven.home}/lib/*.jar That require extra configuration in the development environment that I was trying to avoid. If that would be the case i could use firewall to block those requests and keep maven pristine... I wanted it to be bundled with the project. Is there a way to achieve that? Can I force maven/plexus to reload a component when it is redefined? Is there an alternative approach for telling maven 'where' to look for 'what'? If not, doesn't it make sense as a new feature? Thanks, Diego -- View this message in context: http://www.nabble.com/RepositoryMetadataManager%2C-Plexus%2C-extensions-tf3063625s177.html#a8520099 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
requiresProject plugin setting
Hi, I'm writing a plugin to prepare my build phase. I want to execute it from a top level directory. So I already figures out I need to set the requiresProject tag in plugin.xml to false. But now my question .. how can I do this? Can't find the answer on google or the maven site. Kind regards. Jelle This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
Activation a profile from another profile
Hi, is it possible to trigger profile activation by activating another profile? I have several profiles defined that can be divided to few sets that have some parts in common. I would like to place these common parts in different profiles. For example I would have profiles profile1, profile2, profile3, profile4. profile1 and profile2 would have some parts in common and the same is true for profile3 and profile4. I thought I could define profileA (with common parts of profile1 and profile2) and profileB (with common parts of profile3 and profile4). Then when I activate profile1 (by setting a property) I need to have profileA activated as well. Is this possible? In my case I have builds for different application servers (JBoss and WebSphere) and each of them has several installations. I try to parametrize builds for a specific server installation. So in my case profileA and profileB contain configuration for the server and profile1,... adds further configuration for the specific installation. Currently I use 2 properties, one for activation of profileA/profileB and for profile1/profile2/... . But then it is necessary to specify both variables when running Maven (and thats annoying) and obviously it is possible to specify invalid combinations. Regards, Jan Tento e-mail je urcen pouze pro jeho adresata/adresaty a muze obsahovat duverne informace, jejichz ochrana muze byt vyzadovana pravnimi predpisy. Jestlize jste zpravu obdrzel(a) omylem, neprodlene informujte jejiho odesilatele a tuto zpravu, jeji prilohy a pripadne kopie ihned vymazte. Jakakoli forma uziti, zverejneni, reprodukce, kopirovani, distribuce a sireni teto zpravy je v takovem pripade zakazana. Komercni banka, a.s., neodpovida za mozne skody zpusobene neuplnym prenosem, moznou modifikaci ci zpozdenim teto zpravy behem prenosu od odesilatele k adresatovi. This e-mail transmission is intended solely for the ordinary user of the e-mail address to which it was addressed. It may contain legally privileged and/or confidential information. If you have received this e-mail in error or are not an intended recipient please inform the sender with-out delay and delete this e-mail, attachments and possible copies immediately. The unauthorised use, disclosure, distribution and/or copying of this e-mail or any information it contains is prohibited. Komercni banka, a. s., does not accept liability for any damage caused by incomplete transmission, possible modification or delay of this e-mail during the transmission from the sender to the recipient.
Artifact as resource in web archive
Hi, I have WebStart project, where I have two modules: root +-- client-jar | +-- pom.xml +-- server-war |+-- pom.xml +--pom.xml How can I specify that I want to pack client-jar.jar into server-war.war as resource not as library? i.e. I don't want to be included in server classpath but only kept as files, that can be served to client. Should it be done with maven-war-plugin webResource configuration or there is more general way to do it? Can you give me some examples, how can it be done? -- Muntis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subproject recursive dependency....
Ok. Thanks for your help. 2007/1/22, Wayne Fay [EMAIL PROTECTED]: In short, no, that is not right. In your example, you have not eliminated the circular dependency. You still have A {B} and B {A}. This is not acceptable. In short, decide if A builds upon B or if B builds upon A; you cannot have both. Then change your code to implement A-B or B-A, depending on how you've chosen. You may want to ask for help in this area on the Refactoring Yahoogroup. The Maven Users list is not the right place for this discussion. Wayne On 1/22/07, fernando da Motta hildebrand [EMAIL PROTECTED] wrote: Would be like: pak.a public interface A1{ ... } pak.b public interface B1{ ... } import pak.B1 publica class A{ private B1; ... } import pak.A1 publica class B{ private A1; } ? Could you send some examples? 2007/1/22, Wayne Fay [EMAIL PROTECTED]: You don't. You need to do some refactoring (extract interfaces) or something so you have a very clear A-B or B-A dependency. Wayne On 1/22/07, fernando da Motta hildebrand [EMAIL PROTECTED] wrote: Ok, Got subproject with source of class A, and got subproject with source of class B, Here are examples of the two classes: import org.pack.B publica class A{ private B; ... } import org.pack.A publica class B{ private A; } As you can see, both are inter-dependent, but rest in diferent subprojects of maven (using maven 1.x by the way...). How do I build this project? -- Fernando da Motta Hildebrand Desenvolvedor Brooks' Law : adding manpower to a late software project makes it later... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Fernando da Motta Hildebrand Desenvolvedor Brooks' Law : adding manpower to a late software project makes it later... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Fernando da Motta Hildebrand Desenvolvedor Brooks' Law : adding manpower to a late software project makes it later...
Re: Artifact as resource in web archive
We use maven-dependency-plugin to load and copy/unpack to a staging directory and later on package this directory as a war file. See http://maven.apache.org/plugins/maven-dependency-plugin/usage.html Erez. Muntis Grube wrote: Hi, I have WebStart project, where I have two modules: root +-- client-jar | +-- pom.xml +-- server-war |+-- pom.xml +--pom.xml How can I specify that I want to pack client-jar.jar into server-war.war as resource not as library? i.e. I don't want to be included in server classpath but only kept as files, that can be served to client. Should it be done with maven-war-plugin webResource configuration or there is more general way to do it? Can you give me some examples, how can it be done? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Local jars
Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to copy this jar to local repository and specify in pom.xml, Is there anyway I can specify the local path(c:\test) instead of repository. thanks a lot for your help. Ram. -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8521325 Sent from the Maven - Users mailing list archive at Nabble.com.
[M2] How to include artifact version into MANIFEST.MF
Hi all! I'm trying to include artifact's version (variable versao.sis) into manifest.mf file in a jar, war and ear, but I didn't manager to do this. I tried to include the lines below, but it didn't work: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries *Implementation-Version${versao.sis}/Implementation-Version* /manifestEntries /archive /configuration /plugin How can I do this kind of thing? Thanks a lot in advance. Regards, Roberto.
Re: Local jars
Hi, Use system scope: dependency groupIdjboss/groupId artifactIdjboss-ejb3x/artifactId version4.0.3/version scopesystem/scope systemPath${basedir}\lib\jboss-ejb3x.jar/systemPath /dependency 2007/1/23, secret [EMAIL PROTECTED]: Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to copy this jar to local repository and specify in pom.xml, Is there anyway I can specify the local path(c:\test) instead of repository. thanks a lot for your help. Ram. -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8521325 Sent from the Maven - Users mailing list archive at Nabble.com. -- Muntis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to include artifact version into MANIFEST.MF
Hi Roberto, this is a bug in the assembly plugin http://jira.codehaus.org/browse/MASSEMBLY-121 The bug is fixed now but the fix does not work for me. Let me know if it works for you. Bernd Hi all! I'm trying to include artifact's version (variable versao.sis) into manifest.mf file in a jar, war and ear, but I didn't manager to do this. I tried to include the lines below, but it didn't work: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifestEntries *Implementation-Version${versao.sis}/Implementation-Version* /manifestEntries /archive /configuration /plugin How can I do this kind of thing? Thanks a lot in advance. Regards, Roberto. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Local jars
Hi Muntis In fact I did this still it cant find the jar, This is my sample pom.xml, looks like the path is wrong? dependency groupIdjsf/groupId artifactIdjsf-api/artifactId version1.2/version scopesystem/scope systemPathC:/develop/OnePortal/CEApp/CELibraries/jsf/jsf-api-1.2.jar/systemPath /dependency And one more thing, if I use system path, will this jar file copied to WEB-INF/lib when I make war? I read some where that this jar file is available only at compile time but not run time? Thanks a lot for your quick response. RAM Muntis Grube wrote: Hi, Use system scope: dependency groupIdjboss/groupId artifactIdjboss-ejb3x/artifactId version4.0.3/version scopesystem/scope systemPath${basedir}\lib\jboss-ejb3x.jar/systemPath /dependency 2007/1/23, secret [EMAIL PROTECTED]: Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to copy this jar to local repository and specify in pom.xml, Is there anyway I can specify the local path(c:\test) instead of repository. thanks a lot for your help. Ram. -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8521325 Sent from the Maven - Users mailing list archive at Nabble.com. -- Muntis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8522259 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Local jars
You could try backslashes instead of forward slashes. I'm writing some batch scripts at the moment and having some problems with path names due to the slashes. Good luck -Original Message- From: vojjala [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 januari 2007 15:07 To: users@maven.apache.org Subject: Re: Local jars Hi Muntis In fact I did this still it cant find the jar, This is my sample pom.xml, looks like the path is wrong? dependency groupIdjsf/groupId artifactIdjsf-api/artifactId version1.2/version scopesystem/scope systemPathC:/develop/OnePortal/CEApp/CELibraries/jsf/jsf-api-1.2.jar/ systemPath /dependency And one more thing, if I use system path, will this jar file copied to WEB-INF/lib when I make war? I read some where that this jar file is available only at compile time but not run time? Thanks a lot for your quick response. RAM Muntis Grube wrote: Hi, Use system scope: dependency groupIdjboss/groupId artifactIdjboss-ejb3x/artifactId version4.0.3/version scopesystem/scope systemPath${basedir}\lib\jboss-ejb3x.jar/systemPath /dependency 2007/1/23, secret [EMAIL PROTECTED]: Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to copy this jar to local repository and specify in pom.xml, Is there anyway I can specify the local path(c:\test) instead of repository. thanks a lot for your help. Ram. -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8521325 Sent from the Maven - Users mailing list archive at Nabble.com. -- Muntis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8522259 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM URL and branch independance
Hello Graham, Try to use release plugin mvn release:prepare mvn release:perform It releases file, creates tag and updates SCM url and version. Graham Berks píše v Po 22. 01. 2007 v 16:27 +: If I put in the url for the repository location into the pom.xml it appears to tie it to one particular branch / trunk. If I branch off the trunk, what am I meant todo about the scm url ? Update it manually ? Is there anyway to have the url independent of the pom file ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Petr Ferschmann SoftEU s.r.o. --- Sady Petatricatniku 31 301 00 Plzen Czech Republic --- Phone: +420 373 729 300 Fax: +420 373 729 301 Cell: +420 775 638 008 E-mail: [EMAIL PROTECTED]
RE: Local jars
Thanks a lot. It is working now. jelle.volckaert wrote: You could try backslashes instead of forward slashes. I'm writing some batch scripts at the moment and having some problems with path names due to the slashes. Good luck -Original Message- From: vojjala [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 januari 2007 15:07 To: users@maven.apache.org Subject: Re: Local jars Hi Muntis In fact I did this still it cant find the jar, This is my sample pom.xml, looks like the path is wrong? dependency groupIdjsf/groupId artifactIdjsf-api/artifactId version1.2/version scopesystem/scope systemPathC:/develop/OnePortal/CEApp/CELibraries/jsf/jsf-api-1.2.jar/ systemPath /dependency And one more thing, if I use system path, will this jar file copied to WEB-INF/lib when I make war? I read some where that this jar file is available only at compile time but not run time? Thanks a lot for your quick response. RAM Muntis Grube wrote: Hi, Use system scope: dependency groupIdjboss/groupId artifactIdjboss-ejb3x/artifactId version4.0.3/version scopesystem/scope systemPath${basedir}\lib\jboss-ejb3x.jar/systemPath /dependency 2007/1/23, secret [EMAIL PROTECTED]: Guyz, How can I reference the my local jars c:\test\my.jar, I don't want to copy this jar to local repository and specify in pom.xml, Is there anyway I can specify the local path(c:\test) instead of repository. thanks a lot for your help. Ram. -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8521325 Sent from the Maven - Users mailing list archive at Nabble.com. -- Muntis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8522259 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Local-jars-tf3064006s177.html#a8522844 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven2 and Spring
Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: how can i find the http.jar for jax-ws
Sun does not release this file to maven repo, so you need to deploy it internally to your internal repo or your local repo -D On 1/23/07, Java Santa [EMAIL PROTECTED] wrote: Hi there is a jar named http.jar in jax-ws 2.0 libs,but i can't find it in maven rep,help me! Thanks!
Re: Maven2 and Spring
Zakaria, I have created a Maven archetype which creates JSF web projects with Spring integration. I also have one that creates JPA projects, also using Spring. If you're interested in these you can find more information about at: http://wiki.rodcoffin.com/index.php?title=Maven_Home Much of this content is still in progress but might be of help. Regards, Rod On 1/23/07, Khabot, Zakaria [EMAIL PROTECTED] wrote: Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re : Maven2 and Spring
Hi, The command you used generate a simple project. You should use another archetype for Spring. AFAIK there is no Spring archetype in the maven repository, but you can use the one provided by Webtide: http://www.webtide.com/resources.jsp I don't know if Webtide archetypes are available on a repository, but they suggest to download and install manually their archetypes. ++ Julien - Message d'origine De : Khabot, Zakaria [EMAIL PROTECTED] À : Maven Users List users@maven.apache.org Envoyé le : Mardi, 23 Janvier 2007, 15h35mn 41s Objet : Maven2 and Spring Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources
Hello lexi Are you trying to document your hibernate classes?? Have you tried hbm2doc? Regards Johann Reyes -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 11:22 AM To: Maven Users List Subject: Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources Hi, i think somehow you can make it work with the genration of DDL if you check pluginDoc, in your configuration element there's something that allows you to use hibernate.properties file (if that is what you are using) alternatively, i think you could still invoke schemaExport (or whatever task is called in hibernate3) from maven-antrun-plugin hth marco On 1/16/07, Aleksei Valikov [EMAIL PROTECTED] wrote: Hi. i think you can configure what todo in the sessionFactory prop key=hibernate.hbm2ddl.autocreate/prop that way will be easier Yes, this is how it works right now. But we'd also like to generate the DDLs for documentation/reference purposes. with codehaus plugin you can use also an hibernate.properties, pls check properties available for that plugin when i tried, i didnt succeeded, so i decided to configure it on the sessionFactory. for tests, i am using a different DS, with different properties Ok, nice idea, thanks! Bye. /lexi - 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 with axistools plugin
Hello I've defined in my pom: -- plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId version1.0/version executions execution phaseprocess-classes/phase goals goaljava2wsdl/goal /goals configurationimplementationClassNameNotificationsServiceImpl/implementationClassName filenamenotifications/filename alltrue/all namespaceservice.notifications.bs.com/namespace servicePortNameNotificationsServicePort/servicePortName locationhttp://dummy/location classesDirectory${project.build.directory}/classes/classesDirectory classOfPortTypecom.bs.notifications.service.NotificationService/classOfPortType /configuration /execution /executions /plugin - When I run mvn axistools:java2wsdl I got the error: --- mvn axistools:java2wsd l -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'axistools'. [INFO] - --- [INFO] Building ws [INFO]task-segment: [axistools:java2wsdl] [INFO] - --- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'axistools :java2wsdl' [0] inside the definition for plugin: 'axistools-maven-plugin'specify the follow ing: configuration ... filenameVALUE/filename /configuration -OR- on the command line, specify: '-DfileName=VALUE' [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.c odehaus.mojo:axistools-maven-plugin. Reason: Invalid or missing parameters: [Moj o parameter [name: 'filename'; alias: 'null']] for mojo: org.codehaus.mojo:axist ools-maven-plugin:1.0:java2wsdl at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:563) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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.PluginParameterException: Error configuring: org.codehaus.mojo:axistools-maven-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'filename'; alias: 'null']] for mojo: org.codehaus.mojo: axistools-maven-plugin:1.0:java2wsdl at org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters( DefaultPluginManager.java:809) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:574) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:390) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) ... 16 more [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Tue Jan 23 16:05:19 CET 2007 [INFO] Final Memory: 3M/7M [INFO]
RE: Maven2 and Spring
Thanks for your help, I want to generate a project with a webapp folder using Struts. Wich artifact have I to use instide og DarchetypeArtifactId=jsf-maven-archetype Tks -- -Message d'origine- De : Rod Coffin [mailto:[EMAIL PROTECTED] Envoyé : mardi 23 janvier 2007 14:52 À : Maven Users List Objet : Re: Maven2 and Spring Zakaria, I have created a Maven archetype which creates JSF web projects with Spring integration. I also have one that creates JPA projects, also using Spring. If you're interested in these you can find more information about at: http://wiki.rodcoffin.com/index.php?title=Maven_Home Much of this content is still in progress but might be of help. Regards, Rod On 1/23/07, Khabot, Zakaria [EMAIL PROTECTED] wrote: Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Out of memory error
The assumption is that you are using Maven in a large/corporate environment for many projects, and sharing things like Checkstyle configs etc in all of them. Some people construct a simple Maven project, in their own company groupId with an artifactId of say project-standards, and then bundle things like checkstyle configs etc, and then put that dependency in their corporate pom which is the parent for all projects in the organization. The plugins will automatically find these config files while building the project. Then when anyone builds any Maven project in the organization, they inherit things like checkstyle configs etc which helps to enforce particular coding styles and standards, reducing bugs, etc. Another alternative like Dário suggested is the http://... config file. This works too and again can easily be shared across projects. Or file:/// if you can guarantee the file will be in a specific location on everyone's machines (keep in mind cross-platform issues if you have multiple architectures in your environment). Finally, the last (and least desirable, for me at least) option is to put the checkstyle config directly inside your project. I've never done this but it would probably be found if you put it under src/main/resources. Wayne On 1/23/07, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote: Hi Jeff, Not really. You can either create an artifact that contains your checkstyle config file and add it to your project as a dependency or you could specify its URL. Personally I would recommend the second one. Here's a snippet of my pom.xml. ... configuration configLocationhttp://your.domain.goes.here/jeff_checks.xml/configLocation /configuration ... You could also use file:// if you want to. Dário -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: terça-feira, 23 de janeiro de 2007 05:32 To: Maven Users List Subject: Re: Out of memory error On 1/22/07, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote: I've faced the same problem. It seems to be a bug in the checkstyle plugin. I've noticed it happens only if there are too many checkstyle errors. My suggestion is to decrease this number to about 1 (hopefully most of them are tab related). It should work. Do not ask me why :-) Dário I'm looking at the maven-checkstyle-plugin in my pom and it says , configLocationconfig/sun_checks.xml/configLocation I understand that sun_checks.xml is located in the config directory , in the plugin jar.If I wish to specify my own as : configLocationjeffs-checks.xml/configLocation The plugin documentation says that when one specifies a custom check-style file as above it causes the Maven 2 Checkstyle plugin to check for a File named checkstyle.xml or a resource named checkstyle.xml within the compile scope of the dependencies or build extensions classpath. From this , does that mean jeffs-checks.xml above should be located in the same directory as the pom.xml? Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - 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: Assembling sources with the assembly plugin
I've run into precisely the same issue. On 1/22/07 5:18 PM, Henri Tremblay [EMAIL PROTECTED] wrote: Hi, It seems that assembly plugin version 2.1 has issues with includes / excludes for module sets. Specifically, unless I'm mistaken, includes seems to be ignored and excludes are only working on directories. That's how it turned out from my tests. However, 2.2 with the fileSets seems to work perfectly. I was wondering when it will be released because it was a lot of pain to build it locally and I can't ask my around the world open source team mates to the the same. Can you tell me? Then, I've lost a lots of time trying to make everything works before figuring out that the online doc is the 2.2-SNAPSHOT one. Why? Shouldn't we have online the doc for the official release? Or at least both? That would be the best I guess. So you know what you have and what you'll get. my two cents, Henri - 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: Maven2 and Spring
If you want to generate Struts projects consider another archetype. The webtide link sent earlier by Julien included a Struts archetype. It wasn't built with Spring integration in mind so you'll need to enhance the project accordingly. Rod On 1/23/07, Khabot, Zakaria [EMAIL PROTECTED] wrote: Thanks for your help, I want to generate a project with a webapp folder using Struts. Wich artifact have I to use instide og DarchetypeArtifactId=jsf-maven-archetype Tks -- -Message d'origine- De : Rod Coffin [mailto:[EMAIL PROTECTED] Envoyé : mardi 23 janvier 2007 14:52 À : Maven Users List Objet : Re: Maven2 and Spring Zakaria, I have created a Maven archetype which creates JSF web projects with Spring integration. I also have one that creates JPA projects, also using Spring. If you're interested in these you can find more information about at: http://wiki.rodcoffin.com/index.php?title=Maven_Home Much of this content is still in progress but might be of help. Regards, Rod On 1/23/07, Khabot, Zakaria [EMAIL PROTECTED] wrote: Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
calling pom from another pom
Hi Maven Users, I am wondering how can I call the sub level pom.xml from the top level directory My folder structure like this c:\test\testapp\pom.xml c:\test\test1app\pom.xml c:\test\test2app\pom.xml What I want is, in single execution of top level pom(c:\test\testapp\pom.xml) should able to run rest of the poms. I have tried running all them independently it worked fine but this is very troublesome to run individually. thanks a lot for the help. RAM. -- View this message in context: http://www.nabble.com/calling-pom-from-another-pom-tf3064828s177.html#a8523908 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: calling pom from another pom
This works automatically if you set modules in the parent pom, and parent tag in the children poms. However, you have a directory structure which is not normal, so you really need to change it before this will work. You need to use: c:\test\testapp\pom.xml c:\test\testapp\test1app\pom.xml c:\test\testapp\test2app\pom.xml Wayne On 1/23/07, vojjala [EMAIL PROTECTED] wrote: Hi Maven Users, I am wondering how can I call the sub level pom.xml from the top level directory My folder structure like this c:\test\testapp\pom.xml c:\test\test1app\pom.xml c:\test\test2app\pom.xml What I want is, in single execution of top level pom(c:\test\testapp\pom.xml) should able to run rest of the poms. I have tried running all them independently it worked fine but this is very troublesome to run individually. thanks a lot for the help. RAM. -- View this message in context: http://www.nabble.com/calling-pom-from-another-pom-tf3064828s177.html#a8523908 Sent from the Maven - Users mailing list archive at Nabble.com. - 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: calling pom from another pom
Define each of them as modules in your parent pom. moduletestapp/module moduletest1app/module moduletest2app/module Regards, Rohit Sharma GDC Contractor - Infosys Tech Ltd. London, UK Desk: (+44) 207 174 5352 mailto: [EMAIL PROTECTED] -Original Message- From: vojjala [mailto:[EMAIL PROTECTED] Sent: 23 January 2007 15:37 To: users@maven.apache.org Subject: calling pom from another pom Hi Maven Users, I am wondering how can I call the sub level pom.xml from the top level directory My folder structure like this c:\test\testapp\pom.xml c:\test\test1app\pom.xml c:\test\test2app\pom.xml What I want is, in single execution of top level pom(c:\test\testapp\pom.xml) should able to run rest of the poms. I have tried running all them independently it worked fine but this is very troublesome to run individually. thanks a lot for the help. RAM. -- View this message in context: http://www.nabble.com/calling-pom-from-another-pom-tf3064828s177.html#a8 523908 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: calling pom from another pom
Thanks a lot, I can able to call the sub level pom using pom as packaging in parent pom.xml. But I could not create ear, this is my sample code in parent pom.xml for ear. build defaultGoalpackage/defaultGoal plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.0/version configuration outputDirectoryC:\develop\OnePortal\CEApp\CEPortalEAR/outputDirectory finalNameCEAPP/finalName modules moduleSamplePortlet/module moduleClaimsPortlet/module /modules /configuration Thanks a lot for the great help. RAM. vojjala wrote: Hi Maven Users, I am wondering how can I call the sub level pom.xml from the top level directory My folder structure like this c:\test\testapp\pom.xml c:\test\test1app\pom.xml c:\test\test2app\pom.xml What I want is, in single execution of top level pom(c:\test\testapp\pom.xml) should able to run rest of the poms. I have tried running all them independently it worked fine but this is very troublesome to run individually. thanks a lot for the help. RAM. -- View this message in context: http://www.nabble.com/calling-pom-from-another-pom-tf3064828s177.html#a8524575 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
configuring JDK
Hi On the 'introduction-to-profiles' page it is stated that ' one of the goals in maven 2 is to consolidate all the information needed to run a build into a single file, or file hierarchy which is the POM. To my surprise however, it is rather difficult to configure a specific JDK (i.e. JAVA_HOME) for a project. My situation is as follows. I have multiple projects using version 1.4, 1.5 and 1.6 JDKs. I've already configured the compiler plugin to use the right source and target options. However, what I would like to do is to point the compiler to a specific JAVA_HOME environment from the settings.xml. I suppose this should be possible by using profiles, however activating the correct profile is a problem for me. My final option is to force every developer to first set the correct JAVA_HOME as a system environment. Which I would have to configure on the buildserver as well (somehow). This however is error prone. Therefore, I hope that some of you have a much more flexible sollution. thx. Regards Roald Bankras -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.6/646 - Release Date: 1/23/2007 3:36 AM
RE: Error creating from archetype
So I tried to create different archetupes (sipmple project, web) and these seem to work, only portlet archetype is out of order. What would be the best way to proceed with trying to build portlets with Maven? Should I create a simple web project and add some needed files and folders manually? Evi -Original Message- From: evi [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 10:54 PM To: 'Maven Users List' Subject: RE: Error creating from archetype This jira issue seems to be very old, June-September 2006... Evi -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 10:29 PM To: Maven Users List Subject: Re: Error creating from archetype On 1/21/07, evi [EMAIL PROTECTED] wrote: Thanks for response. I tried to run 'mvn archetype:create' from elsewhere but had the same result. And yes, the eviart/pom.xml has many project elements in it, mine has six project elements... It seems to be like that in svn: http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundle s/maven-archetype-portlet/src/main/resources/archetype-resources/pom.xml ... and there's already an issue open: http://jira.codehaus.org/browse/ARCHETYPE-40 -- Wendy - 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: [M2] SCM support for sspi?
Hi, We're also looking at adopting Maven and would like to propose some additions to the SCM support, including the CVS SSPI protocol. Daniel, is this something you intend to start actively looking at? Just want to make sure we don't duplicate work. dan tran wrote: Daniel, I'd like suggest that you go ahead and fix up maven-cvs-provider to support sppi and send in the patch. -D On 1/22/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: It isn't supported because it isn't a standard cvs protocol. If you have docs about the CVSROOT format for this protocol, file an issue and we'll look at it. All docs about sspi are welcome. True, it's not supported in CVS. However, it is supported in CVSNT, which is also licensed under the GPL. Does CVSNT not provide the required documentation? Perhaps the plugin could simply allow for the use of an external cvs.exe? -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--SCM-support-for-sspi--tf3040226s177.html#a8525117 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources
Hi, actually what i was doing was trying to generate schema export file, but then i figured out that i might let the hibernate session create tables for me.. regards marco On 1/23/07, Johann Reyes [EMAIL PROTECTED] wrote: Hello lexi Are you trying to document your hibernate classes?? Have you tried hbm2doc? Regards Johann Reyes -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 11:22 AM To: Maven Users List Subject: Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources Hi, i think somehow you can make it work with the genration of DDL if you check pluginDoc, in your configuration element there's something that allows you to use hibernate.properties file (if that is what you are using) alternatively, i think you could still invoke schemaExport (or whatever task is called in hibernate3) from maven-antrun-plugin hth marco On 1/16/07, Aleksei Valikov [EMAIL PROTECTED] wrote: Hi. i think you can configure what todo in the sessionFactory prop key=hibernate.hbm2ddl.autocreate/prop that way will be easier Yes, this is how it works right now. But we'd also like to generate the DDLs for documentation/reference purposes. with codehaus plugin you can use also an hibernate.properties, pls check properties available for that plugin when i tried, i didnt succeeded, so i decided to configure it on the sessionFactory. for tests, i am using a different DS, with different properties Ok, nice idea, thanks! Bye. /lexi - 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]
Auto detect with continuum
Does any body have an idea of setting up an auto detect with continuum...goal is for continuum to build projects upon commit of code by developer to CVS. Basically Continuum monitors cvs projects and triggers build upon commit of new code to project. Thanks -- View this message in context: http://www.nabble.com/Auto-detect-with-continuum-tf3065259.html#a8525287 Sent from the Continuum - Users mailing list archive at Nabble.com.
Custom authentication: (was: subversion repository upload using webdav)
Can you provide a general overview of what you changed to do your custom authentication please? On 1/22/07, Martin van den Bemt [EMAIL PROTECTED] wrote: A couple of things : - Authentication is left to another system (our portal) - Implemented group security (so a member of group x only see projects that belong to x), This is also dynamically mapped to our portal - We use cvs, so adding projects to continuum is kind of a PITA (we don't have a viewcvs type system we can use from continuum), so I integrated wagon-scm into continuum, so we can add projects by there scm url. - Make it work in proxy mode (with https). Based on 1.0.3 btw and 80% of the changes are not really portable, so that's why there are no patches for 1.0.3 in this area ;) Mvgr, Martin Parikh, Pratik P. wrote: Using it in my custom version of continuum, what have you customized in your custom version. If you don't mind sharing! Pratik -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 8:09 AM To: Maven Users List Subject: Re: [m2] subversion repository upload using webdav wagon-scm works also fine with cvs btw.. Using it in my custom version of continuum. It is working great for us. Mvgr, Martin Carlos Sanchez wrote: i have used wagon-scm (only implemented with subversion) although I'd say is alpha/beta quality, never tried wagon-webdav for svn On 1/19/07, Alexander Schwartz [EMAIL PROTECTED] wrote: Hi, (crossposting to users@maven.apache.org and maven-wagon-users) as Brett Porter suggested (/Storing your Maven Repository in CVS/Subversion, /http://blogs.codehaus.org/people/brett/archives/001066_storing_your_ maven_repository_in_cvssubversion.html) I would like to maintain the corporate maven repositories of my company in our subversion system. My questions are: -- Does anyone succeeded to configure m2 (and subversion) to upload artifacts in a subversion repository using the maven webdav support? -- Are there any preconditions on the subversion installation? -- Are there any related open bugs? -- Any common pitfalls? I appreciate any hints. (In case it works I will provide a corresponding wiki page. :)) Best regards, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that we can arrange for proper delivery, and then please delete the message from your inbox. Thank you. - 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: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources
Hi. Are you trying to document your hibernate classes?? Have you tried hbm2doc? No, we really need the database schema (DDL) for project documentation. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site Documentation in a Multi Project
I have a fairly large maven build with approx 30-40 different projects grouped into different submodules. My layout is as follows. pom.xml (includes modules common, app1, app2, etc... no plugins define, just lists build order) ---common --pom.xml (type=pom, build projects in common) --maven-build (type=pom, defines all common plugins and dependencyManagement) -pom.xml --proj2 -pom.xml --proj2 -pom.xml ---app1 --pom.xml (type=pom, build projects in app1) --app1-proj1 -pom.xml --app1-proj2 -pom.xml etc The problem that I am having is that site documentation created in the root directory (where the main pom.xml resides) does not have any links to modules (common, app1, app2, etc). In addition, aggregation plugins like javadoc, clover, etc don't seem to be aggregating at the main pom level. I had this working a while back when I was running all modules from the maven-build projects, but I had to remove modules from there because of ciruclar dependency issues. In any event, I would like to have a main pom.xml that does nothing more than list the modules that need to be built. In addition, I would like the site documentation to be fully integrated so that I can easily navigate to sub modules and view aggregated reports. Any help would be greatly appreciated. Thanks, jp4 -- View this message in context: http://www.nabble.com/Site-Documentation-in-a-Multi-Project-tf3065703s177.html#a8526690 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources
Hello lexi K, so you need to use hbm2ddl with the jdbcconfiguration implementation with the component property outputfilename set to a sql filename. Regards Johann Reyes -Original Message- From: Aleksei Valikov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 12:45 PM To: Maven Users List Subject: Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources Hi. Are you trying to document your hibernate classes?? Have you tried hbm2doc? No, we really need the database schema (DDL) for project documentation. Bye. /lexi - 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]
Maven 2 repository index
First version of Maven 2 repository index was just released. If you need to search in the central repository or find matching artifact for a JAR file you may be interested. Do not hesitate to run it from http://m2-repoindex.sourceforge.net/ Cheers, Lukas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to run Junit (DbUnit tests) from Maven - does not work
I have a directory structure: sql/src/test/java/com/presence/sql/bootstrap/LoadBootStrap.java LoadBootStrap.java looks like this: public class LoadBootStrap extends DBTestCase { test cases / setup / teardown etc } When I run mvn test nothing happens. However if I put a .java file that extends TestCase, it's test cases will run. DBTestCase extends TestCase The object hierarcy is: Object - Assert - TestCase - DatabaseTestCase - DBTestCase - LoadBootStrap any ideas would be greatly appreciated. Just want test cases in LoadBootStrap to be picked up when running mvn install -- View this message in context: http://www.nabble.com/How-to-run-Junit-%28DbUnit-tests%29-from-Maven---does-not-work-tf3066175s177.html#a8528212 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mvn test - how to invoke a specific class from command line
Is there a way to create a pom.xml file that will run only tests in one class from the command line? I want to type: mvn target Where target can be any word I choose and have it execute all tests in a specific class only. there may be many, many classes in the test directories, I only want it to execute one single class, or possibly several classes in sequence, but I want to choose which ones. Any help would be greatly appreciated. Lisa -- View this message in context: http://www.nabble.com/mvn-test---how-to-invoke-a-specific-class-from-command-line-tf3066182s177.html#a8528263 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mvn test - how to invoke a specific class from command line
We do something similar here with a profile: profile idtest-name/id build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration includes include${test.name}.java/include /includes /configuration /plugin /plugins /build /profile Then we can invoke mvn -Ptest-name -Dtest.name=com/example/SomeClassTest test. We have a similar profile for testing an entire package. Hope that gives you some ideas. Chris -Original Message- From: Lisa [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 January, 2007 13:13 To: users@maven.apache.org Subject: mvn test - how to invoke a specific class from command line Is there a way to create a pom.xml file that will run only tests in one class from the command line? I want to type: mvn target Where target can be any word I choose and have it execute all tests in a specific class only. there may be many, many classes in the test directories, I only want it to execute one single class, or possibly several classes in sequence, but I want to choose which ones. Any help would be greatly appreciated. Lisa -- View this message in context: http://www.nabble.com/mvn-test---how-to-invoke-a-specific-clas s-from-command-line-tf3066182s177.html#a8528263 Sent from the Maven - Users mailing list archive at Nabble.com. - 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: mvn test - how to invoke a specific class from command line
There are two ways actually to tell surefire which tests to run. Chris already provided one: using includes/excudes which requires that you edit your pom.xml. Another way, which I use when I am editing a single test class is using -Dtest=class name in cli. Please see: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#test ^_^ Chris Hilton wrote: We do something similar here with a profile: profile idtest-name/id build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration includes include${test.name}.java/include /includes /configuration /plugin /plugins /build /profile Then we can invoke mvn -Ptest-name -Dtest.name=com/example/SomeClassTest test. We have a similar profile for testing an entire package. Hope that gives you some ideas. Chris -Original Message- From: Lisa [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 January, 2007 13:13 To: users@maven.apache.org Subject: mvn test - how to invoke a specific class from command line Is there a way to create a pom.xml file that will run only tests in one class from the command line? I want to type: mvn target Where target can be any word I choose and have it execute all tests in a specific class only. there may be many, many classes in the test directories, I only want it to execute one single class, or possibly several classes in sequence, but I want to choose which ones. Any help would be greatly appreciated. Lisa -- View this message in context: http://www.nabble.com/mvn-test---how-to-invoke-a-specific-clas s-from-command-line-tf3066182s177.html#a8528263 Sent from the Maven - Users mailing list archive at Nabble.com. - 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 run Junit (DbUnit tests) from Maven - does not work
Maven runs all test classes that match a pattern. The default is *Test.java http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html 2007/1/23, Lisa [EMAIL PROTECTED]: I have a directory structure: sql/src/test/java/com/presence/sql/bootstrap/LoadBootStrap.java LoadBootStrap.java looks like this: public class LoadBootStrap extends DBTestCase { test cases / setup / teardown etc } When I run mvn test nothing happens. However if I put a .java file that extends TestCase, it's test cases will run. DBTestCase extends TestCase The object hierarcy is: Object - Assert - TestCase - DatabaseTestCase - DBTestCase - LoadBootStrap any ideas would be greatly appreciated. Just want test cases in LoadBootStrap to be picked up when running mvn install -- View this message in context: http://www.nabble.com/How-to-run-Junit-%28DbUnit-tests%29-from-Maven---does-not-work-tf3066175s177.html#a8528212 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] SCM support for sspi?
I plan to implement sspi support, hopefully this week (I have received approval to spend up to four hours). If I am successful I will make my patch available. Of course, if you'd rather do the work, I wouldn't complain. ;) ~Daniel -Original Message- From: MarkC [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 11:35 AM To: users@maven.apache.org Subject: Re: [M2] SCM support for sspi? Hi, We're also looking at adopting Maven and would like to propose some additions to the SCM support, including the CVS SSPI protocol. Daniel, is this something you intend to start actively looking at? Just want to make sure we don't duplicate work. dan tran wrote: Daniel, I'd like suggest that you go ahead and fix up maven-cvs-provider to support sppi and send in the patch. -D On 1/22/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: It isn't supported because it isn't a standard cvs protocol. If you have docs about the CVSROOT format for this protocol, file an issue and we'll look at it. All docs about sspi are welcome. True, it's not supported in CVS. However, it is supported in CVSNT, which is also licensed under the GPL. Does CVSNT not provide the required documentation? Perhaps the plugin could simply allow for the use of an external cvs.exe? -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--SCM-support-for-sspi--tf3040226s177.html#a8525117 Sent from the Maven - Users mailing list archive at Nabble.com. - 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]
Problems with maven-surefire-reports-plugin
We have about a dozen projects that run this plugin fine. Unfortunatly, one is failing with a java heap space error. Our suspicion is because there are 1399 classes and 3522 tests, we may have simply overwhelmed the plugin. Many of these classes are inner classes (this is a swing project). Has anybody else seen a problem like this and if you have, what have you done about it? There is a finite limit to the amount of memory I can allocate for java. Thanks Liz Sommers [EMAIL PROTECTED]
Maven / Test cases using log4J.xml to send msgs to file.
If I am running mvn test from the command line and I have a log4j.xml file that has an appender and a logger that sends log.debug(msg) and log.info(msg) out to a file, how do I tell Maven first of all to use log4j as the logger and to point to the log4j.xml file that I have in my directory (same directory as the pom.xml file) ?? Thanks Lisa -- View this message in context: http://www.nabble.com/Maven---Test-cases---using-log4J.xml-to-send-msgs-to-file.-tf3077537s177.html#a8549995 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem running Cruisecontrol
This goal is now deprecated : http://maven.apache.org/maven-1.x/plugins/cruisecontrol/goals.html You have to launch it manuallly Arnaud On 1/23/07, mathapfahl [EMAIL PROTECTED] wrote: Hi, I have a problem running Cruiscontrol with Maven 1.0 When I enter maven cruisecontrol:run I've got the Problem: Attempting to download jaxen-1.0-FCS-full.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/jaxen/jars/jaxen-1.0-FCS-full.jar]: java.net.ConnectException: Connection refu sed: connect WARNING: Failed to download jaxen-1.0-FCS-full.jar. Attempting to download saxpath-1.0-FCS.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/saxpath/jars/saxpath-1.0-FCS.jar]: java.net.ConnectException: Connection refus ed: connect WARNING: Failed to download saxpath-1.0-FCS.jar. The build cannot continue because of the following unsatisfied dependencies: Why does the computer trying to download this ? Shall I take this jars in the maven local repo ? Or wants Maven this jars in the lib section of its own. -- View this message in context: http://www.nabble.com/Problem-running-Cruisecontrol-tf3062791s177.html#a8517129 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
null project
when running maven (from within eclipse) I get the following at the start of the build [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - common_java:common_java:jar:0.0.1 [INFO]task-segment: [install] [INFO] [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. I noticed 2 interesting things: [INFO] Building Unnamed -- why is it unnamed and how do I set a name? [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null: -- why is it null and how do I correct this? Thoughts? Cheers, Andy Dingfelder -- View this message in context: http://www.nabble.com/null-project-tf3077755s177.html#a8550790 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-surefire-plugin not found
When doing a maven build, I get errors where maven is looking at maven-surefire-plugin. I tried to disable the tests in my pom.xml but it did not help. (I have attached the pom and output below.) Thoughts? Cheers, Andy == pom.xml == ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcommon_java/groupId artifactIdcommon_java/artifactId version0.0.1/version build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration skiptrue/skip /configuration /plugin /plugins /build dependencies dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.8/version /dependency dependency groupIdcom.serialio/groupId artifactIdserialIO/artifactId version7.2/version scopesystem/scope systemPathC:/projects/3rd_party/jars/Serialio-7.2.jar/systemPath /dependency /dependencies /project == maven output: == [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - common_java:common_java:jar:0.0.1 [INFO]task-segment: [install] [INFO] [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-surefire-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST [DEBUG] maven-surefire-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release version org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE [ERROR] project-execute : common_java:common_java:jar:0.0.1 ( task-segment: [install] ) Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [ERROR] reactor-execute : C:\projects\common_java Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO] [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Jan 24 11:38:06 NZDT 2007 [INFO] Final Memory: 1M/3M [INFO] [INFO] Error for project: Unnamed - common_java:common_java:jar:0.0.1 (during install) [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO]
Multiple parallel instances of maven using the same local repo...
... doesn't work, as I expected. Is there any hope that a JIRA request for enabling a locking mechanism for the local repo to allow multiple instances of maven to run has a chance of getting implemented? Are there any plans to make maven itself multithreaded or capable of parallel builds? I guess I can make my parallel maven instances point to their own repos and just live with the needless duplication of disk usage and network traffic. -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2 surefire doesn't handle junit TestSetup very well
Hello, I am using junit TestSetup to set up a common selenium connection among my different tests. The TestSetup runs a global setup and Teardown once before any of the tests are run. I wrapped a TestSuite in a subclass of TestSetup and it works perfectly fine when the TestSuite is run from eclipse: The code for my TestSuite: public class AllTestsOneTimeSetup { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SomeTest.class); TestSetup wrapper = new TestSetup(suite) { protected void setUp() { oneTimeSetUp(); } protected void tearDown() { oneTimeTearDown(); } }; return wrapper; } } Now to make this suite runs in Maven 2 I had to add the following method to the TestSuite: public void testSuite(){ TestSetup test = (TestSetup) AllTestsOneTimeSetup.suite(); TestResult result = new TestResult(); test.run(result); } Now something weird happens. The global setup an tear down run fine and Maven 2 runs all the tests in the suite fine but It always reports that it is running 1 test (the testSuite test) and that it was successful (as the testSuite itself doesn't fail, the included tests do). One way around this is to do the following: if (!result.wasSuccessful()){ String message = ; for (Enumeration e = result.failures(); e.hasMoreElements() ;){ message += e.nextElement() + \n; } for (Enumeration e = result.errors(); e.hasMoreElements() ;){ message += e.nextElement() + \n; } Assert.fail(message); result.endTest(test); } My question is, does anyone have a cleaner solution to this? Thanks, Bashar
JAXB 2.0-SNAPSHOT with exec Maven plugin
Hi there, I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven plugin, please see Caused by: java.lang.LinkageError: loader constraint violation: when resolving field DATETIME the class loader (instance of org/codehaus/mojo/exec/ExecJavaMoj o$IsolatedClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of bootloader) for the field's resolved ty pe, javax/xml/namespace/QName, have different Class objects for that type at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.clinit(RuntimeBu iltinLeafInfoImpl.java:186) Why is does the class is loaded by two different classloaders? And is there a solution for that? Thanks for any help Michael from Brasil Here you see my dependency site Project Dependencies compile The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application: GroupId ArtifactId Version Classifier TypeOptional commons-email commons-email 20030310.165926 - jar javax.xml saaj-api1.3 - jar javax.xml.bind jaxb-api2.0 - jar jaxbjaxb-api2.0-SNAPSHOT- jar jaxbjaxb-impl 2.0-SNAPSHOT- jar junit junit 4.0 - jar vtours VtoursAxisWebserviceClientSabre 3.3.14FK- jar wsdl4j wsdl4j 1.5.3 - jar Project Transitive Dependencies The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies. compile The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application: GroupId ArtifactId Version Classifier TypeOptional ant ant 1.6.5 - jar ant ant-optional1.5.1 - jar antlr antlr 2.7.5H3 - jar aopalliance aopalliance 1.0 - jar asm asm 1.5.3 - jar asm asm-attrs 1.5.3 - jar c3p0c3p00.9.1 - jar cglib cglib 2.1_3 - jar commons-beanutils commons-beanutils 1.7.0 - jar commons-beanutils commons-beanutils-core 1.7.0 - jar commons-codec commons-codec 1.3 - jar commons-collections commons-collections 2.1.1 - jar commons-configuration commons-configuration 1.3 - jar commons-digestercommons-digester1.6 - jar commons-discovery commons-discovery 20040218.194635 - jar commons-io commons-io 1.2 - jar commons-jxpath commons-jxpath 1.2 - jar commons-langcommons-lang2.0 - jar commons-logging commons-logging 1.0.3 - jar commons-logging commons-logging-api 1.0.4 - jar commons-validator commons-validator 1.3.0 - jar directory-namingnaming-core 0.8 - jar dom4j dom4j 1.6.1 - jar freemarker freemarker 2.3.6 - jar httpunithttpunit1.6.1 - jar javax.activationactivation 1.1 - jar javax.mail mail1.4 - jar javax.persistence persistence-api 1.0 - jar javax.servlet servlet-api 2.3 - jar javax.transaction jta 1.0.1B - jar javax.xml.bind jsr173_api 1.0 - jar jaxbactivation 1.0.2 - jar jaxbjsr173_api 1.0 - jar jboss javassist 3.0 - jar jboss jboss-archive-browsing 5.0.0alpha-200607201-119- jar jboss jboss-client4.0.2 - jar jboss jboss-common4.0.2 - jar jboss jboss-ejb3 3 - jar jboss jboss-ejb3x 3x - jar jdomjdomb9 - jar jta jta 0.0.1 - jar jtidy jtidy r8-21122004 - jar log4j log4j 1.2.13 - jar nekohtmlnekohtml0.9.1 - jar net.sf.ehcache ehcache 1.2 - jar ojdbc ojdbc 14 - jar org.apache.axis axis1.3 - jar org.apache.axis axis-jaxrpc 1.2 - jar org.apache.axis axis-saaj 1.4 - jar org.hibernate ejb3-persistence1.0 - jar org.hibernate hibernate 3.2.0.ga- jar org.hibernate hibernate-annotations 3.2.0.ga- jar org.hibernate hibernate-entitymanager 3.2.0.ga- jar org.springframework spring-aop 2.0.1 - jar org.springframework spring-beans2.0.1 - jar org.springframework spring-context 2.0.1 -
common build section for several profiles
Hi Is it possible to have a common build section that is only executed for certain profiles. For example if I have in total 3 profiles in my pom, and out of 3, 2 have absolutely same build section. I don't want to duplicate the same build markup in my pom. Can I declare that 'common' build outside from the profiles, but then configure it to get executed only for 2 profiles and remain quiet for 1. Thanks -- View this message in context: http://www.nabble.com/common-build-section-for-several-profiles-tf3078470s177.html#a8552988 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
V4.0.0 POM's are not downloaded in Maven 2
Please explain why some of my Maven 2 dependencies are downloaded from my remote Maven repository to my local Maven repository with Maven 1 POM's packaged inside of them? I looked on my Maven Repository, and I saw that my artifacts had only v4.0.0 Maven 2 POM's, but when they were downloaded to my local Maven repository, they were automatically changed to Maven 1 POM's. Why is this happening? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
null project
You could try to give it a name with something like name. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: null project
While I agree with that, I'm not sure how to give it a name (thuis the reason for the post) :) where do you define the project name? amorgovsky wrote: You could try to give it a name with something like name. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- View this message in context: http://www.nabble.com/null-project-tf3077755s177.html#a8553218 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven / Test cases using log4J.xml to send msgs to file.
Put your log4j.properties (or xml) under src/test/resources. Make sure you have log4j as a dependency. On 1/23/07 1:36 PM, Lisa [EMAIL PROTECTED] wrote: If I am running mvn test from the command line and I have a log4j.xml file that has an appender and a logger that sends log.debug(msg) and log.info(msg) out to a file, how do I tell Maven first of all to use log4j as the logger and to point to the log4j.xml file that I have in my directory (same directory as the pom.xml file) ?? Thanks Lisa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: null project
You can define this in the name tag of your pom.xml. Dawn adingfelder wrote: While I agree with that, I'm not sure how to give it a name (thuis the reason for the post) :) where do you define the project name? amorgovsky wrote: You could try to give it a name with something like name. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- View this message in context: http://www.nabble.com/null-project-tf3077755s177.html#a8554250 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how can i find the http.jar for jax-ws
Thanks 2007/1/23, Dan Tran [EMAIL PROTECTED]: Sun does not release this file to maven repo, so you need to deploy it internally to your internal repo or your local repo -D On 1/23/07, Java Santa [EMAIL PROTECTED] wrote: Hi there is a jar named http.jar in jax-ws 2.0 libs,but i can't find it in maven rep,help me! Thanks!
RE: Maven in .NET
http://maven.apache.org/proposals/incubator/nmaven.html Thanks Lakshman -Original Message- From: Neeraj Bisht [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 January 2007 4:02 PM To: Maven Users List Subject: Fwd: Maven in .NET -- Forwarded message -- From: Neeraj Bisht [EMAIL PROTECTED] Date: Jan 23, 2007 10:07 AM Subject: Maven in .NET To: Maven Users List users@maven.apache.org Hi all i have been using maven 1.0.2 for java build and deployment in jboss server . my question is that, Is any build tool like maven available to build .net project and deployment or there is version available of maven for .net Regards Thanks Neeraj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: null project
Great, that works like a charm. :) How about the project tag? [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. Cheers, Andy -- View this message in context: http://www.nabble.com/null-project-tf3077755s177.html#a8554422 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: null project
You have not specify the name in the project nameMaven Quick Start Archetype/name On 1/24/07, adingfelder [EMAIL PROTECTED] wrote: when running maven (from within eclipse) I get the following at the start of the build [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - common_java:common_java:jar:0.0.1 [INFO]task-segment: [install] [INFO] [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. I noticed 2 interesting things: [INFO] Building Unnamed -- why is it unnamed and how do I set a name? [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1for project: null: -- why is it null and how do I correct this? Thoughts? Cheers, Andy Dingfelder -- View this message in context: http://www.nabble.com/null-project-tf3077755s177.html#a8550790 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-surefire-plugin not found
Try adding -cpu (check plugin updates) when building your project. Hope this helps. Dawn adingfelder wrote: When doing a maven build, I get errors where maven is looking at maven-surefire-plugin. I tried to disable the tests in my pom.xml but it did not help. (I have attached the pom and output below.) Thoughts? Cheers, Andy == pom.xml == ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcommon_java/groupId artifactIdcommon_java/artifactId version0.0.1/version build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration skiptrue/skip /configuration /plugin /plugins /build dependencies dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.8/version /dependency dependency groupIdcom.serialio/groupId artifactIdserialIO/artifactId version7.2/version scopesystem/scope systemPathC:/projects/3rd_party/jars/Serialio-7.2.jar/systemPath /dependency /dependencies /project == maven output: == [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [DEBUG] Building Maven user-level plugin registry from: 'home\.m2\plugin-registry.xml' [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - common_java:common_java:jar:0.0.1 [INFO]task-segment: [install] [INFO] [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-surefire-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST [DEBUG] maven-surefire-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release version org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE [ERROR] project-execute : common_java:common_java:jar:0.0.1 ( task-segment: [install] ) Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [ERROR] reactor-execute : C:\projects\common_java Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found FATAL ERROR: Error executing Maven for a project [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO] [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Jan 24 11:38:06 NZDT 2007 [INFO] Final Memory: 1M/3M [INFO] [INFO] Error for project: Unnamed - common_java:common_java:jar:0.0.1 (during install)
Re: requiresProject plugin setting
Hi Jelle, Add @requiresProject annotation in your mojo /** * @requiresProject false */ public class MyMojo { } Please look on the deploy file mojo for your reference http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?revision=490414view=markup Cheers, -allan On 1/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm writing a plugin to prepare my build phase. I want to execute it from a top level directory. So I already figures out I need to set the requiresProject tag in plugin.xml to false. But now my question .. how can I do this? Can't find the answer on google or the maven site. Kind regards. Jelle This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -- == - alramirez
RE: Maven2 and Spring
Hi, Have a look at www.appfuse.org There latest release (2.0 M2) uses Maven archetypes to easily set up new projects. Hope this is what you were looking for. Regards, Minto -Oorspronkelijk bericht- Van: Khabot, Zakaria [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 23 januari 2007 15:36 Aan: Maven Users List Onderwerp: Maven2 and Spring Hi all, I have created a project using the command: mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=fr.tge.test -DartifactId=Test Witch goal should I execute to generate a web app implementing the framework Spring and how to download the plugin. Thanks. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. DISCLAIMER De informatie in deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u niet de geadresseerde bent, wordt u er hierbij op gewezen, dat u geen recht heeft kennis te nemen van de rest van deze e-mail, deze te gebruiken, te kopieren of te verstrekken aan andere personen dan de geadresseerde. Indien u deze e-mail abusievelijk hebt ontvangen, brengt u dan alstublieft de afzender op de hoogte, waarbij u bij deze gevraagd wordt het originele bericht te vernietigen. Politie Amsterdam-Amstelland is niet verantwoordelijk voor de inhoud van deze e-mail en wijst iedere aansprakelijkheid af voor en/of in verband met alle gevolgen en/of schade van een onjuiste of onvolledige verzending ervan. Tenzij uitdrukkelijk het tegendeel blijkt, kunnen aan dit bericht geen rechten worden ontleend. Het gebruik van Internet e-mail brengt zekere risico's met zich. Daarom wordt iedere aansprakelijkheid voor het gebruik van dit medium door de Politie Amsterdam-Amstelland van de hand gewezen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Out of memory error
On 1/23/07, Wayne Fay [EMAIL PROTECTED] wrote: The assumption is that you are using Maven in a large/corporate environment for many projects, and sharing things like Checkstyle configs etc in all of them. Some people construct a simple Maven project, in their own company groupId with an artifactId of say project-standards, and then bundle things like checkstyle configs etc, and then put that dependency in their corporate pom which is the parent for all projects in the organization. The plugins will automatically find these config files while building the project. That exactly is what suits our environment and we wish to do that. Q1)If I create standards project , say acme-project-standards , where in acme-project-standards do I place the acme-checks.xml?Do I create this as a normal maven project?The documentation here http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html (Use a custom developed Checkstyle Check modules) explains customization but does not clarify where the acme-checks.xml would go? Q2)Assuming Q1 is sorted , then in my master pom.xml , I then list acme-projects-standards as a dependency? Or must acme-projects-standards be configured as an extension , eg (as documented at http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html) build extensions extension groupIdcom.mycompany/groupId artifactIdmycompany-checkstyle-checks/artifactId version1.0/version /extension /extensions /build A step by step treatment would be very helpful. Tx Jeff Mutonho Cape Town South Africa GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site:deploy host validity prompt
Hi All, am trying to deploy my site from windowsXP to my RedHat box . Everything works fine except for the fact that each time that the mvn site:deploy command is executed on each of my modules the following message prompts me to validate the authenticity of my host ---START DOS site:deploy pompt The authenticity of host '10.206.14.48' can't be established. RSA key fingerprint is 14:93:e7:25:e5:cb:fe:d9:8b:3f:c2:81:84:9f:b5:15. Are you sure you want to continue connecting? (yes/no): yes --END --- Now am trying to set up a CI server that would perform automatically the maven site deployment for me without the nagging Are you sure you want to continue connecting? . Anyone knows how i can confirm permanently to maven that 10.206.14.48 is a valid host. cheers, Javed
Using yGuard with Maven2
Hi, I want to use yGuard as obfuscator in my project. Can anyone help me, please. regards, gautam - Want to start your own business? Learn how on Yahoo! Small Business.