Online report URL
Hi, All the notifiers receive the online report link as below ( localhost??). http://localhost:8080/continuum/buildResult.action?buildId=16projectId=6. While I want to replace localhost with the IP address of the machine, so that notified people can view the report. Any idea how to change that? Regards, Hemant Malik
Re: release prepare and release perform ?
Move - you mean change? If so, that's completely dependent on your scm. With svn, one of the easiest ways to accomplish that is with permissions; simply make it read-only. Kalle On 1/28/08, Benoit Decherf [EMAIL PROTECTED] wrote: Ok, thanks, but how do you prevent that nobody will move the tag after the release:perform is executed ? Is there a way to do that ? Benoit Kalle Korhonen wrote: You can of course run it at once by putting the two commands together if you so wish. But normally it's extremely useful to run release:prepare first, then examine the tag (like that you really got all of the version numbers in the readme, meta-inf right, an installer - if you have one - works and looks right, run manual functional tests against it etc.) before you actually deploy the artifacts with release:perform. If you are not happy with the tag, you can just decide to abandon the release and do a new one, or if you are using svn or some other scm that allows you to modify the tag, you can just decide to fix the release notes or another minor detail directly in the tag before performing the release. Kalle On 1/25/08, Benoit Decherf [EMAIL PROTECTED] wrote: I have a little question about the release process : Why it is done in 2 steps ? Why don't we execute the prepare and perform goals at once ? It's a little strange to make all the works on the scm system but not deploy the generated artifacts. Benoit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: release prepare and release perform ?
Ok, thanks, but how do you prevent that nobody will move the tag after the release:perform is executed ? Is there a way to do that ? Benoit Kalle Korhonen wrote: You can of course run it at once by putting the two commands together if you so wish. But normally it's extremely useful to run release:prepare first, then examine the tag (like that you really got all of the version numbers in the readme, meta-inf right, an installer - if you have one - works and looks right, run manual functional tests against it etc.) before you actually deploy the artifacts with release:perform. If you are not happy with the tag, you can just decide to abandon the release and do a new one, or if you are using svn or some other scm that allows you to modify the tag, you can just decide to fix the release notes or another minor detail directly in the tag before performing the release. Kalle On 1/25/08, Benoit Decherf [EMAIL PROTECTED] wrote: I have a little question about the release process : Why it is done in 2 steps ? Why don't we execute the prepare and perform goals at once ? It's a little strange to make all the works on the scm system but not deploy the generated artifacts. Benoit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
'org.apache.maven.plugins:maven-site-plugin'
Hi, I'm a chinese boy! When I trace the hello-world example,I get a error. The error code is like this: C:\Documents and Settings\张波\hello-worldmvn site [INFO] Scanning for projects... [INFO] - --- [INFO] Building hello-world [INFO]task-segment: [site] [INFO] - --- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Jan 28 10:23:06 CST 2008 [INFO] Final Memory: 1M/2M [INFO] Can you help me?Waiting for your help! Thanks a lot! bobin.
Re: [ANN] Maven Dependency Plugin 2.0 Released
Congrats and big thanks! I'm sure there's been a lot of people waiting for this plugin release, especially those interested in the dashboard, me included. Kalle On 1/25/08, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Snapshots with and without timestamps
Hi, Maybe there is a missing feature in archiva in the support for timestamped snapshots, or I have missed a configuration option, or I have found a bug in maven-ant-tasks-2.08. Well I thought I start on this forum to find out what the problem is. I use the maven-ant tasks together with archiva. Version 2.0.8 deploys snapshots with timestamps. I.e. on archiva, I get many snapshot versions listed in the Browse Repository window, in formats such as 1.0.2-20080128.072844-1, and there is also an 1.0.2-SNAPSHOT entry which always seems to contain the latest timestamped snapshot. My first question is, is it supposed to be that way? The actual layout in the archiva filesystem is 1.0.2-SNAPSHOT/...many versions, there are no folders with timestamped names. Now, the maven-ant dependencies task does not look for a file name with timestamp, rather it looks for 1.0.2-SNAPSHOT, and that fails: BUILD FAILED G:\jmplay\trunk\tools\UIDemo\build.xml:84: Unable to resolve artifact: Missing: -- 1) com.sic.ui:sicuicomponents:jar:1.0.2-SNAPSHOT Obviously there is no way for the maven dependencies task to know what the current timestamp filename might be, so I assume it would be archiva's task to resolve the request for 1.0.2-SNAPSHOT to the latest snapshot, maybe by always providing a copy named 1.0.2-SNAPSHOT when it receives a new snapshot. I noticed that maven-ant-tasks 2.0.7 did not deploy with timestamps, they always uploaded a file named xx-SNAPSHOT, and that works with Archiva. I've also seen that I should be able to get the same behaviour with uniqueVersion=false for 2.0.8, but that does not work, true or false makes no difference, I always get timestamped versions in archiva. I noticed that the latest timestamped snapshot is downloaded to my local repository in .m2, but maven-dependencies does not understand that the latest snapshot is already in the local repository, it insists on the xx-SNAPSHOT naming. My second question: should it be archiva's task to provide a copy of the latest timestamped snapshot named xx-SNAPSHOT? Cheers Dietrich -- Dietrich Schulten Project Manager Email: [EMAIL PROTECTED] SIC! Software GmbH Ferdinand-Braun-Str. 1 D-74074 Heilbronn Mobil: (+49) 0172 7369456 Telefon: (+49) 07131 9199110 Durchwahl:(+49) 07131 9199530 Telefax: (+49) 07131 9199435 www.sic-software.com --- HRB 109169 Stuttgart Geschäftsführer: Wolfram Herzog / Rayko Enz ---
[ANN] Maven Dependency Plugin 2.0 Released
The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Online report URL
We already answer (lot of time) to this question on this list. You can change it in the configuration page. Emmanuel On Jan 28, 2008 9:04 AM, Hemant Malik [EMAIL PROTECTED] wrote: Hi, All the notifiers receive the online report link as below ( localhost??). http://localhost:8080/continuum/buildResult.action?buildId=16projectId=6. While I want to replace localhost with the IP address of the machine, so that notified people can view the report. Any idea how to change that? Regards, Hemant Malik
RE: pom.xml jar scope
Try with scope 'provided'. See [1] for a explanation of the different scopes. Hth, Nick Stolwijk [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -Original Message- From: faisalloe [mailto:[EMAIL PROTECTED] Sent: Mon 1/28/2008 10:08 AM To: users@maven.apache.org Subject: pom.xml jar scope i have a problem with pom file. i have servlet.jar which is already available in tomcat lib folder, i want to use this jar only to compile and produce class files but not in project's lib folder. i think there is tag named scopecompile/scope but it didn't worked it still copy jar file into lib folder. can any one i prevent copying jar file into lib folder and only to use for compilation! -- View this message in context: http://www.nabble.com/pom.xml-jar-scope-tp15131075s177p15131075.html 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: pom.xml jar scope
try change it to scopeprovided/scope HTH, On Jan 28, 2008 5:08 PM, faisalloe [EMAIL PROTECTED] wrote: i have a problem with pom file. i have servlet.jar which is already available in tomcat lib folder, i want to use this jar only to compile and produce class files but not in project's lib folder. i think there is tag named scopecompile/scope but it didn't worked it still copy jar file into lib folder. can any one i prevent copying jar file into lib folder and only to use for compilation! -- View this message in context: http://www.nabble.com/pom.xml-jar-scope-tp15131075s177p15131075.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pom.xml jar scope
i have a problem with pom file. i have servlet.jar which is already available in tomcat lib folder, i want to use this jar only to compile and produce class files but not in project's lib folder. i think there is tag named scopecompile/scope but it didn't worked it still copy jar file into lib folder. can any one i prevent copying jar file into lib folder and only to use for compilation! -- View this message in context: http://www.nabble.com/pom.xml-jar-scope-tp15131075s177p15131075.html 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: [ANN] Maven Dependency Plugin 2.0 Released
Cograts !! that is great. Erez. On Jan 28, 2008 10:56 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: Congrats and big thanks! I'm sure there's been a lot of people waiting for this plugin release, especially those interested in the dashboard, me included. Kalle On 1/25/08, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mavn compile download every time pom files
thanks alot it worked for me. Wayne Fay wrote: Use mvn install:install-file to install those jar files in your local repo cache, and specify -DgeneratePom=true to automatically create a proper pom.xml file for each jar file when it is installed. This will stop Maven from attempting to download the pom files. Wayne On 1/24/08, faisalloe [EMAIL PROTECTED] wrote: I am having J2EE maven enabled project. I have installed few jar files into maven repository manually, now problem is every time i compile my prodcut though these jar installed and available but it always try to download pom files from internet. Help me out how to prevent using downloading these files every time is there any parameter with mavn compile -any param which works. thanks in Advance Dproprietary [INFO] Scanning for projects... [INFO] - --- [INFO] Building real-estate Maven Webapp [INFO]task-segment: [compile] [INFO] - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] While downloading jstl:jstl:1.0 This artifact has been relocated to javax.servlet:jstl:1.0. Downloading: http://repo1.maven.org/maven2/com/facelets/jsf-facelets/1.1.11/jsf- facelets-1.1.11.pom Downloading: http://repo1.maven.org/maven2/com/el-api/el-api/1.0/el-api-1.0.pom Downloading: http://repo1.maven.org/maven2/com/el-ri/el-ri/1.0/el-ri-1.0.pom Downloading: http://repo1.maven.org/maven2/jasper-api/jasper-api-snap/2.0.4/jasp er-api-snap-2.0.4.pom Downloading: http://repo1.maven.org/maven2/com/mysql/mysql-connector/5.0.8/mysql -connector-5.0.8.pom [WARNING] While downloading itext:itext:1.3.1 This artifact has been relocated to com.lowagie:itext:1.3.1. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Fri Jan 25 10:03:34 PKT 2008 [INFO] Final Memory: 4M/7M [INFO] -- View this message in context: http://www.nabble.com/Mavn-compile-download-every-time-pom-files-tp15081116s177p15081116.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Mavn-compile-download-every-time-pom-files-tp15081116s177p15130937.html 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: release prepare and release perform ?
If it's read-only you won't be able to make some changes after release:prepare. Don't you ? I probably missed something. To make a release: 1 - execute release:perform 2 - check if everything is ok, if not correct the problems. 3 - re-execute release:perform to take the correction 4 - execute release:perform. On the step 3, you move the tag( using cvs ), or do you create a new one ? Benoit Kalle Korhonen wrote: Move - you mean change? If so, that's completely dependent on your scm. With svn, one of the easiest ways to accomplish that is with permissions; simply make it read-only. Kalle On 1/28/08, Benoit Decherf [EMAIL PROTECTED] wrote: Ok, thanks, but how do you prevent that nobody will move the tag after the release:perform is executed ? Is there a way to do that ? Benoit Kalle Korhonen wrote: You can of course run it at once by putting the two commands together if you so wish. But normally it's extremely useful to run release:prepare first, then examine the tag (like that you really got all of the version numbers in the readme, meta-inf right, an installer - if you have one - works and looks right, run manual functional tests against it etc.) before you actually deploy the artifacts with release:perform. If you are not happy with the tag, you can just decide to abandon the release and do a new one, or if you are using svn or some other scm that allows you to modify the tag, you can just decide to fix the release notes or another minor detail directly in the tag before performing the release. Kalle On 1/25/08, Benoit Decherf [EMAIL PROTECTED] wrote: I have a little question about the release process : Why it is done in 2 steps ? Why don't we execute the prepare and perform goals at once ? It's a little strange to make all the works on the scm system but not deploy the generated artifacts. Benoit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Hi, In order to save your fingers :-), you can use -DskipTests (with surefire 2.4) This will compile test classes but not execute units. -- Olivier 2008/1/28, Steinar Bang [EMAIL PROTECTED]: Olivier Lamy [EMAIL PROTECTED]: * [MJAR-90] - when maven.test.Skip is set, the test-jar artifact is empty The fix is to make no test-jar on maven.test.skip. This fix may have created a new bug, but I'm unsure of which plugin has the bug (ie. what plugin to report it on). Is it maven-surefire-plugin or maven-dependency-plugin= I cleaned up my repo today to build our project from scratch. And then it failed on mvn clean install -Dmaven.test.skip on dependencies with scopetest/scope typetest-jar/type The reason they failed are because the test-jar files are no longer present. But since they have scopetest/scope they shouldn't be resolved with -Dmaven.test.skip. Or at least I think they shouldn't. (we have some test cross dependencies, that makes it neccessary to run through with maven.test.skip before we run with tests) - 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: [ANN] Maven Dependency Plugin 2.0 Released
I'd love if there was a dependency:list-plugins though (that showed the plugin versions) On Jan 28, 2008 9:42 AM, Simon Kitching [EMAIL PROTECTED] wrote: Many thanks. I think dependency:tree is possibly the best feature since maven 2.0.0. Erez Nahir [EMAIL PROTECTED] schrieb: Cograts !! that is great. Erez. On Jan 28, 2008 10:56 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: Congrats and big thanks! I'm sure there's been a lot of people waiting for this plugin release, especially those interested in the dashboard, me included. Kalle On 1/25/08, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - 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: [ANN] Maven Dependency Plugin 2.0 Released
Many thanks. I think dependency:tree is possibly the best feature since maven 2.0.0. Erez Nahir [EMAIL PROTECTED] schrieb: Cograts !! that is great. Erez. On Jan 28, 2008 10:56 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: Congrats and big thanks! I'm sure there's been a lot of people waiting for this plugin release, especially those interested in the dashboard, me included. Kalle On 1/25/08, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - 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: Online report URL
Thanks and apologies. On Jan 28, 2008 2:22 PM, Emmanuel Venisse [EMAIL PROTECTED] wrote: We already answer (lot of time) to this question on this list. You can change it in the configuration page. Emmanuel On Jan 28, 2008 9:04 AM, Hemant Malik [EMAIL PROTECTED] wrote: Hi, All the notifiers receive the online report link as below ( localhost??). http://localhost:8080/continuum/buildResult.action?buildId=16projectId=6. While I want to replace localhost with the IP address of the machine, so that notified people can view the report. Any idea how to change that? Regards, Hemant Malik
Re: release prepare and release perform ?
oups... I make some mistakes... please read: 1 - execute release:prepare 2 - check if everything is ok, if not correct the problems. 3 - re-execute release:prepare to take the correction 4 - execute release:perform Benoit Decherf wrote: If it's read-only you won't be able to make some changes after release:prepare. Don't you ? I probably missed something. To make a release: 1 - execute release:perform 2 - check if everything is ok, if not correct the problems. 3 - re-execute release:perform to take the correction 4 - execute release:perform. On the step 3, you move the tag( using cvs ), or do you create a new one ? Benoit Kalle Korhonen wrote: Move - you mean change? If so, that's completely dependent on your scm. With svn, one of the easiest ways to accomplish that is with permissions; simply make it read-only. Kalle On 1/28/08, Benoit Decherf [EMAIL PROTECTED] wrote: Ok, thanks, but how do you prevent that nobody will move the tag after the release:perform is executed ? Is there a way to do that ? Benoit Kalle Korhonen wrote: You can of course run it at once by putting the two commands together if you so wish. But normally it's extremely useful to run release:prepare first, then examine the tag (like that you really got all of the version numbers in the readme, meta-inf right, an installer - if you have one - works and looks right, run manual functional tests against it etc.) before you actually deploy the artifacts with release:perform. If you are not happy with the tag, you can just decide to abandon the release and do a new one, or if you are using svn or some other scm that allows you to modify the tag, you can just decide to fix the release notes or another minor detail directly in the tag before performing the release. Kalle On 1/25/08, Benoit Decherf [EMAIL PROTECTED] wrote: I have a little question about the release process : Why it is done in 2 steps ? Why don't we execute the prepare and perform goals at once ? It's a little strange to make all the works on the scm system but not deploy the generated artifacts. Benoit - 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]
Managing WebSphere with Maven
Hi all, can anybody give me some information about managing WebSphere with Maven. We are using WebSphere 6.1. Does anybody have some useful links? Is there a maven plugin? Thanks and Regards, Thomas
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Olivier Lamy [EMAIL PROTECTED]: * [MJAR-90] - when maven.test.Skip is set, the test-jar artifact is empty The fix is to make no test-jar on maven.test.skip. This fix may have created a new bug, but I'm unsure of which plugin has the bug (ie. what plugin to report it on). Is it maven-surefire-plugin or maven-dependency-plugin= I cleaned up my repo today to build our project from scratch. And then it failed on mvn clean install -Dmaven.test.skip on dependencies with scopetest/scope typetest-jar/type The reason they failed are because the test-jar files are no longer present. But since they have scopetest/scope they shouldn't be resolved with -Dmaven.test.skip. Or at least I think they shouldn't. (we have some test cross dependencies, that makes it neccessary to run through with maven.test.skip before we run with tests) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Steinar Bang [EMAIL PROTECTED]: Olivier Lamy [EMAIL PROTECTED]: In order to save your fingers :-), you can use -DskipTests (with surefire 2.4) This will compile test classes but not execute units. Thanx! In addition to saving my fingers from typing, it seems to have the effect that I don't get the dependency failures. Hmno... it seems to be stuck in the same sink hole it gets stuck in, when I try using -Dmaven.test.failure.ignore. It gets a lot of compilation errors caused by missing symbols, and then the build just hangs. So... I won't have to try out any of the workarounds I pondered during lunch...:-) (either removing the scopetest/scope dependencies, or locking maven-jar-plugin to version 2.1 in the top POM) Locking maven-jar-plugin to version 2.1 seems to be the least intrusive approach. I'll try that first. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Olivier Lamy [EMAIL PROTECTED]: In order to save your fingers :-), you can use -DskipTests (with surefire 2.4) This will compile test classes but not execute units. Thanx! In addition to saving my fingers from typing, it seems to have the effect that I don't get the dependency failures. So... I won't have to try out any of the workarounds I pondered during lunch...:-) (either removing the scopetest/scope dependencies, or locking maven-jar-plugin to version 2.1 in the top POM) Thanx again! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
archiva.xml on JBoss
Hi all! As discussed in another thread [0], I deployed archiva successfully to JBoss 4.2.2.GA. However, when configuring repositories archiva complains that it cannot write configuration and a number of exceptions are thrown. The reason seems to be that JBoss' home directory is (by intention) not writable for archiva, and the directory ARCHIVA_BASE/conf, which is actually JBOSS_HOME/conf which is actually /src/jboss/conf does not exist. So archiva can't create the file archiva.xml which is required. Is there an opportunity to change the location of archiva's configuration file? Are there more files beside archiva.xml that will need write access? thanks in advance, - martin [0] http://www.nabble.com/Trouble-deploying-Archiva-1.0-to-JBoss-4.2.2.GA-to15005490.html -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: PGP signature
I cannot write a mail to the maven-users mailing list
Hi, can anyone help me? My totally normal mail is regarded as spam. Why? Just because I have a complaint about maven? Stefan Seidel -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel. +49 (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web. www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Steinar Bang [EMAIL PROTECTED]: Locking maven-jar-plugin to version 2.1 seems to be the least intrusive approach. I'll try that first. But how do I do that. Just putting plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.1/version /plugin in the top pom, makes 2.1 be pulled into the local maven repo, but that's in addition to 2.2, and I still get the missing test-jar issue. So it probably still uses 2.2. Do I have to introduce this setting into all POMs with packagingjar/packaging? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Snapshots aren't updated!
If I understand you correctly, you're using the maven-install-plugin to install files into the remote repository? This way the metadata in the remote repository is not correctly being updated, so that causes the snapshot not to be updated in the local repository. Use the maven-deploy-plugin for the deployment of artifacts into the remote repository. This is the only way the metadata would be correct. Hth, Nick Stolwijk -Original Message- From: DCVer [mailto:[EMAIL PROTECTED] Sent: Mon 1/28/2008 1:03 PM To: users@maven.apache.org Subject: Re: Snapshots aren't updated! But I install the jar from the remote server and the jar is installed directly to the Maven repository, which is in fact the remote repository to my local machine and the repository from where snapshots are downloaded (but not updated...) Jeff MAURY wrote: The install plugin updates your local repo and not the remote ones. You should use the deploy plugin if you want. Jeff On Jan 26, 2008 6:11 PM, DCVer [EMAIL PROTECTED] wrote: Hi, Why Maven doesn't update snapshot dependencies, although all of my repositories have defined update policy to always? I try adding -U while building, but it looks, like only Maven plugins are updated - snapshots not. I have added new class to one of the dependency jar, installed the jar with mvn install on the remote repository (from where my snapshots are downloaded). So the jar has definitely changed, but Maven hasn't updated my local repository... I was thinking a lot, but haven't found any solution. How Maven decides whether to update or not the snapshot jar? If it compares dates, what if the remote repository has earlier hour (other time region), as it is in my situation? Hope there is simple solution for that... -- View this message in context: http://www.nabble.com/Snapshots-aren%27t-updated%21-tp15110146s177p15110146.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com -- View this message in context: http://www.nabble.com/Snapshots-aren%27t-updated%21-tp15110146s177p15133912.html 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: Snapshots aren't updated!
But I install the jar from the remote server and the jar is installed directly to the Maven repository, which is in fact the remote repository to my local machine and the repository from where snapshots are downloaded (but not updated...) Jeff MAURY wrote: The install plugin updates your local repo and not the remote ones. You should use the deploy plugin if you want. Jeff On Jan 26, 2008 6:11 PM, DCVer [EMAIL PROTECTED] wrote: Hi, Why Maven doesn't update snapshot dependencies, although all of my repositories have defined update policy to always? I try adding -U while building, but it looks, like only Maven plugins are updated - snapshots not. I have added new class to one of the dependency jar, installed the jar with mvn install on the remote repository (from where my snapshots are downloaded). So the jar has definitely changed, but Maven hasn't updated my local repository... I was thinking a lot, but haven't found any solution. How Maven decides whether to update or not the snapshot jar? If it compares dates, what if the remote repository has earlier hour (other time region), as it is in my situation? Hope there is simple solution for that... -- View this message in context: http://www.nabble.com/Snapshots-aren%27t-updated%21-tp15110146s177p15110146.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com -- View this message in context: http://www.nabble.com/Snapshots-aren%27t-updated%21-tp15110146s177p15133912.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Archiva getting very slow
Hello, we are running our internal Maven repository on Archiva and have encountered the problem that it starts taking a very long time to download any new project dependencies from it. What could the reasons be for that? Thanks, Papapara Tudu -- View this message in context: http://www.nabble.com/Archiva-getting-very-slow-tp15134139p15134139.html Sent from the archiva-users mailing list archive at Nabble.com.
Re: I cannot write a mail to the maven-users mailing list
What mail tool and anti spam are you using ? gmail is fine for me. Jeff On Jan 28, 2008 12:17 PM, VUB Stefan Seidel [EMAIL PROTECTED] wrote: Hi, can anyone help me? My totally normal mail is regarded as spam. Why? Just because I have a complaint about maven? Stefan Seidel -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel. +49 (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web. www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com
Re: how to replace a java file
when I doing a migration project, I found that many places using filter and replace to replace java in ant scripts, so It's necessary to have a plugin to replace java code. Does anyone knows how to do it? BR//Rex On Jan 22, 2008 5:50 PM, Wayne Fay [EMAIL PROTECTED] wrote: When Maven builds a jar, it writes a file named pom.properties to: /META-INF/maven/groupId/artifactId/pom.properties It looks like this: #Generated by Maven #Thu Sep 13 15:43:41 PDT 2007 version=2.0 groupId=org.apache.maven.plugins artifactId=maven-ant-plugin You can just read this file directly to access the version, using ClassLoader.getResourceAsStream(). Or you can create your own properties file somewhere else and filter it, as suggested by Heinrich. Wayne On 1/22/08, Heinrich Nirschl [EMAIL PROTECTED] wrote: On Jan 22, 2008 5:38 PM, Rex Huang [EMAIL PROTECTED] wrote: for example, I had a Version.java public class Version { private static String VERSION = ${buildNumber}; public static String getVersion() { return VERSION; } } I need to set version number when compile, so I use filter to change the version information in java file. Rex The easiest way is to do the filtering with a real resource (e.g. a property file) and to read this resource in your java code. - 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: Resource collections and -X mode
Ah, the dangers of cut and paste programming. :( I wish the Maven reactor had been nice enough to state that Element include does not support the 'name' attribute, instead of just ignoring it. Anyway, chalk this one up to user error, and consider beefing up the -X capabilities of the resource element. Robert Egan [EMAIL PROTECTED] wrote on 01/25/2008 02:59:05 PM: Is there any way for -X to expand my resource elements in resources:resources? They look right, but for some reason they're not working, and the debug information (as shown) is somewhat less than optimal. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -- [DEBUG] (f) filters = [] [DEBUG] (f) outputDirectory = [...] [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) resources = [EMAIL PROTECTED], [EMAIL PROTECTED] [DEBUG] -- end configuration -- resource directoryframework/apps/wcmSuiteAdministration- ear/modules/wcmSuiteAdministration-war/src/web/directory includes include name=**/*.jsp/ include name=**/*.jsf/ /includes excludes exclude name=**/test// exclude name=WEB-INF// /excludes /resource Directory of framework\apps\wcmSuiteAdministration- ear\modules\wcmSuiteAdministration-war\src\web 12/28/2007 10:52 AMDIR . 12/28/2007 10:52 AMDIR .. 03/17/2006 11:02 AM 905 error.jsp 12/12/2007 08:37 AMDIR jsp 01/24/2008 11:40 AMDIR WEB-INF 1 File(s)905 bytes Directory of framework\apps\wcmSuiteAdministration- ear\modules\wcmSuiteAdministration-war\src\web\jsp 12/12/2007 08:37 AMDIR . 12/12/2007 08:37 AMDIR .. 10/22/2007 07:35 AM 3,662 mainWeb.jsp 1 File(s) 3,662 bytes Directory of framework\apps\wcmSuiteAdministration- ear\modules\wcmSuiteAdministration-war\src\web\WEB-INF 01/24/2008 11:40 AMDIR . 01/24/2008 11:40 AMDIR .. 01/17/2007 10:48 AM11,482 ibm-web-bnd.xmi 06/05/2006 01:32 PM 1,741 ibm-web-ext.xmi 02/27/2007 11:38 PM38,631 web.xml 08/22/2003 05:51 AM 405 weblogic.xml 4 File(s) 52,259 bytes Yet, mainWeb.jsp is just not getting copied. -- This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally.
Re: I cannot write a mail to the maven-users mailing list
Well, I don't use anything. The problem is the apache mail server rejecting my message body. I think I'll just have to try changing the message text until it is accepted... Stefan Jeff MAURY wrote: What mail tool and anti spam are you using ? gmail is fine for me. Jeff On Jan 28, 2008 12:17 PM, VUB Stefan Seidel [EMAIL PROTECTED] wrote: Hi, can anyone help me? My totally normal mail is regarded as spam. Why? Just because I have a complaint about maven? Stefan Seidel -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel. +49 (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web. www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel. +49 (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web. www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Managing WebSphere with Maven
I know cargo (http://cargo.codehaus.org) for managing application servers. However, it does not support WebSphere but I can remember someone working on extensions for WebSphere but don't know the version of WebSphere supported by the work. Jeff On Jan 28, 2008 10:36 AM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, can anybody give me some information about managing WebSphere with Maven. We are using WebSphere 6.1. Does anybody have some useful links? Is there a maven plugin? Thanks and Regards, Thomas -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com
Re: [ANN] Maven Jar Plugin 2.2 for Maven 2 Released
Steinar Bang [EMAIL PROTECTED]: Steinar Bang [EMAIL PROTECTED]: Olivier Lamy [EMAIL PROTECTED]: In order to save your fingers :-), you can use -DskipTests (with surefire 2.4) This will compile test classes but not execute units. Thanx! In addition to saving my fingers from typing, it seems to have the effect that I don't get the dependency failures. Hmno... it seems to be stuck in the same sink hole it gets stuck in, when I try using -Dmaven.test.failure.ignore. It gets a lot of compilation errors caused by missing symbols, and then the build just hangs. The reason it got stuck was that many POMs had explicit maven-surefire-plugin configs, locking to version2.3/version. A residue from a workaround from some earlier problem if I recall correctly. Removing those settings makes maven clean install -DskipTests run through without failing (because it builds the test jars, and the dependencies are satisfied, presumably...?). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Files copied from basedir to target/classes
Hi, Maybe I'm not understanding something basic here, but in my JAR project I am finding that folders in my basedir are getting copied into target/classes when I compile. I really didn't expect this behaviour. I thought target/classes only loaded up with stuff under src? Any ideas please? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-dependency-plugin 2.0 fail to unpack tar file
With recent dependency plugin, I get an error (below) for this configuration. This used to work with version 2.0-alpha-4 Please advise, Thanks, Erez. pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions !-- First, get tomcat from the repository and unpack it -- execution idunpack/id phaseprocess-resources/phase goals goalunpack/goal /goals configuration artifactItems artifactItem groupIdorg.apache.catalina/groupId artifactIdtomcat/artifactId version5.5.20/version typetar/type outputDirectory${mgmt.directory }/outputDirectory /artifactItem ... Error: [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: org.apache.catalina:tomcat:5.5.20:tar [INFO] Unpacking /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tarto /vob/nm_acs/acs/install/target/stage/mgmt with Includes null and excludes:null [INFO] Expanding: /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tar into /vob/nm_acs/acs/install/target/stage/mgmt [WARNING] --- [WARNING] Standard error: [WARNING] --- [WARNING] [WARNING] --- [WARNING] Standard output: [WARNING] --- [WARNING] chmod: cannot access `/vob/nm_acs/acs/install/target/stage/mgmt/apache-tomcat-5.5.20/webapps/jsp-examples/WEB-INF/classes/org/apache/jsp/jsp2/jspattribute/shuffle_jsp.class': No such file or directory [WARNING] --- org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod( ArchiveEntryUtils.java:59) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile( AbstractZipUnArchiver.java:236) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute( TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract( AbstractUnArchiver.java:108) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack( AbstractDependencyMojo.java:266) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact (UnpackMojo.java:122) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute( UnpackMojo.java:95) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error unpacking file: /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat-5.5.20.tar to: /vob/nm_acs/acs/install/target/stage/mgmt org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException:
How to change workingDirectory for release:perform?
Hi, any solution in sight? I have exactly the same problem, using maven-release-plugin:2.0-beta-7 C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-commonmvn -Dbasedir=C:\Release -DworkingDirectory=C:\Release -X release:perform [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:perform' -- [DEBUG] (s) basedir = C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common [DEBUG] (f) project = MavenProject: com.gide.common:gide-common:3.2.0-SNAPSHOT @ C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml [DEBUG] (f) reactorProjects = [MavenProject: com.gide.common:gide-common:3.2.0-SNAPSHOT @ C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\pom.xml] [DEBUG] (f) scmCommentPrefix = [maven-release-plugin] [DEBUG] (f) settings = [EMAIL PROTECTED] [DEBUG] (f) useReleaseProfile = true [DEBUG] (f) workingDirectory = C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout [DEBUG] -- end configuration -- [INFO] [release:perform] [INFO] Checking out the project to perform the release ... [DEBUG] viewName = 'reinhart-d167961-maven' ; configSpec = 'load /pdv_cms/GDCAMS/src/gide-common' [DEBUG] executing checkout command... [DEBUG] Tag: gide-common-3.1.0 [DEBUG] Running with CLEARCASE null [INFO] Executing: C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\targetcleartool mkview -snapshot -tag reinhart-d167961-maven-checkout -vws \\d167961\kmdata\reinhart-d167961-maven-checkout.vws C:\LocalViewsMaven\gide-common-main\pdv_cms\GDCAMS\src\gide-common\target\checkout [ERROR] The cleartool command failed. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to checkout from SCM Provider message: The cleartool command failed. Command output: cleartool: Error: A view cannot be created under another view's storage directory or snapshot view storage directory. [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException: Unable to checkout from SCM Provider message: The cleartool command failed. Command output: = The parameters -Dbasedir and -DworkingDirectory are not passed to the plugin. thanx, Torsten
Re: A Hello World in ejb3
Hi, may you supply the pom.xml? cheers Daniele On Jan 28, 2008 2:09 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: It is just not working -- can you be more specific? Try adding -X to the call to Maven (eg mvn -X package) to get debugging information. If you spot a specific error in the debug log, paste it in a reply to this email. Wayne On 1/27/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'm looking for a simple sample Maven project for ejb3, I have tried this: http://www.sonatype.com/book/examples/book-j2ee.zip, everything compile, and I follow the exact steps in the maven-user-guide.pdf, but it just not working. Thanks, A.C. -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html 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-dependency-plugin 2.0 fail to unpack tar file
Is there a way to workaround this issue? Thanks, Erez. On Jan 28, 2008 5:09 PM, Brian E. Fox [EMAIL PROTECTED] wrote: This seems to be an issue in the newer maven-archiver in the way it handles the tars, nothing changed in the dependency plugin related to how it unpacks, but we needed a newer version of the archiver to support the filtering. -Original Message- From: Erez Nahir [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 9:43 AM To: Maven Users List Subject: maven-dependency-plugin 2.0 fail to unpack tar file With recent dependency plugin, I get an error (below) for this configuration. This used to work with version 2.0-alpha-4 Please advise, Thanks, Erez. pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions !-- First, get tomcat from the repository and unpack it -- execution idunpack/id phaseprocess-resources/phase goals goalunpack/goal /goals configuration artifactItems artifactItem groupIdorg.apache.catalina/groupId artifactIdtomcat/artifactId version5.5.20/version typetar/type outputDirectory${mgmt.directory }/outputDirectory /artifactItem ... Error: [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: org.apache.catalina:tomcat:5.5.20:tar [INFO] Unpacking /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tarto /vob/nm_acs/acs/install/target/stage/mgmt with Includes null and excludes:null [INFO] Expanding: /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tar into /vob/nm_acs/acs/install/target/stage/mgmt [WARNING] --- [WARNING] Standard error: [WARNING] --- [WARNING] [WARNING] --- [WARNING] Standard output: [WARNING] --- [WARNING] chmod: cannot access `/vob/nm_acs/acs/install/target/stage/mgmt/apache-tomcat-5.5.20/webapps/ jsp-examples/WEB-INF/classes/org/apache/jsp/jsp2/jspattribute/shuffle_js p.class': No such file or directory [WARNING] --- org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod( ArchiveEntryUtils.java:59) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile( AbstractZipUnArchiver.java:236) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute( TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract( AbstractUnArchiver.java:108) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack( AbstractDependencyMojo.java:266) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackAr tifact (UnpackMojo.java:122) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute( UnpackMojo.java:95) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at
RE: [ANN] Maven Dependency Plugin 2.0 Released
It's only the new tree goal that requires 2.0.8. Everything else should work fine on older versions. Since the tree goal is most often used via the command line for debugging purposes, I chose not to require 2.0.8 for the entire plugin and leave out the majority of the users. If you use the tree goal on maven 2.0.8, you get a warning. Most of the time it works but the results may not match exactly what the core does (this is why some core changes where required to expose behavior), but it usually doesn't crash, at least with .6 and .7 -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 10:01 AM To: Maven Users List Subject: Re: [ANN] Maven Dependency Plugin 2.0 Released FYI, this version is no more compatible with maven 2.0.5. It's working with 2.0.7. I didn't test with 2.0.6 I opened MDEP-136. Arnaud On Jan 25, 2008 11:45 PM, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - 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]
Experience in maven-release-plugin using ClearCase SCM
Hi, I´m trying to establish our ReleaseBuild with the maven-release-plugin and ClearCase (using Snapshot views) I´m using maven-release-plugin:2.0-beta-7 The first Snapshotview (Developer SnapshotView) actually resides at C:\LocalViews\username_pcname_viewname\VOB_name\projectname In the pom.xml I have: ... scm !-- scm:checkout -DcheckoutDirectory=C:\LocalViewsMaven\gide-common-view -- connectionscm:clearcase:load /pdv_cms/GDCAMS/src/gide-common/connection developerConnectionscm:clearcase:load /pdv_cms/GDCAMS/src/gide-common/developerConnection tag/ url/ /scm ... now i can mvn scm:checkout -DcheckoutDirectory=C:\LocalViewsMaven\viewname The second Snapshowview (for Maven Release purposes) now resides at C:\LocalViewsMaven\viewname now i can mvn release:prepare and the magic with the pom.xml manipulation starts successfully. Finally, I want to mvn release:perform where I run into problems, because ClearCase cannot checkout in the same directory of an existing view. Therefore I configured in the pom.xml build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId version2.0-beta-7/version configuration allowTimestampedSnapshotstrue/allowTimestampedSnapshots workingDirectoryc:\Release\${artifactId}\${version}/workingDirectory /configuration /plugin /plugins build At this point, I couldn´t pass the workingDirectory via CommandLine arguments The third Snapshotview is now created, but at .\nextRelease-SNAPSHOT, containing the Release version. Is that the right way? Or am I doing something wrong / too much? Has anyone experience (and success) in using maven-release-plugin with ClearCase? Any complete sample configuration ? Thanx, Torsten
maven-compiler-plugin 2.1-el4j_20080110_1520
Hi, We are experiencing problems with Maven for a couple of weeks now. It's happening on all Maven installations, and I don't have a clue why. The problem is with the compiler plugin. If we do a 'mvn package' we get the following exception: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-compiler-plugin:2.1-el4j_20080110_1520:compile': Unable to find the mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.1-el4j_20080110_1520:compile' in the plugin 'org.apache.maven.plugins:maven-compiler-plugin'org/codehaus/plexus/compiler/util/scan/InclusionScanException Here is the contents of the file '.m2\repository\org\apache\maven\plugins\maven-compiler-plugin\maven-metadata-elca-services.xml'. If we replace 2.1-el4j_20080110_1520 with 2.0.2, it compiles. But we have to do this every day, and our build server gets lost too. ?xml version=1.0 encoding=UTF-8? metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.1-el4j_20080110_1520/version versioning latest2.1-el4j_20080110_1520/latest versions version2.1-el4j_20080110_1520/version /versions lastUpdated20080111075723/lastUpdated /versioning /metadata Thanks, Danilo -- View this message in context: http://www.nabble.com/maven-compiler-plugin-2.1-el4j_20080110_1520-tp15137318s177p15137318.html 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: Files copied from basedir to target/classes
igore this post ty Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
Hi Daniele, there are several pom.xml files, very long, you can browse them from the zip file here: http://www.sonatype.com/book/examples/book-j2ee.zip the readme in the zip give svn url: http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/ I checked out the above project too, the layout is a little different from the zip file, but it does not compile, this is the only maven project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Thanks, A.C. Daniele De Francesco wrote: Hi, may you supply the pom.xml? cheers Daniele On Jan 28, 2008 2:09 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: It is just not working -- can you be more specific? Try adding -X to the call to Maven (eg mvn -X package) to get debugging information. If you spot a specific error in the debug log, paste it in a reply to this email. Wayne On 1/27/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'm looking for a simple sample Maven project for ejb3, I have tried this: http://www.sonatype.com/book/examples/book-j2ee.zip, everything compile, and I follow the exact steps in the maven-user-guide.pdf, but it just not working. Thanks, A.C. -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15136736.html 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-dependency-plugin 2.0 fail to unpack tar file
This seems to be an issue in the newer maven-archiver in the way it handles the tars, nothing changed in the dependency plugin related to how it unpacks, but we needed a newer version of the archiver to support the filtering. -Original Message- From: Erez Nahir [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 9:43 AM To: Maven Users List Subject: maven-dependency-plugin 2.0 fail to unpack tar file With recent dependency plugin, I get an error (below) for this configuration. This used to work with version 2.0-alpha-4 Please advise, Thanks, Erez. pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions !-- First, get tomcat from the repository and unpack it -- execution idunpack/id phaseprocess-resources/phase goals goalunpack/goal /goals configuration artifactItems artifactItem groupIdorg.apache.catalina/groupId artifactIdtomcat/artifactId version5.5.20/version typetar/type outputDirectory${mgmt.directory }/outputDirectory /artifactItem ... Error: [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: org.apache.catalina:tomcat:5.5.20:tar [INFO] Unpacking /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tarto /vob/nm_acs/acs/install/target/stage/mgmt with Includes null and excludes:null [INFO] Expanding: /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tar into /vob/nm_acs/acs/install/target/stage/mgmt [WARNING] --- [WARNING] Standard error: [WARNING] --- [WARNING] [WARNING] --- [WARNING] Standard output: [WARNING] --- [WARNING] chmod: cannot access `/vob/nm_acs/acs/install/target/stage/mgmt/apache-tomcat-5.5.20/webapps/ jsp-examples/WEB-INF/classes/org/apache/jsp/jsp2/jspattribute/shuffle_js p.class': No such file or directory [WARNING] --- org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod( ArchiveEntryUtils.java:59) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile( AbstractZipUnArchiver.java:236) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute( TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract( AbstractUnArchiver.java:108) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack( AbstractDependencyMojo.java:266) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackAr tifact (UnpackMojo.java:122) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute( UnpackMojo.java:95) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [ERROR] BUILD ERROR [INFO]
Re: A Hello World in ejb3
Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: It is just not working -- can you be more specific? Try adding -X to the call to Maven (eg mvn -X package) to get debugging information. If you spot a specific error in the debug log, paste it in a reply to this email. Wayne On 1/27/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'm looking for a simple sample Maven project for ejb3, I have tried this: http://www.sonatype.com/book/examples/book-j2ee.zip, everything compile, and I follow the exact steps in the maven-user-guide.pdf, but it just not working. Thanks, A.C. -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to report Mangled MD5 file in http://repo1.maven.org/maven/batik/jars/
File a bug under http://jira.codehaus.org/browse/MEV. sebb wrote: The directory of http://repo1.maven.org/maven/batik/jars/ looks like this to me: ... batik-1.5-fop-0.20-5.jar 22-Jan-2004 08:37 2.0M batik-1.5-fop-0.20-5.jar.md5 22-Jan-2004 08:37 33 ... However, when the md5 is downloaded, it is exactly the same as the jar - i.e. not the 33 bytes of hash+EOL expected. Looks like there is a bad link or perhaps a bad htaccess file which is causing the wrong file to be downloaded. The equivalent ibiblio entry seems OK: http://mirrors.ibiblio.org/pub/mirrors/maven/batik/jars/ Any idea how to report such corrupted MD5 files? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to report Mangled MD5 file in http://repo1.maven.org/maven/batik/jars/
The directory of http://repo1.maven.org/maven/batik/jars/ looks like this to me: ... batik-1.5-fop-0.20-5.jar 22-Jan-2004 08:37 2.0M batik-1.5-fop-0.20-5.jar.md5 22-Jan-2004 08:37 33 ... However, when the md5 is downloaded, it is exactly the same as the jar - i.e. not the 33 bytes of hash+EOL expected. Looks like there is a bad link or perhaps a bad htaccess file which is causing the wrong file to be downloaded. The equivalent ibiblio entry seems OK: http://mirrors.ibiblio.org/pub/mirrors/maven/batik/jars/ Any idea how to report such corrupted MD5 files? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-compiler-plugin 2.1-el4j_20080110_1520
Danilo Tuler wrote: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-compiler-plugin:2.1-el4j_20080110_1520:compile': Unable to find the mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.1-el4j_20080110_1520:compile' in the plugin 'org.apache.maven.plugins:maven-compiler-plugin'org/codehaus/plexus/compiler/util/scan/InclusionScanException I'm using the depgraph plugin, and I guess its repository is broken. I removed it from my pom and it works fine now. The problematic repository is: pluginRepository idelca-services/id urlhttp://el4.elca-services.ch/el4j/maven2repository/url releases enabledtrue/enabled /releases /pluginRepository Danilo -- View this message in context: http://www.nabble.com/maven-compiler-plugin-2.1-el4j_20080110_1520-tp15137318s177p15139736.html 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: A Hello World in ejb3
Are you sure this is a Maven problem and not a defect in Geronimo? Given that the Geronimo team is the creator of this sample, I think its best to ask them why its broken, and what you should do to fix it. Wayne On 1/28/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi Daniele, there are several pom.xml files, very long, you can browse them from the zip file here: http://www.sonatype.com/book/examples/book-j2ee.zip the readme in the zip give svn url: http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/ I checked out the above project too, the layout is a little different from the zip file, but it does not compile, this is the only maven project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Thanks, A.C. Daniele De Francesco wrote: Hi, may you supply the pom.xml? cheers Daniele On Jan 28, 2008 2:09 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: It is just not working -- can you be more specific? Try adding -X to the call to Maven (eg mvn -X package) to get debugging information. If you spot a specific error in the debug log, paste it in a reply to this email. Wayne On 1/27/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'm looking for a simple sample Maven project for ejb3, I have tried this: http://www.sonatype.com/book/examples/book-j2ee.zip, everything compile, and I follow the exact steps in the maven-user-guide.pdf, but it just not working. Thanks, A.C. -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15136736.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 multi-project site build is broken
Hi, I don't know if anyone else noticed this, but the mvn site keeps on getting worse. It first started out with the following phenomenon: during site build, for each project _all_ the projects were iterated, usually saying [INFO] No goals needed for project - skipping Then, we started using xmlbeans and it started doing xmlbeans:xmlbeans for each project. And now, it executes _all_ the tests of _all_ project for _each_ project. Well, you can imagine that this is pretty much undoable for a project like ours with 150+ modules. Here some sample outputs from the attached project (1 parent, 2 modules, 1 test per module) mvn clean site | grep Running | wc -l 6 --- this means the two tests are executed 3 times each!! mvn clean site | grep xmlbeans | wc -l 29 --- this means, xmlbeans is being executed 26 times, 9 times per project!!! Hello? Is anyone _using_ maven 2 site generation? This situation is that it is becoming totally unusable. The problem is, I don't even know where to report the bug, because it seems to be a combination of bugs. regards, Stefan Seidel P.S.: I have removed the attached project, to see whether this is causing the apache mail server to reject my mail. You can find it at http://stefanseidel.info/mvnexec.zip -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Dependency Plugin 2.0 Released
FYI, this version is no more compatible with maven 2.0.5. It's working with 2.0.7. I didn't test with 2.0.6 I opened MDEP-136. Arnaud On Jan 25, 2008 11:45 PM, Brian Fox [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the 2.0 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin This release fixes many issues and introduces several new goals for dependency analysis and output. Release Notes - Maven 2.x Dependency Plugin - Version 2.0 ** Bug * [MDEP-59] - dependency:unpack can't extract rar archives * [MDEP-74] - dependencies in test scope are not handled properly by analyze * [MDEP-75] - non-portable classpath separator in build-classpath output * [MDEP-80] - Usage page of the docs use an overWrite property, but none exists in the (auto-generated) goal reference docs * [MDEP-81] - analyzer can't handle non-pom projects that don't produce a /target folder * [MDEP-83] - Typo in How to prepare your dependencies before updating to Maven 2.0.6 * [MDEP-91] - org.codehaus.mojo:dependency-maven-plugin takes precedence over org.apache.maven.plugins:maven-dependency-plugin * [MDEP-93] - Tests can fail with OOME * [MDEP-95] - can't build unit tests with jdk1.4 rev 545703 * [MDEP-97] - dependency:tree not consistent with maven core's dependency tree * [MDEP-113] - Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-SNAPSHOT * [MDEP-120] - build-classpath is unable to build a classpath with runtime or test dependencies ** Improvement * [MDEP-89] - change separators in build-classpath * [MDEP-96] - Allow includes and excludes to be used simultaneously in the same filter * [MDEP-99] - Unpack SWC files * [MDEP-100] - Merge dependency:tree branch for new features * [MDEP-101] - Add dependency:list alias for dependency:resolve * [MDEP-104] - Add Analyze HTML Report * [MDEP-111] - Provide output on file as in other goals * [MDEP-119] - build-classpath should create destination directory for the classpath file * [MDEP-125] - Build-classpath should store the classpath in a Filter * [MDEP-129] - allow substitution of the absolute local repo path with a property * [MDEP-130] - allow the classpath file to be attached * [MDEP-131] - Complete i18n support for new analyze-report * [MDEP-132] - Add german translation for analyze-report mojo * [MDEP-133] - Add dedicated resource bundle for locale en ** New Feature * [MDEP-47] - Ability to have an includes/excludes feature on the dependency:unpack goal. * [MDEP-70] - add new mojo to perform analysis of dependencies and fail the build if certain conditions aren't met * [MDEP-71] - add report to display contents of dependency-analyzer * [MDEP-94] - Add dependency:tree goal * [MDEP-116] - [dependency :copy-dependencies ] Add parameter to allow extracting POMs - 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 ...
Re: running a specific plugin only while deploying ; running multiple times a same plugin while varying its parameters
I try this and I get the following: One or more required plugin parameters are invalid/missing for 'exec:exec' [0] Inside the definition for plugin 'exec-maven-plugin' specify the following: configuration ... executableVALUE/executable /configuration -OR- on the command line, specify: '-Dexec.executable=VALUE' [DEBUG]Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.codehaus.mojo:exec-maven-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'executable'; alias: 'null']] for mojo: org.codehaus.mojo:exec-maven-plugin:1.1-beta-1:exec at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginParameterException: Error configuring: org.codehaus.mojo:exec-maven-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'executable'; alias: 'null']] for mojo: org.codehaus.mojo:exec-maven-plugin:1.1-beta-1:exec at org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(DefaultPluginManager.java:911) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:616) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:425) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more here is my profiles section of the pom: profile activation property nameprofile1/name /property /activation build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId configuration executablejava/executable arguments argument-classpath/argument classpath / argument com.ngc.casper.persistent.PersistentCollection /argument /arguments /configuration /plugin /plugins /build /profile Can you tell me what I am doing wrong? I really need a way to run this class file. Here is my command line nvn exec:exec -Pprofile1 Saritha SV wrote: Hi For running multiple times a same plugin with various parameters , you can use profiles . http://maven.apache.org/guides/introduction/introduction-to-profiles.html this will give you an intro to build profiles . You can use different profiles in pom.xml , with the same plugin having different arguments . And u can list the active Profiles in settings.xml or u can specify the profiles to be executed in the command line separated by comma . find an eg of using 2 different profiles in pom.xml with maven-exec-plugin . profiles profile activation property nametestProfile1/name /property /activation build plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId configuration executablejava/executable arguments
Re: Adding includes in jar plugin
Easiest thing would be to move them to src/main/resources/META-INF. Any reason they're not there already? Wayne On 1/28/08, Jeudy, Guillaume [EMAIL PROTECTED] wrote: Hi, I'm trying to add some files to under META-INF directory with the jar plugin. Can someone help me? It doesn't seem to work. Here's what I'm using: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration archive manifestFilesrc/main/resources/META-INF/MANIFEST.MF/manifestFile /archive includes includesrc/main/config/META-INF/**/include /includes /configuration /plugin Any help is appreciated, -Guillaume This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven java2wsdl...
No one? Please? 2008/1/11, Fernando da Motta Hildebrand [EMAIL PROTECTED]: Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml ?xml version=1.0 encoding=UTF-8? project xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant xmlns:u=jelly:util default=radar:build preGoal name=java:compile mkdir dir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF / attainGoal name=xdoclet:webdoclet / attainGoal name=wsdl / ant:path id= axis.src.set ant:pathelement location=${maven.axis.build.dir} / /ant:path maven:addPath id=maven.compile.src.set refid=axis.src.set/ /preGoal preGoal name=war:webapp j:set var=webapp.build.webinf value=${maven.war.webapp.dir }/WEB-INF/ j:set var=webapp.build.metainf value=${maven.war.webapp.dir }/META-INF/ ant:mkdir dir=${webapp.build.webinf}/ ant:mkdir dir=${webapp.build.metainf}/ ant:echoCopying server-config.wsdd and context.xml.../ant:echo ant:copy todir=${webapp.build.webinf} preservelastmodified=true ant:fileset dir=${maven.src.dir}/conf includes=server-config.wsdd /ant:fileset /ant:copy ant:copy todir=${webapp.build.metainf} preservelastmodified=true ant:fileset dir=${ maven.src.dir}/conf includes=context.xml /ant:fileset /ant:copy /preGoal !-- Goal that generates the wsdl for the target class -- pregoal name=wsdl !-- mkdir dir=${maven.build.dir}/wsdl / -- path id=compile.classpath pathelement path=${ maven.build.dir}/classes / /path taskdef name=axis-jjava2wsdl classname= org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask classpath refid= compile.classpath / classpath refid=maven.dependency.classpath / /taskdef ant:axis-java2wsdl classname= br.com.siliconstrategy.radar.io.service.CorrelationRemoteService style=rpc namespace=urn:${pom.artifactId} location=http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId}http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D output=${maven.src.dir}\webapp\${pom.artifactId}.wsdl /ant:axis-java2wsdl /pregoal goal name=radar:build prereqs=clean,wsdl,war:install/ goal name=radar:deploy prereqs=clean,tomcat:undeploy,tomcat:deploy/ /project But I can't get it to work, it doesn't generate any wsdl files. Can anyone give a hint here? Thanks. -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later...
Adding includes in jar plugin
Hi, I'm trying to add some files to under META-INF directory with the jar plugin. Can someone help me? It doesn't seem to work. Here's what I'm using: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration archive manifestFilesrc/main/resources/META-INF/MANIFEST.MF/manifestFile /archive includes includesrc/main/config/META-INF/**/include /includes /configuration /plugin Any help is appreciated, -Guillaume This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you.
maven-jar-plugin location
I see the following error while building with maven-2.0.8 [INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found Any ideas where maven determines locatations for plugins for build environment? Thanks Martin-
RE: Maven java2wsdl...
It might be because you're using Maven 1. I get the impression that most of the people on the User List have moved on to Maven 2. There is some documentation around on WSDL and Axis in Maven 2. I believe the example system in Better Builds With Maven (free PDF book) uses those, so if you wanted to migrate to the newer version, that might help. I have little to no idea of the intricacies of Maven 1, though. -Original Message- From: Fernando da Motta Hildebrand [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:55 PM To: users@maven.apache.org Subject: Re: Maven java2wsdl... No one? Please? 2008/1/11, Fernando da Motta Hildebrand [EMAIL PROTECTED]: Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml ?xml version=1.0 encoding=UTF-8? project xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant xmlns:u=jelly:util default=radar:build preGoal name=java:compile mkdir dir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF / attainGoal name=xdoclet:webdoclet / attainGoal name=wsdl / ant:path id= axis.src.set ant:pathelement location=${maven.axis.build.dir} / /ant:path maven:addPath id=maven.compile.src.set refid=axis.src.set/ /preGoal preGoal name=war:webapp j:set var=webapp.build.webinf value=${maven.war.webapp.dir }/WEB-INF/ j:set var=webapp.build.metainf value=${maven.war.webapp.dir }/META-INF/ ant:mkdir dir=${webapp.build.webinf}/ ant:mkdir dir=${webapp.build.metainf}/ ant:echoCopying server-config.wsdd and context.xml.../ant:echo ant:copy todir=${webapp.build.webinf} preservelastmodified=true ant:fileset dir=${maven.src.dir}/conf includes=server-config.wsdd /ant:fileset /ant:copy ant:copy todir=${webapp.build.metainf} preservelastmodified=true ant:fileset dir=${ maven.src.dir}/conf includes=context.xml /ant:fileset /ant:copy /preGoal !-- Goal that generates the wsdl for the target class -- pregoal name=wsdl !-- mkdir dir=${maven.build.dir}/wsdl / -- path id=compile.classpath pathelement path=${ maven.build.dir}/classes / /path taskdef name=axis-jjava2wsdl classname= org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask classpath refid= compile.classpath / classpath refid=maven.dependency.classpath / /taskdef ant:axis-java2wsdl classname= br.com.siliconstrategy.radar.io.service.CorrelationRemoteService style=rpc namespace=urn:${pom.artifactId} location=http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId} http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D output=${maven.src.dir}\webapp\${pom.artifactId}.wsdl /ant:axis-java2wsdl /pregoal goal name=radar:build prereqs=clean,wsdl,war:install/ goal name=radar:deploy prereqs=clean,tomcat:undeploy,tomcat:deploy/ /project But I can't get it to work, it doesn't generate any wsdl files. Can anyone give a hint here? Thanks. -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as KBC FP). This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided as is, without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding includes in jar plugin
includes/excludes is for content coming from ${project.build.outputDirectory}. -- Olivier 2008/1/28, Jeudy, Guillaume [EMAIL PROTECTED]: Hi Wayne, Thanks I figured that out, that's what I did and now it works. I don't know why includes can't seem to work though, it seems to be related to what you want to include from the build classpath. Guillaume -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: January 28, 2008 2:56 PM To: Maven Users List Subject: Re: Adding includes in jar plugin Easiest thing would be to move them to src/main/resources/META-INF. Any reason they're not there already? Wayne On 1/28/08, Jeudy, Guillaume [EMAIL PROTECTED] wrote: Hi, I'm trying to add some files to under META-INF directory with the jar plugin. Can someone help me? It doesn't seem to work. Here's what I'm using: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration archive manifestFilesrc/main/resources/META-INF/MANIFEST.MF/manifestFile /archive includes includesrc/main/config/META-INF/**/include /includes /configuration /plugin Any help is appreciated, -Guillaume This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven asks password many times
Hallo everybody, I use OpenVPN to connect to our server. I set username/password in maven's settings.xml. It asks password again 6-8 times when I run command: mvn deploy. I try to use sftp, scp with the same result. Do you have any ideas? :working: -- View this message in context: http://www.nabble.com/Maven-asks-password-many-times-tp15145764s177p15145764.html 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: Adding includes in jar plugin
Hi Wayne, Thanks I figured that out, that's what I did and now it works. I don't know why includes can't seem to work though, it seems to be related to what you want to include from the build classpath. Guillaume -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: January 28, 2008 2:56 PM To: Maven Users List Subject: Re: Adding includes in jar plugin Easiest thing would be to move them to src/main/resources/META-INF. Any reason they're not there already? Wayne On 1/28/08, Jeudy, Guillaume [EMAIL PROTECTED] wrote: Hi, I'm trying to add some files to under META-INF directory with the jar plugin. Can someone help me? It doesn't seem to work. Here's what I'm using: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration archive manifestFilesrc/main/resources/META-INF/MANIFEST.MF/manifestFile /archive includes includesrc/main/config/META-INF/**/include /includes /configuration /plugin Any help is appreciated, -Guillaume This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to replace a java file
On Jan 28, 2008 2:22 PM, Rex Huang [EMAIL PROTECTED] wrote: when I doing a migration project, I found that many places using filter and replace to replace java in ant scripts, so It's necessary to have a plugin to replace java code. Does anyone knows how to do it? BR//Rex On Jan 22, 2008 5:50 PM, Wayne Fay [EMAIL PROTECTED] wrote: When Maven builds a jar, it writes a file named pom.properties to: /META-INF/maven/groupId/artifactId/pom.properties It looks like this: #Generated by Maven #Thu Sep 13 15:43:41 PDT 2007 version=2.0 groupId=org.apache.maven.plugins artifactId=maven-ant-plugin You can just read this file directly to access the version, using ClassLoader.getResourceAsStream(). Or you can create your own properties file somewhere else and filter it, as suggested by Heinrich. Wayne On 1/22/08, Heinrich Nirschl [EMAIL PROTECTED] wrote: On Jan 22, 2008 5:38 PM, Rex Huang [EMAIL PROTECTED] wrote: for example, I had a Version.java public class Version { private static String VERSION = ${buildNumber}; public static String getVersion() { return VERSION; } } I need to set version number when compile, so I use filter to change the version information in java file. Rex The easiest way is to do the filtering with a real resource (e.g. a property file) and to read this resource in your java code. - 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-xmlbeans-plugin exclude files?
Hi, I try to build xsd schema files with xmlbeans. It works so far, but I have to either exclude the 'Examples' directory or to only include the *.xsd files in the schemaDirectory (not those in subfolders). According to the plugin-description site, there is nothing like in-/exclude, right? Is that possible ot not? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Howw do you specifically set classpath using exec:java plugin
I have a multiple module project. Most of the modules package as a jar. I am trying to run a class using the exec plugin. Here is the command I use (note it is configured using netbens6) Executing:C:\Apps\apache-maven-2.0.8\bin\mvn.bat -Dexec.args=full -classpath -Dexec.mainClass=com.ngc.casper.persistent.PersistentCollection --debug --errors exec:java The problem I am having is that one of the files that is used by the class is found in one of the jar files (dependencies). Which is good that the -classpath caused the dependency to be found, but I want to find this file in the dependent module's target/classes directory. When the App is deployed, this file is read as a file, not as a stream. i.e. if I pull the file out of a jar I have to use getResourceAsStream. However, I use getResource because I get this file off the file system. So, bottom line, is how can I add/or set the class path on the command line when running maven-exec-plugin. Please, any help would be greatly appreciated. ps. If there is a better way of doing this, that would help also. I have Netbeans6 with multiple maven module project. I need to execute/debug several of the classes in the various modules. I have tried profiles but can't even get the profile to be run. I know I am doing something wrong. But can't make any headway. -- View this message in context: http://www.nabble.com/Howw-do-you-specifically-set-classpath-using-exec%3Ajava-plugin-tp15142908s177p15142908.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 multi-project site build is broken
This sounds like something to report in JIRA for the xmlbeans plugin. http://jira.codehaus.org/browse/MXMLBEANS VUB Stefan Seidel wrote: Hi, I don't know if anyone else noticed this, but the mvn site keeps on getting worse. It first started out with the following phenomenon: during site build, for each project _all_ the projects were iterated, usually saying [INFO] No goals needed for project - skipping Then, we started using xmlbeans and it started doing xmlbeans:xmlbeans for each project. And now, it executes _all_ the tests of _all_ project for _each_ project. Well, you can imagine that this is pretty much undoable for a project like ours with 150+ modules. Here some sample outputs from the attached project (1 parent, 2 modules, 1 test per module) mvn clean site | grep Running | wc -l 6 --- this means the two tests are executed 3 times each!! mvn clean site | grep xmlbeans | wc -l 29 --- this means, xmlbeans is being executed 26 times, 9 times per project!!! Hello? Is anyone _using_ maven 2 site generation? This situation is that it is becoming totally unusable. The problem is, I don't even know where to report the bug, because it seems to be a combination of bugs. regards, Stefan Seidel P.S.: I have removed the attached project, to see whether this is causing the apache mail server to reject my mail. You can find it at http://stefanseidel.info/mvnexec.zip -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can't untar archiva with cygwin tar 1.18
I'm on Windows XP. Using cygwin tar 1.18, I find that I can't untar archiva; I get A lone zero block at 49260. I've filed it as MRM-671. I've found the zip version, and I'm going to use it. But I've filed MRM-672 that the zip version should be more visible, because tar isn't very standardized across OSes... Linux tar can easily create archives that Cygwin tar won't extract, Solaris tar can get confused by long file names in GNU tar files, etc. -Dan
RE: Maven java2wsdl...
(By the way, when I say it might be because, I mean maybe no one's responding because, not that using Maven 1 might be your problem) -Original Message- From: Allen, Daniel Sent: Monday, January 28, 2008 4:22 PM To: Maven Users List Subject: RE: Maven java2wsdl... It might be because you're using Maven 1. I get the impression that most of the people on the User List have moved on to Maven 2. There is some documentation around on WSDL and Axis in Maven 2. I believe the example system in Better Builds With Maven (free PDF book) uses those, so if you wanted to migrate to the newer version, that might help. I have little to no idea of the intricacies of Maven 1, though. -Original Message- From: Fernando da Motta Hildebrand [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:55 PM To: users@maven.apache.org Subject: Re: Maven java2wsdl... No one? Please? 2008/1/11, Fernando da Motta Hildebrand [EMAIL PROTECTED]: Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml ?xml version=1.0 encoding=UTF-8? project xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant xmlns:u=jelly:util default=radar:build preGoal name=java:compile mkdir dir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF / attainGoal name=xdoclet:webdoclet / attainGoal name=wsdl / ant:path id= axis.src.set ant:pathelement location=${maven.axis.build.dir} / /ant:path maven:addPath id=maven.compile.src.set refid=axis.src.set/ /preGoal preGoal name=war:webapp j:set var=webapp.build.webinf value=${maven.war.webapp.dir }/WEB-INF/ j:set var=webapp.build.metainf value=${maven.war.webapp.dir }/META-INF/ ant:mkdir dir=${webapp.build.webinf}/ ant:mkdir dir=${webapp.build.metainf}/ ant:echoCopying server-config.wsdd and context.xml.../ant:echo ant:copy todir=${webapp.build.webinf} preservelastmodified=true ant:fileset dir=${maven.src.dir}/conf includes=server-config.wsdd /ant:fileset /ant:copy ant:copy todir=${webapp.build.metainf} preservelastmodified=true ant:fileset dir=${ maven.src.dir}/conf includes=context.xml /ant:fileset /ant:copy /preGoal !-- Goal that generates the wsdl for the target class -- pregoal name=wsdl !-- mkdir dir=${maven.build.dir}/wsdl / -- path id=compile.classpath pathelement path=${ maven.build.dir}/classes / /path taskdef name=axis-jjava2wsdl classname= org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask classpath refid= compile.classpath / classpath refid=maven.dependency.classpath / /taskdef ant:axis-java2wsdl classname= br.com.siliconstrategy.radar.io.service.CorrelationRemoteService style=rpc namespace=urn:${pom.artifactId} location=http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId} http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D output=${maven.src.dir}\webapp\${pom.artifactId}.wsdl /ant:axis-java2wsdl /pregoal goal name=radar:build prereqs=clean,wsdl,war:install/ goal name=radar:deploy prereqs=clean,tomcat:undeploy,tomcat:deploy/ /project But I can't get it to work, it doesn't generate any wsdl files. Can anyone give a hint here? Thanks. -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as KBC FP). This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided as is, without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message may contain confidential, proprietary, or
Re: A Hello World in ejb3
On 27 Jan 2008, Angelo Chen wrote: I'm looking for a simple sample Maven project for ejb3, Have a look at this: http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html It's not just EJB but a complete EAR, but it's a good starting point. Also have a look at www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-—-part-2-ear-deployment/ (the page seems down at the moment) hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: PGP signature
Maven Report --- more than one output document?
I would like to create a Maven Report that generates a set of documents. I've succeeded in the past with a Maven Report that generates a single document. However, that document is getting very large. I would like to split this document (it is a Tapestry component report) into one document per class, and add a kind of index to the individual pages. Further, I would like the index to be integrated into the site menu. It's very hard to work with the Maven report apis, since The Cobbler's Children Have No Shoes: The JARs are not packaged with source, The correct version numbers and dependencies are anyone's guess, and JavaDoc links are missing or broken. Is there a pointer to a similar report I can work from? Thanks! -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
surefire-report-plugin running tests of all dependent modules again?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, | Try | | export MAVEN_OPTS=-Xmx1024M -XX:MaxPermSize=512m oh, stupid me! The build runs now, but still it is true what I described: It seems to cycle. It is not an infinity loop but the same modules are build and tested again and again. Might be a bug introduced in maven-surefire-report-plugin 2.4. I build with 2.4. [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 27 minutes 57 seconds [INFO] Finished at: Mon Jan 28 23:16:26 GMT+01:00 2008 [INFO] Final Memory: 92M/164M [INFO] Then I ran a clean build again with maven-surefire-report-plugin 2.3 and got: [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 9 minutes 38 seconds [INFO] Finished at: Mon Jan 28 23:29:44 GMT+01:00 2008 [INFO] Final Memory: 46M/86M [INFO] The log (maven-output) is multiple times larger with 2.4. Any ideas? Shall I file a jira issue? | | instead. | | As far as I can see, MVN_OPTS is not used by Maven. Thanks for this hint. Take care ~ Jörg | | | On 27/01/2008, Joerg Hohwiller [EMAIL PROTECTED] wrote: | Hi there, | | the build of my projects site does not work anymore. | | I do this: | | export MVN_OPTS=-Xmx1024M -XX:MaxPermSize=512m | mvn install -Dmaven.test.skip=true | mvn -npu -fae -Pcodehaus site:stage -DstagingDirectory=${STAGE_DIR} | | The problem occured since I hat to purge my local repository. | I currently guess that it has to do something with a bug in a new | released plugin (maybe related to surefire - see below). | | Can anybody help me to track this down? | | After an extra-ordinary long build I got this error: | | [INFO] Generate Source Xref report. | [INFO] | [ERROR] FATAL ERROR | [INFO] | [INFO] Java heap space | [INFO] | [INFO] Trace | java.lang.OutOfMemoryError: Java heap space | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init(VelocityCharStream.java:260) | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init(VelocityCharStream.java:296) | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init(VelocityCharStream.java:302) | ~at org.apache.velocity.runtime.parser.Parser.init(Parser.java:61) | ~at | org.apache.velocity.runtime.RuntimeInstance.createNewParser(RuntimeInstance.java:694) | ~at | org.apache.velocity.runtime.RuntimeInstance.initializeParserPool(RuntimeInstance.java:681) | ~at | org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:229) | ~at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:80) | ~at org.apache.maven.jxr.DirectoryIndexer.process(DirectoryIndexer.java:220) | ~at org.apache.maven.jxr.JXR.xref(JXR.java:281) | ~at | org.apache.maven.plugin.jxr.AbstractJxrReport.createXref(AbstractJxrReport.java:261) | | | The build also seems to cycle because it does the same things again and again. | During that it logs sections like this: | Tests run: 8, Failures: 0, Errors: 0, Skipped: 1 | | [INFO] Preparing surefire-report:report-only | [INFO] | [INFO] Building mmm | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-core | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-reflect | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-event | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-resource | [INFO] | [INFO] No goals needed for project - skipping | [INFO]
Re: A Hello World in ejb3
Hi Martin, Thanks but maven-archetype-j2ee-simple is not for ejb3, is there archetype for ejb3? thanks. A.C. matinh wrote: On 27 Jan 2008, Angelo Chen wrote: I'm looking for a simple sample Maven project for ejb3, Have a look at this: http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html It's not just EJB but a complete EAR, but it's a good starting point. Also have a look at www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-—-part-2-ear-deployment/ (the page seems down at the moment) hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15148339.html 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: Continuum 1.1 standalone on WindowsXP doesn't send email?
Hi Emmanuel, The problem is resolved. It was as you specified earlier when you asked: 1- are you sure your smtp server use ssl? When I updated :\continuum-1.1\conf\plexus.xml, I took the default settings which uses ssl as follow: property namemail.smtp.socketFactory.class/name valuejavax.net.ssl.SSLSocketFactory/value /property And after, I set the alwaysSend property to true, when the build run, I see the following error messages: jvm 1| DEBUG: setDebug: JavaMail version 1.4ea jvm 1| DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] jvm 1| DEBUG SMTP: useEhlo true, useAuth true jvm 1| DEBUG SMTP: trying to connect to host mail.fairisaac.com, port 25, isSSL false jvm 1| DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? jvm 1| 2008-01-25 14:12:13,713 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher: default - Error while trying to use the mail notifier. jvm 1| org.codehaus.plexus.notification.NotificationException: Exception while sending message. I verified that we are not using ssl, followed by removing the above ssl property segment from \continuum-1.1\conf\plexus.xml, so now after the build is complete, Continuum is able to successfully send email with the build results. Thanks, Sameh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Venisse Sent: Friday, January 25, 2008 12:57 AM To: [EMAIL PROTECTED] Subject: Re: Continuum 1.1 standalone on WindowsXP doesn't send email? You can configure it in .../WEB-INF/classes/META-INF/plexus/application.xml You'll find in this file some alwaysSend parameters Emmanuel On Jan 25, 2008 2:55 AM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I found the following info from the Continuum screen that launches when I click on C:\continuum-1.1\bin\windows-x86-32\run.bat jvm 1| 2008-01-24 17:28:14,982 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:msn - Same state, not sending message. jvm 1| 2008-01-24 17:28:14,998 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Same state, not sending message. So, is there is any way to force it to send an email. We need to know the results of the build? And I do not know if the email part is working or not yet? Sameh -Original Message- From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 5:23 PM To: [EMAIL PROTECTED] Subject: RE: Continuum 1.1 standalone on WindowsXP doesn't send email? We're using Microsoft Exchange Server, so when I add a Notifier which choice to choose? is it mail, or MSN? Sameh -Original Message- From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 4:41 PM To: [EMAIL PROTECTED] Subject: RE: Continuum 1.1 standalone on WindowsXP doesn't send email? Emmanuel, I'm not sure if our server uses ssl? But I'm working on finding out. And, I need Continuum to always send email to a specific email group, every time it runs a build whether it's successful or not. I'm hoping Continuum can do that without going through too many steps? Also, I noticed whenever I run a build; the icons do not change unless I press F5 to refresh the screen! So, is there is a way, where I can have Continuum automatically updates the build icons? So it would be easy to visually know that the build is complete? Do I need to modify or reset something? I worked with other auto build tools, where whenever you run a build you'd see the icon is moving and then it change its shape to indicate that the build is done. Finally, do you know of any example that I can view to see how the email section is set in the C:\continuum-1.1\conf\plexus.xml file? That would help a lot. Thanks, Sameh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Venisse Sent: Thursday, January 24, 2008 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Continuum 1.1 standalone on WindowsXP doesn't send email? 1- are you sure your smtp server use ssl? 2- Continuum doesn't send a mail for each build by default but only when the project state change to prevent some spam Emmanuel On Jan 25, 2008 12:23 AM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I opened the correct file, and made the following modification, restarted Continuum, followed by logging as an admin, run a build, but still Continuum is not sending any email? resource namemail/Session/name typejavax.mail.Session/type properties property namemail.smtp.host/name valueSTPMSGMxyz.corp.fairisaac.com/value /property property
Re: Maven java2wsdl...
Thanks man, But I really can´t afford to upgrade do maven2. That would require the kind of efford I can´t spend my team with now. So... Does anyone have any sugestion? Besides going for maven2... Using ant tasks maybe? 2008/1/28, Allen, Daniel [EMAIL PROTECTED]: (By the way, when I say it might be because, I mean maybe no one's responding because, not that using Maven 1 might be your problem) -Original Message- From: Allen, Daniel Sent: Monday, January 28, 2008 4:22 PM To: Maven Users List Subject: RE: Maven java2wsdl... It might be because you're using Maven 1. I get the impression that most of the people on the User List have moved on to Maven 2. There is some documentation around on WSDL and Axis in Maven 2. I believe the example system in Better Builds With Maven (free PDF book) uses those, so if you wanted to migrate to the newer version, that might help. I have little to no idea of the intricacies of Maven 1, though. -Original Message- From: Fernando da Motta Hildebrand [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:55 PM To: users@maven.apache.org Subject: Re: Maven java2wsdl... No one? Please? 2008/1/11, Fernando da Motta Hildebrand [EMAIL PROTECTED]: Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml ?xml version=1.0 encoding=UTF-8? project xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant xmlns:u=jelly:util default=radar:build preGoal name=java:compile mkdir dir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF / attainGoal name=xdoclet:webdoclet / attainGoal name=wsdl / ant:path id= axis.src.set ant:pathelement location=${maven.axis.build.dir} / /ant:path maven:addPath id=maven.compile.src.set refid=axis.src.set/ /preGoal preGoal name=war:webapp j:set var=webapp.build.webinf value=${maven.war.webapp.dir }/WEB-INF/ j:set var=webapp.build.metainf value=${maven.war.webapp.dir }/META-INF/ ant:mkdir dir=${webapp.build.webinf}/ ant:mkdir dir=${webapp.build.metainf}/ ant:echoCopying server-config.wsdd and context.xml.../ant:echo ant:copy todir=${webapp.build.webinf} preservelastmodified=true ant:fileset dir=${maven.src.dir}/conf includes=server-config.wsdd /ant:fileset /ant:copy ant:copy todir=${webapp.build.metainf} preservelastmodified=true ant:fileset dir=${ maven.src.dir}/conf includes=context.xml /ant:fileset /ant:copy /preGoal !-- Goal that generates the wsdl for the target class -- pregoal name=wsdl !-- mkdir dir=${maven.build.dir}/wsdl / -- path id=compile.classpath pathelement path=${ maven.build.dir}/classes / /path taskdef name=axis-jjava2wsdl classname= org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask classpath refid= compile.classpath / classpath refid=maven.dependency.classpath / /taskdef ant:axis-java2wsdl classname= br.com.siliconstrategy.radar.io.service.CorrelationRemoteService style=rpc namespace=urn:${pom.artifactId} location=http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId} http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D output=${maven.src.dir}\webapp\${pom.artifactId}.wsdl /ant:axis-java2wsdl /pregoal goal name=radar:build prereqs=clean,wsdl,war:install/ goal name=radar:deploy prereqs=clean,tomcat:undeploy,tomcat:deploy/ /project But I can't get it to work, it doesn't generate any wsdl files. Can anyone give a hint here? Thanks. -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as KBC FP). This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained
Re: can't untar archiva with cygwin tar 1.18
Dan Fabulich wrote: I'm on Windows XP. Using cygwin tar 1.18, I find that I can't untar archiva; I get A lone zero block at 49260. I've filed it as MRM-671. IIUC, A lone zero block is merely a warning, not an error. Cause is PLXCOMP-38. (I'd comment in the issue, but JIRA is seems broken right now.) I've found the zip version, and I'm going to use it. But I've filed MRM-672 that the zip version should be more visible, because tar isn't very standardized across OSes... Linux tar can easily create archives that Cygwin tar won't extract, Cygwin and Linux both use GNU tar. So that seems unlikely, unless you're referring to the inherent filesystem naming limits imposed by Windows. Solaris tar can get confused by long file names in GNU tar files, etc. Max. signature.asc Description: OpenPGP digital signature
Re: Maven java2wsdl...
Perhaps try sending a new email here with [m1] in the subject. Then people who are using Maven1 might be more likely to see it and reply. But as Daniel said, there's just not a whole ton of people using M1 these days, it seems. Wayne On 1/28/08, Fernando da Motta Hildebrand [EMAIL PROTECTED] wrote: Thanks man, But I really can´t afford to upgrade do maven2. That would require the kind of efford I can´t spend my team with now. So... Does anyone have any sugestion? Besides going for maven2... Using ant tasks maybe? 2008/1/28, Allen, Daniel [EMAIL PROTECTED]: (By the way, when I say it might be because, I mean maybe no one's responding because, not that using Maven 1 might be your problem) -Original Message- From: Allen, Daniel Sent: Monday, January 28, 2008 4:22 PM To: Maven Users List Subject: RE: Maven java2wsdl... It might be because you're using Maven 1. I get the impression that most of the people on the User List have moved on to Maven 2. There is some documentation around on WSDL and Axis in Maven 2. I believe the example system in Better Builds With Maven (free PDF book) uses those, so if you wanted to migrate to the newer version, that might help. I have little to no idea of the intricacies of Maven 1, though. -Original Message- From: Fernando da Motta Hildebrand [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:55 PM To: users@maven.apache.org Subject: Re: Maven java2wsdl... No one? Please? 2008/1/11, Fernando da Motta Hildebrand [EMAIL PROTECTED]: Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml ?xml version=1.0 encoding=UTF-8? project xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant xmlns:u=jelly:util default=radar:build preGoal name=java:compile mkdir dir=${maven.build.dir}/xdoclet/webdoclet/WEB-INF / attainGoal name=xdoclet:webdoclet / attainGoal name=wsdl / ant:path id= axis.src.set ant:pathelement location=${maven.axis.build.dir} / /ant:path maven:addPath id=maven.compile.src.set refid=axis.src.set/ /preGoal preGoal name=war:webapp j:set var=webapp.build.webinf value=${maven.war.webapp.dir }/WEB-INF/ j:set var=webapp.build.metainf value=${maven.war.webapp.dir }/META-INF/ ant:mkdir dir=${webapp.build.webinf}/ ant:mkdir dir=${webapp.build.metainf}/ ant:echoCopying server-config.wsdd and context.xml.../ant:echo ant:copy todir=${webapp.build.webinf} preservelastmodified=true ant:fileset dir=${maven.src.dir}/conf includes=server-config.wsdd /ant:fileset /ant:copy ant:copy todir=${webapp.build.metainf} preservelastmodified=true ant:fileset dir=${ maven.src.dir}/conf includes=context.xml /ant:fileset /ant:copy /preGoal !-- Goal that generates the wsdl for the target class -- pregoal name=wsdl !-- mkdir dir=${maven.build.dir}/wsdl / -- path id=compile.classpath pathelement path=${ maven.build.dir}/classes / /path taskdef name=axis-jjava2wsdl classname= org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask classpath refid= compile.classpath / classpath refid=maven.dependency.classpath / /taskdef ant:axis-java2wsdl classname= br.com.siliconstrategy.radar.io.service.CorrelationRemoteService style=rpc namespace=urn:${pom.artifactId} location=http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId} http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D output=${maven.src.dir}\webapp\${pom.artifactId}.wsdl /ant:axis-java2wsdl /pregoal goal name=radar:build prereqs=clean,wsdl,war:install/ goal name=radar:deploy prereqs=clean,tomcat:undeploy,tomcat:deploy/ /project But I can't get it to work, it doesn't generate any wsdl files. Can anyone give a hint here? Thanks. -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- Fernando da Motta Hildebrand IT Consultant Brooks' Law : adding manpower to a late software project makes it later... -- This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as KBC FP). This message does not create any obligation,
Using Spring 2.5.1 for Spring-dao and Spring-hibernate3
Hi, I am beginner with maven and now I am trying to create a project that uses Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL I have created a archtype for tapestry5 and added : dependency groupIdorg.springframework/groupId artifactIdspring-web/artifactId version2.5.1/version /dependency this works fine and downloads spring-beans, spring-core,spring-context and spring-web to my local repository, but I want to use hibernate 3 with spring (I need the spring-dao, spring-hibernate3, spring-jdbc, spring-aop also) when I try to add this to my pom.xml It didn't find anything more to download dependency groupIdorg.springframework/groupId artifactIdspring-dao/artifactId version2.5.1/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-hibernate3/artifactId version2.5.1/version /dependency Am I doing something wrong here? Thanks for any help Jacob -- View this message in context: http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html 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: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3
Hi Jacob, Read the on-line book here to understand maven coordination: http://www.sonatype.com/book/simple-project.html#maven_coordinates and then check the maven 2 repository here with your browser to find what artifacts or which specific versions are available: http://repo1.maven.org/maven2/org/springframework/ Hope it helps. Best Regards Fred Zhang -邮件原件- 发件人: Jacob Bergoo [mailto:[EMAIL PROTECTED] 发送时间: 2008年1月29日 8:09 收件人: users@maven.apache.org 主题: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3 Hi, I am beginner with maven and now I am trying to create a project that uses Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL I have created a archtype for tapestry5 and added : dependency groupIdorg.springframework/groupId artifactIdspring-web/artifactId version2.5.1/version /dependency this works fine and downloads spring-beans, spring-core,spring-context and spring-web to my local repository, but I want to use hibernate 3 with spring (I need the spring-dao, spring-hibernate3, spring-jdbc, spring-aop also) when I try to add this to my pom.xml It didn't find anything more to download dependency groupIdorg.springframework/groupId artifactIdspring-dao/artifactId version2.5.1/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-hibernate3/artifactId version2.5.1/version /dependency Am I doing something wrong here? Thanks for any help Jacob -- View this message in context: http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html 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-jar-plugin location
Try mvn -U to force Maven to check for plugin updates. Wayne On 1/28/08, Martin Gainty [EMAIL PROTECTED] wrote: I see the following error while building with maven-2.0.8 [INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found Any ideas where maven determines locatations for plugins for build environment? Thanks Martin- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Continuum 1.1 standalone run-time error on Windows server 2003.
On Jan 28, 2008 6:40 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I just installed Continuum 1.1 on Windows Server 2003 - Enterprise Edition with Service Pack 1, by extracting all the files from apache-continuum-1.1.zip Next, I run C:\continuum-1.1\bin\windows-x86-32\run.bat ... jvm 1| Caused by: java.net.BindException: Address already in use: JVM_Bind Looks like you already have something running on port 8080. You can change the port number in one of the xml files, I think you'll find it if you search for 'jetty.port', or check the docs. -- Wendy
Continuum 1.1 standalone run-time error on Windows server 2003.
I just installed Continuum 1.1 on Windows Server 2003 - Enterprise Edition with Service Pack 1, by extracting all the files from apache-continuum-1.1.zip Next, I run C:\continuum-1.1\bin\windows-x86-32\run.bat When run.bat runs, it generated the following error: [ERROR] Error while deploying appserver continuum-plexus-application-1.1.jar. Does anyone know what causes this problem and how to fix it? Thanks, Here is the full output: C:\continuum-1.1\bin\windows-x86-32run.bat wrapper | -- Wrapper Started as Console wrapper | Launching a JVM... jvm 1| Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1| Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1| jvm 1| [INFO] Loading on start [role,roleHint]: [org.codehaus.plexus.naming.Naming,dataSources] jvm 1| [INFO] Loading on start [role,roleHint]: [org.codehaus.plexus.contextualizer.Contextualizer,jettyConfiguration] jvm 1| [INFO] Services will be deployed in: 'C:\continuum-1.1\bin\windows-x86-32\..\..\services'. jvm 1| [INFO] Applications will be deployed in: 'C:\continuum-1.1\bin\windows-x86-32\..\..\apps'. jvm 1| [INFO] Service Supervisor is deploying plexus-appserver-service-jetty-2.0-alpha-8. jvm 1| [DEBUG] Found 1 components to load on start jvm 1| [INFO] Loading on start [role,roleHint]: [org.codehaus.plexus.appserver.service.PlexusService,jetty] jvm 1| Jan 28, 2008 4:09:55 PM org.mortbay.http.HttpServer doStart jvm 1| INFO: Version Jetty/5.1.10 jvm 1| Jan 28, 2008 4:09:55 PM org.mortbay.util.Container start jvm 1| INFO: Started [EMAIL PROTECTED] jvm 1| [INFO] Application Supervisor is deploying continuum-plexus-application-1.1. jvm 1| [INFO] Extracting C:\continuum-1.1\bin\windows-x86-32\..\..\apps\continuum-plexus-applicat ion-1.1.jar to 'C:\continuum-1.1\apps\continuum'. jvm 1| [INFO] Deploying application 'continuum' at 'C:\continuum-1.1\apps\continuum'. jvm 1| [INFO] Using application configurator file C:\continuum-1.1\bin\windows-x86-32\..\..\apps\continuum\conf\applicatio n.xml. jvm 1| [INFO] Using appDir = C:\continuum-1.1\bin\windows-x86-32\..\..\apps\continuum jvm 1| [DEBUG] appserver.home = C:\continuum-1.1\bin\windows-x86-32\..\.. jvm 1| [DEBUG] appserver.base = C:\continuum-1.1\bin\windows-x86-32\..\.. jvm 1| [INFO] Deploying C:\continuum-1.1\apps\continuum\webapp with context path of /continuum jvm 1| [INFO] Using standard webapp classloader for webapp. jvm 1| [INFO] Deploying appserver 'continuum'. jvm 1| [INFO] Adding HTTP listener on *8080 jvm 1| Jan 28, 2008 4:10:06 PM org.mortbay.util.ThreadedServer start jvm 1| WARNING: Failed to start: [EMAIL PROTECTED]:8080 jvm 1| [ERROR] Error while deploying appserver continuum-plexus-application-1.1.jar. jvm 1| org.codehaus.plexus.appserver.ApplicationServerException: Error in the app server lifecycle post-app-container-init-service-call phase. jvm 1| at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeplo yer.deployJar(DefaultApplicationDeployer.java:119) jvm 1| at org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeplo yer.deploy(DefaultApplicationDeployer.java:88) jvm 1| at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase $1.onJarDiscovered(ApplicationDeploymentPhase.java:44) jvm 1| at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory (DefaultSupervisor.java:100) jvm 1| at org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultS upervisor.java:73) jvm 1| at org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase .execute(ApplicationDeploymentPhase.java:58) jvm 1| at org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultAppl icationServer.java:218) jvm 1| at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execut e(StartPhase.java:33) jvm 1| at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLif ecycleHandler.java:128) jvm 1| at org.codehaus.plexus.component.manager.AbstractComponentManager.startComp onentLifecycle(AbstractComponentManager.java:142) jvm 1| at org.codehaus.plexus.component.manager.AbstractComponentManager.createCom ponentInstance(AbstractComponentManager.java:132) jvm 1| at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.g etComponent(ClassicSingletonComponentManager.java:90) jvm 1| at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen tLookupManager.java:147) jvm 1| at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen tLookupManager.java:69) jvm 1| at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer .java:297) jvm 1| at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
LayoutException working with SNAPSHOTs
I just filed MRM-674 which is preventing us from deploying our nightly build distribution with Archiva. I think this bug is a subtle dupe with MRM-632 and MRM-658. Put together, these bugs seem pretty serious for anyone using SNAPSHOT dependencies. It sure would be nice if somebody were to fix this bug soon-ish. -Dan
RE: Continuum 1.1 standalone run-time error on Windows server 2003.
Thanks Wendy, I used port 8085 and that fixed it. Sameh -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 5:52 PM To: [EMAIL PROTECTED] Subject: Re: Continuum 1.1 standalone run-time error on Windows server 2003. On Jan 28, 2008 6:40 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I just installed Continuum 1.1 on Windows Server 2003 - Enterprise Edition with Service Pack 1, by extracting all the files from apache-continuum-1.1.zip Next, I run C:\continuum-1.1\bin\windows-x86-32\run.bat ... jvm 1| Caused by: java.net.BindException: Address already in use: JVM_Bind Looks like you already have something running on port 8080. You can change the port number in one of the xml files, I think you'll find it if you search for 'jetty.port', or check the docs. -- Wendy This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately.
Re: maven-jar-plugin location
better! But I cant get the next (maven-resources)-plugin? $AXIS_HOME/modulesmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Default Project [INFO]task-segment: [install] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up dates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-reso urces-plugin' could not be retrieved from repository: central due to an error: Error transferring file what I need is a publicly accessible folder for maven plugins.. Any other suggestions? Thanks Wayne! Martin-- - Original Message - Wrom: CONEUQZAAFXISHJEXXIMQZUIVOTQNQEM To: Maven Users List users@maven.apache.org Sent: Monday, January 28, 2008 8:06 PM Subject: Re: maven-jar-plugin location Try mvn -U to force Maven to check for plugin updates. Wayne On 1/28/08, Martin Gainty [EMAIL PROTECTED] wrote: I see the following error while building with maven-2.0.8 [INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found Any ideas where maven determines locatations for plugins for build environment? Thanks Martin- - 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: organizing groups of dependencies
You can specify a pom dependency in any project just as you would any other dependency and the transitions take care of the rest... using standard OO prinicples you can encapsulate a common set of deps in a another project and depend on it from many, there is no need for the dependency management section one might even argue that makes it way more complicated that is necessary On Mon, 28 Jan 2008 20:07:36 Rohnny Moland wrote: Hei, I am trying to figure out the best way to group dependencies for easier maintainance. I was reading this: http://www.mail-archive.com/[EMAIL PROTECTED]/msg61076.html Which is close to what I am looking for. Is this something that is going to be implemented in a later maven version? I also know that today it is possible to do what is described here: http://jira.codehaus.org/browse/MNG-2059 This is a nice solution if you have 1 dependency group, but not so nice if you have 3, because one pom can only inherit from one another pom. Lets say: parent pom ^ test-deps pom ^ gui-deps pom ^ product A ^ jar module 1 jar module 2 .. Any other ways to do this? Would be nice if maven had multiple inheritance. Thanks, Rohnny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3
Hi Fred, Thanks for the answer, it helped me get it right. Cheers, Jacob Fred Zhang-2 wrote: Hi Jacob, Read the on-line book here to understand maven coordination: http://www.sonatype.com/book/simple-project.html#maven_coordinates and then check the maven 2 repository here with your browser to find what artifacts or which specific versions are available: http://repo1.maven.org/maven2/org/springframework/ Hope it helps. Best Regards Fred Zhang -邮件原件- 发件人: Jacob Bergoo [mailto:[EMAIL PROTECTED] 发送时间: 2008年1月29日 8:09 收件人: users@maven.apache.org 主题: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3 Hi, I am beginner with maven and now I am trying to create a project that uses Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL I have created a archtype for tapestry5 and added : dependency groupIdorg.springframework/groupId artifactIdspring-web/artifactId version2.5.1/version /dependency this works fine and downloads spring-beans, spring-core,spring-context and spring-web to my local repository, but I want to use hibernate 3 with spring (I need the spring-dao, spring-hibernate3, spring-jdbc, spring-aop also) when I try to add this to my pom.xml It didn't find anything more to download dependency groupIdorg.springframework/groupId artifactIdspring-dao/artifactId version2.5.1/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-hibernate3/artifactId version2.5.1/version /dependency Am I doing something wrong here? Thanks for any help Jacob -- View this message in context: http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15151949.html 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-jar-plugin location
All Maven plugins are hosted in the publicly accessible Central site -- http://repo1.maven.org. It seems like you have something weird going on in your network, most Maven users including myself have no such problems. Wayne On 1/28/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: better! But I cant get the next (maven-resources)-plugin? $AXIS_HOME/modulesmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Default Project [INFO]task-segment: [install] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up dates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-reso urces-plugin' could not be retrieved from repository: central due to an error: Error transferring file what I need is a publicly accessible folder for maven plugins.. Any other suggestions? Thanks Wayne! Martin-- - Original Message - Wrom: CONEUQZAAFXISHJEXXIMQZUIVOTQNQEM To: Maven Users List users@maven.apache.org Sent: Monday, January 28, 2008 8:06 PM Subject: Re: maven-jar-plugin location Try mvn -U to force Maven to check for plugin updates. Wayne On 1/28/08, Martin Gainty [EMAIL PROTECTED] wrote: I see the following error while building with maven-2.0.8 [INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found Any ideas where maven determines locatations for plugins for build environment? Thanks Martin- - 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: surefire-report-plugin running tests of all dependent modules again?
We have same issue here. I can send my test project if anyone would like to check. It is a multi mudule project, using surefire 2.4 and maven 2.0.8, Java 1.5.0_14 and the issue is when running mvn site:siet Thanks, Erez. On Jan 29, 2008 12:30 AM, Joerg Hohwiller [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, | Try | | export MAVEN_OPTS=-Xmx1024M -XX:MaxPermSize=512m oh, stupid me! The build runs now, but still it is true what I described: It seems to cycle. It is not an infinity loop but the same modules are build and tested again and again. Might be a bug introduced in maven-surefire-report-plugin 2.4. I build with 2.4. [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 27 minutes 57 seconds [INFO] Finished at: Mon Jan 28 23:16:26 GMT+01:00 2008 [INFO] Final Memory: 92M/164M [INFO] Then I ran a clean build again with maven-surefire-report-plugin 2.3 and got: [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 9 minutes 38 seconds [INFO] Finished at: Mon Jan 28 23:29:44 GMT+01:00 2008 [INFO] Final Memory: 46M/86M [INFO] The log (maven-output) is multiple times larger with 2.4. Any ideas? Shall I file a jira issue? | | instead. | | As far as I can see, MVN_OPTS is not used by Maven. Thanks for this hint. Take care ~ Jörg | | | On 27/01/2008, Joerg Hohwiller [EMAIL PROTECTED] wrote: | Hi there, | | the build of my projects site does not work anymore. | | I do this: | | export MVN_OPTS=-Xmx1024M -XX:MaxPermSize=512m | mvn install -Dmaven.test.skip=true | mvn -npu -fae -Pcodehaus site:stage -DstagingDirectory=${STAGE_DIR} | | The problem occured since I hat to purge my local repository. | I currently guess that it has to do something with a bug in a new | released plugin (maybe related to surefire - see below). | | Can anybody help me to track this down? | | After an extra-ordinary long build I got this error: | | [INFO] Generate Source Xref report. | [INFO] | [ERROR] FATAL ERROR | [INFO] | [INFO] Java heap space | [INFO] | [INFO] Trace | java.lang.OutOfMemoryError: Java heap space | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init( VelocityCharStream.java:260) | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init( VelocityCharStream.java:296) | ~at | org.apache.velocity.runtime.parser.VelocityCharStream.init( VelocityCharStream.java:302) | ~at org.apache.velocity.runtime.parser.Parser.init(Parser.java :61) | ~at | org.apache.velocity.runtime.RuntimeInstance.createNewParser( RuntimeInstance.java:694) | ~at | org.apache.velocity.runtime.RuntimeInstance.initializeParserPool( RuntimeInstance.java:681) | ~at | org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java :229) | ~at org.apache.velocity.app.VelocityEngine.init( VelocityEngine.java:80) | ~at org.apache.maven.jxr.DirectoryIndexer.process(DirectoryIndexer.java:220) | ~at org.apache.maven.jxr.JXR.xref(JXR.java:281) | ~at | org.apache.maven.plugin.jxr.AbstractJxrReport.createXref( AbstractJxrReport.java:261) | | | The build also seems to cycle because it does the same things again and again. | During that it logs sections like this: | Tests run: 8, Failures: 0, Errors: 0, Skipped: 1 | | [INFO] Preparing surefire-report:report-only | [INFO] | [INFO] Building mmm | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-core | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO] Building util-reflect | [INFO] | [INFO] No goals needed for project - skipping | [INFO] | [INFO]
Re: A Hello World in ejb3
On 28 Jan 2008, Angelo Chen wrote: Thanks but maven-archetype-j2ee-simple is not for ejb3, is there archetype for ejb3? thanks. Unfortunately not that I know of and not in the list of archetypes [0]. However, you can use the j2ee archetype and just add this to your maven-ejb-plugin definition in the build section: configuration ejbVersion3.0/ejbVersion /configuration Just as described in Maven - The Definitve Guide [1]. hth, - martin [0] http://docs.codehaus.org/display/MAVENUSER/Archetypes+List [1] http://www.sonatype.com/book/j2ee.html -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: PGP signature
Re: Managing WebSphere with Maven
Does anybody else have some experiencies or information with controlling a websphere 6.1 with maven? 2008/1/28 Jeff MAURY [EMAIL PROTECTED]: I know cargo (http://cargo.codehaus.org) for managing application servers. However, it does not support WebSphere but I can remember someone working on extensions for WebSphere but don't know the version of WebSphere supported by the work. Jeff On Jan 28, 2008 10:36 AM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, can anybody give me some information about managing WebSphere with Maven. We are using WebSphere 6.1. Does anybody have some useful links? Is there a maven plugin? Thanks and Regards, Thomas -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com
Re: maven-dependency-plugin 2.0 fail to unpack tar file
Created http://jira.codehaus.org/browse/MDEP-137 to track this issue. Currently, it prevent us from moving from 2.0-alpha-4 to 2.0 version. Erez. On Jan 28, 2008 5:16 PM, Erez Nahir [EMAIL PROTECTED] wrote: Is there a way to workaround this issue? Thanks, Erez. On Jan 28, 2008 5:09 PM, Brian E. Fox [EMAIL PROTECTED] wrote: This seems to be an issue in the newer maven-archiver in the way it handles the tars, nothing changed in the dependency plugin related to how it unpacks, but we needed a newer version of the archiver to support the filtering. -Original Message- From: Erez Nahir [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 9:43 AM To: Maven Users List Subject: maven-dependency-plugin 2.0 fail to unpack tar file With recent dependency plugin, I get an error (below) for this configuration. This used to work with version 2.0-alpha-4 Please advise, Thanks, Erez. pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions !-- First, get tomcat from the repository and unpack it -- execution idunpack/id phaseprocess-resources/phase goals goalunpack/goal /goals configuration artifactItems artifactItem groupIdorg.apache.catalina/groupId artifactIdtomcat/artifactId version5.5.20/version typetar/type outputDirectory${mgmt.directory }/outputDirectory /artifactItem ... Error: [INFO] [dependency:unpack {execution: unpack}] [INFO] Configured Artifact: org.apache.catalina:tomcat:5.5.20:tar [INFO] Unpacking /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tarto /vob/nm_acs/acs/install/target/stage/mgmt with Includes null and excludes:null [INFO] Expanding: /tmp/maven-repo/org/apache/catalina/tomcat/5.5.20/tomcat- 5.5.20.tar into /vob/nm_acs/acs/install/target/stage/mgmt [WARNING] --- [WARNING] Standard error: [WARNING] --- [WARNING] [WARNING] --- [WARNING] Standard output: [WARNING] --- [WARNING] chmod: cannot access `/vob/nm_acs/acs/install/target/stage/mgmt/apache-tomcat-5.5.20/webapps/ jsp-examples/WEB-INF/classes/org/apache/jsp/jsp2/jspattribute/shuffle_js p.class': No such file or directory [WARNING] --- org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1 at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod( ArchiveEntryUtils.java:59) at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile( AbstractZipUnArchiver.java:236) at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute( TarUnArchiver.java:92) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract( AbstractUnArchiver.java:108) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack( AbstractDependencyMojo.java:266) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackAr tifact (UnpackMojo.java:122) at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute( UnpackMojo.java:95) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(