How to specify depend in the ant plugin?
Hi, I am using maven2.0.7 . I want to do something like "mvn start" which would do all the packaging stuff and start the server. Somethink like this target would execute a script and it depends on "mvn package". I thought of using antrun plugin and in the task I asked it to execute the file and made the phase to be package. But when I ran "mvn install", the perl script gets executed before the package phase? I even created a new ant plugin, which would run the script. But before running the script, the package phase needs to be executed. hello.build.xml -- Staring the server Here is it possible for me to specify that this target depends on (the pom in that folder's) "package" target ? Or is there any other way I could get this working? Thanks, Suabshini _ Post free property ads on Yello Classifieds now! www.yello.in http://ss1.richmedia.in/recurl.asp?pid=221 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Required goal not found: eclipse:m2eclipse
probably just run mvn eclipse:eclipse ;$-) enjoy On 9/21/07, thebugslayer <[EMAIL PROTECTED]> wrote: > > Does any knows what's the requirement to run: > $ mvn eclipse:m2eclipse > > ??? > > -- > /bugslayer > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Required goal not found: eclipse:m2eclipse
Does any knows what's the requirement to run: $ mvn eclipse:m2eclipse ??? -- /bugslayer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuring the PMD Plug-in with multiple executions
Hello all, I've tried googling on this topic with no luck. I need to run PMD on our source code base with one set of rules and on the test code base with a different set. I created multiple executions with customized configurations and I'm not seeing the results I'm expecting. What I thought it should be, based off the doc, is: org.apache.maven.plugins maven-pmd-plugin 1.5 true 1 1 Source PMD Check compile pmd /pmd-ruleset.xml Test PMD Check test-compile pmd /pmd-test-ruleset.xml true ${basedir}/src/main/java I've tried multiple ways of configuring the plug-in, but the only way I've gotten it close to what I want is with the configuration as below. The problem is that it seems to run PMD twice. org.apache.maven.plugins maven-pmd-plugin 1.5 true 1 1 Source PMD Check verify pmd check /pmd-ruleset.xml ${project.build.directory}/test-classes Test PMD Check test-compile pmd check /pmd-test-ruleset.xml true ${basedir}/src/main/java ${project.build.directory}/test-classes If I remove from either execution or if I set it to simply ${project.build.directory}, I don't get failures I'm expecting. Any help is appreciated. Thanks, Matt
can I use deploy maven ant task to just deploy a jar and not it's pom?
I want to use maven ant tasks (2.0.7) to deploy a third party jar file to some repository. The command line "mvn deploy:deploy-file" has a facility to deploy the jar file alone without generating the pom in the repository. Is there a way to do that using deploy maven ant task? the above ant script deploys the xyz.jar as well as pom.xml to the repository. The pom.xml file passed is just to describe the group, artifact and version info. I don't want to populate this pom.xml in the repository. Is there a way to pass the group, artifact and version info of the jar file to the deploy task without using pom.xml? thanks, -- Srinivasan Chikkala Open ESB Community (http://open-esb.org) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: org.jboss.ejb3.embedded
It's not there and I can't find the lib to download an install it local Alexander Sack <[EMAIL PROTECTED]> wrote: Official repo for JBoss is http://repository.jboss.com/maven2/ If you can't find it use mvn deploy:deploy-file to install it in your local repo. -aps On 9/20/07, Ãrico Teixeira wrote: > > Is there a repository that contains this dependency ? > > > - > Pinpoint customers who are looking for what you sell. -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson - Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos.
David Tullett is out of the office.
I will be out of the office starting 21/09/2007 and will not return until 24/09/2007. Please refer any MIS related issues to the GMRisk Support Email account. Any urgent issues should be addressed to Nathan Coast. I will respond to any individual matters upon my return. --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: org.jboss.ejb3.embedded
Official repo for JBoss is http://repository.jboss.com/maven2/ If you can't find it use mvn deploy:deploy-file to install it in your local repo. -aps On 9/20/07, Ãrico Teixeira <[EMAIL PROTECTED]> wrote: > > Is there a repository that contains this dependency ? > > > - > Pinpoint customers who are looking for what you sell. -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson
org.jboss.ejb3.embedded
Is there a repository that contains this dependency ? - Pinpoint customers who are looking for what you sell.
Re: How to add new jar version?
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html On 9/20/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Read the documentation on the Maven website, or Google for "mvn > install". There's more parameters than you've included. > > Wayne > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > > > Hmm. I must be missing the obvious. If I do mvn install:install-file > > BR-1.1.jar I get this error: > > E:\Everest\BR\jars>mvn install:install-file BR-1.1.jar > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'install'. > > [INFO] > > > > [ERROR] BUILD FAILURE > > [INFO] > > > > [INFO] Invalid task 'BR-1.1.jar': you must specify a valid lifecycle phase, > > or a goal in the format plugin:goal or > > pluginGroupId:pluginArtifactId:pluginVersion:goal > > [INFO] > > > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > > [INFO] Total time: < 1 second > > [INFO] Finished at: Thu Sep 20 13:53:28 PDT 2007 > > [INFO] Final Memory: 1M/4M > > [INFO] > > > > > > What did I miss? > > B > > > > > > Wayne Fay wrote: > > > > > > mvn install:install-file will install the new version into your repo. > > > > > > Yes, you should edit the pom.xml file to specify version 1.1. > > > > > > Wayne > > > > > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > >> > > >> Hi, > > >> > > >> New to maven, and our repo was set up by someone else. There is a jar > > >> (let's call it BR-1.0.jar) that I have modified after getting it via mvn. > > >> How do I add BR-1.1.jar to the correct location as a new version? > > >> > > >> And do I need to manually edit my pom.xml file to ask for the 1.1 version > > >> vs > > >> the 1.0? > > >> > > >> Thanks, > > >> Bryan > > >> -- > > >> View this message in context: > > >> http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 > > >> Sent from the Maven - Users mailing list archive at Nabble.com. > > >> > > >> > > >> - > > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805763 > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to add new jar version?
Read the documentation on the Maven website, or Google for "mvn install". There's more parameters than you've included. Wayne On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > Hmm. I must be missing the obvious. If I do mvn install:install-file > BR-1.1.jar I get this error: > E:\Everest\BR\jars>mvn install:install-file BR-1.1.jar > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'install'. > [INFO] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Invalid task 'BR-1.1.jar': you must specify a valid lifecycle phase, > or a goal in the format plugin:goal or > pluginGroupId:pluginArtifactId:pluginVersion:goal > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: < 1 second > [INFO] Finished at: Thu Sep 20 13:53:28 PDT 2007 > [INFO] Final Memory: 1M/4M > [INFO] > > > What did I miss? > B > > > Wayne Fay wrote: > > > > mvn install:install-file will install the new version into your repo. > > > > Yes, you should edit the pom.xml file to specify version 1.1. > > > > Wayne > > > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > >> > >> Hi, > >> > >> New to maven, and our repo was set up by someone else. There is a jar > >> (let's call it BR-1.0.jar) that I have modified after getting it via mvn. > >> How do I add BR-1.1.jar to the correct location as a new version? > >> > >> And do I need to manually edit my pom.xml file to ask for the 1.1 version > >> vs > >> the 1.0? > >> > >> Thanks, > >> Bryan > >> -- > >> View this message in context: > >> http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 > >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805763 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to add new jar version?
Hmm. I must be missing the obvious. If I do mvn install:install-file BR-1.1.jar I get this error: E:\Everest\BR\jars>mvn install:install-file BR-1.1.jar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Invalid task 'BR-1.1.jar': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Thu Sep 20 13:53:28 PDT 2007 [INFO] Final Memory: 1M/4M [INFO] What did I miss? B Wayne Fay wrote: > > mvn install:install-file will install the new version into your repo. > > Yes, you should edit the pom.xml file to specify version 1.1. > > Wayne > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> New to maven, and our repo was set up by someone else. There is a jar >> (let's call it BR-1.0.jar) that I have modified after getting it via mvn. >> How do I add BR-1.1.jar to the correct location as a new version? >> >> And do I need to manually edit my pom.xml file to ask for the 1.1 version >> vs >> the 1.0? >> >> Thanks, >> Bryan >> -- >> View this message in context: >> http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805763 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to add new jar version?
mvn install:install-file will install the new version into your repo. Yes, you should edit the pom.xml file to specify version 1.1. Wayne On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > Hi, > > New to maven, and our repo was set up by someone else. There is a jar > (let's call it BR-1.0.jar) that I have modified after getting it via mvn. > How do I add BR-1.1.jar to the correct location as a new version? > > And do I need to manually edit my pom.xml file to ask for the 1.1 version vs > the 1.0? > > Thanks, > Bryan > -- > View this message in context: > http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to add new jar version?
Hi, New to maven, and our repo was set up by someone else. There is a jar (let's call it BR-1.0.jar) that I have modified after getting it via mvn. How do I add BR-1.1.jar to the correct location as a new version? And do I need to manually edit my pom.xml file to ask for the 1.1 version vs the 1.0? Thanks, Bryan -- View this message in context: http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jasperreports-maven-plugin question
Forget about it. That's my fault. It was not compiling the *.jrxml files becauce they were already compiled sometime else. thanks anyway On 9/20/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > I found it only happens when sourceDirectory option is specified. The > jasperreports-maven-plugin doesn't compile .jrxml files even if the > path specified in sourceDirectory option is the same as the default > value [1]. > > Any jasperreports-maven-plugin developer out there? > > [1] src/main/jasperreports > > []s > > On 9/20/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > > What's the criteria used by jasperreports-maven-plugin to conclude > > that all reports are up to date and don't need to be recompiled [1]? > > How can I force it to compile all the reports? > > > > [1] > > [INFO] [jasperreports:compile-reports {execution: default}] > > [INFO] Nothing to compile - all Jasper reports are up to date > > > > > > thanks > > Alexandre > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to declare dependencies outside of WEB-INF in WARs?
Hi, We have following code in project.xml when we use maven1: Group applet 1 applets As you can see, we want to declare the jar outside of WEB-INF (applets directory). Now we move to mave2. However, in pom.xml, I don't know how to translate the . Could you please let me know how to resolve this? Appreciate any suggestion. Thanks in advance.
attached tests dependency error
I followed the attached tests guide to create a dependency to my core tests. The first part of the tutorial worked, and I could install a version of the test jar in the local repository as models-3.0-tests.jar. When I tried to add this as a dependency in another project, it came up with a dependency missing error and when I noticed this in the message: models-3.0.tests What could be wrong? Why would the dependency be resolbed with a period and not a hyphen. Appreciate your help. -- View this message in context: http://www.nabble.com/attached-tests-dependency-error-tf4489648s177.html#a12804351 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with plugin discovery
I did again it this way mvn install:install-file -Dfile=D:\Projects\libs\maven-was-plugin-1.0-SNAPSHOT.jar -DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin -Dversion=1.0-SNAPSHOT -Dpackaging=jar And maven told me that all is ok. Also I drop the dependency and left only plugin tag com.davidkarlsen.maven.plugins maven-was-plugin And maven still tells me that The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' does not exist or no valid version could be found And I cannot understend what is -Dpackaging=maven-plugin? I also used with this parameter, but mistake it the same. -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 9:26 PM To: Maven Users List Subject: Re: Problem with plugin discovery Hi, Denis Bessmertniy schrieb: > Here is the part of my POM file > > > . > > > com.davidkarlsen.maven.plugins > maven-was-plugin > 1.0-SNAPSHOT > This dependency is not needed, as just the build and not your project itself depends on the plugin. This is the first reason your build possibly will fail. A plugin has a packaging of 'maven-plugin' (look in the pom in the repository you got it from) and if you installed it correctly it will have this packaging in your repository too. As you have not given a maven-plugin element in the dependency declaration maven is searching a 'jar' type dependency, and will fail. > > > > > com.davidkarlsen.maven.plugins > maven-was-plugin > > C:\Program > Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin\ejbdeploy.bat > > > > > deploy > > > > > > > > > Continuing from the explanation above, when you installed the plugin not correctly it will have a packaging of type jar in your local repository while maven is looking for an artifact with the type 'maven-plugin' for the plugin declared in your pom and will fail again. > As you see I need maven-was-plugin. I downloaded it and installed it > manually. But maven tells me that it cannot locate this plugin How did you install it? Have you used the original pom? Or have you given the correct packaging via the '-Dpackaging=...' system property? Did you use install:install-file at all or did you just copy the files? I hope the explanation given is understandable. -Tim > [INFO] The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' > does not exist or no valid version could be found > > But I have it in my repository > > Why it so? > > > - > 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: Arterfact which is not in repository
Is this related to your other thread? Then we should keep the discussion there. Denis Bessmertniy schrieb: Hi folks, I manually have downloaded artefact and installed it. All is ok, but when I run mvn install it tells me "The plugin 'specific-plugin-name' does not exist or no valid version could be found." As I understood the problem here because maven tries to download this arterfact from remote repository firstly. That's not true, the first thing maven does, is to look in the local repository if an artifact is already present. How I may turn off this functionality for the concreate artifact, i.e. tell maven not to looking this artifact in internet and just get it from local repository? Thank you - Denis -Tim - 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: Arterfact which is not in repository
How did you install it? Maven checks local repository too so you should not get a build error (maybe a WARNING or two). Are you saying when you run mvn install on your project pom you see this? -aps On 9/20/07, Denis Bessmertniy <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I manually have downloaded artefact and installed it. All is ok, but when > I > run mvn install it tells me > "The plugin 'specific-plugin-name' does not exist or no valid version > could > be found." > As I understood the problem here because maven tries to download this > arterfact from remote repository firstly. > How I may turn off this functionality for the concreate artifact, i.e. > tell > maven not to looking this artifact in internet and just get it from local > repository? > > Thank you > > - > Denis > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson
Re: Problem with plugin discovery
Hi, Denis Bessmertniy schrieb: Here is the part of my POM file . com.davidkarlsen.maven.plugins maven-was-plugin 1.0-SNAPSHOT This dependency is not needed, as just the build and not your project itself depends on the plugin. This is the first reason your build possibly will fail. A plugin has a packaging of 'maven-plugin' (look in the pom in the repository you got it from) and if you installed it correctly it will have this packaging in your repository too. As you have not given a maven-plugin element in the dependency declaration maven is searching a 'jar' type dependency, and will fail. com.davidkarlsen.maven.plugins maven-was-plugin C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin\ejbdeploy.bat deploy Continuing from the explanation above, when you installed the plugin not correctly it will have a packaging of type jar in your local repository while maven is looking for an artifact with the type 'maven-plugin' for the plugin declared in your pom and will fail again. As you see I need maven-was-plugin. I downloaded it and installed it manually. But maven tells me that it cannot locate this plugin How did you install it? Have you used the original pom? Or have you given the correct packaging via the '-Dpackaging=...' system property? Did you use install:install-file at all or did you just copy the files? I hope the explanation given is understandable. -Tim [INFO] The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' does not exist or no valid version could be found But I have it in my repository Why it so? - 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]
Arterfact which is not in repository
Hi folks, I manually have downloaded artefact and installed it. All is ok, but when I run mvn install it tells me "The plugin 'specific-plugin-name' does not exist or no valid version could be found." As I understood the problem here because maven tries to download this arterfact from remote repository firstly. How I may turn off this functionality for the concreate artifact, i.e. tell maven not to looking this artifact in internet and just get it from local repository? Thank you - Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: EJB Generation within Maven - Application Server is JOnAS
I'm not hugely familiar with JOnAS and GenIC, so keep that in mind. Perhaps someone who is already doing this will pipe up? First off, you should be able to write a jonas-genic-maven-plugin without a lot of trouble. They already have Ant tasks set up for it, so you can either call the existing Ant tasks or just write Java code to call GenIC directly (my preference). Then I'd probably make another module that depends on this ejb module and have it run genic on the jar created by your ejb module. The output will be another ejb jar. Or you might be able to integrate the GenIC call into the original EJB module, dunno. Wayne On 9/20/07, houzecl <[EMAIL PROTECTED]> wrote: > > Hi all, > > > I need some advice about handling EJB2 generation within Maven. > Our Application Server is JOnAS > > For various reasons we are not going to use xdoclet. > > Therefeore we plan to use an home made plugin to generate: home, remote, and > bean classes > (from ejb-jar.xml and some specific templates associated to Jonas and to our > standards). > I understand that: > - this plugin can be bound to the generate-sources lifecycle on a project > where the associated POM has an "ejb" packaging > - if I do an mvn build on this project I will get an ejb.jar (including > previous generated classes) and eventually an ejb-client.jar > > Now, JOnAS provides a utility called GenIC that generates stub and skeletons > and includes them in a "final" ejb-jar.jar (it looks like it makes it from > the existing ejb.jar and project sources) > > so, where and how should I activate this GenIC utility so that I finally get > ejb.jar and ejb-client fit for JOnAS > > Thanks for any hint > > Christian-Luc > > > -- > View this message in context: > http://www.nabble.com/EJB-Generation-within-Maven---Application-Server-is-JOnAS-tf4488894s177.html#a12801737 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
Running "mvn -U" didn't fix the problem, but "rm -r ~/.m2/repository/*" did. ;-) Thanks, Matt Wayne Fay wrote: > > Thanks Matt, that does it. "mvn install" was successful. And then "mvn > eclipse:eclipse" was successful too. > > [INFO] Wrote Eclipse project for "myproject-core" to > C:\cvs_root\myproject\core. > ... > [INFO] Wrote Eclipse project for "myproject-webapp" to > C:\cvs_root\myproject\web. > ... > [INFO] BUILD SUCCESSFUL > > So I have to assume you simply have some weird versions of things or > bad poms or something in your repo cache... Try -U to update > everything (??). > > Wayne > > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: >> >> You can use -Ph2 to use H2 instead of MySQL. You can also run with >> -Dmaven.test.skip=true to bypass all the connecting to the database and >> downloading of Tomcat to run Cargo/WebTest tests. >> >> Matt >> >> >> Wayne Fay wrote: >> > >> > I couldn't even get the first step to work correctly: >> > >> > [INFO] >> > >> >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> >> > [INFO] Error creating from archetype >> > >> > Embedded error: Error processing templates. >> > Encountered " pageContext.request.remoteUser}\"> \"> > class=\"current\">> > sage key=\"login.title\"/> \r\n> > name=\"MainMenu\"/>\r\n> > UserMenu\"/>\r\n\r\n >> > \r\n\r\n> > :useMenuDisplayer>" at line 6, column 24. >> > Was expecting one of: >> > "}" ... >> > ... >> > >> > The reason is that I apparently had a less-than-latest version of >> > m-archetype-p. I updated with -U and got 1.0-alpha-7 which worked >> > successfully. >> > >> > >> > I also noticed something kinda odd -- see the WARNING below: >> > >> > Downloading: >> > >> http://repository.codehaus.org/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar >> > Downloading: >> > >> http://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar >> > [INFO] [aspectj:compile {execution: default}] >> > [WARNING] bad version number found in C:\Documents and >> > Settings\WFay\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt-1. >> > 5.3.jar expected 1.5.2a found 1.5.3 >> > >> > Tried to run mvn eclipse:eclipse and it "failed to resolve artifact" >> > for the myproject-core:jar. So I tried mvn install and it failed since >> > I don't have a Mysql db running right this minute. >> > >> > So maybe later this afternoon if I have a few minutes free I can see >> > about getting past that error. But I have yet to get to your problem, >> > it seems. >> > >> > Wayne >> > >> > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: >> >> >> >> Any idea what could be causing this? I get it when running "mvn >> >> eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. >> >> >> >> [INFO] >> >> >> >> >> [ERROR] FATAL ERROR >> >> [INFO] >> >> >> >> >> [INFO] org/codehaus/plexus/util/IOUtil >> >> [INFO] >> >> >> >> >> [INFO] Trace >> >> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil >> >>at >> >> >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) >> >>at >> >> >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) >> >>at >> >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >> >>at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >> >>at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >> >>at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >> >> >> >> To reproduce: >> >> >> >> 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >> >> -DarchetypeArtifactId=appfuse-modular-jsf >> >> -DremoteRepositories=http://static.appfuse.org/releases >> >> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app >> -DartifactId=myproject >> >> >> >> 2. cd myproject;mvn eclipse:eclipse >> >> >> >> Matt >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 >> >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> >> >> >> - >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > - >> > To uns
RE: Problem with plugin discovery
I download it from http://www.davidkarlsen.com/maven-was-plugin/ Because I work with WebSphere 6.0 and I need appropriate plugin. -Original Message- From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 8:16 PM To: Maven Users List Subject: Re: Problem with plugin discovery Hi, > > com.davidkarlsen.maven.plugins > maven-was-plugin > 1.0-SNAPSHOT > > > > > > > com.davidkarlsen.maven.plugins > maven-was-plugin > > C:\Program > Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin\ejbdeploy.bat > > > > > deploy > > > > > > > > > > > > As you see I need maven-was-plugin. I downloaded it and installed it > manually. But maven tells me that it cannot locate this plugin [INFO] > The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' does not > exist or no valid version could be found Just for curiosity: Where did you download the plugin from? AFAIR there's only some code for a WebSphere 5 plugin somewhere in the sandbox on codehaus.org... Regards Thorsten - 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: Problem with plugin discovery
Hi, > > com.davidkarlsen.maven.plugins > maven-was-plugin > 1.0-SNAPSHOT > > > > > > > com.davidkarlsen.maven.plugins > maven-was-plugin > > C:\Program > Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin\ejbdeploy.bat > > > > > deploy > > > > > > > > > > > > As you see I need maven-was-plugin. I downloaded it and installed it > manually. But maven tells me that it cannot locate this plugin > [INFO] The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' does > not > exist or no valid version could be found Just for curiosity: Where did you download the plugin from? AFAIR there's only some code for a WebSphere 5 plugin somewhere in the sandbox on codehaus.org... Regards Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
EJB Generation within Maven - Application Server is JOnAS
Hi all, I need some advice about handling EJB2 generation within Maven. Our Application Server is JOnAS For various reasons we are not going to use xdoclet. Therefeore we plan to use an home made plugin to generate: home, remote, and bean classes (from ejb-jar.xml and some specific templates associated to Jonas and to our standards). I understand that: - this plugin can be bound to the generate-sources lifecycle on a project where the associated POM has an "ejb" packaging - if I do an mvn build on this project I will get an ejb.jar (including previous generated classes) and eventually an ejb-client.jar Now, JOnAS provides a utility called GenIC that generates stub and skeletons and includes them in a "final" ejb-jar.jar (it looks like it makes it from the existing ejb.jar and project sources) so, where and how should I activate this GenIC utility so that I finally get ejb.jar and ejb-client fit for JOnAS Thanks for any hint Christian-Luc -- View this message in context: http://www.nabble.com/EJB-Generation-within-Maven---Application-Server-is-JOnAS-tf4488894s177.html#a12801737 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problems downloading internal SNAPSHOTs
Hi, > it is very difficult to reproduce this error, because downloading other > snapshots from same internal repository works, so repository settings > should > be fine (otherwise no downloads would work). Is it always the same snapshot that cannot be downloaded correctly? Or do others show the same phenomenon? > in cases of failure of snapshot-download it manages to download the > meta-data.xml to the local repository but nothing of the rest. > manually copying dependencies work, so file system permissions should be > fine. > another weird thing is, that when logging in as a different user and > executing 'mvn verify' works. > > the only way to get the problem fixed is by manually executing 'mvn > install' > on server under the same account which cruise control is run, so local > repository gets filled with respective dependency. this workaround is no > option to me because resolution needs to be done fully automatically. > > i know with above explanation i give you a hard time to figure out what is > going wrong that's it what i can see as symptoms. just wanted get some > help > where to search for the solution. maybe somebody has had same problems... How are the snapshots deployed to your repo? Do you use a repository manager for that or just simple file copy operations? Perhaps the corresponding metadata files get corrupted when two or more people try to deploy the same artifact at the same time...? If you say that the repository contents are on the same machine on which your CruiseControl instance is running: Have you checked the file permissions of the artifacts that cannot be fetched? Perhaps the permissions don't allow CruiseControl to access the corresponding files which could happen when a user deploys an artifact via file copy... HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] to be resolved : generate an artifact with a plugin and do dependency with it in a multimodule project.
Hi, I'have post a message in my blog to explain the pb. There are sample sources : http://www.jroller.com/greinhart/entry/generate_an_artifact_with_a Gerald Reinhart On 20/09/2007, Gerald Reinhart < @googlemail.com> wrote: > > Hi, > > I've got a general problem: the core maven can't generate all artifact, so > there are some plugin to do that for a specific context (for instance, > maven-antrun-plugin ). How can we do a dependency to the artifact generated > by a plugin ? > > I tried to > - configure the packaging of the pom with the same packaging of the > plugin > - generate the artifact from the plugin with the same path that the pom's > target artifact > => the plugin replace the artifact generated by the core. > > This works well in a simple project: you can deploy your artifact in your > local repository and make a dependency to it from another project. > > BUT, if you do this kind of dependency in a multimodule project the global > build do not work: the dependency is made with the artifact generated by the > core and not by the plugin > > An idea ? > > Regards, > > Gerald Reinhart > >
Problem with plugin discovery
Here is the part of my POM file . com.davidkarlsen.maven.plugins maven-was-plugin 1.0-SNAPSHOT com.davidkarlsen.maven.plugins maven-was-plugin C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin\ejbdeploy.bat deploy As you see I need maven-was-plugin. I downloaded it and installed it manually. But maven tells me that it cannot locate this plugin [INFO] The plugin 'com.davidkarlsen.maven.plugins:maven-was-plugin' does not exist or no valid version could be found But I have it in my repository Why it so? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Behaviors in Continuum 1.1-betas as windows service
good news, I am able to get continuum under windows services using the local user account, not the domain account On 9/19/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > How did you set up your service? Did you attach a real user to the service? > > continuum service works fine on win xp and seems to work on vista and server > 2003 too. > I don't have a NT to test it > > Emmanuel > > Dan Tran a écrit : > > tested with the latest continuum 1.1-beta-3 > > > > On 9/19/07, Dan Tran <[EMAIL PROTECTED]> wrote: > >> I now have svn.exe on both of my system and local path and run > >> continuum nt service using my account. But still see the same > >> problem :( > >> > >> -D > >> > >> > >> > >> On 9/14/07, Dan Tran <[EMAIL PROTECTED]> wrote: > >>> it is a good news, now I can migrate my build from 1.0.3 to 1.1 > >>> > >>> Huge thanks > >>> > >>> -D > >>> > >>> On 9/14/07, mgifos <[EMAIL PROTECTED]> wrote: > > > Dan Tran wrote: > > One more user sees this as well, so i am not alone. > > > > Any one else? > > > Me too... > > But I have a good news... > > You need %SVN_HOME%\bin entry in local %PATH% variable for a "service log > on" user. > > I hope that this will be helpful for you guys. > -- > View this message in context: > http://www.nabble.com/Strange-Behaviors-in-Continuum-1.1-betas-as-windows-service-tf4280471.html#a12685701 > Sent from the Continuum - Users mailing list archive at Nabble.com. > > > > > > > >
Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)
sorry I am NOT able to find it any where. On 9/20/07, Dan Tran <[EMAIL PROTECTED]> wrote: > btw, is this a new jaxws api version > > > > javax.jws > jaxws-api > 2.1.1 > provided > > I am able to find it any where > > -D > > On 9/20/07, Dan Tran <[EMAIL PROTECTED]> wrote: > > I beleive, in order to run a goal from command line, your goal > > configuration must be > > in the plugin's configuration's, not in the execution's configuration > > > > -D > > > > On 9/20/07, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > > > > > Hi Dan, > > > I noticed you are one of the developers of the jaxws-maven-plugin. I am > > > running into an issue and I wanted to run it by you. We are using JBoss4.2 > > > with the JBossWS2.0.1GA (JAX-WS). In my POM I setup the JAX-WS > > > dependencies > > > as follows: > > > > > > > > > > > > > > >javax.xml.bind > > >jaxb-api > > >2.1.5 > > >provided > > > > > > > > > > > >javax.jws > > >jsr181-api > > >1.0-MR1 > > >provided > > > > > > > > > > > >javax.jws > > >jaxws-api > > >2.1.1 > > >provided > > > > > > > > > > > > Using the provided the JAR files are omitted from the > > > WEB-INF/lib directory (which is required by JBoss since it includes it's > > > own > > > JAX-WS jars) and the webservice application deploys without a hitch on > > > JBoss4.2 with JBossWS2.0.1GA. My problem is I want to use the > > > jaxws-maven-plugin but it only works when the above mentioned dependencies > > > have either a scope of compile. Which adds the JAX-WS jars to the WEB/lib > > > directory of my WAR file and to my build classpath. Or, when I add the > > > jax-ws jar files to the endorsed directory of my JDK/JRE as such : > > > > > > C:\Program Files\Java\jdk1.5.0_12\jre\lib\endorsed > > > > > > Added jaxb-api.jar > > > Added jaxws-api.jar > > > Added jsr181-api.jar > > > > > > Now the jaxws-maven-plugin works when I call a goal like package or > > > install > > > with each execution running its set of jaxws-maven-plugin goals: > > > > > > > > >${pom.artifactId} > > > > > > > > >org.codehaus.mojo > > >jaxws-maven-plugin > > > > > > > > >SimpleWS > > > > > >com.heartlab.ws.services.SimpleWS > > > > > >soap1.1 > > > > > > > > > > > >2.1 > > >true > > >true > > >true > > > > > > > > >wsgen > > >wsimport > > >wsgen-test > > > > > > > > > > > >HelloWS > > > > > >com.heartlab.ws.services.HelloWS > > > > > >soap1.1 > > > > > > > > > > > >2.1 > > >true > > >true > > >true > > > > > > > > >wsgen > > > > > > > > > > > > > > > > > >com.sun.xml.ws > > >jaxws-tools > > >2.1.1 > > > > > > > > > > > >maven-compiler-plugin > > > > > >1.5 > > >1.5 > > > > > > > > > > > >org.codehaus.mojo > > >jboss-maven-plugin > > > > > > > > >${appserver.url} > > >${appserver.port} > > > > > > > > > > > > > > > > > > > > > But when I attempt to run the goals independently i.e. 'mvn jaxws:wsgen > > > -e' > > > I receive the following error: > > > > > > > > > [ERROR] BUILD ERROR > > > [INFO] > > > > > > [INFO] One or more required plugin parameters are invalid/missing for > > > 'jaxws:wsgen' > > > > > > [0] inside the definition for plugin: 'jaxws-maven-plugin'specify the > > > following: > > > > > > > > > ... > > > VALUE > > > . >
Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)
btw, is this a new jaxws api version javax.jws jaxws-api 2.1.1 provided wrote: > I beleive, in order to run a goal from command line, your goal > configuration must be > in the plugin's configuration's, not in the execution's configuration > > -D > > On 9/20/07, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > > > Hi Dan, > > I noticed you are one of the developers of the jaxws-maven-plugin. I am > > running into an issue and I wanted to run it by you. We are using JBoss4.2 > > with the JBossWS2.0.1GA (JAX-WS). In my POM I setup the JAX-WS dependencies > > as follows: > > > > > > > > > >javax.xml.bind > >jaxb-api > >2.1.5 > >provided > > > > > > > >javax.jws > >jsr181-api > >1.0-MR1 > >provided > > > > > > > >javax.jws > >jaxws-api > >2.1.1 > >provided > > > > > > > > Using the provided the JAR files are omitted from the > > WEB-INF/lib directory (which is required by JBoss since it includes it's own > > JAX-WS jars) and the webservice application deploys without a hitch on > > JBoss4.2 with JBossWS2.0.1GA. My problem is I want to use the > > jaxws-maven-plugin but it only works when the above mentioned dependencies > > have either a scope of compile. Which adds the JAX-WS jars to the WEB/lib > > directory of my WAR file and to my build classpath. Or, when I add the > > jax-ws jar files to the endorsed directory of my JDK/JRE as such : > > > > C:\Program Files\Java\jdk1.5.0_12\jre\lib\endorsed > > > > Added jaxb-api.jar > > Added jaxws-api.jar > > Added jsr181-api.jar > > > > Now the jaxws-maven-plugin works when I call a goal like package or install > > with each execution running its set of jaxws-maven-plugin goals: > > > > > >${pom.artifactId} > > > > > >org.codehaus.mojo > >jaxws-maven-plugin > > > > > >SimpleWS > > > >com.heartlab.ws.services.SimpleWS > > > >soap1.1 > > > > > > > >2.1 > >true > >true > >true > > > > > >wsgen > >wsimport > >wsgen-test > > > > > > > >HelloWS > > > >com.heartlab.ws.services.HelloWS > > > >soap1.1 > > > > > > > >2.1 > >true > >true > >true > > > > > >wsgen > > > > > > > > > > > >com.sun.xml.ws > >jaxws-tools > >2.1.1 > > > > > > > >maven-compiler-plugin > > > >1.5 > >1.5 > > > > > > > >org.codehaus.mojo > >jboss-maven-plugin > > > > > >${appserver.url} > >${appserver.port} > > > > > > > > > > > > > > But when I attempt to run the goals independently i.e. 'mvn jaxws:wsgen -e' > > I receive the following error: > > > > > > [ERROR] BUILD ERROR > > [INFO] > > > > [INFO] One or more required plugin parameters are invalid/missing for > > 'jaxws:wsgen' > > > > [0] inside the definition for plugin: 'jaxws-maven-plugin'specify the > > following: > > > > > > ... > > VALUE > > . > > > > [INFO] > > > > [INFO] Trace > > org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: > > org.codehaus.mojo:jaxws-maven-plugin. Reason: Invalid or missing parameters > > : [Mojo parameter [name: 'sei'; alias: 'null']] for mojo: > > org.codehaus.mojo:jaxws-maven-plugin:1.6:wsgen > >at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568) > >
Re: How to run maven goals from Eclipse?
src/test/java is the Maven-standard directory for tests. It is well documented in numerous places. Here's one: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Wayne On 9/20/07, siegfried <[EMAIL PROTECTED]> wrote: > Wow! That sure was difficult. It works now from the maven eclipse plug in > and the command line. > > Where in the documentation does it say that the tests must be in > src/test/java? This is not obvious to a first time eclipse plug in user and > unfortunately, the plug-in does not create this structure when you create a > new project or test. > > Siegfried > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 19, 2007 10:51 PM > To: Maven Users List > Subject: Re: How to run maven goals from Eclipse? > > Its not clear what version of surefire you're using. You should specify it: > >org.apache.maven.plugins >maven-surefire-plugin >2.3 > > > Wayne > > > - > 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: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
Thanks Matt, that does it. "mvn install" was successful. And then "mvn eclipse:eclipse" was successful too. [INFO] Wrote Eclipse project for "myproject-core" to C:\cvs_root\myproject\core. ... [INFO] Wrote Eclipse project for "myproject-webapp" to C:\cvs_root\myproject\web. ... [INFO] BUILD SUCCESSFUL So I have to assume you simply have some weird versions of things or bad poms or something in your repo cache... Try -U to update everything (??). Wayne On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: > > You can use -Ph2 to use H2 instead of MySQL. You can also run with > -Dmaven.test.skip=true to bypass all the connecting to the database and > downloading of Tomcat to run Cargo/WebTest tests. > > Matt > > > Wayne Fay wrote: > > > > I couldn't even get the first step to work correctly: > > > > [INFO] > > > > [ERROR] BUILD ERROR > > [INFO] > > > > [INFO] Error creating from archetype > > > > Embedded error: Error processing templates. > > Encountered " pageContext.request.remoteUser}\"> \" > class=\"current\"> > sage key=\"login.title\"/> \r\n > name=\"MainMenu\"/>\r\n > UserMenu\"/>\r\n\r\n > > \r\n\r\n > :useMenuDisplayer>" at line 6, column 24. > > Was expecting one of: > > "}" ... > > ... > > > > The reason is that I apparently had a less-than-latest version of > > m-archetype-p. I updated with -U and got 1.0-alpha-7 which worked > > successfully. > > > > > > I also noticed something kinda odd -- see the WARNING below: > > > > Downloading: > > http://repository.codehaus.org/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar > > Downloading: > > http://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar > > [INFO] [aspectj:compile {execution: default}] > > [WARNING] bad version number found in C:\Documents and > > Settings\WFay\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt-1. > > 5.3.jar expected 1.5.2a found 1.5.3 > > > > Tried to run mvn eclipse:eclipse and it "failed to resolve artifact" > > for the myproject-core:jar. So I tried mvn install and it failed since > > I don't have a Mysql db running right this minute. > > > > So maybe later this afternoon if I have a few minutes free I can see > > about getting past that error. But I have yet to get to your problem, > > it seems. > > > > Wayne > > > > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: > >> > >> Any idea what could be causing this? I get it when running "mvn > >> eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. > >> > >> [INFO] > >> > >> [ERROR] FATAL ERROR > >> [INFO] > >> > >> [INFO] org/codehaus/plexus/util/IOUtil > >> [INFO] > >> > >> [INFO] Trace > >> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil > >>at > >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) > >>at > >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) > >>at > >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) > >>at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > >>at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) > >>at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > >> > >> To reproduce: > >> > >> 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > >> -DarchetypeArtifactId=appfuse-modular-jsf > >> -DremoteRepositories=http://static.appfuse.org/releases > >> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject > >> > >> 2. cd myproject;mvn eclipse:eclipse > >> > >> Matt > >> -- > >> View this message in context: > >> http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 > >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12798634 > Sent f
problems downloading internal SNAPSHOTs
hi, i am running CruiseControl for integrate testing my projects (command-line tool 'mvn verify' is executed for each project). but the results are very unreliable because Cruise Control sometimes gives me errors with downloading snapshot-dependencies. dependencies are sitting in an internal repository which is accessed by simple remote file system on windows xp. it is very difficult to reproduce this error, because downloading other snapshots from same internal repository works, so repository settings should be fine (otherwise no downloads would work). in cases of failure of snapshot-download it manages to download the meta-data.xml to the local repository but nothing of the rest. manually copying dependencies work, so file system permissions should be fine. another weird thing is, that when logging in as a different user and executing 'mvn verify' works. the only way to get the problem fixed is by manually executing 'mvn install' on server under the same account which cruise control is run, so local repository gets filled with respective dependency. this workaround is no option to me because resolution needs to be done fully automatically. i know with above explanation i give you a hard time to figure out what is going wrong that's it what i can see as symptoms. just wanted get some help where to search for the solution. maybe somebody has had same problems... thanks. -- View this message in context: http://www.nabble.com/problems-downloading-internal-SNAPSHOTs-tf4488180s177.html#a12799198 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)
I beleive, in order to run a goal from command line, your goal configuration must be in the plugin's configuration's, not in the execution's configuration -D On 9/20/07, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > Hi Dan, > I noticed you are one of the developers of the jaxws-maven-plugin. I am > running into an issue and I wanted to run it by you. We are using JBoss4.2 > with the JBossWS2.0.1GA (JAX-WS). In my POM I setup the JAX-WS dependencies > as follows: > > > > >javax.xml.bind >jaxb-api >2.1.5 >provided > > > >javax.jws >jsr181-api >1.0-MR1 >provided > > > >javax.jws >jaxws-api >2.1.1 >provided > > > > Using the provided the JAR files are omitted from the > WEB-INF/lib directory (which is required by JBoss since it includes it's own > JAX-WS jars) and the webservice application deploys without a hitch on > JBoss4.2 with JBossWS2.0.1GA. My problem is I want to use the > jaxws-maven-plugin but it only works when the above mentioned dependencies > have either a scope of compile. Which adds the JAX-WS jars to the WEB/lib > directory of my WAR file and to my build classpath. Or, when I add the > jax-ws jar files to the endorsed directory of my JDK/JRE as such : > > C:\Program Files\Java\jdk1.5.0_12\jre\lib\endorsed > > Added jaxb-api.jar > Added jaxws-api.jar > Added jsr181-api.jar > > Now the jaxws-maven-plugin works when I call a goal like package or install > with each execution running its set of jaxws-maven-plugin goals: > > >${pom.artifactId} > > >org.codehaus.mojo >jaxws-maven-plugin > > >SimpleWS > >com.heartlab.ws.services.SimpleWS > >soap1.1 > > > >2.1 >true >true >true > > >wsgen >wsimport >wsgen-test > > > >HelloWS > >com.heartlab.ws.services.HelloWS > >soap1.1 > > > >2.1 >true >true >true > > >wsgen > > > > > >com.sun.xml.ws >jaxws-tools >2.1.1 > > > >maven-compiler-plugin > >1.5 >1.5 > > > >org.codehaus.mojo >jboss-maven-plugin > > >${appserver.url} >${appserver.port} > > > > > > > But when I attempt to run the goals independently i.e. 'mvn jaxws:wsgen -e' > I receive the following error: > > > [ERROR] BUILD ERROR > [INFO] > > [INFO] One or more required plugin parameters are invalid/missing for > 'jaxws:wsgen' > > [0] inside the definition for plugin: 'jaxws-maven-plugin'specify the > following: > > > ... > VALUE > . > > [INFO] > > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: > org.codehaus.mojo:jaxws-maven-plugin. Reason: Invalid or missing parameters > : [Mojo parameter [name: 'sei'; alias: 'null']] for mojo: > org.codehaus.mojo:jaxws-maven-plugin:1.6:wsgen >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycl
Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
You can use -Ph2 to use H2 instead of MySQL. You can also run with -Dmaven.test.skip=true to bypass all the connecting to the database and downloading of Tomcat to run Cargo/WebTest tests. Matt Wayne Fay wrote: > > I couldn't even get the first step to work correctly: > > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Error creating from archetype > > Embedded error: Error processing templates. > Encountered " pageContext.request.remoteUser}\"> \" class=\"current\"> sage key=\"login.title\"/> \r\n name=\"MainMenu\"/>\r\n UserMenu\"/>\r\n\r\n > \r\n\r\n :useMenuDisplayer>" at line 6, column 24. > Was expecting one of: > "}" ... > ... > > The reason is that I apparently had a less-than-latest version of > m-archetype-p. I updated with -U and got 1.0-alpha-7 which worked > successfully. > > > I also noticed something kinda odd -- see the WARNING below: > > Downloading: > http://repository.codehaus.org/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar > Downloading: > http://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar > [INFO] [aspectj:compile {execution: default}] > [WARNING] bad version number found in C:\Documents and > Settings\WFay\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt-1. > 5.3.jar expected 1.5.2a found 1.5.3 > > Tried to run mvn eclipse:eclipse and it "failed to resolve artifact" > for the myproject-core:jar. So I tried mvn install and it failed since > I don't have a Mysql db running right this minute. > > So maybe later this afternoon if I have a few minutes free I can see > about getting past that error. But I have yet to get to your problem, > it seems. > > Wayne > > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: >> >> Any idea what could be causing this? I get it when running "mvn >> eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. >> >> [INFO] >> >> [ERROR] FATAL ERROR >> [INFO] >> >> [INFO] org/codehaus/plexus/util/IOUtil >> [INFO] >> >> [INFO] Trace >> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil >>at >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) >>at >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) >>at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >>at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >>at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >>at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >> >> To reproduce: >> >> 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >> -DarchetypeArtifactId=appfuse-modular-jsf >> -DremoteRepositories=http://static.appfuse.org/releases >> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject >> >> 2. cd myproject;mvn eclipse:eclipse >> >> Matt >> -- >> View this message in context: >> http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12798634 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
I couldn't even get the first step to work correctly: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Error processing templates. Encountered " pageContext.request.remoteUser}\">\" class=\"current\">\r\n\r\n\r\n\r\n \r\n\r\n" at line 6, column 24. Was expecting one of: "}" ... ... The reason is that I apparently had a less-than-latest version of m-archetype-p. I updated with -U and got 1.0-alpha-7 which worked successfully. I also noticed something kinda odd -- see the WARNING below: Downloading: http://repository.codehaus.org/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar Downloading: http://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar [INFO] [aspectj:compile {execution: default}] [WARNING] bad version number found in C:\Documents and Settings\WFay\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt-1. 5.3.jar expected 1.5.2a found 1.5.3 Tried to run mvn eclipse:eclipse and it "failed to resolve artifact" for the myproject-core:jar. So I tried mvn install and it failed since I don't have a Mysql db running right this minute. So maybe later this afternoon if I have a few minutes free I can see about getting past that error. But I have yet to get to your problem, it seems. Wayne On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: > > Any idea what could be causing this? I get it when running "mvn > eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. > > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] org/codehaus/plexus/util/IOUtil > [INFO] > > [INFO] Trace > java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil >at > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) >at > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) >at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > > To reproduce: > > 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modular-jsf > -DremoteRepositories=http://static.appfuse.org/releases > -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject > > 2. cd myproject;mvn eclipse:eclipse > > Matt > -- > View this message in context: > http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to run maven goals from Eclipse?
Wow! That sure was difficult. It works now from the maven eclipse plug in and the command line. Where in the documentation does it say that the tests must be in src/test/java? This is not obvious to a first time eclipse plug in user and unfortunately, the plug-in does not create this structure when you create a new project or test. Siegfried -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 19, 2007 10:51 PM To: Maven Users List Subject: Re: How to run maven goals from Eclipse? Its not clear what version of surefire you're using. You should specify it: org.apache.maven.plugins maven-surefire-plugin 2.3 Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jaxws-maven-plugin Multiple SEI (Service Endpoint Implementations)
Hi Dan, I noticed you are one of the developers of the jaxws-maven-plugin. I am running into an issue and I wanted to run it by you. We are using JBoss4.2 with the JBossWS2.0.1GA (JAX-WS). In my POM I setup the JAX-WS dependencies as follows: javax.xml.bind jaxb-api 2.1.5 provided javax.jws jsr181-api 1.0-MR1 provided javax.jws jaxws-api 2.1.1 provided Using the provided the JAR files are omitted from the WEB-INF/lib directory (which is required by JBoss since it includes it's own JAX-WS jars) and the webservice application deploys without a hitch on JBoss4.2 with JBossWS2.0.1GA. My problem is I want to use the jaxws-maven-plugin but it only works when the above mentioned dependencies have either a scope of compile. Which adds the JAX-WS jars to the WEB/lib directory of my WAR file and to my build classpath. Or, when I add the jax-ws jar files to the endorsed directory of my JDK/JRE as such : C:\Program Files\Java\jdk1.5.0_12\jre\lib\endorsed Added jaxb-api.jar Added jaxws-api.jar Added jsr181-api.jar Now the jaxws-maven-plugin works when I call a goal like package or install with each execution running its set of jaxws-maven-plugin goals: ${pom.artifactId} org.codehaus.mojo jaxws-maven-plugin SimpleWS com.heartlab.ws.services.SimpleWS soap1.1 2.1 true true true wsgen wsimport wsgen-test HelloWS com.heartlab.ws.services.HelloWS soap1.1 2.1 true true true wsgen com.sun.xml.ws jaxws-tools 2.1.1 maven-compiler-plugin 1.5 1.5 org.codehaus.mojo jboss-maven-plugin ${appserver.url} ${appserver.port} But when I attempt to run the goals independently i.e. 'mvn jaxws:wsgen -e' I receive the following error: [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'jaxws:wsgen' [0] inside the definition for plugin: 'jaxws-maven-plugin'specify the following: ... VALUE . [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.codehaus.mojo:jaxws-maven-plugin. Reason: Invalid or missing parameters : [Mojo parameter [name: 'sei'; alias: 'null']] for mojo: org.codehaus.mojo:jaxws-maven-plugin:1.6:wsgen at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorI
RE: rar:rar plugin missing dependency?
Right. ok, Thank you dirk. That explains my problem - seems I have some more learning to do to get my head around maven. Cheers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jasperreports-maven-plugin question
I found it only happens when sourceDirectory option is specified. The jasperreports-maven-plugin doesn't compile .jrxml files even if the path specified in sourceDirectory option is the same as the default value [1]. Any jasperreports-maven-plugin developer out there? [1] src/main/jasperreports []s On 9/20/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > What's the criteria used by jasperreports-maven-plugin to conclude > that all reports are up to date and don't need to be recompiled [1]? > How can I force it to compile all the reports? > > [1] > [INFO] [jasperreports:compile-reports {execution: default}] > [INFO] Nothing to compile - all Jasper reports are up to date > > > thanks > Alexandre > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rar:rar plugin missing dependency?
Peter Taylor wrote: > I'm trying to build a resource adapter using maven with the rar:rar > plugin. I've succeeded BUT I have an issue: > > I have rar in my pom. But when I do a `mvn > package` maven doesn't include the compiled source in the target rar > file. Are you trying to package from the same project? This violates the maven convention of one artifact per module. Have your code that produces a jar in one module and make another module that consists of a pom wich packaing rar and a dependency to your jar module. -dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: scp upload verbosity
Have you tried mvn deploy -q already? -Gisbert Martin Pruefer wrote: Hi, is there any way to make the deploy plugin being less verbose when uploading via scp to a server? I'm building my project with 'mvn deploy' and for each artifact the upload progress is being logged in a very verbose way like this: ---snip--- [...] Uploading: scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifact-1.0-SNAPSHOT.jar 4/49K 8/49K 12/49K 16/49K 20/49K 24/49K 28/49K 32/49K 36/49K 40/49K 44/49K 48/49K 49/49K 49K uploaded [...] ---snip--- When having many projects in a multi-module build, and artifact size being quite large, then quite a great part of the build log consists only of upload progress messages... I did not find anything in documentation/mvn wiki/users mailinglist on this topic. I use mvn 2.0.7. Any hints appreciated, thx! Martin -- Gisbert Amm Softwareentwickler Infrastruktur Telefon: (0721) 91374 - 4224 Telefax: (0721) 91374 - 2740 E-Mail: [EMAIL PROTECTED] Internet: www.1und1.de 1&1 Internet AG Elgendorfer Strasse 57 56410 Montabaur Amtsgericht Montabaur HRB 6484 Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger (Vorsitzender), Matthias Greve, Henning Ahlert, Norbert Lang, Achim Weiss, Robert Hoffmann, Aufsichtsratsvorsitzender: Michael Scheeren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to find original documentation for Maven 1.0.2 ?
Maven 1.1 and 1.0.2 are supposed to be largely compatible, the main differences are documented [1], apart from that, the documentation applies to 1.0.2 as well (note that plugins have their own sites). For detailed changes you might consult JIRA [2]. HTH, -Lukas [1] http://maven.apache.org/maven-1.x/reference/backwards-compatibility.html [2] http://jira.codehaus.org/secure/BrowseProject.jspa?id=10030&subset=-1 Damien Lecan wrote: Hello, I would like to know where I can find the original Maven 1.0.2 documentation. http://maven.apache.org/maven-1.x is mainly for maven 1.1.x Is it possible to find archives about it somewhere ? Globaly, it is hard to know the real features of Maven 1.0.2 compared to 1.1.x (SNAPSHOT or not, release plugin or not, ...) Thanks Damien Lecan - 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]
jasperreports-maven-plugin question
What's the criteria used by jasperreports-maven-plugin to conclude that all reports are up to date and don't need to be recompiled [1]? How can I force it to compile all the reports? [1] [INFO] [jasperreports:compile-reports {execution: default}] [INFO] Nothing to compile - all Jasper reports are up to date thanks Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
scp upload verbosity
Hi, is there any way to make the deploy plugin being less verbose when uploading via scp to a server? I'm building my project with 'mvn deploy' and for each artifact the upload progress is being logged in a very verbose way like this: ---snip--- [...] Uploading: scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifact-1.0-SNAPSHOT.jar 4/49K 8/49K 12/49K 16/49K 20/49K 24/49K 28/49K 32/49K 36/49K 40/49K 44/49K 48/49K 49/49K 49K uploaded [...] ---snip--- When having many projects in a multi-module build, and artifact size being quite large, then quite a great part of the build log consists only of upload progress messages... I did not find anything in documentation/mvn wiki/users mailinglist on this topic. I use mvn 2.0.7. Any hints appreciated, thx! Martin -- Martin Pruefer *** [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
Any idea what could be causing this? I get it when running "mvn eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/codehaus/plexus/util/IOUtil [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) To reproduce: 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject 2. cd myproject;mvn eclipse:eclipse Matt -- View this message in context: http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to find original documentation for Maven 1.0.2 ?
Hello, I would like to know where I can find the original Maven 1.0.2 documentation. http://maven.apache.org/maven-1.x is mainly for maven 1.1.x Is it possible to find archives about it somewhere ? Globaly, it is hard to know the real features of Maven 1.0.2 compared to 1.1.x (SNAPSHOT or not, release plugin or not, ...) Thanks Damien Lecan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Artifact with type tar.gz (or tgz or gz) unpacked during dependency resolution: Why?
List, I have a gzipped tarball type artifact (tar.gz) in my repository and a dependency to it (with tar.gz) in my POM. All I want is for the dependency to be resolved and the artifact to be copied to my local repository so that I can copy it out to where it really should go. However, the resolved artifact that ended up in my local repository was 'not in gzip format' according to gzip/tar. After lengthy investigations I have found out that Maven somehow (and for some as yet unknown reason) *unpacks* the tarball before/during dependency resolution. I.e., the resolved artifact in my local repository is no longer a .tar.gz, just a .tar (Maven doesn't touch the .tar.gz extension/type, though). The same happens if I specify the packaging type as tgz or just gz. If I use zip, though, it does not unpack. Does anyone know why this is, and whether this behaviour is by design or not? Is it possible to turn off the unpacking!? Thanks in advance, - Anders. Anders Blehr Senior Solutions Architect FAST Torggata 2-4-6 N-0181 Oslo, Norway www.fastsearch.com
[m2] to be resolved : generate an artifact with a plugin and do dependency with it in a multimodule project.
Hi, I've got a general problem: the core maven can't generate all artifact, so there are some plugin to do that for a specific context (for instance, maven-antrun-plugin ). How can we do a dependency to the artifact generated by a plugin ? I tried to - configure the packaging of the pom with the same packaging of the plugin - generate the artifact from the plugin with the same path that the pom's target artifact => the plugin replace the artifact generated by the core. This works well in a simple project: you can deploy your artifact in your local repository and make a dependency to it from another project. BUT, if you do this kind of dependency in a multimodule project the global build do not work: the dependency is made with the artifact generated by the core and not by the plugin An idea ? Regards, Gerald Reinhart
Re: mvn archetype:create
Hello Wayne! Thanks! Now it works! Dmitri -- http://www.xing.com/profile/Dmitri_Pissarenko http://dapissarenko.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven @ ApacheCon US: Early Bird Rate Ends September 22
For those thinking of attending ApacheCon US in Atlanta, see the announcement from the ApacheCon team below about the early-bird registration rate. For more information and registration, see http:// www.us.apachecon.com/ Maven will be well represented with the following training and presentations: * Jason van Zyl: Using Maven Effectively: Projects from Zero to Infinity http://us.apachecon.com/us2007/program/talk/2060 * Jason van Zyl: Maven The Beautiful City: A Gentle Introduction To Apache Maven http://us.apachecon.com/us2007/program/talk/2059 * Brett Porter: Apache Maven Best Practices http://us.apachecon.com/us2007/program/talk/2016 * Jesse McConnell: Juggling Java EE with Enterprise Maven http://us.apachecon.com/us2007/program/talk/2035 Hope to see you there! ApacheCon US 2007 • Atlanta GA To support everyone in the community attending this conference we are extending the Early Bird Registration to September 22, 2007. Register now and save money PLUS your registration supports the Open Source Community. And PLEASE get this message out to your friends and others at work. Buttons and banners available on site http://www.apachecon.com by September 7,2007 Please help us get the word out! Thanks, ApacheCon Team -- Brett Porter - [EMAIL PROTECTED] Blog: http://www.devzuz.org/blogs/bporter/