Re: [m2] Frustration getting Maven 2 and Hibernate working together
Hi, you misunderstood the usage of of the tag. The tag (like the tag for dependencies) is used to give default values to the plugin configurations (for example in a super pom). When you then declare the usage of a plugin in the section of a pom (just with group/artifact id) the inherited configuration is used. So to actually execute the antrun plugin you need to move the configuration from to . -Tim Paul Kuykendall schrieb: Hi, I am at my wits end in getting maven to play nicely with Hibernate. I've been at it for over a week now and feel no closer than when I started. Here's what I'm trying to do. I've been working on a project using Maven 2.0.4 as the build system. Everything has been going fine until I try and get Maven to generate the Hibernate DDL and java from my hbm files. I've tried using the codehaus hibernate3-maven-plugin with no success. I later discovered that when they had their crash, it took out lots of the plugin files. I've tried to just integrate the hibernate portions into the POM as a simple Ant task. I can't even get Maven to recognize the Ant tasks. I've RTFM (as much as there is one). I've tried all the available code snippets I can find. So far, nothing has worked. here is my POM file, slightly edited to protect the guilty. With the config files below, I don't even get the echos. If anyone has a sample section from the POM file for doing Hibernate 3 stuff, I would greatly appreciate a code-snippet. Thanks. /Paul 4.0.0 com.mycompany.simulators caisim 1.0-SNAPSHOT junit junit 3.8.1 commons-logging commons-logging 1.0.4 commons-configuration commons-configuration 1.2 org.hibernate hibernate 3.2.0.cr2 org.hibernate hibernate-annotations 3.2.0.cr1 org.hibernate hibernate-tools 3.1.0.beta4 My Simulator My interface simulator. http://www.mycompany.com 2006 myname My Name [EMAIL PROTECTED] Developer -6 mycompany, Inc. http://www.mycompany.com jar csf org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 org.apache.maven.plugins maven-antrun-plugin generate-sources Running Hibernate stuff here. run org.apache.maven.plugins maven-javadoc-plugin html private javadoc org.apache.maven.plugins maven-checkstyle-plugin src/main/config/mycompany-checkstyle.xml org.apache.maven.plugins maven-jxr-plugin org.apache.maven.plugins maven-pmd-plugin 1.5 xml true utf-8 100 Our Crappy Bug System http://jigsaw.mycompany.com/main scm:cvs:pserver:anoncvs:@gollum.mycompany.com :/lib/cvs:simulators/mysim http://gollum.mycompany.com/cgi-bin/viewcvs.cgi/simulators/mysim Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false The build-hibernate.xml file is below: !!!This is a test of the generate-sources task!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating an EJB, then an EAR
Hi, you should read the free maven book [1]. It is a very good introduction to m2 and has a chapter that shows an example of a J2EE application developed with maven. -Tim [1] http://library.mergere.com/ Graham Leggett schrieb: Hi all, I have an existing ant based project that I am trying to build with maven 2. The existing ant build creates an EJB jar file, and then wraps it and it's dependancies into an ear file. I am trying to replicate this behaviour with maven 2. Is there a way to run the ejb plugin, followed by the ear plugin to create the final ear file? Regards, Graham -- - 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: Error when making Maven generate an Andromda-enabled project?
Hi, You are trying to execute a maven1 command with maven2. Are you using this guide [1] to setup Andromda? I think it's outdated and uses maven1. If You want to use maven2 you should look at this guide [2]. -Tim [1] http://galaxy.andromda.org/docs-3.1/starting.html [2] http://galaxy.andromda.org/index.php?option=com_content&task=view&id=105&Itemid=89 Abdelhak JIJANE schrieb: Hello, Can anybody just help me solving one of these following astonishing errors!! Even just ideas can help me: I always get the same error message when trying to download the plugin andromda for Maven (speaking about this plugin, could someone send me the correct command line to type for Andromda 3.2-RC1 & Maven 2.0.4 because I see many different versions with andromda, andromdapp, -Dversion=3.2-RC1:version of andromda or -Dversion=2.1:version of the plugin ): C:\andromda-bin-3.2-RC1>mvn plugin:download -DgroupId=andromda -DartifactId=mave n-andromdapp-plugin -Dversion=3.1 [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'plugin'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Required goal not found: plugin:download [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Tue Jul 04 18:50:28 CEST 2006 [INFO] Final Memory: 1M/3M [INFO] And even after having downloaded it 'manually', and copied almost everywhere it could be needed (in maven's plugin directory, andromda's plugin and library directory, in the repository:.m2/repository/org/apache/maven...), It still does not want to recognize it, and use it to generate an Andromda-enabled project!! C:\andromda-bin-3.2-RC1>mvn andromda:generate [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'andromda'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-andromda-plugin' does not exis t or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Tue Jul 04 18:53:18 CEST 2006 [INFO] Final Memory: 1M/2M [INFO] --- - 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]
documenting composite objects in plugins configuration
Dennis, related to your comment in MJAR-46, are you aware of any Jira issue related to documenting composite objects fields of mojos ? I have a similar problem with some plugins whose configuration consist mostly of composite objects, making the generated plugin doc page useless. Cheers, Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] What documentation do you want for maven-jar-plugin
Sorry, I didn't actually check... if it's done, that's great :) - Brett On 05/07/06, jerome lacoste <[EMAIL PROTECTED]> wrote: On 7/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: [...] > - Docs for the new features like "sign" in particular (Jerome can > probably volunteer to do that) isn't this enough documented in svn ? Last time I checked there were 2 or 3 paragraphs on it. Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] What documentation do you want for maven-jar-plugin
On 7/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: [...] - Docs for the new features like "sign" in particular (Jerome can probably volunteer to do that) isn't this enough documented in svn ? Last time I checked there were 2 or 3 paragraphs on it. Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: List of Maven Archetypes?
On 7/1/06, siegfried <[EMAIL PROTECTED]> wrote: What projects? Is there a list of starter projects I can start from? I've added the ones I know about: http://docs.codehaus.org/display/MAVENUSER/Archetype+Plugin -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practise: handling xdoclet generated sources
Graham Leggett wrote: > Hi all, > > I am trying to figure out the proper maven based layout for some existing > ant code that uses xdoclet for code generation (standard EJB stuff). > >>From what I have seen to date, the way so far is for maven to ask xdoclet > to generate the code in the temporary target/generated-src directory. > > The trouble is that the static code in the project code references the > generated code, and so won't build in an IDE like eclipse, as the > generated-src directory doesn't exist initially, or after an mvn clean. [...] I suppose you let the maven-eclipse-plugin generate the eclipse project files? Then you'll have to rebuild the project initally with maven anyhow because you might be missing dependencies in your local repo. What I'm more worried about is that upon changes to the code that will be processed by xdoclet you have to re-run mvn compile from the commandline - and you have to remember to do that! Maybe the eclipse plugin is helpful here? -dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven 2
Perl, Bash, Python, Ruby, PHP are intepreter languages. so you dont need to buidl those except packaging them via maven-assembly-plugin HTH. -D On 7/4/06, A S Praj <[EMAIL PROTECTED]> wrote: Thanks Tim, Hi anyone can throw up some light on this... Regards A S P Raj On 7/4/06, Tim Kettler <[EMAIL PROTECTED]> wrote: > > Hi, > > for c/c++ you can use the native-maven-plugin [1]. For the rest I don't > know. But you > always can run some ant tasks via the antrun plugin [2]. > > Hope this helps > -Tim > > [1] > http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html > [2] http://maven.apache.org/plugins/maven-antrun-plugin/ > > A S Praj schrieb: > > Hi , > > In one of our projects we have the Bunch of projects, which is written > in > > different languages/softwares, I want to know whether Using Maven 2 can > I > > able to build the projects which is written in Perl, Bash, Ruby, > > Python,PHP, > > C, C++ files also. > > > > Thanks and Regards > > > > A.S.P.Raj > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Using Maven 2
Thanks Tim, Hi anyone can throw up some light on this... Regards A S P Raj On 7/4/06, Tim Kettler <[EMAIL PROTECTED]> wrote: Hi, for c/c++ you can use the native-maven-plugin [1]. For the rest I don't know. But you always can run some ant tasks via the antrun plugin [2]. Hope this helps -Tim [1] http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html [2] http://maven.apache.org/plugins/maven-antrun-plugin/ A S Praj schrieb: > Hi , > In one of our projects we have the Bunch of projects, which is written in > different languages/softwares, I want to know whether Using Maven 2 can I > able to build the projects which is written in Perl, Bash, Ruby, > Python,PHP, > C, C++ files also. > > Thanks and Regards > > A.S.P.Raj > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Frustration getting Maven 2 and Hibernate working together
Hi, I am at my wits end in getting maven to play nicely with Hibernate. I've been at it for over a week now and feel no closer than when I started. Here's what I'm trying to do. I've been working on a project using Maven 2.0.4 as the build system. Everything has been going fine until I try and get Maven to generate the Hibernate DDL and java from my hbm files. I've tried using the codehaus hibernate3-maven-plugin with no success. I later discovered that when they had their crash, it took out lots of the plugin files. I've tried to just integrate the hibernate portions into the POM as a simple Ant task. I can't even get Maven to recognize the Ant tasks. I've RTFM (as much as there is one). I've tried all the available code snippets I can find. So far, nothing has worked. here is my POM file, slightly edited to protect the guilty. With the config files below, I don't even get the echos. If anyone has a sample section from the POM file for doing Hibernate 3 stuff, I would greatly appreciate a code-snippet. Thanks. /Paul 4.0.0 com.mycompany.simulators caisim 1.0-SNAPSHOT junit junit 3.8.1 commons-logging commons-logging 1.0.4 commons-configuration commons-configuration 1.2 org.hibernate hibernate 3.2.0.cr2 org.hibernate hibernate-annotations 3.2.0.cr1 org.hibernate hibernate-tools 3.1.0.beta4 My Simulator My interface simulator. http://www.mycompany.com 2006 myname My Name [EMAIL PROTECTED] Developer -6 mycompany, Inc. http://www.mycompany.com jar csf org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 org.apache.maven.plugins maven-antrun-plugin generate-sources Running Hibernate stuff here. run org.apache.maven.plugins maven-javadoc-plugin html private javadoc org.apache.maven.plugins maven-checkstyle-plugin src/main/config/mycompany-checkstyle.xml org.apache.maven.plugins maven-jxr-plugin org.apache.maven.plugins maven-pmd-plugin 1.5 xml true utf-8 100 Our Crappy Bug System http://jigsaw.mycompany.com/main scm:cvs:pserver:anoncvs:@gollum.mycompany.com :/lib/cvs:simulators/mysim http://gollum.mycompany.com/cgi-bin/viewcvs.cgi/simulators/mysim Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false The build-hibernate.xml file is below: !!!This is a test of the generate-sources task!!!
Re: [m2] maven-it-plugin - how to create integration tests?
- googling hasn't really helped find the scm for the plugin either... I'm blind. It's available at http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-it-plugin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] maven-it-plugin - how to create integration tests?
Can anyone point me to any documentation on the maven-it-plugin? I expect I've missed something but - I can't find the plugin documentation at maven.apache.org - there is very little in the mail archives about it - googling hasn't really helped find the scm for the plugin either... From my fiddling it appears that you create a directory src/it/ and inside that directory create a new directory for each integration test you want to perform. The integration test kicks off the pom.xml file in this directory. My question is: how do you then test the results of the maven build that is run? Creating src/it//src/test/java/ means that the test file is run during the integration build, not afterwards I want to run the maven-jar-plugin and verify that the contents of the built jar. Any suggestions on was to do this would be appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] What documentation do you want for maven-jar-plugin
On 7/5/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote: Is there anything else that you feel is missing from the current documentation for this plugin? This is the time to speak up and let us know. Please submit your wishes here. If you have some example configurations that you feel others would find useful, we'd be happy to include them. 47 pretty much covers it, anything that is in the section is black magic under archive. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] What documentation do you want for maven-jar-plugin
- Clear links back to the archiver docs on the main site - the guide to manifests and removing pom.properties/xml from the JAR. - Links to the assembly plugin for when you are doing "advanced jarring" if that makes any sense. - Docs for the new features like "sign" in particular (Jerome can probably volunteer to do that) General stuff, but particularly important for JAR: - Review of all the fields to ensure they have good docs - use the new and improved plugin report The Javadoc plugin (in SVN) best represents docs right now, I think. You might also take a look at the comments in MJAVADOC-79, MWAR-48, MDEPLOY-35. Once again, thanks! - Brett On 05/07/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote: Hello I will be going over the documentation for the maven-jar-plugin. This will mean fixing these issues: - http://jira.codehaus.org/browse/MJAR-46 - http://jira.codehaus.org/browse/MJAR-47 Is there anything else that you feel is missing from the current documentation for this plugin? This is the time to speak up and let us know. Please submit your wishes here. If you have some example configurations that you feel others would find useful, we'd be happy to include them. I have created this issue to keep track of things: - http://jira.codehaus.org/browse/MJAR-48 -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Plugin Version in POM
Properties would be a very good and simple solution because a child project can always override them and provide its own values if it really needs too. On 7/4/06, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: On 7/4/06, leahpar <[EMAIL PROTECTED]> wrote: > => maybe you should add 2.0 inthe report section too Yeah, that does the trick. My idea was to have a super POM where the plugin (and dependency) versions would be locked down so when I'm ready to move to a newer version I can do so by changing the version in just one place. This would allow for a completely reproducible build. The above fix still forces me to change the version in (at least) two places. Clearly, I'm not going about this the Maven way. Should I use a profile? Should I create a bunch of properties, one for each of the plugins I need and then use those properties to determine the versions in the child POMs? How does one do this? Cheers, Hilco - 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]
[m2] What documentation do you want for maven-jar-plugin
Hello I will be going over the documentation for the maven-jar-plugin. This will mean fixing these issues: - http://jira.codehaus.org/browse/MJAR-46 - http://jira.codehaus.org/browse/MJAR-47 Is there anything else that you feel is missing from the current documentation for this plugin? This is the time to speak up and let us know. Please submit your wishes here. If you have some example configurations that you feel others would find useful, we'd be happy to include them. I have created this issue to keep track of things: - http://jira.codehaus.org/browse/MJAR-48 -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Looking for javadoc warning report
Oops - sorry missed the rest of that thread. I will check out the checkstyle report. J On 4-Jul-06, at 6:32 PM, Julian Wood wrote: Yes I'm looking for this too. It was a way to make sure that javadocs were being filled out properly (and to define what properly was). I also recall a mention of failing builds if javadocs weren't adequate. Is this around at all? http://maven.apache.org/maven-1.x/javadoc-warnings-report.html Thanks, J On 12-Apr-06, at 9:15 AM, Paul Spencer wrote: Wayne, In general the output of the "verbose" parameter from the javadoc command. Examples: o warning - @return tag has no arguments. o warning - Tag @see: can't find getCompanyId(java.lang.String) o warning - The first sentence is interpreted to be: o warning - @param argument "numberOfDays" is not a parameter name. Paul Spencer Wayne Fay wrote: What kind of "warnings" did it report exactly?? Wayne On 4/12/06, Paul Spencer <[EMAIL PROTECTED]> wrote: Maven 1.0.2 produced a Javadoc warnging report. I have not found this in Maven 2.0.x. Does it exist? If so, where and how is it configured? Paul Spencer -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca
Re: [m2] Looking for javadoc warning report
Yes I'm looking for this too. It was a way to make sure that javadocs were being filled out properly (and to define what properly was). I also recall a mention of failing builds if javadocs weren't adequate. Is this around at all? http://maven.apache.org/maven-1.x/javadoc-warnings-report.html Thanks, J On 12-Apr-06, at 9:15 AM, Paul Spencer wrote: Wayne, In general the output of the "verbose" parameter from the javadoc command. Examples: o warning - @return tag has no arguments. o warning - Tag @see: can't find getCompanyId(java.lang.String) o warning - The first sentence is interpreted to be: o warning - @param argument "numberOfDays" is not a parameter name. Paul Spencer Wayne Fay wrote: What kind of "warnings" did it report exactly?? Wayne On 4/12/06, Paul Spencer <[EMAIL PROTECTED]> wrote: Maven 1.0.2 produced a Javadoc warnging report. I have not found this in Maven 2.0.x. Does it exist? If so, where and how is it configured? Paul Spencer - 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] -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca
Re: [m2] WAR plugin questions
you can also... try running mvn site:site, it will generate a documentation site for your webapp project. check the link Project Documentation -> Dependencies, for the dependency tree. the new war plugin ( 2.1-SNAPSHOT ) only includes the dependencies with a runtime scope, you can exclude dependencies from being included to the war by changing the scope to compile or test. as for the war plugin documentation, there's a new one in the trunk. I hope it's more informative than the current one. You can wait for a couple of days for the maven site to be updated or you can get it from the trunk and generate the site for it. =) svn -co https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin war-plugin mvn site:site the generated site is under "target/site", look for the index.html there. pete marvin Adam Hardy wrote: > Bob Arnott on 04/07/06 14:57, wrote: >> I'm currently in Maven dependency hell, with a WAR file that is huge >> due to loads of useless third party library dependencies. > > Generally speaking, you should be able to dig your way out of this > dependency hell. Are you sure that you have given all your > dependencies the correct scope? For instance, any jars needed only for > testing, or which are supplied by the appserver should be marked so > with the scope tag. > Secondly, when using big framework jars such as spring.jar, try using > just the deconstructed modular jars you need (if they are provided) > rather than the whole kit and caboodle. > >> P.S. Is there a tool to show me where all the dependencies come form...? >> i.e. a graphing tool or something that shows what is a dependency of >> what. > > Run mvn -X package and look at the indented references to jars. Each > main dependency starts on the left and for each transitive dependency, > a new line with an indentation is added. > > Hope that helps, > Adam > > - > 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]
Error when making Maven generate an Andromda-enabled project?
Hello, Can anybody just help me solving one of these following astonishing errors!! Even just ideas can help me: I always get the same error message when trying to download the plugin andromda for Maven (speaking about this plugin, could someone send me the correct command line to type for Andromda 3.2-RC1 & Maven 2.0.4 because I see many different versions with andromda, andromdapp, -Dversion=3.2-RC1:version of andromda or -Dversion=2.1:version of the plugin ): C:\andromda-bin-3.2-RC1>mvn plugin:download -DgroupId=andromda -DartifactId=mave n-andromdapp-plugin -Dversion=3.1 [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'plugin'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Required goal not found: plugin:download [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Tue Jul 04 18:50:28 CEST 2006 [INFO] Final Memory: 1M/3M [INFO] And even after having downloaded it 'manually', and copied almost everywhere it could be needed (in maven's plugin directory, andromda's plugin and library directory, in the repository:.m2/repository/org/apache/maven...), It still does not want to recognize it, and use it to generate an Andromda-enabled project!! C:\andromda-bin-3.2-RC1>mvn andromda:generate [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'andromda'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-andromda-plugin' does not exis t or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Tue Jul 04 18:53:18 CEST 2006 [INFO] Final Memory: 1M/2M [INFO] --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Plugin Version in POM
On 7/4/06, leahpar <[EMAIL PROTECTED]> wrote: => maybe you should add 2.0 inthe report section too Yeah, that does the trick. My idea was to have a super POM where the plugin (and dependency) versions would be locked down so when I'm ready to move to a newer version I can do so by changing the version in just one place. This would allow for a completely reproducible build. The above fix still forces me to change the version in (at least) two places. Clearly, I'm not going about this the Maven way. Should I use a profile? Should I create a bunch of properties, one for each of the plugins I need and then use those properties to determine the versions in the child POMs? How does one do this? Cheers, Hilco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re : assembly plugin problem
descripteur.xml bin jar false .. ../ife-asp/target lib *.jar true .. * The problem is in your descriptor file. You need to add false which will copy all dependencies to the specified outputDirectory (in this case the root of the archive) and it will copy the archived files without unpacking them (unpack = false) Be aware that there is an outstanding bug http://jira.codehaus.org/browse/MJAR-28 which will cause the maven-jar-plugin to build an incorrect Class-Path entry in your Manifest.MF file IF you are using deployed snapshots. The work around is to manually rename the copied dependency archives. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] WAR plugin questions
Bob Arnott on 04/07/06 14:57, wrote: I'm currently in Maven dependency hell, with a WAR file that is huge due to loads of useless third party library dependencies. Generally speaking, you should be able to dig your way out of this dependency hell. Are you sure that you have given all your dependencies the correct scope? For instance, any jars needed only for testing, or which are supplied by the appserver should be marked so with the scope tag. Secondly, when using big framework jars such as spring.jar, try using just the deconstructed modular jars you need (if they are provided) rather than the whole kit and caboodle. P.S. Is there a tool to show me where all the dependencies come form...? i.e. a graphing tool or something that shows what is a dependency of what. Run mvn -X package and look at the indented references to jars. Each main dependency starts on the left and for each transitive dependency, a new line with an indentation is added. Hope that helps, Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven2 xdoclet2 plugin
hi all,, can anyone point me in the right direction for using maven2 xdoclet2 plugin? i followed this link http://xdoclet.codehaus.org/Maven2+plugin to try, i wrote a simple pom.xml like in the example 4.0.0 Backend jar 1.0 Backend TestJSFAppM2 TestJSFAppM2 1.0 aspectj aspectjrt 1.5.0 jasperreports jasperreports 1.2.4 commons-digester commons-digester 1.7 log4j log4j 1.2.9 castor castor 1.0M4 javax.servlet servlet-api 2.4 TestJSFAppM2 Commons 1.0 xdoclet maven2-xdoclet2-plugin org.xdoclet.plugin.web.TaglibPlugin 2.0 ${basedir}/target/xdoclet/META-INF xdoclet !-- The following two sections should be unnecessary shortly. surefire-2.2 is due for release yesterday. --> apache.snapshots http://cvs.apache.org/maven-snapshot-repository true apache.snapshots http://cvs.apache.org/maven-snapshot-repository codehaus-plugins http://dist.codehaus.org/ true true when i run mvn:compile i got following error [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no valid ve rsion could be found [INFO] and when i run mvn xdoclet:xdoclet i got this [INFO] The plugin 'org.apache.maven.plugins:maven-xdoclet-plugin' does not exist or no valid version could be found can anyone help me out on how to start? i got plugins working fine for maven1, btu now i have moved to maven2 ... thx and regards marco
Re: Creating an EJB, then an EAR
hello, Yes, but the whole project packages an ejb into an .ear i thought that might help.. hth marco On 7/4/06, Graham Leggett <[EMAIL PROTECTED]> wrote: On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote: > see if htis sample can help you (though, it creates a jar for a n EJB..) > > http://docs.codehaus.org/display/MAVENUSER/Examples Are you referring to "How to use the JBoss Embedded EJB3 Container for Unit testing"? It's the only example that comes up. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How could i add external jar to maven.compile.classpath without use dependency setting in pom.xml
have you tried the dependency scope "provided" this will mean the dep is not shipped On Wed, 2006-07-05 at 02:11 +0800, Reggie Kuo wrote: > Hi All, > > How could i add external jar in maven.compile.classpath without use > dependency setting. > Because i don't want to install artifact jar to my repository. > > Thanks. > > > Reggie Kuo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: snapshots in local repository after install?
Not sure why it would be different for your two environments, but you need to specify unique version to false to avoid the timestamp being appended, e.g.: ... false ... Looks like you might have different pom files since one is version 9.0.0 and the other is -SNAPSHOT. -- View this message in context: http://www.nabble.com/snapshots-in-local-repository-after-install--tf1890555.html#a5172969 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with eclipse plugin
Hi! I was using eclipse m2 plugin without problems. Now, I try to invoke a "site" goal but the plugin execution hangs. if I use "mvn site" in a command prompt, for the same project, everything works fine. I checked in the list archives and found some information about proxy configuration. I tryed to configure proxy settings but the plugin still not works. I'm using eclipse m2 plugin 0.0.9 and maven 2.0.4. Any ideas? Regards Marcelo Riss
Re: Re: Maven 2: Manifest entries for JARs
Yep, I brought this up too on this thread: http://mail-archives.apache.org/mod_mbox/maven-dev/200606.mbox/[EMAIL PROTECTED] Mark On 04/07/06, Grégory Joseph <[EMAIL PROTECTED]> wrote: On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Missed that documentation. > > You can see how the description, "The maven archiver to use." is misleading. > Oh, in the plugin/goal description, yes, absolutely. I seem to recall i've recently seen activity towards better documentation of complex types in plugins configuration. (At least a link to a basic javadoc would be helpful as to know what one can set without resorting to copying examples) Cheers g > On 7/4/06, Grégory Joseph <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > I'm working on some library code which will be driven by a manifest > > > entry in client JARs. > > > > > > I need to be able to set some mainfest entries in my JAR files. > > > > > > I can't see where to do this. It seems likely for the jar plugin, but > > > nothing in the source or documentation indicates how to do this. > > > > How about http://maven.apache.org/guides/mini/guide-manifest.html ? > > > > (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-) > > > > HTH, > > > > greg > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator and PMC Chair, Apache Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.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: Re: Maven 2: Manifest entries for JARs
On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Missed that documentation. You can see how the description, "The maven archiver to use." is misleading. Oh, in the plugin/goal description, yes, absolutely. I seem to recall i've recently seen activity towards better documentation of complex types in plugins configuration. (At least a link to a basic javadoc would be helpful as to know what one can set without resorting to copying examples) Cheers g On 7/4/06, Grégory Joseph <[EMAIL PROTECTED]> wrote: > Hi, > > On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > I'm working on some library code which will be driven by a manifest > > entry in client JARs. > > > > I need to be able to set some mainfest entries in my JAR files. > > > > I can't see where to do this. It seems likely for the jar plugin, but > > nothing in the source or documentation indicates how to do this. > > How about http://maven.apache.org/guides/mini/guide-manifest.html ? > > (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-) > > HTH, > > greg > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.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: Maven 2: Manifest entries for JARs
Missed that documentation. You can see how the description, "The maven archiver to use." is misleading. On 7/4/06, Grégory Joseph <[EMAIL PROTECTED]> wrote: Hi, On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I'm working on some library code which will be driven by a manifest > entry in client JARs. > > I need to be able to set some mainfest entries in my JAR files. > > I can't see where to do this. It seems likely for the jar plugin, but > nothing in the source or documentation indicates how to do this. How about http://maven.apache.org/guides/mini/guide-manifest.html ? (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-) HTH, greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2: Manifest entries for JARs
Hi, On 04/07/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I'm working on some library code which will be driven by a manifest entry in client JARs. I need to be able to set some mainfest entries in my JAR files. I can't see where to do this. It seems likely for the jar plugin, but nothing in the source or documentation indicates how to do this. How about http://maven.apache.org/guides/mini/guide-manifest.html ? (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-) HTH, greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How could i add external jar to maven.compile.classpath without use dependency setting in pom.xml
Hi All, How could i add external jar in maven.compile.classpath without use dependency setting. Because i don't want to install artifact jar to my repository. Thanks. Reggie Kuo
Maven 2: Manifest entries for JARs
I'm working on some library code which will be driven by a manifest entry in client JARs. I need to be able to set some mainfest entries in my JAR files. I can't see where to do this. It seems likely for the jar plugin, but nothing in the source or documentation indicates how to do this. I tried creating my own META-INF/MANIFEST.MF file (under src/main/resources) in the hopes that it would merge, but no-go. -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Keytool plugin version 1.0-beta-1
The Mojo team is pleased to announce the Keytool Plugin 1.0-beta-1 release! htp://mojo.codehaus.org/keytool-maven-plugin/ This plugin allows user to generate keystore, wrapping the SDK keytool command. There are no known issues. Enjoy! -The Mojo team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] maven-jar-plugin-2.1 status?
On 7/4/06, jerome lacoste <[EMAIL PROTECTED]> wrote: On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote: > Mark, I can't confirm an exact date but I just went through JIRA last > night and closed/resolved 10-15 of the existing issues. The one thing > that has not been done yet is an overhaul of the documentation to > conform with the new doc standards. Once this has been done, the > release should be reasonably near. I also need a release of this plugin because it currently blocks the release of the beta-1 webstart mojo plugin. I've called for a release many weeks ago and helped fix some of the jar plugin issues. What is really missing from the docs? Willing to help... I looked at the latest official maven plugin released (the clover one) and I don't see many differences between the clover plugin deployed site and the jar plugin one found in svn: http://maven.apache.org/plugins/maven-clover-plugin/ Cheers, Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] maven-jar-plugin-2.1 status?
On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote: Mark, I can't confirm an exact date but I just went through JIRA last night and closed/resolved 10-15 of the existing issues. The one thing that has not been done yet is an overhaul of the documentation to conform with the new doc standards. Once this has been done, the release should be reasonably near. I also need a release of this plugin because it currently blocks the release of the beta-1 webstart mojo plugin. I've called for a release many weeks ago and helped fix some of the jar plugin issues. What is really missing from the docs? Willing to help... Cheers, Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: GoogleTalk notification
no, you don't need to restart it for all changes done throught the web interface, only for modification in application.xml. For google talk, you need to define the jabber domain like described in faqs : http://maven.apache.org/continuum/faqs.html#how-to-configure-jabber-notifier-for-google-talk Emmanuel Jeff Mutonho a écrit : Sorry , my question is do i need to restart Continuum after addinf a notifier throught the web interface? On 7/4/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: I've configured a google talk notification with the following parameters : Jabber Host talk.google.com Jabber Port 5222 Jabber Login ejbengine Jabber Password Jabber Domain Name Jabber Recipientejbengine I don't receive any googletalk notifications however .The only ones I get are just the e-mails. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
m2 equivalent of
Hi all, One possible workaround to my ejb-inside-an-ear dilemma is to embed dependancies inside an ejb, and scrap the ear entirely. Trouble is, from maven 1 seems to have been lost along the road to maven 2: http://jira.codehaus.org/browse/MEJB-3?page=all Anyone know if this feature is returning soon? Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: GoogleTalk notification
Sorry , my question is do i need to restart Continuum after addinf a notifier throught the web interface? On 7/4/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: I've configured a google talk notification with the following parameters : Jabber Host talk.google.com Jabber Port 5222 Jabber Login ejbengine Jabber Password Jabber Domain Name Jabber Recipientejbengine I don't receive any googletalk notifications however .The only ones I get are just the e-mails. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
GoogleTalk notification
I've configured a google talk notification with the following parameters : Jabber Host talk.google.com Jabber Port 5222 Jabber Login ejbengine Jabber Password Jabber Domain Name Jabber Recipientejbengine I don't receive any googletalk notifications however .The only ones I get are just the e-mails. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
snapshots in local repository after install?
Hi all, on my continuum (linux) server I'm running out off diskspace fast because each build (mvn clean install) produces an actual snapshot (eg george-9.0.0-20060531.111546-5.jar) in the local repository. This is not what happens on my (windows) workstation. Here each build (mvn clean install) produces the same '-SNAPSHOT' extension so that it overwrites the previous and doesn't waste any space. Both machines build on the same code, both use maven 2.0.4 / continuum 1.0.3 / JDK1.5.0_x / Tomcat 5.5.17 So what is the difference, how can I configure my ci not to produce real snapshots in my local repository? regards, Bram -- Bram de Kruijff creative online development B.V. t: 024 - 3888 261 f: 024 - 3888 621 e: [EMAIL PROTECTED] Wijchenseweg 111 6538 SW Nijmegen http://www.gx.nl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating an EJB, then an EAR
On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote: > see if htis sample can help you (though, it creates a jar for a n EJB..) > > http://docs.codehaus.org/display/MAVENUSER/Examples Are you referring to "How to use the JBoss Embedded EJB3 Container for Unit testing"? It's the only example that comes up. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating an EJB, then an EAR
Hello, see if htis sample can help you (though, it creates a jar for a n EJB..) http://docs.codehaus.org/display/MAVENUSER/Examples hth marco On 7/4/06, Graham Leggett < [EMAIL PROTECTED]> wrote: Hi all, I have an existing ant based project that I am trying to build with maven 2. The existing ant build creates an EJB jar file, and then wraps it and it's dependancies into an ear file. I am trying to replicate this behaviour with maven 2. Is there a way to run the ejb plugin, followed by the ear plugin to create the final ear file? Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating an EJB, then an EAR
Hi all, I have an existing ant based project that I am trying to build with maven 2. The existing ant build creates an EJB jar file, and then wraps it and it's dependancies into an ear file. I am trying to replicate this behaviour with maven 2. Is there a way to run the ejb plugin, followed by the ear plugin to create the final ear file? Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
On 7/4/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Jeff Mutonho a écrit : >> Perhaps your scm url >> (scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev ) >> is wrong. >> Are you sure it isn't >> scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal >> ? > > Yes I'm sure , because the correct modules are checked out.The > checking out is working it can work too with a wrong url like if you use the parent directory of your project instead of the project directory. Do you have your root project undre "50" directory? How many projects do you have in continuum? normally one by module + one for the root project. > >> >> Continuum is an open source project. If you consider the documentation >> is poor, you can >contribute to it and provide some patches. > > With all due respect ,this is a famous response :) .One can only > contribute once you have an understanding of what's going on and how > something works.Without that understanding ,you cannot contribute.In > any case , a project being an open source one , does not necessarily > mean it should have poor documentation(think Hibernate , Spring and > their success).The reasons for joining the mailing is to try and get > the understanding :) > I'm agree that we need to add more documentation, screenshots... that help users, but I'm generally not happy with users that ask for help, we explain to us how to resolve their pb and they promise a patch for the doc without to send it. Point taken :)
Re: Notification about new Maven releases
announce@maven.apache.org lists all Maven-related releases (including plugins). announce@apache.org gets major releases (and all Apache releases). We have a freshmeat thing that's about 5 years old and I think we're locked out :) - Brett On 05/07/06, Jimisola Laursen <[EMAIL PROTECTED]> wrote: Hi! Is there a way to get a notification (email) when a new release of Maven is released? If not, would it be possible to add to project to freshmeat.net as they have this functionality and I assume many other use this for over projects? Regards, Jimisola -- View this message in context: http://www.nabble.com/Notification-about-new-Maven-releases-tf1890145.html#a5168026 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Apache Maven - http://maven.apache.org "Better Builds with Maven" book - http://library.mergere.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Notification about new Maven releases
Hi! Is there a way to get a notification (email) when a new release of Maven is released? If not, would it be possible to add to project to freshmeat.net as they have this functionality and I assume many other use this for over projects? Regards, Jimisola -- View this message in context: http://www.nabble.com/Notification-about-new-Maven-releases-tf1890145.html#a5168026 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
Jeff Mutonho a écrit : Perhaps your scm url (scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev ) is wrong. Are you sure it isn't scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal ? Yes I'm sure , because the correct modules are checked out.The checking out is working it can work too with a wrong url like if you use the parent directory of your project instead of the project directory. Do you have your root project undre "50" directory? How many projects do you have in continuum? normally one by module + one for the root project. Continuum is an open source project. If you consider the documentation is poor, you can >contribute to it and provide some patches. With all due respect ,this is a famous response :) .One can only contribute once you have an understanding of what's going on and how something works.Without that understanding ,you cannot contribute.In any case , a project being an open source one , does not necessarily mean it should have poor documentation(think Hibernate , Spring and their success).The reasons for joining the mailing is to try and get the understanding :) I'm agree that we need to add more documentation, screenshots... that help users, but I'm generally not happy with users that ask for help, we explain to us how to resolve their pb and they promise a patch for the doc without to send it. Emmanuel
Re: M2: spring-orm
Spring-orm does not exist in post M3 version. It has been splited into spring-jdo, spring-ojb, spring-ibatis... christophe blin a écrit : Hi, I'd like to know why the spring-orm version 2.0-m4 is not ibiblio while spring-mock, spring-dao, ... are present in this vesrion. Is this something I must do ? regards, chris This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
and is the POM correctly in you source control? Ok , I added the POM to the source control and that did the trick.The mistake was the idea that Continuum would just use my top level POM (the one I supply when adding the m2 projects). Thanks for all your responses guys. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2: spring-orm
Yes, check Spring docs because there is no spring-orm in spring 2.0 On 7/4/06, christophe blin <[EMAIL PROTECTED]> wrote: Hi, I'd like to know why the spring-orm version 2.0-m4 is not ibiblio while spring-mock, spring-dao, ... are present in this vesrion. Is this something I must do ? regards, chris -- _ Tennaxia, www.tennaxia.com, Pilotez vos obligations environnementales _ Siège social : 6, rue Léonard de Vinci - 53001 Laval Cedex - Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77 Agence Paris : 19, rue réaumur - 75003 Paris - Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61 Agence Lyon : Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE - Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85 The information in this message sent by TENNAXIA is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this message by anyone else is unauthorized. If you are not the intended recipient, please delete it and notify the sender : any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2: spring-orm
Hi, I'd like to know why the spring-orm version 2.0-m4 is not ibiblio while spring-mock, spring-dao, ... are present in this vesrion. Is this something I must do ? regards, chris -- _ Tennaxia, www.tennaxia.com, Pilotez vos obligations environnementales _ Siège social : 6, rue Léonard de Vinci - 53001 Laval Cedex - Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77 Agence Paris : 19, rue réaumur - 75003 Paris - Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61 Agence Lyon : Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE - Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85 The information in this message sent by TENNAXIA is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this message by anyone else is unauthorized. If you are not the intended recipient, please delete it and notify the sender : any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
Perhaps your scm url (scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev ) is wrong. Are you sure it isn't scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal ? Yes I'm sure , because the correct modules are checked out.The checking out is working Continuum is an open source project. If you consider the documentation is poor, you can >contribute to it and provide some patches. With all due respect ,this is a famous response :) .One can only contribute once you have an understanding of what's going on and how something works.Without that understanding ,you cannot contribute.In any case , a project being an open source one , does not necessarily mean it should have poor documentation(think Hibernate , Spring and their success).The reasons for joining the mailing is to try and get the understanding :) -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
cobertura - Getting Error
HI, when i am mvn test for mvn site, getting Error. Here I have enclosed my configuration and error. org.codehaus.mojo cobertura-maven-plugin target/cobertura/instrumented-classes target/cobertura/report instrument test-compile instrument clean - org.codehaus.mojo surefire-report-maven-plugin Error Compiling 24 source files to E:\latest-i401k\cs-cache\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [cobertura:instrument {execution: instrument}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Unable to prepare instrumentation directory. Embedded error: Failed to copy full contents from E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class to E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Tue Jul 04 19:28:19 GMT+05:30 2006 [INFO] Final Memory: 5M/12M [INFO] I dont why its creates multiple folders in classes directory. Please help me on this issue. -- View this message in context: http://www.nabble.com/cobertura---Getting-Error-tf1890046.html#a5167730 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Old project structure
hello I have Web project in CVS, It has structure: /application/version3/ /index.jsp /a2/a2.jsp /b2/b2.jsp /WEB-INF /web.xml /lib - some jars /src - java sources I would like to check out it in Maven2, compile and build WAR How should I do it? Should i build independent module for java sources and web files with their own section? or maybe checkout outside maven and use symbolic links to maven directory structure? -- View this message in context: http://www.nabble.com/Old-project-structure-tf1889956.html#a5167441 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] WAR plugin questions
I'm currently in Maven dependency hell, with a WAR file that is huge due to loads of useless third party library dependencies. The WAR plugin web site is next to useless, with the two most promising links "With war dependencies" and "Filtering war dependencies" both returning 404 errors. As an aside, the link for "With war dependencies" should be: http://maven.apache.org/plugins/maven-war-plugin/examples/example-overlay.html ^ not http://maven.apache.org/plugins/maven-war-plugin/example/example-overlay.html Although the corresponding page is empty. The link for the other page: http://maven.apache.org/plugins/maven-war-plugin/example-webappdependency-filtering.html Doesn't exist in the source repository... Anyway, how do I get rid of the dependencies that I don't want...? I'm not prepared to add any thing to the main section of my pom.xml files as these dependencies have nothing to do with my project. With the assembly descriptor I can at least specify and section with ${groupId}:${artifactId} tags to get rid of things. How do I do the same with the WAR plugin...? The war:war documentation suggests that there is a tag, but doesn't give any examples and the comment "The comma separated list of tokens to exclude when doing a way overlay." is totally unhelpful. Is that supposed to be: dependency1.jar,dependency2.jar or ${groupId}:${artifactId},${groupId}:${artifactId} ??? Any help would be appreciated. Cheers, P.S. Is there a tool to show me where all the dependencies come form...? i.e. a graphing tool or something that shows what is a dependency of what. -- Bob Arnott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re : assembly plugin problem
Hi, indeed i want all dependency jars in a 'lib' directory in the assembly. here my poms and my descriptor: ROOT POM* ... ../ife-asp ../ife-aspstruts .. ... ${basedir}/src/java ${basedir}/src/test . maven-assembly-plugin 2.2-SNAPSHOT false src/main/assembly/descripteur.xml true *.jar .. commons-logging commons-logging 1.0.4 commons-lang commons-lang 2.0 struts struts 1.1 org.hibernate hibernate 3.0 ***ife-asp module pom per example** ife fr.improve.foundations ${buildVersion} ../IFE/pom.xml (IFE is the root project) 4.0.0 ife-asp fr.improve.foundations.extention IFE-ASP jar 1.2.1 fr.improve.foundations.extention ife-hibernate [1,) org.hibernate hibernate struts struts descripteur.xml bin jar false .. ../ife-asp/target lib *.jar true .. * thank you for your reativity! Hi, it would help if you could post your pom.xml with the assembly plugin configuration and your assembly descriptor. Also you should describe how you expect the final assembly to look like. Do you want to create just one jar file that contains your classes + the classes of the dependencies (you can use the predefined 'jar-with-dependencies' descriptor for that) or do you want (for example) all dependency jars in a 'lib' directory in the assembly? -Tim nazim chakik schrieb: > > Hello, > > Already saw this link, but without success. > if somebody already assembled a complete project with all his > dependencies that it comes me to assistance, > that will make more than one week that I try to solve this problem. > > thanks > > Nazim > > Alexandre Poitras a écrit : >> Should help you : >> http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html >> >> On 6/30/06, nazim chakik <[EMAIL PROTECTED]> wrote: >>> Hello, >>> >>> I use the maven's assembly plugin and I have the following problem: >>> I have several projects which are modules of one main project >>> containing the pom root. Each module has its own dependencies , >>> When I run the command: (mvn assembly:assembly) on the root pom, I >>> recover the sub projects's .jar but without dependences. >>> If you have a good documentation about assembly or an example, that >>> would help me . >>> >>> thank you in advance >>> >>> PS:I use -> maven-assembly-plugin >>> 2.2-SNAPSHOT >>> >>> Nazim
Re: Ladies and Gents...does Continuum actually work?
Please don't post your message on more than one list. Jeff Mutonho a écrit : Question 1 = Does continuum actually work with Maven 2? Yes, it works fine and it is used by lot of user. I'm trying to build my m2 project.My top level pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) All I want is for Contiuum to work the same way M2 works when I type "mvn install" ...i.e realize that I have modules and these modules need to be built!How hard can this be? Isn't continuum suppose to use the pom.xml I supplied when adding projects as the top level pom?My project structure looks like as follows: /MyCompanyEportal/pom.xml (this pom has the smc, e-mail adds,etc,modules definitions) and its the one i pass onto Continuum to add the maven2 projects.Continuum is using this to checkout the modules from CVS.I thought it would then start building the modules(just like maven does when I run "mvn install" from the top level directory /MyCompanyEportal/) Then he modules are as follows : /MyCompanyEportal/eportal-services/pom.xml (build config for eportal-services) /MyCompanyEportal/eportal-messaging/pom.xml (build config for eportal-messages) /MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web) I even made the location of continuum's working directory the same as the location of my super pom (pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) All I want is for Contiuum to work the same way M2 works when I type "mvn install" ...i.e
Re: Why so many directories
Jeff Mutonho a écrit : On 7/4/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Actually, continuum create one project by module and it checkout each module in its own directory. If you don't want one project by module, you can delete all modules in continuum interface and remove --non-recursive from the build definition of your parent project. Emmanuel Thanks Emmanuel , but where is this "non-recursive" field removed?Which configuration file?The website just says "If you want to build recursively from the parent, you have to remove the --non-recursive or -N argument under the "Build Definitions" section of your parent project." Is this changed in the pom.xml? It isn't in pom.xml. You'll find it in continuum interface. In the summary page, click on your project, then you'll see the build definitions list, then, edit build definition and remove --non-recursive. A build definition is the command line that continuum will use to build your project. Emmanuel
Re: Ladies and Gents...does Continuum actually work?
In 1.1, users will can choose if they want to have one project in continuum by module or only one. Emmanuel John Allen a écrit : This aspect of continuum is one of the main reasons we dropped it in favour of luntbuild. An 'exclusion pattern' feaure might be a good idea as it would enable 'smarter' checkout and avoid checking out sub-directories containing pom.xml files (for instance). Date: Tue, 4 Jul 2006 14:03:15 +0200> From: [EMAIL PROTECTED]> To: users@maven.apache.org> Subject: Re: Ladies and Gents...does Continuum actually work?> > > As you should know from your Maven 2 experience.. Every module has its own> > POM and is treated as a separate project by maven..> > And ofcourse, so does continuum.. Hence the different numbers (one per> > project)..> >> > But then why is it checking all the modules into one folder , eg 50> i.e /50/eportal-services> /50/eportal-messaging>/50/eportal-web> > then goes on to checkout each module into separate folders ,eg\>/51/eportal-services>/52/eportal-messaging>/53/eportal-web> -- > > > Jeff Mutonho> > GoogleTalk : ejbengine> Skype: ejbengine> Registered Linux user number 366042> > -> To unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> _ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
Jeff Mutonho a écrit : As you should know from your Maven 2 experience.. Every module has its own POM and is treated as a separate project by maven.. And ofcourse, so does continuum.. Hence the different numbers (one per project).. But then why is it checking all the modules into one folder , eg 50 i.e /50/eportal-services /50/eportal-messaging /50/eportal-web when continuum checkout the parent project, all subdirectories come with the checkout command then goes on to checkout each module into separate folders ,eg\ /51/eportal-services /52/eportal-messaging /53/eportal-web then, we checkout all submodules in separate directory, so you can build them independantly. Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Ladies and Gents...does Continuum actually work?
This aspect of continuum is one of the main reasons we dropped it in favour of luntbuild. An 'exclusion pattern' feaure might be a good idea as it would enable 'smarter' checkout and avoid checking out sub-directories containing pom.xml files (for instance). > Date: Tue, 4 Jul 2006 14:03:15 +0200> From: [EMAIL PROTECTED]> To: > users@maven.apache.org> Subject: Re: Ladies and Gents...does Continuum > actually work?> > > As you should know from your Maven 2 experience.. Every > module has its own> > POM and is treated as a separate project by maven..> > > And ofcourse, so does continuum.. Hence the different numbers (one per> > > project)..> >> > But then why is it checking all the modules into one folder > , eg 50> i.e /50/eportal-services> /50/eportal-messaging> > /50/eportal-web> > then goes on to checkout each module into separate > folders ,eg\>/51/eportal-services>/52/eportal-messaging> > /53/eportal-web> -- > > > Jeff Mutonho> > GoogleTalk : ejbengine> Skype > : ejbengine> Registered Linux user number 366042> > > -> To > unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: > [EMAIL PROTECTED]> _ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
Re: [Maven2] test resources
thanks it works. For a brief summary : - having resources in src/main/resources make them available in the classpath for the tests so you do not need any copy operation - do not forget the leading "/" (which IMHO should be corrected in the docs) regards, chris Hendrik Busch a écrit : > Hi, > >>try putting your mapping_common.hbm.xml on "src/main/resources/" >> instead. >>or modify your getResourceAsStream to get the file >> "META-INF/mapping_common.hbm.xml" > > you should not place Hibernate files in the META-INF directory. Either > place them directly in src/main/resources (or src/test/resources if > you only need them for testing) or place them in a folder > corresponding to you Hibernate class package, e.g. > src/main/resources/com/foo/bar. > > You should execute > > getClass().getResourceAsStream("/mapping_common.hbm.xml") > > with a leading slash in the path, as your previous path was relative > the the package of the class in which you executed this command. > -- _ Tennaxia, www.tennaxia.com, Pilotez vos obligations environnementales _ Siège social : 6, rue Léonard de Vinci - 53001 Laval Cedex - Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77 Agence Paris : 19, rue réaumur - 75003 Paris - Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61 Agence Lyon : Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE - Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85 The information in this message sent by TENNAXIA is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this message by anyone else is unauthorized. If you are not the intended recipient, please delete it and notify the sender : any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
As you should know from your Maven 2 experience.. Every module has its own POM and is treated as a separate project by maven.. And ofcourse, so does continuum.. Hence the different numbers (one per project).. But then why is it checking all the modules into one folder , eg 50 i.e /50/eportal-services /50/eportal-messaging /50/eportal-web then goes on to checkout each module into separate folders ,eg\ /51/eportal-services /52/eportal-messaging /53/eportal-web -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hibernate Archives (.har files) with Maven 2
Hi all, I am trying to convert an ant build system to maven2, and have run into a problem with "har" files for Hibernate. Is there a plugin capable of building these files? Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
Hi, Question 1 = Does continuum actually work with Maven 2? Yes, it does. We've got it up and running here with several multi-module projects. And they even work with the "--non-recursive" option. All modules share a common structure: Toolbox/ |-- pom.xml |-- toolbox-ant | |-- pom.xml | |-- src | `-- target |-- toolbox-codecs |-- pom.xml |-- src `-- target the top level pom reads toolbox-ant toolbox-codecs The most important thing is to get the VCS paths right in the scm part of your poms. If your CVS or SVN is not organized like your Maven project, you might run in difficulties. You can also enable the -X command line option to see a more detailed log message. You can specify it where the other options like --non-recursive are also specified. -- Mit freundlichen Grüßen / Kind regards Hendrik Busch - Stellv. Leiter der Softwareentwicklung LexisNexis Deutschland GmbH http://www.lexisnexis.de Feldstiege 100 D-48161 Münster phone +49 (0) 2533-9300-455 fax +49 (0) 02533-9300-50 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ladies and Gents...does Continuum actually work?
In response to your second question about the locations where continuum checks out your code: Those numbers are the primary keys of your separate projects in the continuum database.. That's perfectly normal, and you shouldn't be bothered by which directory name continuum chooses when it checks out your sourcode.. Your only concern is a correct build.. As you should know from your Maven 2 experience.. Every module has its own POM and is treated as a separate project by maven.. And ofcourse, so does continuum.. Hence the different numbers (one per project).. PS. Please post ONE question per mail if you would like your questions to be found and answered correctly..
Cobertura plugin using version 1.7
Hi all, It seems to me that the current M2 Cobertura plugin is still using the 1.7 runtime, when a 1.8 runtime was released back in April. Are there any plans to switch to the latest version any time soon? Thanks, GB
Re: Ladies and Gents...does Continuum actually work?
That's standard behaviour i guess ;) You should try and remove the nonrecursive flag that Continuum enables by default. You can find that flag in your project subsection in the continuum webapp, as someone has sugested earlier. In order to make continuum work like your normal command-line mvn command, you could create a schedule that builds the parent module with your favorite goals, and remove the children from that schedule, so only the parent build will be triggered... You can always build your children manually at any given time.. Take care, Jo On 7/4/06, Martin Gilday <[EMAIL PROTECTED]> wrote: Does the pom that you uploaded have the SCM tags correctly set, and is the POM correctly in you source control?
RE: maven-pmd-plugin can't find my source files
Sorry about delayed response - been away 4 a couple of days. No using JDK 1.4.2. Will try PMD alone to confirm, then try specific version. Will vote if I see Rgds Andy -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 18:33 To: Maven Users List Subject: Re: maven-pmd-plugin can't find my source files Sorry, I mis-spoke on the version, we were originally using 2.0-beta-2-SNAPSHOT hosted at either: * http://snapshots.maven.codehaus.org/maven2 * http://cvs.apache.org/maven-snapshot-repository You're classes don't happen to be using Java 5 and Generics do they? You'll need to configure the plugin if you're using java 5 (see targetJdk parameter). If you want to try 2.0-beta-2-SNAPSHOT, add the appropriate location above to your pom as a pluginRepository and then add a version tag where ever you reference the pmd plugin groupId/artifactId. Lastly, a good test of whether the problem is related to the plugin or to pmd, is to install pmd and run it directly -- my bet is you'll see a bunch of NPEs reported. FYI, the 2.1-SNAPSHOT we use is deployed to our corp. plugin repo pending acceptance of http://jira.codehaus.org/browse/MPMD-33 which is unrelated to your problems. If you do see the NPEs noted above, vote for this issue ;) HTH, Doug On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I haven't specified a version. My POM looks like > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > true > > > > > org.apache.maven.plugins > > maven-jxr-plugin > > > > > > > -Original Message- > From: Doug Douglass [mailto:[EMAIL PROTECTED] > Sent: 29 June 2006 13:39 > To: Maven Users List > Subject: Re: maven-pmd-plugin can't find my source files > > What version of the plugin? We've been using 2.1-SNAPSHOT for many > months and haven't seen the problems you describe. > > On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Heiko, > > > > I have the same issue. Except that only a blank page is created. > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > > > > > I also use JXR for cross referencing java > > > > > > > > org.apache.maven.plugins > > > > maven-jxr-plugin > > > > > > Either I am missing something fundamental, or the documentation on > > http://maven.apache.org/plugins/maven-pmd-plugin/howto.html > > is wrong. Or there are bugs with the plugin. > > > > Rgds > > Andy > > > > -Original Message- > > From: Heiko Wolf [mailto:[EMAIL PROTECTED] ] > > Sent: 29 June 2006 07:58 > > To: users@maven.apache.org > > Subject: maven-pmd-plugin can't find my source files > > > > Hello, > > > > I have a very little maven project (only one source file), sources > > as usual in src/main/java, everything works fine, mvn compile, mvn > > site and so on. But not mvn pmd:pmd. It generates some files > > (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also > > generated, but its nearly empty. It contains only an pmd-tag, > > nothing more. I try to integrate the pmd-plugin in my site-report, > > which seems > > > to work because pmd-sites are generateded, but they are useless > > because the file-section is empty. The maven-pmd-plugin is unable to > > find my source code, I think, but why? I also tried the > > checkstyle-plugin, which just works fine as expected without any > > special treatment. Any suggestions how I can figure out the problem? > Here is the output of the command: > > > > #mvn -e pmd:pmd > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'pmd'. > > [INFO] > > > > -- > > -- > > > > [INFO] Building InquiryPortlet > > [INFO]task-segment: [pmd:pmd] > > [INFO] > > > > -- > > -- > > > > [INFO] [pmd:pmd] > > [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] > > > > -- > > -- > > [INFO] BUILD SUCCESSFUL > > [INFO] > > > > -- > > -- > > [INFO] Total time: 9 seconds > > [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final Memory: > > 4M/108M [INFO] > > > > -- > > -- > > > > As far as I know, the warning has nothing to do with my problem. > > > > Is there any way to point the maven-pmd-plugin to the source files? > > But I thought, this is unnecessary if my source files are on > > standard location. > > > > > > Re
Re: Ladies and Gents...does Continuum actually work?
Does the pom that you uploaded have the SCM tags correctly set, and is the POM correctly in you source control? - Original message - From: "Jeff Mutonho" <[EMAIL PROTECTED]> To: "Maven Users List" , continuum-users@maven.apache.org Date: Tue, 4 Jul 2006 13:19:35 +0200 Subject: Ladies and Gents...does Continuum actually work? Question 1 = Does continuum actually work with Maven 2?I'm trying to build my m2 project.My top level pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) All I want is for Contiuum to work the same way M2 works when I type "mvn install" ...i.e realize that I have modules and these modules need to be built!How hard can this be? Isn't continuum suppose to use the pom.xml I supplied when adding projects as the top level pom?My project structure looks like as follows: /MyCompanyEportal/pom.xml (this pom has the smc, e-mail adds,etc,modules definitions) and its the one i pass onto Continuum to add the maven2 projects.Continuum is using this to checkout the modules from CVS.I thought it would then start building the modules(just like maven does when I run "mvn install" from the top level directory /MyCompanyEportal/) Then he modules are as follows : /MyCompanyEportal/eportal-services/pom.xml (build config for eportal-services) /MyCompanyEportal/eportal-messaging/pom.xml (build config for eportal-messages) /MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web) I even made the location of continuum's working directory the same as the location of my super pom (pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.T
Ladies and Gents...does Continuum actually work?
Question 1 = Does continuum actually work with Maven 2?I'm trying to build my m2 project.My top level pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) All I want is for Contiuum to work the same way M2 works when I type "mvn install" ...i.e realize that I have modules and these modules need to be built!How hard can this be? Isn't continuum suppose to use the pom.xml I supplied when adding projects as the top level pom?My project structure looks like as follows: /MyCompanyEportal/pom.xml (this pom has the smc, e-mail adds,etc,modules definitions) and its the one i pass onto Continuum to add the maven2 projects.Continuum is using this to checkout the modules from CVS.I thought it would then start building the modules(just like maven does when I run "mvn install" from the top level directory /MyCompanyEportal/) Then he modules are as follows : /MyCompanyEportal/eportal-services/pom.xml (build config for eportal-services) /MyCompanyEportal/eportal-messaging/pom.xml (build config for eportal-messages) /MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web) I even made the location of continuum's working directory the same as the location of my super pom (pom.xml defines the modules that need to be built.The modules are defined as follows: eportal-services eportal-messaging eportal-messaging-support eportal-webservices eportal Each module has its own pom.xml .When I point continuum to my top level pom.xml it adds all my modules as projects.My top level project(the one with the super pom) is also listed amongst the added projects as shown below : Mycompany ePortal ePortal Messaging ePortal Messaging Support ePortal Services ePortal Web Application ePortal Webservices "Mycompany ePortal" is the top level project with the pom that defines he modules(listed above).The pom.xml in "Mycompany ePortal" does not have a section...just dependencies , e-mail addresses , etc. I'm getting a build errors e-mails for each module saying saying : Build Error: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) All I want is for Contiuum to work the same way M2 works when I type "mvn install" ...i.e realize that I have modules and these modules need to be built!How hard can this be? Isn't continuum suppose to use the po
Re: Problem downloading resources
Thanks for the reply but the problem still occures. Any other idea? Matthias On 7/4/06, Thorsten Heit <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, > I always get the message: > [WARNING] Unable to get resource from repository (...) > > Ibiblio > Ibiblio > http://www.ibiblio.org/maven/ ^ This should be http://www.ibiblio.org/maven2 ;-) (or http://maven.sateh.com/repository/ if you prefer an European mirror) Greetings from Saarbrücken ;-) Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEqjrSQvObkgCcDe0RAmOrAKCf1CSZVHK+Q0DasWqQBTtKlG2EYACdGbhp yZ6J6NaxyRlhHoLwkpfmyS0= =SHH6 -END PGP SIGNATURE- - 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: Build process
Hi Andrew, please let me know how we can checkout using mvn? Will following in pom file work: If yes then where i can add source checkout directory. Another question, I want to use mvn install cargo:start to start Jboss and deploy ear file develope by pom B. I add plugin in parent pom it doesn't recognised and if i add cargo plugin in pom of B then I cant use mvn install cargo:start as there is no cargo plugin in parent pom. how I can address this. Thanks Vinay - Original Message From: Andrew Williams <[EMAIL PROTECTED]> To: Maven Users List ; Vinay Kumar <[EMAIL PROTECTED]> Sent: Tuesday, 4 July, 2006 2:50:32 PM Subject: Re: Build process Look at making a pom for folder A that is of packaging type pom and then list your projects in build order in the tag. Once that is setup it is easier to automate, asyou can use mvn to checkout and then install and it will manage the list of subprojects in one go. A On Tue, Jul 04, 2006 at 08:54:52AM +, Vinay Kumar wrote: > Hi All, > In my Directory structure is like: Mainproject folder A, within A their are > two more subproject folder B and C. project B depends on project C. I have > written individual pom file for subproject B and subproject C which install > and deploy B and C when I run mvn install from dir B and C respectively. > Now my target is write a build script file which 1st checkout project dir > from svn , install C by calling pom of Dir C and then install and deploy of > project B. > Anybody has exp of this type of project environment . > > Thanks > Vinay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Maven2] test resources
Hi, try putting your mapping_common.hbm.xml on "src/main/resources/" instead. or modify your getResourceAsStream to get the file "META-INF/mapping_common.hbm.xml" you should not place Hibernate files in the META-INF directory. Either place them directly in src/main/resources (or src/test/resources if you only need them for testing) or place them in a folder corresponding to you Hibernate class package, e.g. src/main/resources/com/foo/bar. You should execute getClass().getResourceAsStream("/mapping_common.hbm.xml") with a leading slash in the path, as your previous path was relative the the package of the class in which you executed this command. -- Mit freundlichen Grüßen / Kind regards Hendrik Busch - Stellv. Leiter der Softwareentwicklung LexisNexis Deutschland GmbH http://www.lexisnexis.de Feldstiege 100 D-48161 Münster phone +49 (0) 2533-9300-455 fax +49 (0) 02533-9300-50 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: "non-recursive"
Hi, I've posted to the Continuum forum and was advised that I need to remove "non-recursive" under my build definitions.Where is this "non-recursive" field? In Continuum, click on your project name in the project list. You will see the project information page and there is a section called "Build Definitions" that contains one or more entries and the column "Arguments". That's were it should read "--batch-mode --non-recursive". Click on the "Edit"-link and remove the argument. -- Mit freundlichen Grüßen / Kind regards Hendrik Busch - Stellv. Leiter der Softwareentwicklung LexisNexis Deutschland GmbH http://www.lexisnexis.de Feldstiege 100 D-48161 Münster phone +49 (0) 2533-9300-455 fax +49 (0) 02533-9300-50 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
"non-recursive"
I've posted to the Continuum forum and was advised that I need to remove "non-recursive" under my build definitions.Where is this "non-recursive" field? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem downloading resources
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthias, > I always get the message: > [WARNING] Unable to get resource from repository (...) > > Ibiblio > Ibiblio > http://www.ibiblio.org/maven/ ^ This should be http://www.ibiblio.org/maven2 ;-) (or http://maven.sateh.com/repository/ if you prefer an European mirror) Greetings from Saarbrücken ;-) Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEqjrSQvObkgCcDe0RAmOrAKCf1CSZVHK+Q0DasWqQBTtKlG2EYACdGbhp yZ6J6NaxyRlhHoLwkpfmyS0= =SHH6 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Maven2] test resources
try putting your mapping_common.hbm.xml on "src/main/resources/" instead. or modify your getResourceAsStream to get the file "META-INF/mapping_common.hbm.xml" resources are searched on all the classpaths, normally META-INF is added to the classpath so getClass().getResourceAsStream("mapping_common.hbm.xml") would normally work if you're using a jar. But for your unit test it is not, only target/classes is added to your classpath. you need to specify the directory it is in which is META-INF. correct me if i'm wrong. =) christophe blin wrote: > Hi, > > I am new to maven so excuse me if the questions have already been posted > (I do not find a related in the archives so I think it has not been so). > > I am working with maven2 and hibernate. > My hibernate mapping is in /src/main/resources/META-INF : > mapping_common.hbm.xml > > First question : > if I manually copy this file into /src/test/resources and I do (as > stated in the docs getting started) : > InputStream is = > getClass().getResourceAsStream("mapping_common.hbm.xml"); > assert(is != null); > the assertion is thrown. > > Am I doing something wrong or Should I configure something in the pom to > use src/test/resources as the resources directory for the unit tests ? > > Second question : > I'd like to use the same mapping file when doing unit tests. > How can I configure the pom in order to perform a copy of the file just > before the execution of the test goal ? > > Thanks and regards, > chris > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build process
Look at making a pom for folder A that is of packaging type pom and then list your projects in build order in the tag. Once that is setup it is easier to automate, asyou can use mvn to checkout and then install and it will manage the list of subprojects in one go. A On Tue, Jul 04, 2006 at 08:54:52AM +, Vinay Kumar wrote: > Hi All, > In my Directory structure is like: Mainproject folder A, within A their are > two more subproject folder B and C. project B depends on project C. I have > written individual pom file for subproject B and subproject C which install > and deploy B and C when I run mvn install from dir B and C respectively. > Now my target is write a build script file which 1st checkout project dir > from svn , install C by calling pom of Dir C and then install and deploy of > project B. > Anybody has exp of this type of project environment . > > Thanks > Vinay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 build error
Do you have a pom.xml at the root of the working directory? Emmanuel Jeff Mutonho a écrit : On 7/4/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: what do you have in the project working directory that failed? Emmanuel I have all the modules checked out of CVS Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
[Maven2] test resources
Hi, I am new to maven so excuse me if the questions have already been posted (I do not find a related in the archives so I think it has not been so). I am working with maven2 and hibernate. My hibernate mapping is in /src/main/resources/META-INF : mapping_common.hbm.xml First question : if I manually copy this file into /src/test/resources and I do (as stated in the docs getting started) : InputStream is = getClass().getResourceAsStream("mapping_common.hbm.xml"); assert(is != null); the assertion is thrown. Am I doing something wrong or Should I configure something in the pom to use src/test/resources as the resources directory for the unit tests ? Second question : I'd like to use the same mapping file when doing unit tests. How can I configure the pom in order to perform a copy of the file just before the execution of the test goal ? Thanks and regards, chris -- _ Tennaxia, www.tennaxia.com, Pilotez vos obligations environnementales _ Siège social : 6, rue Léonard de Vinci - 53001 Laval Cedex - Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77 Agence Paris : 19, rue réaumur - 75003 Paris - Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61 Agence Lyon : Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE - Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85 The information in this message sent by TENNAXIA is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this message by anyone else is unauthorized. If you are not the intended recipient, please delete it and notify the sender : any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven 2
Hi, for c/c++ you can use the native-maven-plugin [1]. For the rest I don't know. But you always can run some ant tasks via the antrun plugin [2]. Hope this helps -Tim [1] http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html [2] http://maven.apache.org/plugins/maven-antrun-plugin/ A S Praj schrieb: Hi , In one of our projects we have the Bunch of projects, which is written in different languages/softwares, I want to know whether Using Maven 2 can I able to build the projects which is written in Perl, Bash, Ruby, Python,PHP, C, C++ files also. Thanks and Regards A.S.P.Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build process
Hi All, In my Directory structure is like: Mainproject folder A, within A their are two more subproject folder B and C. project B depends on project C. I have written individual pom file for subproject B and subproject C which install and deploy B and C when I run mvn install from dir B and C respectively. Now my target is write a build script file which 1st checkout project dir from svn , install C by calling pom of Dir C and then install and deploy of project B. Anybody has exp of this type of project environment . Thanks Vinay
Re: assembly plugin problem
Hi, it would help if you could post your pom.xml with the assembly plugin configuration and your assembly descriptor. Also you should describe how you expect the final assembly to look like. Do you want to create just one jar file that contains your classes + the classes of the dependencies (you can use the predefined 'jar-with-dependencies' descriptor for that) or do you want (for example) all dependency jars in a 'lib' directory in the assembly? -Tim nazim chakik schrieb: Hello, Already saw this link, but without success. if somebody already assembled a complete project with all his dependencies that it comes me to assistance, that will make more than one week that I try to solve this problem. thanks Nazim Alexandre Poitras a écrit : Should help you : http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html On 6/30/06, nazim chakik <[EMAIL PROTECTED]> wrote: Hello, I use the maven's assembly plugin and I have the following problem: I have several projects which are modules of one main project containing the pom root. Each module has its own dependencies , When I run the command: (mvn assembly:assembly) on the root pom, I recover the sub projects's .jar but without dependences. If you have a good documentation about assembly or an example, that would help me . thank you in advance PS:I use -> maven-assembly-plugin 2.2-SNAPSHOT Nazim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Maven 2
Hi , In one of our projects we have the Bunch of projects, which is written in different languages/softwares, I want to know whether Using Maven 2 can I able to build the projects which is written in Perl, Bash, Ruby, Python,PHP, C, C++ files also. Thanks and Regards A.S.P.Raj
Re:assembly plugin problem
Hello, Already saw this link, but without success. if somebody already assembled a complete project with all his dependencies that it comes me to assistance, that will make more than one week that I try to solve this problem. thanks Nazim Alexandre Poitras a écrit : > Should help you : > http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html > > On 6/30/06, nazim chakik <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> I use the maven's assembly plugin and I have the following problem: >> I have several projects which are modules of one main project >> containing the pom root. Each module has its own dependencies , >> When I run the command: (mvn assembly:assembly) on the root pom, I >> recover the sub projects's .jar but without dependences. >> If you have a good documentation about assembly or an example, that >> would help me . >> >> thank you in advance >> >> PS:I use -> maven-assembly-plugin >> 2.2-SNAPSHOT >> >> Nazim >> >> >> >> >> >> >> >> >
Problem downloading resources
Hello, i have problems downloading jars from various repositories, including the repository on the LAN. I always get the message: [WARNING] Unable to get resource from repository The proxy is correctly configured in the settings, some of the are downloaded. The repositories i'm using in my POM are: xdoclet XDoclet Repository Server legacy http://xdoclet.sourceforge.net/repository/ false Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ Ibiblio Ibiblio http://www.ibiblio.org/maven/ and for as plugin-repos: false Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ codehaus-plugins codehaus http://dist.codehaus.org/ true true mortbay-repo mortbay-repo http://www.mortbay.org/maven2/snapshot true true Thanks a lot for your help and greetings from cologne, germany! Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Plugin Version in POM
hello, check is a goal on a mojo subclass pmd is a goal on a report subclass => maybe you should add 2.0 inthe report section too cordialement org.apache.maven.plugins maven-pmd-plugin 2.0 org.apache.maven.plugins maven-pmd-plugin 2.0 -- View this message in context: http://www.nabble.com/-m2--Plugin-Version-in-POM-tf1886670.html#a5162926 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]