Re: Maven plugin for Eclipse
Hi, did you refresh the settings in eclipse? It has to be done under Window->Preferences->Maven->Refresh Settings. Best regards Achim De Vleeschauwer Nele wrote: Hi, I have configured my settings.xml in this way and if I execute a maven command from a dos box, it is using our company's repository. But if I call a maven command out of Eclipse, it goes directly to the Maven Repo site. -Original Message- From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 14:14 To: Maven Users List Subject: RE: Maven plugin for Eclipse I believe you can configure this in your maven settings.xml file via a profile : MyDevRepo http://myrepository true false -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 14:11 À : Maven Users List Objet : Maven plugin for Eclipse Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating Dynamic Web Projects for Eclipse and Tomcat
You have to enable WTP in the eclipse:eclipse plugin mvn eclipse:eclipse -DwtpVersion=1.5 (2.0 isn't yet generated by maven, but eclipse will propose to you to convert it) If your packaging is defined as war in you pom, you'll see that in eclipse you have now a web project that you can dynamically deploy/run/debug on your server Take a look at the samples on http://maven.apache.org/plugins/maven-eclipse-plugin Arnaud On 06/09/07, trondvalen <[EMAIL PROTECTED]> wrote: > > Hi! > > I was wondering... What is the best way to set up Maven, Eclipse and Tomcat > to work together? I want to handle external library dependencies in Maven 2, > build a project (preferably Dynamic Web Project) for Eclipse 3.3.0 (using > something like mvn eclipse:eclipse) and then using Tomcat server 5.5 which > can be run from Eclipse, serving web pages that are updated as soon as I > build my Eclipse project. localhost will do fine as host name, we will > probably deploy a WAR file when we reach production. > > Tomcat works fine with Dynamic Web projects in Eclipse, but I can't get > Maven to generate Dynamic Web Projects for Eclipse, only regular Java > projects. Is there a way to make Maven do this, or alternatively, can I > generate servlets for web pages from a regular Java project in Eclipse > without having to go the long way through WAR deployment? > -- > View this message in context: > http://www.nabble.com/Creating-Dynamic-Web-Projects-for-Eclipse-and-Tomcat-tf4392667s177.html#a12524283 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependency computation differs between mvn eclipse:eclipse and mvn package
Hi, I suspect this is due to the eclipse plugin handling dependency resolution itself (see method doDependencyResolution() in [1]) instead of using the maven build-in one. You should file a jira issue in the eclipse-plugin [1] for this, as both mechanisms should resolve to the same dependency versions. It's best practice to provide a small test project that shows the bug, so the developers can reproduce it more easily. Wait... there is already a bug filed for this [3]. -Tim [1] https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java [2] http://jira.codehaus.org/browse/MECLIPSE [3] http://jira.codehaus.org/browse/MECLIPSE-262 Lewandowski, Eric schrieb: Hi, I use Maven 2.0.7 with JDK 1.5.0_12 on Windows XP. My application use struts2 and spring-framework. In my POM, I add the dependency : org.springframework:spring-beans:2.0.1 and the dependency org.apache.struts:struts2-spring-plugin:2.0.9 I run mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.5 In Eclipse, I see the dependency org.springframework:spring-beans:2.0.5 because org.apache.struts:struts2-spring-plugin:2.0.9 needs this dependency I run mvn clean package. My war file contains org.springframework:spring-beans:2.0.1 (not 2.0.5) because I specified it in my pom. Is it normal the de dependency computation is different between mvn eclipse:eclipse and mvn package ? May I do some errors in my maven configuration ? (pom, settings). Regards, Eric Lewandowski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
${basedir} Windows and ${file.separator}
Hello all, I am using Maven2 on Windows XP Lets say that I have this property in my pom.xml file: ${basedir}${file.separator}log${file.separator} This property is being used to write the location of a directory for holding log files, to a log4j.xml file. Now when I run some code to write to the log file, I get a file in the ${basedir} of the project called: devworkspacearchetypesTestlogSimpleTest21-1.0-SNAPSHOT_test.log (which contains the contents of the log file...) Sure this works, but it isn't really what I had in mind. Rather I'd like the log file to be written to the ${basedir}/log of my project. I looked in my ${basedir}/target/test-classes/log4j.xml and the value which is generated for the output of the logfile is: C:\dev\workspace\archetypesTest\log\SimpleTest21-1.0-SNAPSHOT_test.log My question is, does it need to be? C:\\dev\\workspace\\archetypesTest\\log\\SimpleTest21-1.0-SNAPSHOT_test.log And how can I do this without destorying the portability to linux by adding two ${file.seprator}'s? Thank you, Andrew J. Leer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The processing order of Maven2's reactor
Hi, Huang, Yan schrieb: Hello, I'm wondering how maven is figuring out the Reactor build order Arnaud already explained this. and if there is a way to tweak this order? No. Only indirectly, by specifying dependencies between modules. If I see there are exact same line for a particular project twice in this order, does it mean that maven 2 would build twice? I think this should never happen, as maven should just walk over the graph and build one modul after the other. Can you post the log of the build. Thanks Yan -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The processing order of Maven2's reactor
"Huang, Yan" <[EMAIL PROTECTED]> writes: > Hello, > > I'm wondering how maven is figuring out the Reactor build order and if > there is a way to tweak this order? If I see there are exact same line > for a particular project twice in this order, does it mean that maven 2 > would build twice? > Maven builds projects by doing a topological sorting of the nodes of the directed graph constructed by the dependency relation between modules. This graph is constructed by looking at and tags in poms. Or so I think -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to test a plugin
"William Ferguson" <[EMAIL PROTECTED]> writes: > I haven't found it, so I have to ask. > Have you read this ? http://maven.apache.org/developers/committer-testing-plugins.html That said, I agree this is just some notes on testing tools, note a guide for creating meaningful tests for plugins. HTH -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple jar project split into two projects
best practice is to break them up as much as you can so that you will have one build artifact per module. I my case which i use jaxws and here are my modules: core ws-client depends on core ws-server depend on core webapp depend on core and ws-server note both ws-client and ws-server are generated from core classes. are your structures similar to this? -D On 9/6/07, Sebastian Johnck <[EMAIL PROTECTED]> wrote: > Hello, > I currently have a war project (containing web services) in which I'm > generating a client.jar, containing client code, to include in the war. > I'm generating client code into generated-sources folder and then using the > jar plugin to create the client.jar, and place it in the web resources > directory before war packaging. > > Would maven encourage that I use two projects for this type of case? How > would I do this if the source directories for both projects are the same? > > Thanks ahead of time. > z > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to test a plugin
I haven't found it, so I have to ask. Is there a document describing best practice for testing a plugin? I keep running into what appear to be abberations in various Maven plugins, raising JIRAs for them and even submitting patches, but I haven't found any common pattern for constructing test cases to validate the plugins behaviour. Where can I find such a document? William - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The processing order of Maven2's reactor
Hello, I'm wondering how maven is figuring out the Reactor build order and if there is a way to tweak this order? If I see there are exact same line for a particular project twice in this order, does it mean that maven 2 would build twice? Thanks Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multiple jar project split into two projects
Hello, I currently have a war project (containing web services) in which I'm generating a client.jar, containing client code, to include in the war. I'm generating client code into generated-sources folder and then using the jar plugin to create the client.jar, and place it in the web resources directory before war packaging. Would maven encourage that I use two projects for this type of case? How would I do this if the source directories for both projects are the same? Thanks ahead of time. z
Re: Maven java-source local repository
You should be able to get Maven to download and install javadocs and sources by specifying the proper classifier in the dependency ie: javadoc Though this is really not something you'd normally do, as projects don't really "depend" in the traditional sense on the Javadocs or sources of another project. Wayne On 9/6/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > I couldnt install a javadoc by adding the dependency to a pom and > configuring maven to download javadocs (It said "Unable to get > resource XXX from repository central", even if the javadoc was > phisically in the remote repo). > > I downloaded a javadoc jar manually, and installed it using: > > mvn install:install-file -Dfile="C:\xxx\httpunit-1.6.2-javadoc.jar" > -DgroupId=httpunit -DartifactId=httpunit -Dversion=1.6.2 > -Dpackaging=jar -Dclassifier=javadoc > > The javadoc was correctly installed in my configured local repository. > > I made the same thing with the sources, and they get correctly > installed. The problem seems to be with automatically downloaded > sources (and, maybe, javadocs). > > > 2007/9/6, Wayne Fay <[EMAIL PROTECTED]>: > > This is certainly odd. It might even be a bug. > > > > Where do javadocs land in your repo when Maven downloads them? > > > > Wayne > > > > On 9/6/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > > > I configured maven to download the sources of JARs. I have created a > > > local repository (a network drive in order to have a central > > > repository on my company) in %home%/.m2/settings.xml: > > > > > > I:\repository > > > > > > This works fine for the binary jars, but the source jars are beeing > > > downloaded into the default repository (%home%/.m2/repository) > > > > > > Is there a way to configure where sources are put after download? > > > > > > Thanks! > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build javadoc of dependencies?
On 9/6/07, Heinrich Nirschl <[EMAIL PROTECTED]> wrote: > You could set up a fourth project with packaging pom that serves as > parent for the other three (i.e. the other tree projects are modules > of the new project). The Javadoc plugin's aggregate function should > work then. Right, but I couldn't add it to the webapp. Jochen -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
q4eclipse NullPointerException importing project
Using q4eclipse, I get a null pointer exception importing a Maven pom.xml file into Eclipse. That's about all the information I have. Where can I find a log file with the stack trace, and who can I send it to? -- Joshua ChaitinPollak Software Engineer Kiva Systems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven java-source local repository
I couldnt install a javadoc by adding the dependency to a pom and configuring maven to download javadocs (It said "Unable to get resource XXX from repository central", even if the javadoc was phisically in the remote repo). I downloaded a javadoc jar manually, and installed it using: mvn install:install-file -Dfile="C:\xxx\httpunit-1.6.2-javadoc.jar" -DgroupId=httpunit -DartifactId=httpunit -Dversion=1.6.2 -Dpackaging=jar -Dclassifier=javadoc The javadoc was correctly installed in my configured local repository. I made the same thing with the sources, and they get correctly installed. The problem seems to be with automatically downloaded sources (and, maybe, javadocs). 2007/9/6, Wayne Fay <[EMAIL PROTECTED]>: > This is certainly odd. It might even be a bug. > > Where do javadocs land in your repo when Maven downloads them? > > Wayne > > On 9/6/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I configured maven to download the sources of JARs. I have created a > > local repository (a network drive in order to have a central > > repository on my company) in %home%/.m2/settings.xml: > > > > I:\repository > > > > This works fine for the binary jars, but the source jars are beeing > > downloaded into the default repository (%home%/.m2/repository) > > > > Is there a way to configure where sources are put after download? > > > > Thanks! > > > > - > > 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]
Dependency computation differs between mvn eclipse:eclipse and mvn package
Hi, I use Maven 2.0.7 with JDK 1.5.0_12 on Windows XP. My application use struts2 and spring-framework. In my POM, I add the dependency : org.springframework:spring-beans:2.0.1 and the dependency org.apache.struts:struts2-spring-plugin:2.0.9 I run mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.5 In Eclipse, I see the dependency org.springframework:spring-beans:2.0.5 because org.apache.struts:struts2-spring-plugin:2.0.9 needs this dependency I run mvn clean package. My war file contains org.springframework:spring-beans:2.0.1 (not 2.0.5) because I specified it in my pom. Is it normal the de dependency computation is different between mvn eclipse:eclipse and mvn package ? May I do some errors in my maven configuration ? (pom, settings). Regards, Eric Lewandowski
Re: Maven java-source local repository
This is certainly odd. It might even be a bug. Where do javadocs land in your repo when Maven downloads them? Wayne On 9/6/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > Hi! > > I configured maven to download the sources of JARs. I have created a > local repository (a network drive in order to have a central > repository on my company) in %home%/.m2/settings.xml: > > I:\repository > > This works fine for the binary jars, but the source jars are beeing > downloaded into the default repository (%home%/.m2/repository) > > Is there a way to configure where sources are put after download? > > Thanks! > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven java-source local repository
Hi! I configured maven to download the sources of JARs. I have created a local repository (a network drive in order to have a central repository on my company) in %home%/.m2/settings.xml: I:\repository This works fine for the binary jars, but the source jars are beeing downloaded into the default repository (%home%/.m2/repository) Is there a way to configure where sources are put after download? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject build fails
Try adding this to the maven-release-plugin clean install On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a multi project build in the standard directory structure. I'm > using subversion, and all my submodules will be built with the same > version > as the parent. I can perform a prepare successfully, however when I > perform > the release, the modules aren't built in the correct order based on their > dependencies, and the release fails. I'm able to perform a 'mvn clean > install', and they are built in the correct order, so it doesn't appear to > be an issue with the way I have defined my. I've included my prompts, I > can't seem to find anything wrong with my commands. > > > mvn clean release:clean release:prepare (from parent pom.xml working > directory) > > ### omitting clean > [INFO] Checking dependencies and plugins for snapshots ... > What is the release version for "Master Build Module for Parent"? ( > com.purdueefcu.statements:parent) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "dataaccess"? ( > com.purdueefcu.statements:dataaccess) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "common"? ( > com.purdueefcu.statements:common) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "parser"? ( > com.purdueefcu.statements:parser) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "processor"? ( > com.purdueefcu.statements:processor) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "mdb"? (com.purdueefcu.statements:mdb) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "overlays"? ( > com.purdueefcu.statements:overlays) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "reader"? ( > com.purdueefcu.statements:reader) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "writer"? ( > com.purdueefcu.statements:writer) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "statments ear"? ( > com.purdueefcu.statements:statements-app) 1.0.0-beta-2: : 1.0.0-beta-1 > What is SCM release tag or label for "Master Build Module for Parent"? ( > com.purdueefcu.statements:parent) parent-1.0.0-beta-1: : > What is the new development version for "Master Build Module for Parent"? > ( > com.purdueefcu.statements:parent) 1.0.0-beta-3-SNAPSHOT: : 1.0.0- > beta-2-SNAPSHOT > > ### omitting junit test output ### > > [INFO] Executing: svn --non-interactive commit --file > c:\DOCUME~1\tnine\LOCALS~1\Temp\maven-scm-2128849133.commit --targets > c:\DOCUME~1\tnin > e\LOCALS~1\Temp\maven-scm-8191-targets > [INFO] Working directory: c:\development\pefcu\statements\trunk > [INFO] Release preparation complete. > [INFO] > [INFO] > [INFO] > > [INFO] Reactor Summary: > [INFO] > > [INFO] Master Build Module for Parent SUCCESS [2: > 14.438s] > [INFO] dataaccess SUCCESS [ > 0.016s] > [INFO] common SUCCESS [ > 0.000s] > [INFO] parser SUCCESS [ > 0.000s] > [INFO] processor . SUCCESS [ > 0.109s] > [INFO] mdb ... SUCCESS [ > 0.063s] > [INFO] overlays .. SUCCESS [ > 0.000s] > [INFO] reader SUCCESS [ > 0.156s] > [INFO] writer SUCCESS [ > 0.015s] > [INFO] statments ear . SUCCESS [ > 0.125s] > [INFO] > > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 2 minutes 24 seconds > [INFO] Finished at: Wed Sep 05 09:40:07 EDT 2007 > [INFO] Final Memory: 9M/32M > [INFO] > > > > > Next command > > mvn clean release:perform (from parent pom.xml working directory) > > ### omitting clean output > [INFO] Executing: svn --non-interactive checkout > > http://sourceforge.purdueefcu.com/svn/repos/statements/tags/parent-1.0.0-beta-1checkout > [INFO] Working directory: c:\development\pefcu\statements\trunk\target > [INFO] Executing goals 'deploy site-deploy'... > [INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P > pefcu-profile -DperformRelease=true > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Master Build Module for Parent > [INFO] dataaccess > [INFO] common > [INFO] parser > [INFO] processor > [INFO] mdb > [INFO] overlays >
Re: Scheduled Builds Timing out
No even that is not the case. I have only 1 build definition and that too at the group level. I do not have any project level definitions. Regards, Anshula Emmanuel Venisse wrote: > > if forced build works fine, scheduled build should work too because it's > the same code that run both. The possible difference is if you have more > than one build definition, the forced build use the > default one. > > About logs, you must have the same log for scheduled and forced builds. I > don't understand what's happen. > > Emmanuel > > Anshula a écrit : >> I dont think so. When I installed Continuum, I followed the standard >> installation instructions. I havent changed the logging configurations >> anywhere. >> These logs are for 1 day only. Continuum is running as a service and I >> have >> scheduled a build at 7:30 pm. Usually what I observe is that the logs get >> written at 7:30 pm when Continuum starts to checkout source and build the >> files. >> I am attaching one more file from a previo >> http://www.nabble.com/file/p12522974/wrapper.20070829.log >> wrapper.20070829.log us day as well, which has logs of some forced builds >> as >> well. >> >> Thanks >> Anshula >> >> >> >> Emmanuel Venisse wrote: >>> Do you have redefined log levels? I don't see lot of logs in the file >>> you >>> sent. >>> >>> Anshula a écrit : Emmanuel, In the build-output-directory of each project as well as on the build result page, the last build that I can find is the last successful build. The Builds that have a timeout, did not generate a build result. The only place that it logged about the timeout was the Continuum log file/Wrapper.log. Should it have generated a build result ? Coz it did not get built at all... Thanks, Anshula Emmanuel Venisse wrote: > In build result page, choose a build result with timeout ant take the > build id, then go to the build-output-directory and send us the > content > of > the build output you'll find in this directory. > > Emmanuel > > Anshula a écrit : >> Hi Emmanuel, >> >> The File is as attached. Thanks for the help. >> >> Anshula >> >> >> Emmanuel Venisse wrote: >>> Can you send your logs? >>> >>> Anshula a écrit : Hi Emmanuel, Acutally right now I am just building, there are no unit tests added as of now. The build does not take more than 1-2 minutes, I tried building all projects locally and verified this. Regards, Anshula Emmanuel Venisse wrote: > Maybe you have a test that hang out? > > Emmanuel > > Anshula a écrit : >> Hello all, >> >> I am using Continuum 1.1-beta-2 with Perforce to integrate all my >> projects >> in the build management system. >> I have been using it over a month or so, and have around 15 >> project >> groups/projects integrated into it. I have scheduled a build in >> the >> system >> which runs at 7:30 pm everyday. >> The build system has been running properly building when it >> detects >> changes >> at the scheduled time >> >> But since 2 days, everyday the builds are timing out. I have set >> a >> Maximum >> job execution time of 3600 secs. Each of the projects does not >> take >> more >> than 1 minute to build. >> >> Continuum queues all the projects and prints a warning in the log >> file >> like >> - >> "Task >> [EMAIL PROTECTED] >> didn't >> complete within time, cancelling it." And shows all the projects >> in >> queued >> state only. I need to restart Continuum to build them again. >> >> Thanks for your time. Any help will be appreciated. >> Regards, >> Anshula >> http://www.nabble.com/file/p12500482/wrapper.20070901.log >> wrapper.20070901.log > >>> >>> >> > > > -- View this message in context: http://www.nabble.com/Scheduled-Builds-Timing-out-tf4384387.html#a12530927 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: xdoclet maven plugin: Ambiguous subtask definition exception
I'll give that a try. I finally figured out my issue with the getting the correct version of the plugin but I'm still getting the same error. On 9/6/07, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Hello, > i had.. long time ago while i was trying to do exactly the same thing. > Resorted to use xdoclet in one project, and to call xdocket from maven > antrun plugin in the other > > not elegant, but was theonly solution i found > > hth > marco > > On 9/6/07, Brian Smith <[EMAIL PROTECTED]> wrote: > > > > I'm getting an error (Ambiguous subtask definition exception) while > trying > > to run Maven from the top directory of a multi-module project that > > contains > > both EJBs and web apps. I've seen that this has been reported before > and > > that a bug was created and has been closed ( > > http://jira.codehaus.org/browse/MOJO-223). Supposedly this is an > xdoclet > > issue. > > > > Has anyone ran into this lately and found a way to work around > this? The > > solution on the bug report won't work because it says the plugin doesn't > > exist. Also, are other developers not relying on a tool (xdoclet or > > ejbgen > > or ??) to create descriptors? > > > > Thanks, > > Brian > > >
Re: xdoclet maven plugin: Ambiguous subtask definition exception
Hello, i had.. long time ago while i was trying to do exactly the same thing. Resorted to use xdoclet in one project, and to call xdocket from maven antrun plugin in the other not elegant, but was theonly solution i found hth marco On 9/6/07, Brian Smith <[EMAIL PROTECTED]> wrote: > > I'm getting an error (Ambiguous subtask definition exception) while trying > to run Maven from the top directory of a multi-module project that > contains > both EJBs and web apps. I've seen that this has been reported before and > that a bug was created and has been closed ( > http://jira.codehaus.org/browse/MOJO-223). Supposedly this is an xdoclet > issue. > > Has anyone ran into this lately and found a way to work around this? The > solution on the bug report won't work because it says the plugin doesn't > exist. Also, are other developers not relying on a tool (xdoclet or > ejbgen > or ??) to create descriptors? > > Thanks, > Brian >
Re: Multiproject build fails
Did you specify a version for the release plugin ? On 06/09/07, Todd Nine <[EMAIL PROTECTED]> wrote: > ping > > On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > I have a multi project build in the standard directory structure. I'm > > using subversion, and all my submodules will be built with the same version > > as the parent. I can perform a prepare successfully, however when I perform > > the release, the modules aren't built in the correct order based on their > > dependencies, and the release fails. I'm able to perform a 'mvn clean > > install', and they are built in the correct order, so it doesn't appear to > > be an issue with the way I have defined my. I've included my prompts, I > > can't seem to find anything wrong with my commands. > > > > > > mvn clean release:clean release:prepare (from parent pom.xml working > > directory) > > > > ### omitting clean > > [INFO] Checking dependencies and plugins for snapshots ... > > What is the release version for "Master Build Module for Parent"? ( > > com.purdueefcu.statements:parent) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "dataaccess"? ( > > com.purdueefcu.statements:dataaccess) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "common"? ( > > com.purdueefcu.statements:common) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "parser"? ( > > com.purdueefcu.statements:parser) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "processor"? ( > > com.purdueefcu.statements:processor) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "mdb"? (com.purdueefcu.statements:mdb) > > 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "overlays"? ( > > com.purdueefcu.statements:overlays) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "reader"? ( > > com.purdueefcu.statements:reader) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "writer"? ( > > com.purdueefcu.statements:writer) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is the release version for "statments ear"? ( > > com.purdueefcu.statements:statements-app) 1.0.0-beta-2: : 1.0.0-beta-1 > > What is SCM release tag or label for "Master Build Module for Parent"? ( > > com.purdueefcu.statements:parent) parent-1.0.0-beta-1: : > > What is the new development version for "Master Build Module for Parent"? > > (com.purdueefcu.statements:parent) 1.0.0-beta-3-SNAPSHOT: : 1.0.0- > > beta-2-SNAPSHOT > > > > ### omitting junit test output ### > > > > [INFO] Executing: svn --non-interactive commit --file > > c:\DOCUME~1\tnine\LOCALS~1\Temp\maven-scm-2128849133.commit --targets > > c:\DOCUME~1\tnin > > e\LOCALS~1\Temp\maven-scm-8191-targets > > [INFO] Working directory: c:\development\pefcu\statements\trunk > > [INFO] Release preparation complete. > > [INFO] > > [INFO] > > [INFO] > > > > [INFO] Reactor Summary: > > [INFO] > > > > [INFO] Master Build Module for Parent SUCCESS [2: > > 14.438s] > > [INFO] dataaccess SUCCESS [ > > 0.016s] > > [INFO] common SUCCESS [ > > 0.000s] > > [INFO] parser SUCCESS [ > > 0.000s] > > [INFO] processor . SUCCESS [ > > 0.109s] > > [INFO] mdb ... SUCCESS [ > > 0.063s] > > [INFO] overlays .. SUCCESS [ > > 0.000s] > > [INFO] reader SUCCESS [ > > 0.156s] > > [INFO] writer SUCCESS [ > > 0.015s] > > [INFO] statments ear . SUCCESS [ > > 0.125s] > > [INFO] > > > > [INFO] > > > > [INFO] BUILD SUCCESSFUL > > [INFO] > > > > [INFO] Total time: 2 minutes 24 seconds > > [INFO] Finished at: Wed Sep 05 09:40:07 EDT 2007 > > [INFO] Final Memory: 9M/32M > > [INFO] > > > > > > > > > > Next command > > > > mvn clean release:perform (from parent pom.xml working directory) > > > > ### omitting clean output > > [INFO] Executing: svn --non-interactive checkout > > http://sourceforge.purdueefcu.com/svn/repos/statements/tags/parent-1.0.0-beta-1 > > checkout > > [INFO] Working directory: c:\development\pefcu\statements\trunk\target > > [INFO] Executing goals 'deploy site-deploy'... > > [INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P > > pefcu-profile -DperformRelease=true > > [I
Spring Framework & Acegi Security project
Hi there, I'm testing a new little project that uses the Spring Framework and Acegi Security. This the relevant section from the pom (which is attached, BTW) org.springframework spring 2.0.6 org.acegisecurity acegi-security 1.0.4 org.acegisecurity acegi-security-tiger 1.0.4 When I issue a 'mvn package' I see that spring-2.0.6.jar is included (because I asked it to) and several spring-*-2.0.4 jars, which are needed by Acegi. How can I tell Acegi that I already have the Spring dependency covered (alberit with a newer one)? Best regards, Gerard. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 application.demo mavenflight war 20070906 Maven Demo Application junit junit 4.4 test javax.servlet servlet-api 2.4 provided javax.servlet.jsp jsp-api 2.0 provided javax.servlet jstl 1.1.2 org.springframework spring 2.0.6 org.acegisecurity acegi-security 1.0.4 org.acegisecurity acegi-security-tiger 1.0.4 mavenflight org.apache.maven.plugins maven-compiler-plugin true UTF-8 false 1.5 1.5 org.mortbay.jetty maven-jetty-plugin 6.1.5 / 58082 6 5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Scheduled Builds Timing out
if forced build works fine, scheduled build should work too because it's the same code that run both. The possible difference is if you have more than one build definition, the forced build use the default one. About logs, you must have the same log for scheduled and forced builds. I don't understand what's happen. Emmanuel Anshula a écrit : I dont think so. When I installed Continuum, I followed the standard installation instructions. I havent changed the logging configurations anywhere. These logs are for 1 day only. Continuum is running as a service and I have scheduled a build at 7:30 pm. Usually what I observe is that the logs get written at 7:30 pm when Continuum starts to checkout source and build the files. I am attaching one more file from a previo http://www.nabble.com/file/p12522974/wrapper.20070829.log wrapper.20070829.log us day as well, which has logs of some forced builds as well. Thanks Anshula Emmanuel Venisse wrote: Do you have redefined log levels? I don't see lot of logs in the file you sent. Anshula a écrit : Emmanuel, In the build-output-directory of each project as well as on the build result page, the last build that I can find is the last successful build. The Builds that have a timeout, did not generate a build result. The only place that it logged about the timeout was the Continuum log file/Wrapper.log. Should it have generated a build result ? Coz it did not get built at all... Thanks, Anshula Emmanuel Venisse wrote: In build result page, choose a build result with timeout ant take the build id, then go to the build-output-directory and send us the content of the build output you'll find in this directory. Emmanuel Anshula a écrit : Hi Emmanuel, The File is as attached. Thanks for the help. Anshula Emmanuel Venisse wrote: Can you send your logs? Anshula a écrit : Hi Emmanuel, Acutally right now I am just building, there are no unit tests added as of now. The build does not take more than 1-2 minutes, I tried building all projects locally and verified this. Regards, Anshula Emmanuel Venisse wrote: Maybe you have a test that hang out? Emmanuel Anshula a écrit : Hello all, I am using Continuum 1.1-beta-2 with Perforce to integrate all my projects in the build management system. I have been using it over a month or so, and have around 15 project groups/projects integrated into it. I have scheduled a build in the system which runs at 7:30 pm everyday. The build system has been running properly building when it detects changes at the scheduled time But since 2 days, everyday the builds are timing out. I have set a Maximum job execution time of 3600 secs. Each of the projects does not take more than 1 minute to build. Continuum queues all the projects and prints a warning in the log file like - "Task [EMAIL PROTECTED] didn't complete within time, cancelling it." And shows all the projects in queued state only. I need to restart Continuum to build them again. Thanks for your time. Any help will be appreciated. Regards, Anshula http://www.nabble.com/file/p12500482/wrapper.20070901.log wrapper.20070901.log
Re: SCM Plugin
see this link for doco http://maven.apache.org//scm/plugins/tag-mojo.html#tag On 9/6/07, Dan Tran <[EMAIL PROTECTED]> wrote: > try -Dtag= > > it is a bug that 'tag' param is not marked as required, please file a JIRA > > -D > > On 9/6/07, Mykel Alvis <[EMAIL PROTECTED]> wrote: > > I'm using 1.0 of the SCM plugin and I'm getting an odd behavior > > > > > > With maven 2.0.7, a working subversion SCM url and a build plugin as > > > > > >maven-scm-plugin > > > > tag > > > > > > > > > > [EMAIL PROTECTED] MEFoundation-1.0.x]$ mvn scm:tag > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'scm'. > > WAGON_VERSION: 1.0-beta-2 > > [INFO] > > > > [INFO] Building DSTHS MEFoundation EJB > > [INFO]task-segment: [scm:tag] (aggregator-style) > > [INFO] > > > > [INFO] [scm:tag] > > [INFO] Final Tag Name: 'null' > > [INFO] > > > > [ERROR] BUILD ERROR > > [INFO] > > > > [INFO] Cannot run tag command : > > > > Embedded error: Exception while executing SCM command. > > Missing parameter: 'tagName'. > > [INFO] > > > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > > [INFO] Total time: 3 seconds > > [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007 > > [INFO] Final Memory: 6M/127M > > [INFO] > > -- > > > > > > Why doesn't this work? According to what I read, the docs suggest that it > > will produce a tag call "tag". > > I might be missing the point, bit I don't think so. > > I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same > > thing. > > > > Mykel > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM Plugin
try -Dtag= it is a bug that 'tag' param is not marked as required, please file a JIRA -D On 9/6/07, Mykel Alvis <[EMAIL PROTECTED]> wrote: > I'm using 1.0 of the SCM plugin and I'm getting an odd behavior > > > With maven 2.0.7, a working subversion SCM url and a build plugin as > > >maven-scm-plugin > > tag > > > > > [EMAIL PROTECTED] MEFoundation-1.0.x]$ mvn scm:tag > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'scm'. > WAGON_VERSION: 1.0-beta-2 > [INFO] > > [INFO] Building DSTHS MEFoundation EJB > [INFO]task-segment: [scm:tag] (aggregator-style) > [INFO] > > [INFO] [scm:tag] > [INFO] Final Tag Name: 'null' > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Cannot run tag command : > > Embedded error: Exception while executing SCM command. > Missing parameter: 'tagName'. > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 3 seconds > [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007 > [INFO] Final Memory: 6M/127M > [INFO] > -- > > > Why doesn't this work? According to what I read, the docs suggest that it > will produce a tag call "tag". > I might be missing the point, bit I don't think so. > I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same > thing. > > Mykel > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: "Invalid task: you must specify a valid lifecycle phase"
I tryied to figure out the version of Maven that the plugin required, but I couldnt find it. Thanks! 2007/9/6, Tim Kettler <[EMAIL PROTECTED]>: > Hi, > > do you mean this [1] plugin? It's for maven 1 not for maven 2!! The > maven 2 plugin for dbuit is available at the mojo project over at > codehaus.org [2]. > > Additionally plugins are not declared as dependencies. They are > configured in the section of your pom. > > -Tim > > [1] http://maven-plugins.sourceforge.net/maven-dbunit-plugin/ > [2] http://mojo.codehaus.org/dbunit-maven-plugin/ > > Juan Ignacio Garzón schrieb: > > Hi! > > I cannot execute any goal of the dbunit plugin. I have added it on my > > project using: > > > > > > maven-plugins > > maven-dbunit-plugin > > 1.7 > > > > > > and it was correctly downloaded (its in the repo now). But when I try > > to execute"mvn dbunit", I get an error message: > > > > [INFO] Invalid task 'dbunit': you must specify a valid lifecycle > > phase, or a goal in the format plugin:goal or > > pluginGroupId:pluginArtifactId:pluginVersion:goal > > > > I also get an error when I run: > > mvn -e maven-plugins:maven-dbunit-plugin:1.7:dbunit > > > > "[INFO] The PluginDescriptor for the plugin Plugin > > [maven-plugins:maven-dbunit-plugin] was not found." > > > > Is there something I am missing? > > > > Thanks! > > > > - > > 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: continuum-trunk war refuses to start up
yes, we have a typo error in application.xml, I'm fixing it Emmanuel Graham Leggett a écrit : Hi all, While trying to test out the trunk version of continuum under apache-tomcat v5.5.20, I deployed the war to tomcat and started tomcat up. The war refused to deploy as below. It looks like the war file contains no log4j config, which is either directly causing the failure, or is hiding the real failure somewhere. Has anyone else seen this problem? INFO: Deploying web application archive continuum-webapp-1.1-beta-3-SNAPSHOT.war log4j:WARN No appenders could be found for logger (org.apache.commons.digester.D igester.sax). log4j:WARN Please initialize the log4j system properly. Sep 6, 2007 3:03:05 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Sep 6, 2007 3:03:05 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/continuum-webapp-1.1-beta-3-SNAPSHOT] startup failed due to pr evious errors Regards, Graham --
Re: Spring Framework & Acegi Security project
Hi, On 9/6/07, Eric Miles <[EMAIL PROTECTED]> wrote: > Use an exclusion like such: ... Yes, that worked alright! Not beautiful, but WTH. Thanks a lot, Gerard. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Archetype structure?
Gregory, Thanks for the reply. The thing I don't want in my directory structure is main/java/... I just want it to be src/com/mycompany/project/dao... It seems that if you use Mavens conventions, things are pretty straight forward, but as soon as you try to create your own conventions, things get pretty convoluted... Maybe its just my inexperience with the tool. Best Regards, MG On 9/5/07 5:27 PM, "Gregory Kick" <[EMAIL PROTECTED]> wrote: > I'd previously gotten this sort of thing to work by setting up the > archetype to look like: > .../archetype-resources/src/main/java/sub > > In your case sub would be dao, model, etc. I'd had some problems with > early versions of the archetype plugin, but as long as you're using > 1.0-alpha-4 or later, it should work. > > Finally, I've heard great things about how the new version of the > archetype plugin is shaping up. So, it might be worth investigating > because the setup effort is supposed to be greatly reduced. > > On 9/5/07, Michael Griffith <[EMAIL PROTECTED]> wrote: >> I wish to create my own archetype for Maven2, admittedly I am a nOOb, and >> this seems way more difficult than it should be. >> >> I want my directory structure to be: >> >> src-- >> com.mycompany.project.dao >> com.mycompany.project.dao.hibernate >> com.mycompany.project.model >> com.mycompany.project.service >> com.mycompany.project.service.impl >> com.mycompany.project.util >> com.mycompany.project.web >> >> test-- >> com.mycompany.project.dao >> com.mycompany.project.dao.hibernate >> com.mycompany.project.model >> com.mycompany.project.service >> com.mycompany.project.service.impl >> com.mycompany.project.util >> com.mycompany.project.web >> >> I've read the web examples on the Maven2 site, and downloaded the Maven 2 >> book, but it still is not clear to me how to set this up. I can't seem to >> get my archetype template correct. Any shove in the right direction would be >> much appreciated! >> >> Thanks in advance... >> >> Best Regards, >> >> MG >> >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > -- Michael Griffith Managing Partner, OpenPrinciple Consulting, LLC. http://www.openprinciple.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SCM Plugin
I'm using 1.0 of the SCM plugin and I'm getting an odd behavior With maven 2.0.7, a working subversion SCM url and a build plugin as maven-scm-plugin tag [EMAIL PROTECTED] MEFoundation-1.0.x]$ mvn scm:tag [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. WAGON_VERSION: 1.0-beta-2 [INFO] [INFO] Building DSTHS MEFoundation EJB [INFO]task-segment: [scm:tag] (aggregator-style) [INFO] [INFO] [scm:tag] [INFO] Final Tag Name: 'null' [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot run tag command : Embedded error: Exception while executing SCM command. Missing parameter: 'tagName'. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007 [INFO] Final Memory: 6M/127M [INFO] -- Why doesn't this work? According to what I read, the docs suggest that it will produce a tag call "tag". I might be missing the point, bit I don't think so. I also did a mvn -DtagName="TAG" scm:tag and it did essentially the same thing. Mykel
Re: Multiproject build fails
ping On 9/5/07, Todd Nine <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a multi project build in the standard directory structure. I'm > using subversion, and all my submodules will be built with the same version > as the parent. I can perform a prepare successfully, however when I perform > the release, the modules aren't built in the correct order based on their > dependencies, and the release fails. I'm able to perform a 'mvn clean > install', and they are built in the correct order, so it doesn't appear to > be an issue with the way I have defined my. I've included my prompts, I > can't seem to find anything wrong with my commands. > > > mvn clean release:clean release:prepare (from parent pom.xml working > directory) > > ### omitting clean > [INFO] Checking dependencies and plugins for snapshots ... > What is the release version for "Master Build Module for Parent"? ( > com.purdueefcu.statements:parent) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "dataaccess"? ( > com.purdueefcu.statements:dataaccess) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "common"? ( > com.purdueefcu.statements:common) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "parser"? ( > com.purdueefcu.statements:parser) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "processor"? ( > com.purdueefcu.statements:processor) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "mdb"? (com.purdueefcu.statements:mdb) > 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "overlays"? ( > com.purdueefcu.statements:overlays) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "reader"? ( > com.purdueefcu.statements:reader) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "writer"? ( > com.purdueefcu.statements:writer) 1.0.0-beta-2: : 1.0.0-beta-1 > What is the release version for "statments ear"? ( > com.purdueefcu.statements:statements-app) 1.0.0-beta-2: : 1.0.0-beta-1 > What is SCM release tag or label for "Master Build Module for Parent"? ( > com.purdueefcu.statements:parent) parent-1.0.0-beta-1: : > What is the new development version for "Master Build Module for Parent"? > (com.purdueefcu.statements:parent) 1.0.0-beta-3-SNAPSHOT: : 1.0.0- > beta-2-SNAPSHOT > > ### omitting junit test output ### > > [INFO] Executing: svn --non-interactive commit --file > c:\DOCUME~1\tnine\LOCALS~1\Temp\maven-scm-2128849133.commit --targets > c:\DOCUME~1\tnin > e\LOCALS~1\Temp\maven-scm-8191-targets > [INFO] Working directory: c:\development\pefcu\statements\trunk > [INFO] Release preparation complete. > [INFO] > [INFO] > [INFO] > > [INFO] Reactor Summary: > [INFO] > > [INFO] Master Build Module for Parent SUCCESS [2: > 14.438s] > [INFO] dataaccess SUCCESS [ > 0.016s] > [INFO] common SUCCESS [ > 0.000s] > [INFO] parser SUCCESS [ > 0.000s] > [INFO] processor . SUCCESS [ > 0.109s] > [INFO] mdb ... SUCCESS [ > 0.063s] > [INFO] overlays .. SUCCESS [ > 0.000s] > [INFO] reader SUCCESS [ > 0.156s] > [INFO] writer SUCCESS [ > 0.015s] > [INFO] statments ear . SUCCESS [ > 0.125s] > [INFO] > > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 2 minutes 24 seconds > [INFO] Finished at: Wed Sep 05 09:40:07 EDT 2007 > [INFO] Final Memory: 9M/32M > [INFO] > > > > > Next command > > mvn clean release:perform (from parent pom.xml working directory) > > ### omitting clean output > [INFO] Executing: svn --non-interactive checkout > http://sourceforge.purdueefcu.com/svn/repos/statements/tags/parent-1.0.0-beta-1 > checkout > [INFO] Working directory: c:\development\pefcu\statements\trunk\target > [INFO] Executing goals 'deploy site-deploy'... > [INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P > pefcu-profile -DperformRelease=true > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Master Build Module for Parent > [INFO] dataaccess > [INFO] common > [INFO] parser > [INFO] processor > [INFO] mdb > [INFO] overlays > [INFO] reader > [INFO] writer > [INFO] statments ea
[ANN] grails-maven-plugin 0.1
Hi Communities, I'm pleased to announce the availability of the first release of the grails-maven-plugin. I hope this plugin will ease the development of Grails applications with maven. Major features are actually : - POM creation from an existing Grails project. - A grails-app packaging defining - a customized default lifecycle with the following services : - runs grails unit-tests and integration-tests in test phase - runs grails web-tests in integration-test phase - copies projects dependencies of type jar which have not a provided scope in the lib directory. - creates a WAR archive using grails which can be installed and deployed by maven. - a customized clean lifecycle which call the clean target of grails and delete the libraries found in the lib directory (populated in the package phase of the default lifecycle) This version of the plugin is tested only with grails 0.5.6. I also encountered some issues with Grails and Maven which are listed in the FAQ : http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/faq.html Resources : - Plugin documentation : http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/ - Project's WIKI : http://forge.octo.com/confluence/display/MTG/Home - Issues Tracker : http://forge.octo.com/jira/browse/MTG - Mailing list : http://forge.octo.com/maven/sites/mtg/mail-lists.html Thanks for those who helped me to start this project : Guillaume Laforge, Graeme Rocher, Dave Syer, and all of those in the maven team who helped me to create my first maven 2 plugin from scratch. Have Fun with Grails and Maven. Cheers, .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Two different configuration for notifications ?
I guess i didnt conveyed my point correctly, actually what i wanted was some way to disable the email notifications (for the same project(s) during the day-time builds) and have the same enabled only for the nightly build done once every night..is that possible ? Another thing i noticed with the latest beta version was in case a build results in a failure an email is sent everytime (as scheduled through a cron exp) even if there isn't a change in build state Farhan. refering to the notification mechanism it Emmanuel Venisse wrote: > > notifiers are attached to a group/project and not to a build definition, > so for each build definitions of a project, the same notifier list is > used. > > Emmanuel > > mfs a écrit : >> Hello All, >> >> I want to configure continuum such that for every nightly build (for >> which i >> have defined a seperate cron expression using the administration -> >> schedule >> option) if an error occurs an email is sent to the notifiers (as in the >> pom) >> whereas i wouldnt want issue any notification for the build done >> otherwise >> during the day, like for now i have configured a build on every 15 mins. >> >> Is there a way to achieve the same..? so far it seems like the >> notification >> mechanism is global for all the builds and cannot be configured the way i >> want... >> >> Farhan. > > > -- View this message in context: http://www.nabble.com/Two-different-configuration-for-notifications---tf4388578.html#a12526652 Sent from the Continuum - Users mailing list archive at Nabble.com.
xdoclet maven plugin: Ambiguous subtask definition exception
I'm getting an error (Ambiguous subtask definition exception) while trying to run Maven from the top directory of a multi-module project that contains both EJBs and web apps. I've seen that this has been reported before and that a bug was created and has been closed ( http://jira.codehaus.org/browse/MOJO-223). Supposedly this is an xdoclet issue. Has anyone ran into this lately and found a way to work around this? The solution on the bug report won't work because it says the plugin doesn't exist. Also, are other developers not relying on a tool (xdoclet or ejbgen or ??) to create descriptors? Thanks, Brian
Re: Spring Framework & Acegi Security project
Gerard, Use an exclusion like such: org.acegisecurity acegi-security 1.0.3 compile org.springframework spring-remoting org.springframework spring-support org.springframework spring-web org.springframework spring-webmvc Eric On Thu, 2007-09-06 at 12:34 -0400, Gerard Lancome wrote: > Hi there, > > I'm testing a new little project that uses the Spring Framework and > Acegi Security. This the relevant section from the pom (which is > attached, BTW) > > > org.springframework > spring > 2.0.6 > > > > org.acegisecurity > acegi-security > 1.0.4 > > > > org.acegisecurity > acegi-security-tiger > 1.0.4 > > > When I issue a 'mvn package' I see that spring-2.0.6.jar is included > (because I asked it to) and several spring-*-2.0.4 jars, which are > needed by Acegi. How can I tell Acegi that I already have the Spring > dependency covered (alberit with a newer one)? > > Best regards, > Gerard. > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
Spring Framework & Acegi Security project
Hi there, I'm testing a new little project that uses the Spring Framework and Acegi Security. This the relevant section from the pom (which is attached, BTW) org.springframework spring 2.0.6 org.acegisecurity acegi-security 1.0.4 org.acegisecurity acegi-security-tiger 1.0.4 When I issue a 'mvn package' I see that spring-2.0.6.jar is included (because I asked it to) and several spring-*-2.0.4 jars, which are needed by Acegi. How can I tell Acegi that I already have the Spring dependency covered (alberit with a newer one)? Best regards, Gerard. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 application.demo mavenflight war 20070906 Maven Demo Application junit junit 4.4 test javax.servlet servlet-api 2.4 provided javax.servlet.jsp jsp-api 2.0 provided javax.servlet jstl 1.1.2 org.springframework spring 2.0.6 org.acegisecurity acegi-security 1.0.4 org.acegisecurity acegi-security-tiger 1.0.4 mavenflight org.apache.maven.plugins maven-compiler-plugin true UTF-8 false 1.5 1.5 org.mortbay.jetty maven-jetty-plugin 6.1.5 / 58082 6 5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PMD parameters
Hello. May someone please inform me on how to call the PMD Reporting Plugin to acquire Code Complexity analysis. Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: [M2] Maven 2 and WebDav protocol
As I mentioned in my first post, I followed the instructions from this article (http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV ) So it is not correct because it uses a bad url: -Durl=http://localhost:8080/archiva/repository/myrepo It would be nice to update this article and to explain that you have to use "dav" as wagon protocol Thanks, Rémy
Re: [M2] Maven 2 and WebDav protocol
2007/9/6, Carlos Sanchez <[EMAIL PROTECTED]>: > > you need to use "dav" as wagon protocol, not http or webdav > > something like > dav:https://dav.codehaus.org/snapshots.repository/mojo/ > My problem was here ! I used http://myhost/inhouse rather than dav:http://myhost/inhouse Now it works like a charm ! Many thanks Carlos and for all. Rémy
RE: problem with deploying a non-SNAPSHOT version to the respository
I found the problem. As I need to deploy to maven1 repository at the same time, at first I defined maven1 repo in distributionManagement, and comment out maven2 non-SNAPSHOT repo. That caused the problem because it could not find the repo. It doesn't need to define maven1 repo in distributionManagement, because I use maven-one-plugin to do it. I only need to define maven2 repo in distributionManagement and that solved the problem. baoli From: Baoli Zhang [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 9:33 AM To: users@maven.apache.org Subject: problem with deploying a non-SNAPSHOT version to the respository Hi, I am using maven2 for the new project. When I deploy a SNAPSHOT version to the repository, it was successful. But when I change the version to an non-SNAPSHOT version, like I changed the build.version=1.0.0.77, I got the error as following. All the settings are same. I attach my settings (for windows ) and pom.xml here: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error deploying artifact: Error executing command for transfer Exit code 1 - 'ssh' is not recognized as an internal or external command, operable program or batch file. The second question: On windows, I have to use scpexe:// for deploy, but on unix I have to change to scp://. Any one knows how to combine them to one? I don't want to have 2 version of code. Any help would be much appreciated. Baoli zhang [EMAIL PROTECTED] The information contained in this e-mail message and any attachments may be privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this e-mail and delete the message and any attachments from your computer.
Re: [M2] Maven 2 and WebDav protocol
you need to use "dav" as wagon protocol, not http or webdav something like dav:https://dav.codehaus.org/snapshots.repository/mojo/ check the mojo pom for an example http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/16/mojo-16.pom On 9/6/07, Piotr Tabor <[EMAIL PROTECTED]> wrote: > Wagon creates directory, but for WEB-DAV protocol. > It doesn't create directories for wagon-http-lightweight protocol > (AFAIK this protocol doesn't support creating directories at all). > > The problem is the wagon by default binds https://... to this > wagon-http-lightweight, > but not to web-dav. > > To make the thinks worse webdav://... also does not work for me in > release plugin. > > Thank you, > Piotr Tabor > > > Carlos Sanchez pisze: > > check the permissions because wagon definitely creates the dirs > > > > On 9/6/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: > > > >> Hi Michael, > >> > >> Sorry for my late reply, but I am quite busy at the moment... > >> > >> 2007/9/1, Michael McCallum <[EMAIL PROTECTED]>: > >> > >>> cat /etc/debian_version > >>> lenny/sid > >>> > >>> enabled dav and dav_fs > >>> if you need auth - i recommend - > >>> using digest authentication > >>> > >>> > >>> Dav on > >>> > >>> > >>> thats all nothing magic > >>> > >> It seems that our apache configuration is ok (cf. our configuration at the > >> end). > >> > >> are you using ssl? if you you need to ensure that the vm running maven > >> > >>> trusts > >>> the certificate > >>> > >> Not for the moment. > >> > >> We continue some tests this morning and it seems effectively that > >> wagon-webdav do not ask for the creation of the directories before > >> uploading > >> the artifact as we can see in the following logs : > >> > >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT > >> new contents for > >>/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- > >> plugin-1.0-20070906.083623-1.jar. > >>[403, #0] > >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file > >> or directory: An error occurred while opening a > >>resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client > >> 10.194.3.100] File does not > >>exist: /home/maven2/proximity/inhouse.snapshot/storage/com > >> > >> If I create the com directory then I have the same error log for the next > >> directory: test > >> > >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT > >> new contents for > >>/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- > >> plugin-1.0-20070906.083623-1.jar. > >>[403, #0] > >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file > >> or directory: An error occurred while opening a > >>resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client > >> 10.194.3.100] File does not > >>exist: /home/maven2/proximity/inhouse.snapshot/storage/com/test > >> > >> Here is my configuration: > >> - apache version: > >> ii apache2-mpm-itk 2.2.3-01-1+b7multiuser > >> MPM for Apache 2.2 > >> ii apache2.2-common 2.2.3-4+etch1Next > >> generation, scalable, extendable web server > >> > >> - apache conf: > >> > >> NameVirtualHost *:80 > >> > >> AuthLDAPURL > >> ldap://gdc1.mydomain.fr:389/OU=Annuaire,DC=rd,DC=mydomain,DC=fr?sAMAccountName?base?(objectClass=user) > >> > >> > >> > >> ServerName gmaven2.mydomain.fr > >> DocumentRoot /home/maven2/proximity > >> SuexecUserGroup tomcat55 www-data > >> > >> Alias /inhouse /home/maven2/proximity/inhouse/storage > >> Alias /inhouse.snapshot /home/maven2/proximity/inhouse.snapshot/storage > >> > >> DavLockDB /var/lock/dav/DavLock > >> > >> > >> Options Indexes FollowSymLinks MultiViews ExecCGI > >> AllowOverride None > >> Order allow,deny > >> allow from all > >>AuthType Basic > >>AuthBasicProvider file ldap-alias1 > >>AuthName LDAP_Protected_Place > >>AuthzLDAPAuthoritative off > >>AuthUserFile /var/lib/misc/htpasswd > >> Require valid-user > >> DAV On > >> > >> > >> > >> I use the 1.0-beta-2 version of wagon-webdav. > >> > >> > >>org.apache.maven.wagon > >>wagon-webdav > >>1.0-beta-2 > >> > >> > >> > >> Thanks, > >> > >> Rémy > >> > >> > > > > > > > > > - > 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]
Re: How can i setup the dependency on more than one repos in certain order?
Ossi, thanks for your reply. Why are we using profile in this case? In http://maven.apache.org/guides/mini/guide-multiple-repositories.html, it seems like a standard pom.xml file that specify several repositories in order. Thats all right? Would you please give coding example for a simple implementation? dev repo - a repo for developers to change things for testing. stage and production repo - repos that controlled by release engineering group. search order - production, stage, then dev. Thanks. On 9/6/07, ossi petz <[EMAIL PROTECTED]> wrote: > > hallo > > yes the order of the repositories is kept when looking for artifacts. > > you can define repositores in settings.xml or in a profile in a parent > pom. > > but from here: do you plan to put different artifacts with the same > groupId/artifactId/version into your repositories? > so dev-repo will contain a group/id/artifactId-product-version.jar > and stage-repo too? but both jars are not actually the same? > > it might turn out difficult to say what ends up in you build! once an > artifact is found in stage, the prod build may not come to the expected > result since the prod jar will not be searched. > > i would strongly recommend using the version to distinguish the > different types (1.0.0-dev, 1.0.0-stage) if you do not plan to use > snapshot builds. > > jars will be send around. if it does not have an unique name things will > go wrong. > > > hope to help a little bit :) > regards > > ossi > > > > Baz schrieb: > > I saw the followings at, > > http://maven.apache.org/guides/mini/guide-multiple-repositories.html. > Does > > it mean my compilation will now look for my-repo1 first, then my-repo2? > > > > If so, can i define this at super pom so i only need to do it once? > > > > Thanks. > > > > > > > > ... > > > > > > my-repo1 > > your custom repo > > http://jarsm2.dyndns.dk > > > > > > my-repo2 > > your custom repo > > http://jarsm2.dyndns.dk > > > > > > ... > > > > > > > > > > > > On 9/6/07, Baz <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> How can i setup the dependency on more than one repos in certain order? > >> For example, production repo, stage repo, then dev repo? > >> > >> Thanks. > >> > >> A. > >> > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Scheduled Builds Timing out
Emmanuel, Could it be an issue of Continuum and Perforce? I can see that there are many open bugs regarding using Perforce as an SCM in Continuum. I still have't been able to get it working..! Thanks, Anshula Emmanuel Venisse wrote: > > ok, I'll try to add the build output even if the timeout appears > > Emmanuel > > Anshula a écrit : >> Emmanuel, >> >> In the build-output-directory of each project as well as on the build >> result >> page, the last build that I can find is the last successful build. >> The Builds that have a timeout, did not generate a build result. >> The only place that it logged about the timeout was the Continuum log >> file/Wrapper.log. >> Should it have generated a build result ? Coz it did not get built at >> all... >> >> Thanks, >> Anshula >> >> >> Emmanuel Venisse wrote: >>> In build result page, choose a build result with timeout ant take the >>> build id, then go to the build-output-directory and send us the content >>> of >>> the build output you'll find in this directory. >>> >>> Emmanuel >>> >>> Anshula a écrit : Hi Emmanuel, The File is as attached. Thanks for the help. Anshula Emmanuel Venisse wrote: > Can you send your logs? > > Anshula a écrit : >> Hi Emmanuel, >> >> Acutally right now I am just building, there are no unit tests added >> as >> of >> now. The build does not take more than 1-2 minutes, I tried building >> all >> projects locally and verified this. >> >> Regards, >> Anshula >> >> >> Emmanuel Venisse wrote: >>> Maybe you have a test that hang out? >>> >>> Emmanuel >>> >>> Anshula a écrit : Hello all, I am using Continuum 1.1-beta-2 with Perforce to integrate all my projects in the build management system. I have been using it over a month or so, and have around 15 project groups/projects integrated into it. I have scheduled a build in the system which runs at 7:30 pm everyday. The build system has been running properly building when it detects changes at the scheduled time But since 2 days, everyday the builds are timing out. I have set a Maximum job execution time of 3600 secs. Each of the projects does not take more than 1 minute to build. Continuum queues all the projects and prints a warning in the log file like - "Task [EMAIL PROTECTED] didn't complete within time, cancelling it." And shows all the projects in queued state only. I need to restart Continuum to build them again. Thanks for your time. Any help will be appreciated. Regards, Anshula > http://www.nabble.com/file/p12500482/wrapper.20070901.log wrapper.20070901.log >>> >>> >> > > > -- View this message in context: http://www.nabble.com/Scheduled-Builds-Timing-out-tf4384387.html#a12525374 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: [M2] Maven 2 and WebDav protocol
Wagon creates directory, but for WEB-DAV protocol. It doesn't create directories for wagon-http-lightweight protocol (AFAIK this protocol doesn't support creating directories at all). The problem is the wagon by default binds https://... to this wagon-http-lightweight, but not to web-dav. To make the thinks worse webdav://... also does not work for me in release plugin. Thank you, Piotr Tabor Carlos Sanchez pisze: > check the permissions because wagon definitely creates the dirs > > On 9/6/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: > >> Hi Michael, >> >> Sorry for my late reply, but I am quite busy at the moment... >> >> 2007/9/1, Michael McCallum <[EMAIL PROTECTED]>: >> >>> cat /etc/debian_version >>> lenny/sid >>> >>> enabled dav and dav_fs >>> if you need auth - i recommend - >>> using digest authentication >>> >>> >>> Dav on >>> >>> >>> thats all nothing magic >>> >> It seems that our apache configuration is ok (cf. our configuration at the >> end). >> >> are you using ssl? if you you need to ensure that the vm running maven >> >>> trusts >>> the certificate >>> >> Not for the moment. >> >> We continue some tests this morning and it seems effectively that >> wagon-webdav do not ask for the creation of the directories before uploading >> the artifact as we can see in the following logs : >> >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT >> new contents for >>/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- >> plugin-1.0-20070906.083623-1.jar. >>[403, #0] >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file >> or directory: An error occurred while opening a >>resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client >> 10.194.3.100] File does not >>exist: /home/maven2/proximity/inhouse.snapshot/storage/com >> >> If I create the com directory then I have the same error log for the next >> directory: test >> >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT >> new contents for >>/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- >> plugin-1.0-20070906.083623-1.jar. >>[403, #0] >>[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file >> or directory: An error occurred while opening a >>resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client >> 10.194.3.100] File does not >>exist: /home/maven2/proximity/inhouse.snapshot/storage/com/test >> >> Here is my configuration: >> - apache version: >> ii apache2-mpm-itk 2.2.3-01-1+b7multiuser >> MPM for Apache 2.2 >> ii apache2.2-common 2.2.3-4+etch1Next >> generation, scalable, extendable web server >> >> - apache conf: >> >> NameVirtualHost *:80 >> >> AuthLDAPURL >> ldap://gdc1.mydomain.fr:389/OU=Annuaire,DC=rd,DC=mydomain,DC=fr?sAMAccountName?base?(objectClass=user) >> >> >> >> ServerName gmaven2.mydomain.fr >> DocumentRoot /home/maven2/proximity >> SuexecUserGroup tomcat55 www-data >> >> Alias /inhouse /home/maven2/proximity/inhouse/storage >> Alias /inhouse.snapshot /home/maven2/proximity/inhouse.snapshot/storage >> >> DavLockDB /var/lock/dav/DavLock >> >> >> Options Indexes FollowSymLinks MultiViews ExecCGI >> AllowOverride None >> Order allow,deny >> allow from all >>AuthType Basic >>AuthBasicProvider file ldap-alias1 >>AuthName LDAP_Protected_Place >>AuthzLDAPAuthoritative off >>AuthUserFile /var/lib/misc/htpasswd >> Require valid-user >> DAV On >> >> >> >> I use the 1.0-beta-2 version of wagon-webdav. >> >> >>org.apache.maven.wagon >>wagon-webdav >>1.0-beta-2 >> >> >> >> Thanks, >> >> Rémy >> >> > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Maven 2 and WebDav protocol
check the permissions because wagon definitely creates the dirs On 9/6/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: > Hi Michael, > > Sorry for my late reply, but I am quite busy at the moment... > > 2007/9/1, Michael McCallum <[EMAIL PROTECTED]>: > > > > cat /etc/debian_version > > lenny/sid > > > > enabled dav and dav_fs > > if you need auth - i recommend - > > using digest authentication > > > > > > Dav on > > > > > > thats all nothing magic > > > It seems that our apache configuration is ok (cf. our configuration at the > end). > > are you using ssl? if you you need to ensure that the vm running maven > > trusts > > the certificate > > > Not for the moment. > > We continue some tests this morning and it seems effectively that > wagon-webdav do not ask for the creation of the directories before uploading > the artifact as we can see in the following logs : > >[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT > new contents for >/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- > plugin-1.0-20070906.083623-1.jar. >[403, #0] >[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file > or directory: An error occurred while opening a >resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client > 10.194.3.100] File does not >exist: /home/maven2/proximity/inhouse.snapshot/storage/com > > If I create the com directory then I have the same error log for the next > directory: test > >[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT > new contents for >/inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- > plugin-1.0-20070906.083623-1.jar. >[403, #0] >[Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file > or directory: An error occurred while opening a >resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client > 10.194.3.100] File does not >exist: /home/maven2/proximity/inhouse.snapshot/storage/com/test > > Here is my configuration: > - apache version: > ii apache2-mpm-itk 2.2.3-01-1+b7multiuser > MPM for Apache 2.2 > ii apache2.2-common 2.2.3-4+etch1Next > generation, scalable, extendable web server > > - apache conf: > > NameVirtualHost *:80 > > AuthLDAPURL > ldap://gdc1.mydomain.fr:389/OU=Annuaire,DC=rd,DC=mydomain,DC=fr?sAMAccountName?base?(objectClass=user) > > > > ServerName gmaven2.mydomain.fr > DocumentRoot /home/maven2/proximity > SuexecUserGroup tomcat55 www-data > > Alias /inhouse /home/maven2/proximity/inhouse/storage > Alias /inhouse.snapshot /home/maven2/proximity/inhouse.snapshot/storage > > DavLockDB /var/lock/dav/DavLock > > > Options Indexes FollowSymLinks MultiViews ExecCGI > AllowOverride None > Order allow,deny > allow from all >AuthType Basic >AuthBasicProvider file ldap-alias1 >AuthName LDAP_Protected_Place >AuthzLDAPAuthoritative off >AuthUserFile /var/lib/misc/htpasswd > Require valid-user > DAV On > > > > I use the 1.0-beta-2 version of wagon-webdav. > > >org.apache.maven.wagon >wagon-webdav >1.0-beta-2 > > > > Thanks, > > Rémy > -- 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]
Re: Build javadoc of dependencies?
On 9/5/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > Hi, > > I have a project which is structured like this: > > +- parent > | > +- core > | > +- webapp > > (In practice, it's a little bit more complex, but the picture is > sufficient to show the use case.) > > When running the javadoc plugin, I get the javadocs of the separate > projects. I would like to have the javadocs of all projects aggregated > into the webapp project. The plugins "aggregate" property doesn't help > me, because its designed for parent projects. > You could set up a fourth project with packaging pom that serves as parent for the other three (i.e. the other tree projects are modules of the new project). The Javadoc plugin's aggregate function should work then. - Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: profile inheritance and activation
Hi ossi, thank you very much for your reaction, I just figured it out searching in Nabble's archives, so I prepared myself to ask for help on what I needed instead of how to inherit profiles to accomplish it :-) So the idea is to: - access the filter properties file corresponding to the target environment - override waven war plugin behaviour for local deployment only (that is setting another webapp directory than the Maven's default target/artifactId) - activate the local profile by default if none is provided through the CLI (with -P profileId). I've got several filter properties files under parent/src/main/filters: - filter-local.properties - filter-dev.properties and I would like the path to the deploy folder of my AS (JBoss) user dependent. Here are more relevant extracts: *** parent POM *** ${parent.relativePath}/src/main/filters/filter-${env}.properties local local org.apache.maven.plugins maven-war-plugin ${appserver.deploy}/${build.finalName}.war dev dev *** moduleN POM *** true src/main/resources *** user's settings.xml *** local true /path/to/deploy/folder When launching the CLI 'mvn install' in a module or the parent, everything works fine, but with 'mvn install -P dev' it seems that the 'local' profile (activeByDefault) is not deactivated. The 'env' property is ok, as the right filter properties file is chosen, but it still assemble the webapp under 'appserver.deploy', which is not asked (see pluginManagement under 'local' profile) and the property itself shouldn't be set (see user's settings.xml). I've found the following interesting issue in Jira: http://jira.codehaus.org/browse/MNG-2136 But I still don't understand why the 'local' profile is not deactivated. If not possible, should there be another way to meet my needs? Thanks, Philippe On 9/6/07, ossi petz <[EMAIL PROTECTED]> wrote: > hallo > > the profiles are not inherited to child modules, but the effects are. so > the child will not show the profile as active but it will work nontheless. > > see: http://www.nabble.com/Profile-inheritance-tf2953156s177.html#a8259757 > for a better explanation > > regards > ossi > > > > Philippe Le Marchand schrieb: > > Hi all, > > > > This is my first post, necessary as I can't find an answer in the archives > > ;-) > > > > I'm trying to define profiles, mainly for filtering purpose, on > > different modules of my project: local, test and prod, for instance. > > I configured my project and modules with inheritance and aggregation, > > which is working fine except that profiles defined in the parent's POM > > doesn't seem to be inherited by its modules. > > > > Here is an extract from the parent's POM: > > > > > > parent-groupId > > parent-artifactId > > pom > > 1.0-SNAPSHOT > > > > > > ../module1 > > ../module2 > > > > > > > > > > local > > > > local > > > > > > > > dev > > > > dev > > > > > > > > > > Here is an extract from the module1's POM: > > > > > > > > parent-groupId > > parent-artifactId > > 1.0-SNAPSHOT > > ../parent > > > > > > module1-groupId > > module1-artifactId > > jar > > 1.0-SNAPSHOT > > > > > > The module2's POM is the same with 'module2' as ids and 'war' as packaging. > > > > When launching the following CLI in the parent's base dir : > > > > > > mvn help:active-profiles -P local > > > > > > I see : > > > > > > Active Profiles for Project > > 'parent-groupId:parent-artifactId:pom:1.0-SNAPSHOT': > > > > The following profiles are active: > > > > - local (source: pom) > > - alwaysActiveProfile (source: settings.xml) > > > > Active Profiles for Project > > 'module1-groupId:module1-artifactId:jar:1.0-SNAPSHOT': > > > > The following profiles are active: > > > > - alwaysActiveProfile (source: settings.xml) > > > > > > Active Profiles for Project > > 'module2-groupId:module2-artifactId:war:1.0-SNAPSHOT': > > > > The following profiles are active: > > > > - alwaysActiveProfile (source: settings.xml) > > > > > > Same result with '-P dev' in the CLI, and same problem running the CLI > > in a module's base dir. > > > > How can I have 'local' or 'dev' profile active in the modules? > > > > Thanks for your help, > > > > Philippe > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating Dynamic Web Projects for Eclipse and Tomcat
Hi! I was wondering... What is the best way to set up Maven, Eclipse and Tomcat to work together? I want to handle external library dependencies in Maven 2, build a project (preferably Dynamic Web Project) for Eclipse 3.3.0 (using something like mvn eclipse:eclipse) and then using Tomcat server 5.5 which can be run from Eclipse, serving web pages that are updated as soon as I build my Eclipse project. localhost will do fine as host name, we will probably deploy a WAR file when we reach production. Tomcat works fine with Dynamic Web projects in Eclipse, but I can't get Maven to generate Dynamic Web Projects for Eclipse, only regular Java projects. Is there a way to make Maven do this, or alternatively, can I generate servlets for web pages from a regular Java project in Eclipse without having to go the long way through WAR deployment? -- View this message in context: http://www.nabble.com/Creating-Dynamic-Web-Projects-for-Eclipse-and-Tomcat-tf4392667s177.html#a12524283 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can i setup the dependency on more than one repos in certain order?
hallo yes the order of the repositories is kept when looking for artifacts. you can define repositores in settings.xml or in a profile in a parent pom. but from here: do you plan to put different artifacts with the same groupId/artifactId/version into your repositories? so dev-repo will contain a group/id/artifactId-product-version.jar and stage-repo too? but both jars are not actually the same? it might turn out difficult to say what ends up in you build! once an artifact is found in stage, the prod build may not come to the expected result since the prod jar will not be searched. i would strongly recommend using the version to distinguish the different types (1.0.0-dev, 1.0.0-stage) if you do not plan to use snapshot builds. jars will be send around. if it does not have an unique name things will go wrong. hope to help a little bit :) regards ossi Baz schrieb: I saw the followings at, http://maven.apache.org/guides/mini/guide-multiple-repositories.html. Does it mean my compilation will now look for my-repo1 first, then my-repo2? If so, can i define this at super pom so i only need to do it once? Thanks. ... my-repo1 your custom repo http://jarsm2.dyndns.dk my-repo2 your custom repo http://jarsm2.dyndns.dk ... On 9/6/07, Baz <[EMAIL PROTECTED]> wrote: Hi, How can i setup the dependency on more than one repos in certain order? For example, production repo, stage repo, then dev repo? Thanks. A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: profile inheritance and activation
hallo the profiles are not inherited to child modules, but the effects are. so the child will not show the profile as active but it will work nontheless. see: http://www.nabble.com/Profile-inheritance-tf2953156s177.html#a8259757 for a better explanation regards ossi Philippe Le Marchand schrieb: Hi all, This is my first post, necessary as I can't find an answer in the archives ;-) I'm trying to define profiles, mainly for filtering purpose, on different modules of my project: local, test and prod, for instance. I configured my project and modules with inheritance and aggregation, which is working fine except that profiles defined in the parent's POM doesn't seem to be inherited by its modules. Here is an extract from the parent's POM: parent-groupId parent-artifactId pom 1.0-SNAPSHOT ../module1 ../module2 local local dev dev Here is an extract from the module1's POM: parent-groupId parent-artifactId 1.0-SNAPSHOT ../parent module1-groupId module1-artifactId jar 1.0-SNAPSHOT The module2's POM is the same with 'module2' as ids and 'war' as packaging. When launching the following CLI in the parent's base dir : mvn help:active-profiles -P local I see : Active Profiles for Project 'parent-groupId:parent-artifactId:pom:1.0-SNAPSHOT': The following profiles are active: - local (source: pom) - alwaysActiveProfile (source: settings.xml) Active Profiles for Project 'module1-groupId:module1-artifactId:jar:1.0-SNAPSHOT': The following profiles are active: - alwaysActiveProfile (source: settings.xml) Active Profiles for Project 'module2-groupId:module2-artifactId:war:1.0-SNAPSHOT': The following profiles are active: - alwaysActiveProfile (source: settings.xml) Same result with '-P dev' in the CLI, and same problem running the CLI in a module's base dir. How can I have 'local' or 'dev' profile active in the modules? Thanks for your help, Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
profile inheritance and activation
Hi all, This is my first post, necessary as I can't find an answer in the archives ;-) I'm trying to define profiles, mainly for filtering purpose, on different modules of my project: local, test and prod, for instance. I configured my project and modules with inheritance and aggregation, which is working fine except that profiles defined in the parent's POM doesn't seem to be inherited by its modules. Here is an extract from the parent's POM: parent-groupId parent-artifactId pom 1.0-SNAPSHOT ../module1 ../module2 local local dev dev Here is an extract from the module1's POM: parent-groupId parent-artifactId 1.0-SNAPSHOT ../parent module1-groupId module1-artifactId jar 1.0-SNAPSHOT The module2's POM is the same with 'module2' as ids and 'war' as packaging. When launching the following CLI in the parent's base dir : mvn help:active-profiles -P local I see : Active Profiles for Project 'parent-groupId:parent-artifactId:pom:1.0-SNAPSHOT': The following profiles are active: - local (source: pom) - alwaysActiveProfile (source: settings.xml) Active Profiles for Project 'module1-groupId:module1-artifactId:jar:1.0-SNAPSHOT': The following profiles are active: - alwaysActiveProfile (source: settings.xml) Active Profiles for Project 'module2-groupId:module2-artifactId:war:1.0-SNAPSHOT': The following profiles are active: - alwaysActiveProfile (source: settings.xml) Same result with '-P dev' in the CLI, and same problem running the CLI in a module's base dir. How can I have 'local' or 'dev' profile active in the modules? Thanks for your help, Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 dashboard-plugin clover historic report data missing
Great, thanks, let me know if you need anymore information. dvicente wrote: > > no error in the log file. > > I will do new tests with clover and i keep you informed. > > Best regards > > David > > Jimbog wrote: >> >> >> >> dvicente wrote: >>> >>> Hi, >>> >>> I'm the dashboard project leader. >>> >>> No, i haven't seen this error before. >>> >>> it must be a bug of dashboard plugin but could you do a mvn -e -X >>> dashboard-report:dashboard and redirect the output to a log file and >>> upload it as an attachment ? >>> >>> >>> Jimbog wrote: Hi, I have an M2 multi project, with the dashboard plug-in amalgamating all of our clover, maven, checkstyle, pmd and cpd reports. The plug-in also persists all the data for these reports. However, when I generate the historic html, the clover chart contains no data, despite the data being persisted in the database. All the other charts display data, and the clover reports are shown in the dash board report page. Is this a bug in the dashboard plugin? Has anyone else seen this ? Thanks James >>> >>> >> http://www.nabble.com/file/p12523267/historicClover.zip >> historicClover.zip >> > > -- View this message in context: http://www.nabble.com/Maven-2-dashboard-plugin-clover-historic-report-data-missing-tf4392197s177.html#a12523913 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 dashboard-plugin clover historic report data missing
no error in the log file. I will do new tests with clover and i keep you informed. Best regards David Jimbog wrote: > > > > dvicente wrote: >> >> Hi, >> >> I'm the dashboard project leader. >> >> No, i haven't seen this error before. >> >> it must be a bug of dashboard plugin but could you do a mvn -e -X >> dashboard-report:dashboard and redirect the output to a log file and >> upload it as an attachment ? >> >> >> Jimbog wrote: >>> >>> Hi, >>> I have an M2 multi project, with the dashboard plug-in amalgamating all >>> of our clover, maven, checkstyle, pmd and cpd reports. The plug-in also >>> persists all the data for these reports. >>> However, when I generate the historic html, the clover chart contains no >>> data, despite the data being persisted in the database. All the other >>> charts display data, and the clover reports are shown in the dash >>> board report page. >>> Is this a bug in the dashboard plugin? Has anyone else seen this ? >>> >>> Thanks >>> James >>> >> >> > http://www.nabble.com/file/p12523267/historicClover.zip > historicClover.zip > -- View this message in context: http://www.nabble.com/Maven-2-dashboard-plugin-clover-historic-report-data-missing-tf4392197s177.html#a12523793 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can i setup the dependency on more than one repos in certain order?
I saw the followings at, http://maven.apache.org/guides/mini/guide-multiple-repositories.html. Does it mean my compilation will now look for my-repo1 first, then my-repo2? If so, can i define this at super pom so i only need to do it once? Thanks. ... my-repo1 your custom repo http://jarsm2.dyndns.dk my-repo2 your custom repo http://jarsm2.dyndns.dk ... On 9/6/07, Baz <[EMAIL PROTECTED]> wrote: > > Hi, > > How can i setup the dependency on more than one repos in certain order? > For example, production repo, stage repo, then dev repo? > > Thanks. > > A. >
Re: Q4E, a new Eclipse plugin for Maven
hallo if you have plans to use wtp and m2eclipse you will need to move to eclipse 3.3 anyway. so plan some upgrades in the near future :) regards ossi Bernard Lupin schrieb: Hi Carlos, It seems that Q is only available with Eclipse 3.3. Unfortunately, all our workstations are currently using Eclipse 3.2.2. Could you confirm that 3.3 is the actual minimum version of Eclipse ? Could I hope Q to be available on Eclipse 3.2.2 in the future ? Regards, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error: "Invalid task: you must specify a valid lifecycle phase"
Hi, do you mean this [1] plugin? It's for maven 1 not for maven 2!! The maven 2 plugin for dbuit is available at the mojo project over at codehaus.org [2]. Additionally plugins are not declared as dependencies. They are configured in the section of your pom. -Tim [1] http://maven-plugins.sourceforge.net/maven-dbunit-plugin/ [2] http://mojo.codehaus.org/dbunit-maven-plugin/ Juan Ignacio Garzón schrieb: Hi! I cannot execute any goal of the dbunit plugin. I have added it on my project using: maven-plugins maven-dbunit-plugin 1.7 and it was correctly downloaded (its in the repo now). But when I try to execute"mvn dbunit", I get an error message: [INFO] Invalid task 'dbunit': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal I also get an error when I run: mvn -e maven-plugins:maven-dbunit-plugin:1.7:dbunit "[INFO] The PluginDescriptor for the plugin Plugin [maven-plugins:maven-dbunit-plugin] was not found." Is there something I am missing? Thanks! - 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 can i setup the dependency on more than one repos in certain order?
Hi, How can i setup the dependency on more than one repos in certain order? For example, production repo, stage repo, then dev repo? Thanks. A.
Re: Q4E - A user's view
indeed some wtp support statements would be interesting. wtp with filtering too :) ossi Arnaud HERITIER schrieb: I tested it a little bit and effectively it's working fine. Great job guys !! Is there someone who tested if with WTP ? Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error: "Invalid task: you must specify a valid lifecycle phase"
Hi! I cannot execute any goal of the dbunit plugin. I have added it on my project using: maven-plugins maven-dbunit-plugin 1.7 and it was correctly downloaded (its in the repo now). But when I try to execute"mvn dbunit", I get an error message: [INFO] Invalid task 'dbunit': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal I also get an error when I run: mvn -e maven-plugins:maven-dbunit-plugin:1.7:dbunit "[INFO] The PluginDescriptor for the plugin Plugin [maven-plugins:maven-dbunit-plugin] was not found." Is there something I am missing? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 dashboard-plugin clover historic report data missing
dvicente wrote: > > Hi, > > I'm the dashboard project leader. > > No, i haven't seen this error before. > > it must be a bug of dashboard plugin but could you do a mvn -e -X > dashboard-report:dashboard and redirect the output to a log file and > upload it as an attachment ? > > > Jimbog wrote: >> >> Hi, >> I have an M2 multi project, with the dashboard plug-in amalgamating all >> of our clover, maven, checkstyle, pmd and cpd reports. The plug-in also >> persists all the data for these reports. >> However, when I generate the historic html, the clover chart contains no >> data, despite the data being persisted in the database. All the other >> charts display data, and the clover reports are shown in the dash >> board report page. >> Is this a bug in the dashboard plugin? Has anyone else seen this ? >> >> Thanks >> James >> > > http://www.nabble.com/file/p12523267/historicClover.zip historicClover.zip -- View this message in context: http://www.nabble.com/Maven-2-dashboard-plugin-clover-historic-report-data-missing-tf4392197s177.html#a12523267 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: Scheduled Builds Timing out
I dont think so. When I installed Continuum, I followed the standard installation instructions. I havent changed the logging configurations anywhere. These logs are for 1 day only. Continuum is running as a service and I have scheduled a build at 7:30 pm. Usually what I observe is that the logs get written at 7:30 pm when Continuum starts to checkout source and build the files. I am attaching one more file from a previo http://www.nabble.com/file/p12522974/wrapper.20070829.log wrapper.20070829.log us day as well, which has logs of some forced builds as well. Thanks Anshula Emmanuel Venisse wrote: > > Do you have redefined log levels? I don't see lot of logs in the file you > sent. > > Anshula a écrit : >> Emmanuel, >> >> In the build-output-directory of each project as well as on the build >> result >> page, the last build that I can find is the last successful build. >> The Builds that have a timeout, did not generate a build result. >> The only place that it logged about the timeout was the Continuum log >> file/Wrapper.log. >> Should it have generated a build result ? Coz it did not get built at >> all... >> >> Thanks, >> Anshula >> >> >> Emmanuel Venisse wrote: >>> In build result page, choose a build result with timeout ant take the >>> build id, then go to the build-output-directory and send us the content >>> of >>> the build output you'll find in this directory. >>> >>> Emmanuel >>> >>> Anshula a écrit : Hi Emmanuel, The File is as attached. Thanks for the help. Anshula Emmanuel Venisse wrote: > Can you send your logs? > > Anshula a écrit : >> Hi Emmanuel, >> >> Acutally right now I am just building, there are no unit tests added >> as >> of >> now. The build does not take more than 1-2 minutes, I tried building >> all >> projects locally and verified this. >> >> Regards, >> Anshula >> >> >> Emmanuel Venisse wrote: >>> Maybe you have a test that hang out? >>> >>> Emmanuel >>> >>> Anshula a écrit : Hello all, I am using Continuum 1.1-beta-2 with Perforce to integrate all my projects in the build management system. I have been using it over a month or so, and have around 15 project groups/projects integrated into it. I have scheduled a build in the system which runs at 7:30 pm everyday. The build system has been running properly building when it detects changes at the scheduled time But since 2 days, everyday the builds are timing out. I have set a Maximum job execution time of 3600 secs. Each of the projects does not take more than 1 minute to build. Continuum queues all the projects and prints a warning in the log file like - "Task [EMAIL PROTECTED] didn't complete within time, cancelling it." And shows all the projects in queued state only. I need to restart Continuum to build them again. Thanks for your time. Any help will be appreciated. Regards, Anshula > http://www.nabble.com/file/p12500482/wrapper.20070901.log wrapper.20070901.log >>> >>> >> > > > -- View this message in context: http://www.nabble.com/Scheduled-Builds-Timing-out-tf4384387.html#a12522974 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Setting the Timezone correctly
Hi Tim, Thanks for the information. It must be something else then that is setting the time in Maven. The build completed time shows the build finishes 1 hour earlier then the actual system time. Regards, Mark Tim Kettler wrote: Hi, see [1], [2] for references of the valid tags in 'pom.xml' and 'settings.xml'. As you see is only used in the and sections of the 'pom.xml' to denote the timzone a project team member is located. This has nothing to do with when your project is built or what creation time the jars have. -Tim [1] http://maven.apache.org/ref/current/maven-model/maven.html [2] http://maven.apache.org/ref/current/maven-settings/settings.html Mark Eramo schrieb: Hello, I am currently using Maven 2 and today I noticed that all the jars are built 1 hour earlier then the current time.I see that in the Maven documentation that there is a tag that you can use to set your timezone. I want to set this in my settings.xml so that when we switch to DST, I can change it. Well, I added the tag and Maven complains that it is an unrecognized tag. Any ideas on why this happens? Does Maven 2 not support this? Thanks, Mark - 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: Maven plugin for Eclipse
We are using the 0.0.10 Maven plugin on Elipse 3.3.0 -Original Message- From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 15:38 To: Maven Users List Subject: RE: Maven plugin for Eclipse Which plugin and version of plugin are you using ? I think I've noticed something similar using v0.0.10 of the m2 plugin on Eclipse 3.2.2. In my case the eclipse maven plugin is unable to retrieve the maven plugins, so I always have first populate my local repo by running once the mvn command line goals. -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 15:21 À : Maven Users List Objet : RE: Maven plugin for Eclipse Hi, I have configured my settings.xml in this way and if I execute a maven command from a dos box, it is using our company's repository. But if I call a maven command out of Eclipse, it goes directly to the Maven Repo site. -Original Message- From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 14:14 To: Maven Users List Subject: RE: Maven plugin for Eclipse I believe you can configure this in your maven settings.xml file via a profile : MyDevRepo http://myrepository true false -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 14:11 À : Maven Users List Objet : Maven plugin for Eclipse Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 dashboard-plugin clover historic report data missing
Hi, I'm the dashboard project leader. No, i haven't seen this error before. it must be a bug of dashboard plugin but could you do a mvn -e -X dashboard-report:dashboard and redirect the output to a log file and upload it as an attachment ? Jimbog wrote: > > Hi, > I have an M2 multi project, with the dashboard plug-in amalgamating all of > our clover, maven, checkstyle, pmd and cpd reports. The plug-in also > persists all the data for these reports. > However, when I generate the historic html, the clover chart contains no > data, despite the data being persisted in the database. All the other > charts display data, and the clover reports are shown in the dash > board report page. > Is this a bug in the dashboard plugin? Has anyone else seen this ? > > Thanks > James > -- View this message in context: http://www.nabble.com/Maven-2-dashboard-plugin-clover-historic-report-data-missing-tf4392197s177.html#a12522938 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven plugin for Eclipse
Which plugin and version of plugin are you using ? I think I've noticed something similar using v0.0.10 of the m2 plugin on Eclipse 3.2.2. In my case the eclipse maven plugin is unable to retrieve the maven plugins, so I always have first populate my local repo by running once the mvn command line goals. -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 15:21 À : Maven Users List Objet : RE: Maven plugin for Eclipse Hi, I have configured my settings.xml in this way and if I execute a maven command from a dos box, it is using our company's repository. But if I call a maven command out of Eclipse, it goes directly to the Maven Repo site. -Original Message- From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 14:14 To: Maven Users List Subject: RE: Maven plugin for Eclipse I believe you can configure this in your maven settings.xml file via a profile : MyDevRepo http://myrepository true false -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 14:11 À : Maven Users List Objet : Maven plugin for Eclipse Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
problem with deploying a non-SNAPSHOT version to the respository
Hi, I am using maven2 for the new project. When I deploy a SNAPSHOT version to the repository, it was successful. But when I change the version to an non-SNAPSHOT version, like I changed the build.version=1.0.0.77, I got the error as following. All the settings are same. I attach my settings (for windows ) and pom.xml here: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error deploying artifact: Error executing command for transfer Exit code 1 - 'ssh' is not recognized as an internal or external command, operable program or batch file. The second question: On windows, I have to use scpexe:// for deploy, but on unix I have to change to scp://. Any one knows how to combine them to one? I don't want to have 2 version of code. Any help would be much appreciated. Baoli zhang [EMAIL PROTECTED] The information contained in this e-mail message and any attachments may be privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this e-mail and delete the message and any attachments from your computer. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd";> c:/Docume~1/bzhang/.m2/repository mavenOneRemoteRepository maven maven12 664 775 plink pscp M2-INHOUSE-REPO maven maven12 664 775 plink pscp M2-INHOUSE-SNAPSHOT-REPO maven maven12 664 775 plink pscp M2-THIRDPARTY-REPO maven maven12 664 775 plink pscp loyalty-site-repository maven maven12 664 775 plink pscp 4.0.0 com.loyalty.arrow arrow-services ${buildVersion} pom Arrow Services Project Arrow Services Project weblogic weblogic 8.1.5 provided log4j log4j 1.2.8 junit junit 3.8.1 test com.loyalty.arrow arrow-model ${arrow.model.version} org.apache.maven.wagon wagon-ssh-external 1.0-beta-2 utils card-facade dummy-facade epin-facade ghost-facade order-facade profanity-filter-facade segment-facade sponsor-facade survey-facade travel-facade M2-INHOUSE-REPO maven 2 inhouse repository http://tdc-maven-01.mgmt.tdc.loyalty.com/m2/inhouse-repo true true M2-INHOUSE-SNAPSHOT-REPO maven 2 inhouse-snapshot repository http://tdc-maven-01.mgmt.tdc.loyalty.com/m2/inhouse-snapshot-repo true true M2-THIRDPARTY-REPO maven 2 thirdparty repository http://tdc-maven-01.mgmt.tdc.loyalty.com/m2/thirdParty-repo true true M1-REPO repository maven 1 scpexe://tdc-maven-01.mgmt.tdc.loyalty.com/data/maven/maven M2-INHOUSE-SNAPSHOT-REPO Loyalty Inhouse-Snapshot Repository scpexe://tdc-maven-01.mgmt.tdc.loyalty.com/data/maven/m2/inhouse-snapshot-repo false loyalty-site-repository Transaction Products Colloctor Service scpexe://tdc-maven-01.mgmt.tdc.loyalty.com/data/maven/projects/services local true local dev dev test test prod prod prodpreview prodpreview devpreview devpreview ${pom.artifactId}-${environment.type}-${pom.version} org.apache.maven.plugins maven-one-plugin install install install-maven-one-repository deploy deploy mavenOneRemoteRepository scpexe://tdc-maven-01.mgmt.tdc.loyalty.com/data/maven/maven true deploy-maven-one-repository org.apache.maven.plugins maven-surefire-plugin ${maven.test.skip} org.apache.maven.wagon wagon-ssh-external 1.0-beta-2 1.0.0.77 1.0-SNAPSHOT c:\bea\weblogic81 1.0.0.40 test - To unsubscr
Maven 2 dashboard-plugin clover historic report data missing
Hi, I have an M2 multi project, with the dashboard plug-in amalgamating all of our clover, maven, checkstyle, pmd and cpd reports. The plug-in also persists all the data for these reports. However, when I generate the historic html, the clover chart contains no data, despite the data being persisted in the database. All the other charts display data, and the clover reports are shown in the dash board report page. Is this a bug in the dashboard plugin? Has anyone else seen this ? Thanks James -- View this message in context: http://www.nabble.com/Maven-2-dashboard-plugin-clover-historic-report-data-missing-tf4392197s177.html#a12522676 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The specified resource isn't a file or the protocol used isn't allowed.
Hi all, While trying to install Continuum v1.1 beta 2 from scratch on a Windows machine, I have managed to get it started up and working, and am trying to enter the first set of projects. When I enter the POM url of "https://svn.server/svn/alchemy/Rhapsody/Development/native/trunk/pom.xml"; I get the error: "The specified resource isn't a file or the protocol used isn't allowed." The strange part is that if I enter the incorrect username or password, I get an incorrect username or password error - meaning that continuum correctly connected to the SSL server, tried to log in, and correctly parsed the access denied condition. As soon as access is granted, things seem to go pear shaped. Does anyone know what may be wrong? The log generated by the failure looks like this: INFO | jvm 1| 2007/09/03 12:35:52 | 2007-09-03 12:35:51,961 [SocketListener0-1] INFO DispatcherUtils- Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir INFO | jvm 1| 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977 [SocketListener0-1] WARN MultiPartRequest - Item is a file upload of 0 size, ignoring INFO | jvm 1| 2007/09/03 12:35:52 | 2007-09-03 12:35:51,977 [SocketListener0-1] ERROR DispatcherUtils- Error setting character encoding to 'UTF-8' - ignoring. INFO | jvm 1| 2007/09/03 12:35:52 | java.lang.IllegalStateException: getReader() or getInputStream() called INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(ServletHttpRequest.java:602) INFO | jvm 1| 2007/09/03 12:35:52 | at javax.servlet.ServletRequestWrapper.setCharacterEncoding(ServletRequestWrapper.java:112) INFO | jvm 1| 2007/09/03 12:35:52 | at com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(DispatcherUtils.java:392) INFO | jvm 1| 2007/09/03 12:35:52 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:160) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1| 2007/09/03 12:35:52 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) INFO | jvm 1| 2007/09/03 12:35:52 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1| 2007/09/03 12:35:52 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpServer.service(HttpServer.java:909) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1| 2007/09/03 12:35:52 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Regards, Graham --
continuum-trunk war refuses to start up
Hi all, While trying to test out the trunk version of continuum under apache-tomcat v5.5.20, I deployed the war to tomcat and started tomcat up. The war refused to deploy as below. It looks like the war file contains no log4j config, which is either directly causing the failure, or is hiding the real failure somewhere. Has anyone else seen this problem? INFO: Deploying web application archive continuum-webapp-1.1-beta-3-SNAPSHOT.war log4j:WARN No appenders could be found for logger (org.apache.commons.digester.D igester.sax). log4j:WARN Please initialize the log4j system properly. Sep 6, 2007 3:03:05 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Sep 6, 2007 3:03:05 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/continuum-webapp-1.1-beta-3-SNAPSHOT] startup failed due to pr evious errors Regards, Graham --
RE: Maven plugin for Eclipse
Hi, I have configured my settings.xml in this way and if I execute a maven command from a dos box, it is using our company's repository. But if I call a maven command out of Eclipse, it goes directly to the Maven Repo site. -Original Message- From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 14:14 To: Maven Users List Subject: RE: Maven plugin for Eclipse I believe you can configure this in your maven settings.xml file via a profile : MyDevRepo http://myrepository true false -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 14:11 À : Maven Users List Objet : Maven plugin for Eclipse Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Setting up a web service multimodule project
Hi, I have a multimodule project where one submodule will be accessing a soap interface provided by another submodule. What's the general practice for setting up such projects in maven 2? I mean, there is strictly seen not a dependency on the ws-module's jar, so to just declare a dependency doesn't solve anything. Rather the client depends on the web service interface provided by the ws-module. I guess I could just manually copy the generated wsdl from the ws-module over to the ws-client module and then generate code to build against (again!) in that module? Still... the above seems rather messy and error prone, so I'm hoping someone else has solved it in some clever way that beyond my newbie skills. Hints anyone? -- Fredrik Jonson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: surefire classpath uses project dependencies prior to target/classes
I've found myself the response by searching JIRA : SUREFIRE-61 Using surefire-2.4-SNAPSHOT solves my issue. 2007/9/6, nicolas de loof <[EMAIL PROTECTED]>: > > Hello, > > I've got an issue in my project that uses retrotranlator : > http://hammerfest.svn.sourceforge.net//svnroot/hammerfest/retrotanslator-runtime13/trunk/ > > > The retrotranslator runtime is declared as a dependency to compile project > classes (that is an extension to retrotranslator) > Retrotranslator is used to process classes AND the content of this > dependency jar into target/classes. > > Surefire then starts in the test phase, and fails with some "Unsupported > major.minor version" on retrotranslator-runtime classes. > The failing class is both present in target/classes (translated to Java1.3) > AND in dependencies (as java > 1.4) > > I added this code in my testcase : > System.out.println( "WeakIdentityTable = " > + getClass().getClassLoader().getResource( > "net/sf/retrotranslator/runtime/impl/WeakIdentityTable.class" ) > ); > > I get the unexpected behaviour to get WeakIdentityTable.class from the > jar, and not from target/classes. > > Is there anyway to exclude a dependency from the test phase (make the > dependency available ONLY for compile ?) > OR > Is there any way to place target/classes prior to dependecies in the test > classpath ? > > Any suggestion is welcome. I've no other option than switching to an ant > script. > > Nico. >
surefire classpath uses project dependencies prior to target/classes
Hello, I've got an issue in my project that uses retrotranlator : http://hammerfest.svn.sourceforge.net//svnroot/hammerfest/retrotanslator-runtime13/trunk/ The retrotranslator runtime is declared as a dependency to compile project classes (that is an extension to retrotranslator) Retrotranslator is used to process classes AND the content of this dependency jar into target/classes. Surefire then starts in the test phase, and fails with some "Unsupported major.minor version" on retrotranslator-runtime classes. The failing class is both present in target/classes (translated to Java1.3) AND in dependencies (as java 1.4) I added this code in my testcase : System.out.println( "WeakIdentityTable = " + getClass().getClassLoader().getResource( "net/sf/retrotranslator/runtime/impl/WeakIdentityTable.class" ) ); I get the unexpected behaviour to get WeakIdentityTable.class from the jar, and not from target/classes. Is there anyway to exclude a dependency from the test phase (make the dependency available ONLY for compile ?) OR Is there any way to place target/classes prior to dependecies in the test classpath ? Any suggestion is welcome. I've no other option than switching to an ant script. Nico.
RE: Maven plugin for Eclipse
I believe you can configure this in your maven settings.xml file via a profile : MyDevRepo http://myrepository true false -Message d'origine- De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 14:11 À : Maven Users List Objet : Maven plugin for Eclipse Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
Maven plugin for Eclipse
Hi, For the moment I'm using version 3.3 of Eclipse with the Maven plugin installed. Each time when I execute a maven command in Eclipse, Eclipse tries to download the necessary artiftacts from the Maven Repo site (repo1.maven.org). How can I configure that Eclipse should use the company's central Maven Repository to download new artifacts instead of the one on the Maven site ? - Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can i generate automatically eclipse polugins using maven2?
Hi, İ prepare an eclipse plugin and i want to use maven2 to export this plugin usign continuum to the specifed location. I try to use maven-osgi-plugin but cannot find any version of it. How can i do that?? Any example poms ?? Thanks -- View this message in context: http://www.nabble.com/How-can-i-generate-automatically-eclipse-polugins-using-maven2--tf4391679s177.html#a12521150 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: Confused by local repository
Nick, that was a mistake in the example I typed, the artifact is in com/google/... Groeten, Stefan -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: 06 September 2007 13:48 To: Maven Users List Subject: Re: Confused by local repository You say the artifact is in the directory gwt, while your groupId is com.google. I guess this also goes wrong. Hth, Nick S. KOULOURIS Stefan wrote: > Hi all, > > I'm trying to setup a project limited by a very restrictive > repository management. > > Let's say we can't use the normal maven2 repo...only the repository > setup by the organisation in which only the approved libraries reside. > > This repository doesn't contain all the libs our project needs, so > we somehow must manage those by ourselves. > > What I tried to do was add the following snippet to our projects > pom.xml > > > > > true > > > true > > local > local > lib > > > > For me it means that the lib directory relative to the pom wil be > used to lookup the missing jars. > > This lib directory is managed by cvs...So everyone checking out the > project should be able to run the Maven2 tasks. > > So for example, if we have a dependency to gwt...it will first try > to look it up in the remote repository. It won't find it so it now > searches in the lib directory containing following structure: > lib/gwt/gwt-user/1.4.60/gwt-user-1.4.60.jar > > > com.google > gwt-user > 1.4.60 > > > Eventhough the layout is ok I get following error message: > > Missing artifact > com.google:gwt-user:jar:1.4.60 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=com.google > -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy > the file there: mvn deploy:deploy-file -DgroupId=com.google > -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -repositoryId=[id] > >Path to dependency: > > 1) ec.ep:project:war:1.0 > > 2) com.google:gwt-user:jar:1.4.60 > > > from the specified remote repositories: > /*Our remote repo*/, > local (lib) > > Is there perhaps an option I forgot to use, or can't this be done > like this. > > Any suggestions are highly appreciated. > > Regards, > > Stefan Koulouris > > > - 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: Tomcat Manager username
Ok Mark, isseu created in [1]. Thanks a lot. [1] http://jira.codehaus.org/browse/MOJO-906 []s Alê! On 9/4/07, Mark Hobson <[EMAIL PROTECTED]> wrote: > On 03/09/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > > Hi, > > > > based on [1], how can I pass a diferent username for Tomcat Manager, > > using -D command option (and not settings.xml) ? > > > > I tried -D tomcat.server.username=root, but it doesn't seem to work. > > > > [1] http://mojo.codehaus.org/tomcat-maven-plugin/configuration.html > > Sounds like a fair enough requirement - raise an issue under the > tomcat component here: > http://jira.codehaus.org/browse/MOJO > > I'd add username and password config params that could override the > server param. > > Cheers, > > Mark > > - > 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: Confused by local repository
You say the artifact is in the directory gwt, while your groupId is com.google. I guess this also goes wrong. Hth, Nick S. KOULOURIS Stefan wrote: Hi all, I'm trying to setup a project limited by a very restrictive repository management. Let's say we can't use the normal maven2 repo...only the repository setup by the organisation in which only the approved libraries reside. This repository doesn't contain all the libs our project needs, so we somehow must manage those by ourselves. What I tried to do was add the following snippet to our projects pom.xml true true local local lib For me it means that the lib directory relative to the pom wil be used to lookup the missing jars. This lib directory is managed by cvs...So everyone checking out the project should be able to run the Maven2 tasks. So for example, if we have a dependency to gwt...it will first try to look it up in the remote repository. It won't find it so it now searches in the lib directory containing following structure: lib/gwt/gwt-user/1.4.60/gwt-user-1.4.60.jar com.google gwt-user 1.4.60 Eventhough the layout is ok I get following error message: Missing artifact com.google:gwt-user:jar:1.4.60 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -repositoryId=[id] Path to dependency: 1) ec.ep:project:war:1.0 2) com.google:gwt-user:jar:1.4.60 from the specified remote repositories: /*Our remote repo*/, local (lib) Is there perhaps an option I forgot to use, or can't this be done like this. Any suggestions are highly appreciated. Regards, Stefan Koulouris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Confused by local repository
Hi Tim, thank you very much for your reply. The problem was due to your first suggestion. By simply adding file:// to the url it worked. In retrospect I should have know this. Anyway, thank you again. Regards, Stefan -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: 06 September 2007 12:15 To: Maven Users List Subject: Re: Confused by local repository Hi, It's not entirely clear from your description if the build fails becauce maven can't find the repository at all. Then this syntax might be what you want: file://${basedir}/libs Or if it just fails to retrieve the artifact from the repository. In that case, remember that a valid remote repository (which your lib-repo is) must contain the correct metadata.xml files. -Tim KOULOURIS Stefan schrieb: > Hi all, > > I'm trying to setup a project limited by a very restrictive > repository management. > > Let's say we can't use the normal maven2 repo...only the repository > setup by the organisation in which only the approved libraries reside. > > This repository doesn't contain all the libs our project needs, so > we somehow must manage those by ourselves. > > What I tried to do was add the following snippet to our projects > pom.xml > > > > > true > > > true > > local > local > lib > > > > For me it means that the lib directory relative to the pom wil be > used to lookup the missing jars. > > This lib directory is managed by cvs...So everyone checking out the > project should be able to run the Maven2 tasks. > > So for example, if we have a dependency to gwt...it will first try > to look it up in the remote repository. It won't find it so it now > searches in the lib directory containing following structure: > lib/gwt/gwt-user/1.4.60/gwt-user-1.4.60.jar > > > com.google > gwt-user > 1.4.60 > > > Eventhough the layout is ok I get following error message: > > Missing artifact > com.google:gwt-user:jar:1.4.60 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=com.google > -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy > the file there: mvn deploy:deploy-file -DgroupId=com.google > -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -repositoryId=[id] > >Path to dependency: > > 1) ec.ep:project:war:1.0 > > 2) com.google:gwt-user:jar:1.4.60 > > > from the specified remote repositories: > /*Our remote repo*/, > local (lib) > > Is there perhaps an option I forgot to use, or can't this be done > like this. > > Any suggestions are highly appreciated. > > Regards, > > Stefan Koulouris > > - 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: Confused by local repository
Hi, It's not entirely clear from your description if the build fails becauce maven can't find the repository at all. Then this syntax might be what you want: file://${basedir}/libs Or if it just fails to retrieve the artifact from the repository. In that case, remember that a valid remote repository (which your lib-repo is) must contain the correct metadata.xml files. -Tim KOULOURIS Stefan schrieb: Hi all, I'm trying to setup a project limited by a very restrictive repository management. Let's say we can't use the normal maven2 repo...only the repository setup by the organisation in which only the approved libraries reside. This repository doesn't contain all the libs our project needs, so we somehow must manage those by ourselves. What I tried to do was add the following snippet to our projects pom.xml true true local local lib For me it means that the lib directory relative to the pom wil be used to lookup the missing jars. This lib directory is managed by cvs...So everyone checking out the project should be able to run the Maven2 tasks. So for example, if we have a dependency to gwt...it will first try to look it up in the remote repository. It won't find it so it now searches in the lib directory containing following structure: lib/gwt/gwt-user/1.4.60/gwt-user-1.4.60.jar com.google gwt-user 1.4.60 Eventhough the layout is ok I get following error message: Missing artifact com.google:gwt-user:jar:1.4.60 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -repositoryId=[id] Path to dependency: 1) ec.ep:project:war:1.0 2) com.google:gwt-user:jar:1.4.60 from the specified remote repositories: /*Our remote repo*/, local (lib) Is there perhaps an option I forgot to use, or can't this be done like this. Any suggestions are highly appreciated. Regards, Stefan Koulouris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Xdoclet plugin for generating EJB sources of ejbdoclet project
Ok, I found the solution to the problem here : http://www.nabble.com/Re:-maven-2.0.6-and-xdoclet-maven-plugin-p9839377s177.html I needed to add a dependency to ant : ant ant 1.6.5 -Message d'origine- De : COPPENS, Fabien [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 11:51 À : Maven Users List Objet : RE: Xdoclet plugin for generating EJB sources of ejbdoclet project Hi. You are right it xdoclet 1.2.3. I have already tried what you suggest, but I get this kind of error : [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find the mojo 'org.codehaus.mojo:x doclet-maven-plugin:1.0-alpha-2:xdoclet' in the plugin 'org.codehaus.mojo:xdoclet-maven-plugin' org/apache/tools/ant/PropertyHelper -Message d'origine- De : Bob Allison [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 01:32 À : Maven Users List Objet : Re: Xdoclet plugin for generating EJB sources of ejbdoclet project Are you sure that you are using XDoclet 1.3.2 and not 1.2.3? I do not see a version 1.3.x on the XDoclet home page. In my projects that use XDoclet, I specify: org.codehaus.mojo xdoclet-maven-plugin generate-sources xdoclet ... ... ... Using this downloads all of the correct bits and pieces from the repository for XDoclet 1.2.3 HTH - Original Message - From: "COPPENS, Fabien" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 05, 2007 10:36 AM Subject: Xdoclet plugin for generating EJB sources of ejbdoclet project I am trying to automate the build of an EJB project that was generated in Eclipse 3.2.2 using the Web Tools Platform (WTP 1.5.4) wizard for ejbdoclet projects. This WTP service is based on xdoclet 1.3.2 (I see that in the project facets). I get a failure when trying to use the plugin xdoclet-maven-plugin because it is apparently expecting xdoclet v2. When I look at repo1.maven.org/maven2/xdoclet-plugins, I see that there are many different xdoclet plugins, including one called xdoclet-plugin-ejb. Can someone point me to a xdoclet plugin that will be compatible with xdoclet 1.3.2 so that I can automate my EJB project build ? Fabien 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] 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] 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: Xdoclet plugin for generating EJB sources of ejbdoclet project
Hi. You are right it xdoclet 1.2.3. I have already tried what you suggest, but I get this kind of error : [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find the mojo 'org.codehaus.mojo:x doclet-maven-plugin:1.0-alpha-2:xdoclet' in the plugin 'org.codehaus.mojo:xdoclet-maven-plugin' org/apache/tools/ant/PropertyHelper -Message d'origine- De : Bob Allison [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 01:32 À : Maven Users List Objet : Re: Xdoclet plugin for generating EJB sources of ejbdoclet project Are you sure that you are using XDoclet 1.3.2 and not 1.2.3? I do not see a version 1.3.x on the XDoclet home page. In my projects that use XDoclet, I specify: org.codehaus.mojo xdoclet-maven-plugin generate-sources xdoclet .. .. .. Using this downloads all of the correct bits and pieces from the repository for XDoclet 1.2.3 HTH - Original Message - From: "COPPENS, Fabien" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 05, 2007 10:36 AM Subject: Xdoclet plugin for generating EJB sources of ejbdoclet project I am trying to automate the build of an EJB project that was generated in Eclipse 3.2.2 using the Web Tools Platform (WTP 1.5.4) wizard for ejbdoclet projects. This WTP service is based on xdoclet 1.3.2 (I see that in the project facets). I get a failure when trying to use the plugin xdoclet-maven-plugin because it is apparently expecting xdoclet v2. When I look at repo1.maven.org/maven2/xdoclet-plugins, I see that there are many different xdoclet plugins, including one called xdoclet-plugin-ejb. Can someone point me to a xdoclet plugin that will be compatible with xdoclet 1.3.2 so that I can automate my EJB project build ? Fabien 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] 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]
Confused by local repository
Hi all, I'm trying to setup a project limited by a very restrictive repository management. Let's say we can't use the normal maven2 repo...only the repository setup by the organisation in which only the approved libraries reside. This repository doesn't contain all the libs our project needs, so we somehow must manage those by ourselves. What I tried to do was add the following snippet to our projects pom.xml true true local local lib For me it means that the lib directory relative to the pom wil be used to lookup the missing jars. This lib directory is managed by cvs...So everyone checking out the project should be able to run the Maven2 tasks. So for example, if we have a dependency to gwt...it will first try to look it up in the remote repository. It won't find it so it now searches in the lib directory containing following structure: lib/gwt/gwt-user/1.4.60/gwt-user-1.4.60.jar com.google gwt-user 1.4.60 Eventhough the layout is ok I get following error message: Missing artifact com.google:gwt-user:jar:1.4.60 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.google -DartifactId=gwt-user -Dversion=1.4.60 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -repositoryId=[id] Path to dependency: 1) ec.ep:project:war:1.0 2) com.google:gwt-user:jar:1.4.60 from the specified remote repositories: /*Our remote repo*/, local (lib) Is there perhaps an option I forgot to use, or can't this be done like this. Any suggestions are highly appreciated. Regards, Stefan Koulouris
Re: Q4E - A user's view
I tested it a little bit and effectively it's working fine. Great job guys !! Is there someone who tested if with WTP ? Arnaud On 06/09/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > > On Sep 5, 2007, at 7:12 PM, Carlos Sanchez wrote: > > > Thanks for giving it a try Joshua, see comments inline > > > > On 9/5/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > >> Hey guys, > >> > >> just a quick note, I uninstalled M2Eclipse and installed Q4E and gave > >> it a shot. All the core functionality seems to be there (dependancy > >> management is the big one for me) and importing from a project pom > >> seems to work (although It didn't seem to import a multilayer > >> project, I had to import each module separately, but thats ok for > >> me). > > > > if you point it to a folder with a pom that has it will > > import all of them, and recursively, I do it all the time > > Hum, I tried that, and it only seemed to import the first module, not > the second. I like how m2eclipse lets you select which one to import. > > One annoying thing: I accidentally selected the 'maven reports' > option, not realizing (though I should have) that this would run 'mvn > site', which would run 'mvn test'. running the unit tests takes the > better part of 45 minutes from the command line, and it seems to run > even slower through q4e and eclipse. I tried clicking the 'cancel' > button, but that doesn't seem to help, its still churning along. > > At least it seems to be running the tests correctly, but > unfortunately, because its running, I can't save any files, even on > OTHER projects, which means I can't really work in the background. > > > we are working on adding a good dependency search in the future (1-2 > > months) and plan to take a look to other options for displaying the > > dependencies > > Very cool. > > >> So far so good, I hope the m2eclipse and q4eclipse projects can work > >> together in the future. > > > > we all work on the underlying Maven integration (the maven embedder), > > we just take different approaches on the UI > > > > Thanks for the feedback! > > No problem, keep up the good work! > > -- > Joshua ChaitinPollak > Software Engineer > Kiva Systems > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running heavy tests in the build lifecycle
OK, my thanks to Arnaud, Dave and Wendy! I'm going to try it out over the next couple of days, I feel that I have a good direction now. Thanks! Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ | SHARE YOUR KNOWLEDGE | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001 IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting up a web service multimodule project
Hi, I stayed away from webservices until now, so I can't really propose a conrecte solution for your setup reading just the description you gave. But the general approch would be to factor out the parts used by both modules into a third one on which then both would depend. If you need more help, can you please describe the build process in more detail, i.e. what is generated where, exactly what is needed where... -Tim Fredrik Jonson schrieb: Hi, I have a multimodule project where one submodule will be accessing a soap interface provided by another submodule. What's the general practice for setting up such projects in maven 2? I mean, there is strictly seen not a dependency on the ws-module's jar, so to just declare a dependency doesn't solve anything. Rather the client depends on the web service interface provided by the ws-module. I guess I could just manually copy the generated wsdl from the ws-module over to the ws-client module and then generate code to build against (again!) in that module? Still... the above seems rather messy and error prone, so I'm hoping someone else has solved it in some clever way that beyond my newbie skills. Hints anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Maven 2 and WebDav protocol
Hi Michael, Sorry for my late reply, but I am quite busy at the moment... 2007/9/1, Michael McCallum <[EMAIL PROTECTED]>: > > cat /etc/debian_version > lenny/sid > > enabled dav and dav_fs > if you need auth - i recommend - > using digest authentication > > > Dav on > > > thats all nothing magic It seems that our apache configuration is ok (cf. our configuration at the end). are you using ssl? if you you need to ensure that the vm running maven > trusts > the certificate Not for the moment. We continue some tests this morning and it seems effectively that wagon-webdav do not ask for the creation of the directories before uploading the artifact as we can see in the following logs : [Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT new contents for /inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- plugin-1.0-20070906.083623-1.jar. [403, #0] [Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file or directory: An error occurred while opening a resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client 10.194.3.100] File does not exist: /home/maven2/proximity/inhouse.snapshot/storage/com If I create the com directory then I have the same error log for the next directory: test [Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] Unable to PUT new contents for /inhouse.snapshot/com/test/my-plugin/1.0-SNAPSHOT/my- plugin-1.0-20070906.083623-1.jar. [403, #0] [Thu Sep 06 10:36:27 2007] [error] [client 10.194.3.100] (2)No such file or directory: An error occurred while opening a resource. [500, #0] [Thu Sep 06 10:38:55 2007] [error] [client 10.194.3.100] File does not exist: /home/maven2/proximity/inhouse.snapshot/storage/com/test Here is my configuration: - apache version: ii apache2-mpm-itk 2.2.3-01-1+b7multiuser MPM for Apache 2.2 ii apache2.2-common 2.2.3-4+etch1Next generation, scalable, extendable web server - apache conf: NameVirtualHost *:80 AuthLDAPURL ldap://gdc1.mydomain.fr:389/OU=Annuaire,DC=rd,DC=mydomain,DC=fr?sAMAccountName?base?(objectClass=user) ServerName gmaven2.mydomain.fr DocumentRoot /home/maven2/proximity SuexecUserGroup tomcat55 www-data Alias /inhouse /home/maven2/proximity/inhouse/storage Alias /inhouse.snapshot /home/maven2/proximity/inhouse.snapshot/storage DavLockDB /var/lock/dav/DavLock Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride None Order allow,deny allow from all AuthType Basic AuthBasicProvider file ldap-alias1 AuthName LDAP_Protected_Place AuthzLDAPAuthoritative off AuthUserFile /var/lib/misc/htpasswd Require valid-user DAV On I use the 1.0-beta-2 version of wagon-webdav. org.apache.maven.wagon wagon-webdav 1.0-beta-2 Thanks, Rémy
EAR plugin and altDeploymentDescriptor
Hi, I am trying to produce an EAR with two instances of a JPA module with alternative persistence.xml. I thought I could use the EAR plugins altDeploymentDescriptor to do this. However when I specify something like: src/main/resources/META-INF/persistence-replica.xml then nothing changes in the application.xml. I am using 2.3.2-SNAPSHOT using the Apache snapshot profile. Have I misunderstood the purpose of this property or using it incorrectly? Thanks, Martin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot deploy a parent 'tar.gz' assembly
Hi, maven-2.0.7, assembly-plugin-2.2-beta-1, install-plugin:2.2 I tried this with a clean local repository (-Dmaven.repo.local=...), to ensure only released plugins are used in the build. Have you tried the test project? There were a couple of posts from people having this kind of problem in the last time. It would be good if we could trace down the difference between my test project and the real ones. -Tim Kalle Korhonen schrieb: Tim, what version of the assembly plugin are you using? I have a very similar setup to Evan's, and I'm getting the same "does not have an artifact with a file" error when binding to package and running the single goal. I'm using the latest released assembly, 2.2-beta-1. Kalle On 9/5/07, Evan Toliopoulos <[EMAIL PROTECTED]> wrote: Thanks, I will try this and post back what I find. If it's working for you then I suspect I must have configured something wrong somewhere in my one of my poms. Cheers, Evan. Tim Kettler wrote: It's working for me with this test project: . |-- pom.xml |-- src | `-- main | `-- assembly | `-- assembly.xml |-- suba | |-- pom.xml | `-- src | `-- main | `-- java | `-- TestClass.java `-- subb |-- pom.xml `-- src `-- main `-- java `-- TestClass.java pom.xml: 4.0.0 my-test-group parent 1.0-SNAPSHOT pom suba subb maven-assembly-plugin false src/main/assembly/assembly.xml make-assembly package single suba/pom.xml: 4.0.0 my-test-group suba 1.0-SNAPSHOT subb/pom.xml: 4.0.0 my-test-group subb 1.0-SNAPSHOT my-test-group suba 1.0-SNAPSHOT src/main/assembly/assembly.xml: zip tar.gz true true false lib 664 775 I tested this with an empty local repository to ensure only released plugins are used. Here's the relevant output from 'mvn clean install': [INFO] [assembly:single {execution: make-assembly}] [INFO] Reading assembly descriptor: /home/tik/Develop/maven-testprojects/pomassembly/src/main/assembly/developer- assembly.xml [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs. [INFO] Processing DependencySet (output=lib) [INFO] Processing DependencySet (output=lib) [INFO] Building zip: /home/tik/Develop/maven-testprojects/pomassembly/target/parent- 1.0-SNAPSHOT.zip [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs. [INFO] Processing DependencySet (output=lib) [INFO] Processing DependencySet (output=lib) [INFO] Building tar : /home/tik/Develop/maven-testprojects/pomassembly/target/parent- 1.0-SNAPSHOT.tar.gz [INFO] [install:install] [INFO] Installing /home/tik/Develop/maven-testprojects/pomassembly/pom.xml to /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- 1.0-SNAPSHOT.pom [INFO] Installing /home/tik/Develop/maven-testprojects/pomassembly/target/parent- 1.0-SNAPSHOT.zip to /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- 1.0-SNAPSHOT.zip [INFO] Installing /home/tik/Develop/maven-testprojects/pomassembly/target/parent- 1.0-SNAPSHOT.tar.gz to /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- 1.0-SNAPSHOT.tar.gz Hope this helps -Tim Evan Toliopoulos schrieb: Thanks, Though it still is not working. I get the following error: Failed to create assembly: Artifact: com.emagineinternational:sms-transceiver-mq:jar:6.5.1-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated. What you have described is what we already do for maven projects that get built into a jar as well as have a tar.gz assembly and it works fine for those projects. The difference with this project is that is a parent project which does not have any source code of it's own. It is declared as a pom project that has a number of child ... projects. We then have an assembly descriptor that assembles all the child project jars as well as any dependencies into a tar.gz archive ready for distribution. Any further ideas? BTW, our assembly descriptor looks like: zip tar.gz true true false lib 664 775 src/main/etc
Re: Retrieving version of the pom itself - not the child projects pom
Hi, The parent pom belongs to a build config project and contains common build configuration, ie dependency management, plugin management etc. The parent pom is common for many projects with different release cycles, therefore it will have a different version than the child projects. Some of the plugin definitions in the plugin management section of the parent pom refer to plugins (or libs that the plugins depend on) within the build config project and thus have the same version as the parent pom. It is these references within plugin management that I would like to avoid having to manually update when doing a release. The relevant parts of the parent pom: org.apache.maven.plugins maven-checkstyle-plugin 2.1 com.orc.maven checkstyle_config 1.3-SNAPSHOT org.codehaus.mojo native-maven-plugin 1.3-SNAPSHOT The bold parts are the ones I like to replace with a reference to the version of the pom they reside in. Peter Wayne Fay wrote: > > You've never said why you need this, so it is possible there are > better ways to do what you're trying to do that would not require the > manual step at release. Perhaps you can explain the reason behind this > whole thing? > > Wayne > > On 9/5/07, PeterNilsson <[EMAIL PROTECTED]> wrote: >> >> Yes, that would work. The problem is that the release plugin will not >> update >> that property, so >> we get a manual step when doing a release. >> >> Peter >> >> >> Andrew Williams-5 wrote: >> > >> > Not entirely certain if this will help or not, but could you define a >> > property and reference that instead? >> > >> > i.e. >> > >> >1.0-SNAPSHOT >> > >> > >> > then using ${myversion} will always return you that version >> > >> > Andy >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Retrieving-version-of-the-pom-itself---not-the-child-projects-pom-tf4359342s177.html#a12517044 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: Cannot deploy a parent 'tar.gz' assembly
Tim, what version of the assembly plugin are you using? I have a very similar setup to Evan's, and I'm getting the same "does not have an artifact with a file" error when binding to package and running the single goal. I'm using the latest released assembly, 2.2-beta-1. Kalle On 9/5/07, Evan Toliopoulos <[EMAIL PROTECTED]> wrote: > > Thanks, > I will try this and post back what I find. > If it's working for you then I suspect I must have configured something > wrong somewhere in my one of my poms. > Cheers, > Evan. > > Tim Kettler wrote: > > It's working for me with this test project: > > . > > |-- pom.xml > > |-- src > > | `-- main > > | `-- assembly > > | `-- assembly.xml > > |-- suba > > | |-- pom.xml > > | `-- src > > | `-- main > > | `-- java > > | `-- TestClass.java > > `-- subb > > |-- pom.xml > > `-- src > > `-- main > > `-- java > > `-- TestClass.java > > > > pom.xml: > > > > > > 4.0.0 > > my-test-group > > parent > > 1.0-SNAPSHOT > > pom > > > > > > suba > > subb > > > > > > > > > > > > maven-assembly-plugin > > false > > > > > > src/main/assembly/assembly.xml > > > > > > > > > > make-assembly > > package > > > > single > > > > > > > > > > > > > > > > > > suba/pom.xml: > > > > > > 4.0.0 > > my-test-group > > suba > > 1.0-SNAPSHOT > > > > > > subb/pom.xml: > > > > > > 4.0.0 > > my-test-group > > subb > > 1.0-SNAPSHOT > > > > > > > > my-test-group > > suba > > 1.0-SNAPSHOT > > > > > > > > > > src/main/assembly/assembly.xml: > > > > > > > > > > zip > > tar.gz > > > > > > true > > > > > > > > > > true > > false > > lib > > 664 > > 775 > > > > > > > > > > > > I tested this with an empty local repository to ensure only released > > plugins are used. Here's the relevant output from 'mvn clean install': > > > > [INFO] [assembly:single {execution: make-assembly}] > > [INFO] Reading assembly descriptor: > > > /home/tik/Develop/maven-testprojects/pomassembly/src/main/assembly/developer- > assembly.xml > > > > [WARNING] NOTE: Currently, inclusion of module dependencies may > > produce unpredictable results if a version conflict occurs. > > [INFO] Processing DependencySet (output=lib) > > [INFO] Processing DependencySet (output=lib) > > [INFO] Building zip: > > /home/tik/Develop/maven-testprojects/pomassembly/target/parent- > 1.0-SNAPSHOT.zip > > > > [WARNING] NOTE: Currently, inclusion of module dependencies may > > produce unpredictable results if a version conflict occurs. > > [INFO] Processing DependencySet (output=lib) > > [INFO] Processing DependencySet (output=lib) > > [INFO] Building tar : > > /home/tik/Develop/maven-testprojects/pomassembly/target/parent- > 1.0-SNAPSHOT.tar.gz > > > > [INFO] [install:install] > > [INFO] Installing > > /home/tik/Develop/maven-testprojects/pomassembly/pom.xml to > > > /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- > 1.0-SNAPSHOT.pom > > > > [INFO] Installing > > /home/tik/Develop/maven-testprojects/pomassembly/target/parent- > 1.0-SNAPSHOT.zip > > to > > > /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- > 1.0-SNAPSHOT.zip > > > > [INFO] Installing > > /home/tik/Develop/maven-testprojects/pomassembly/target/parent- > 1.0-SNAPSHOT.tar.gz > > to > > > /home/tik/Develop/maven-testprojects/repository/my-test-group/parent/1.0-SNAPSHOT/parent- > 1.0-SNAPSHOT.tar.gz > > > > > > Hope this helps > > -Tim > > > > Evan Toliopoulos schrieb: > >> Thanks, > >> > >> Though it still is not working. I get the following error: > >> > >>Failed to create assembly: Artifact: > >> com.emagineinternational:sms-transceiver-mq:jar:6.5.1-SNAPSHOT > >> (included by module) does not have an artifact with a file. Please > >> ensure the package phase is run before the assembly is generated. > >> > >> What you have described is what we already do for maven projects that > >> get built into a jar as well as have a tar.gz assembly and it works > >> fine for those projects. > >> > >> The difference with this project is that is a parent project which > >> does not have any source code of it's own. It is declared as a > >> pom project that has a number of child > >> ... projects. We then have an assembly descriptor > >> that assembles all the child project jars as well as any dependencies > >> into a tar.gz archive ready for distribution. > >> > >> Any further ideas? > >> > >> BTW, our assemb