Warnings and bugs
Hello, I'm trying to use Maven with NetBeans, getting the following messages: Scanning for projects... project-execute Attempting to resolve a version for plugin: org.apache.maven.plugins:maven-project-info-reports-plugin using meta-version: LATEST Using version: 2.0.1 of plugin: org.apache.maven.plugins:maven-project-info-reports-plugin [statemgmt:start-fork] Starting forked execution [fork id: 779687168] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. Setting property: velocimacro.messages.on = 'false'. Setting property: resource.loader = 'classpath'. Setting property: resource.manager.logwhenfound = 'false'. [project-info-reports:cim] [ERROR]VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR]VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [project-info-reports:dependencies] [WARN]DEPRECATED: Binding aggregator mojos to lifecycle phases in the POM is considered dangerous. [WARN]This feature has been deprecated. Please adjust your POM files accordingly. [WARN]Offending mojo: [WARN]org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:depen dency-convergence Seems to me, some of the plugins are not working correctly - what can I do with it? Do I have to change my POM, or should I just ignore the messages? The ERROR messages seem to be issued by 'cim' - can I replace the plugin with sth. bette? BTW: I'm not a native english speaker, so could You probably explain me, what's a 'mojo' in this case? The translation says it's sth. like 'talisman', but in this case it seems to mean rather the opposite ;-) Kind regards Peter Nabbefeld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Warnings and bugs
mojo is a maven plugin i think. The warning and messages are issued by maven embedder 2.1-SNAPSHOT as a sort of deprecation warnings (for 2.1) however they still should work fine. if not I would consider it a bug in maven. the netbeans integration needs to use the embedder version 2.1-SNAPSHOT as th 2.0.x versions are not embeddable. You can configure netbeans in tools/options to always use a command line maven instance for building Milos On 5/28/08, Peter Nabbefeld [EMAIL PROTECTED] wrote: Hello, I'm trying to use Maven with NetBeans, getting the following messages: Scanning for projects... project-execute Attempting to resolve a version for plugin: org.apache.maven.plugins:maven-project-info-reports-plugin using meta-version: LATEST Using version: 2.0.1 of plugin: org.apache.maven.plugins:maven-project-info-reports-plugin [statemgmt:start-fork] Starting forked execution [fork id: 779687168] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. Setting property: velocimacro.messages.on = 'false'. Setting property: resource.loader = 'classpath'. Setting property: resource.manager.logwhenfound = 'false'. [project-info-reports:cim] [ERROR]VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR]VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [project-info-reports:dependencies] [WARN]DEPRECATED: Binding aggregator mojos to lifecycle phases in the POM is considered dangerous. [WARN]This feature has been deprecated. Please adjust your POM files accordingly. [WARN]Offending mojo: [WARN]org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:depen dency-convergence Seems to me, some of the plugins are not working correctly - what can I do with it? Do I have to change my POM, or should I just ignore the messages? The ERROR messages seem to be issued by 'cim' - can I replace the plugin with sth. bette? BTW: I'm not a native english speaker, so could You probably explain me, what's a 'mojo' in this case? The translation says it's sth. like 'talisman', but in this case it seems to mean rather the opposite ;-) Kind regards Peter Nabbefeld - 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: Question about Maven, Eclipse WTP and war overlay
Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM, Lorenzo Arcaini [EMAIL PROTECTED] wrote: Hello everyone, I have multiple maven projects sharing some code via a war overlay and would like to use WTP in Eclipse to deploy my webapps and benefit from the productivity gain it brings to the dev teams. However, due to my war overlay, WTP seems unable to work properly as my webapps depends on it. My projects have war and ear packaging, but having only the war projects working would already be a good thing. Target application server is JOnAS 4.8.6, but then again, if it is working with a good old tomcat it should be good enough. I think I'm not the only one using war overlay and willing to use WTP at the same time, so my question is : how are you dealing with this / how should I proceed to make things work ? Regards, Lorenzo Arcaini OCTO Technology - larcaini AT octo DOT com www.octo.com | blog.octo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question about Maven, Eclipse WTP and war overlay
Not sure WTP itself supports this... If I needed to share classes I would most likely store shared code in a jar-packaged module and define it as a dependency (but that's a no brainer I guess). As for resources you could use another project and use dependency plugin to get the resources to get them into the war. But it will still be ugly... Otherwise you would probably need to be able to exclude the shared war from the workspace so that WTP doesn't get confused (and project being deployed wouldn't have dependency on the excluded war in order not to confuse WTP). Using m2eclipse and custom builder you can enable specific goals in eclipse so that it automatically merges the war's (but might be a bit slow) so that you dont have to manually merge 2 projects each time... But this is just a theory. Siarhei On Wed, May 28, 2008 at 10:06 AM, Arnaud HERITIER [EMAIL PROTECTED] wrote: Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM, Lorenzo Arcaini [EMAIL PROTECTED] wrote: Hello everyone, I have multiple maven projects sharing some code via a war overlay and would like to use WTP in Eclipse to deploy my webapps and benefit from the productivity gain it brings to the dev teams. However, due to my war overlay, WTP seems unable to work properly as my webapps depends on it. My projects have war and ear packaging, but having only the war projects working would already be a good thing. Target application server is JOnAS 4.8.6, but then again, if it is working with a good old tomcat it should be good enough. I think I'm not the only one using war overlay and willing to use WTP at the same time, so my question is : how are you dealing with this / how should I proceed to make things work ? Regards, Lorenzo Arcaini OCTO Technology - larcaini AT octo DOT com www.octo.com | blog.octo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2eclipse-user] Re: Question about Maven, Eclipse WTP and war overlay
Hi, An issue exists for supporting war overlays : http://jira.codehaus.org/browse/MNGECLIPSE-597 Please vote for this issue. On Wed, May 28, 2008 at 10:06 AM, Arnaud HERITIER [EMAIL PROTECTED] wrote: Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM, Lorenzo Arcaini [EMAIL PROTECTED] wrote: Hello everyone, I have multiple maven projects sharing some code via a war overlay and would like to use WTP in Eclipse to deploy my webapps and benefit from the productivity gain it brings to the dev teams. However, due to my war overlay, WTP seems unable to work properly as my webapps depends on it. My projects have war and ear packaging, but having only the war projects working would already be a good thing. Target application server is JOnAS 4.8.6, but then again, if it is working with a good old tomcat it should be good enough. I think I'm not the only one using war overlay and willing to use WTP at the same time, so my question is : how are you dealing with this / how should I proceed to make things work ? Regards, Lorenzo Arcaini OCTO Technology - larcaini AT octo DOT com www.octo.com | blog.octo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis2 and Maven2
Hi, This looks a more an axis ml question. But just note axis1 != axis2. And you have a mojo [1] which can help you with axis1. -- Olivier [1] http://mojo.codehaus.org/axistools-maven-plugin/ 2008/5/28 Karl Heinz Marbaise [EMAIL PROTECTED]: Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace schemaTargetNamespacehttp://testaxis2.weatherservice/schemaTargetNamespace /configuration executions execution goals goaljava2wsdl/goal /goals /execution /executions /plugin . The dependency part: dependency groupIdaxis/groupId artifactIdaxis/artifactId version1.4/version /dependency But all times a run the mvn compile i got the following output: Downloading: http://repo1.maven.org/maven//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://ws.zones.apache.org/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://repository.atlassian.com/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://svn.atlassian.com/svn/public/contrib/repository/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: https://maven-repository.dev.java.net/nonav/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom [INFO] [axis2-java2wsdl:java2wsdl {execution: default}] java.lang.Exception: java.lang.ClassNotFoundException: com.soebes.testaxis2.service.WeatherService at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:58) at org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146) So my question is: Does someone has a running POM with Axis2 (1.4) ...running ? Or does someone here has a suggestions? Thanks in advance. Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - 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]
Axis2 and Maven2
Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace schemaTargetNamespacehttp://testaxis2.weatherservice/schemaTargetNamespace /configuration executions execution goals goaljava2wsdl/goal /goals /execution /executions /plugin . The dependency part: dependency groupIdaxis/groupId artifactIdaxis/artifactId version1.4/version /dependency But all times a run the mvn compile i got the following output: Downloading: http://repo1.maven.org/maven//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://ws.zones.apache.org/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://repository.atlassian.com/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://svn.atlassian.com/svn/public/contrib/repository/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: https://maven-repository.dev.java.net/nonav/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom [INFO] [axis2-java2wsdl:java2wsdl {execution: default}] java.lang.Exception: java.lang.ClassNotFoundException: com.soebes.testaxis2.service.WeatherService at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:58) at org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146) So my question is: Does someone has a running POM with Axis2 (1.4) ...running ? Or does someone here has a suggestions? Thanks in advance. Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to enable profile defined in settings from pom ?
profile idp1/id activation property nameenv/name valuexyz/value /property /activation properties propnamepropvalue/propname /properties /profile On Wed, May 28, 2008 at 11:51 AM, spyder71 [EMAIL PROTECTED] wrote: Hi, I have a profile defined in the settings.xml (not actived by default). I would like to have it enabled when a variable is defined a pom.xml ? How can i do ? I tried this, but it does not work : (settings.xml) : profile idp1/id activation property nameenv/name valuexyz/value /property /activation /profile (pom.xml) : project ... properties envxyz/env /properties Can you help me ? tx ! -- View this message in context: http://www.nabble.com/How-to-enable-profile-defined-in-settings-from-pom---tp17508989p17508989.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]
Ваше письмо удалено за спам
Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 2331573; Wed, 28 May 2008 13:49:19 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] Received: from mail.netltd.ru (account [EMAIL PROTECTED]) by inc.ru (CommuniGate Pro RPOP 4.1.8) with RPOP id 2331572 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:49:19 +0400 X-Antivirus-passed: yes X-Real-To: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 22462959; Wed, 28 May 2008 13:47:28 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] X-Antispam-passed: yes X-Antispam: yes X-Real-To: [EMAIL PROTECTED] X-Antivirus: yes Received: from mail.apache.org ([140.211.11.2] verified) by inc.ru (CommuniGate Pro SMTP 4.1.8) with SMTP id 22462971 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:47:28 +0400 Received: (qmail 70887 invoked by uid 500); 28 May 2008 09:47:24 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:users@maven.apache.org List-Id: Maven Users List users.maven.apache.org Reply-To: Maven Users List users@maven.apache.org Delivered-To: mailing list users@maven.apache.org Received: (qmail 70876 invoked by uid 99); 28 May 2008 09:47:24 - Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 02:47:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [EMAIL PROTECTED] designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 09:46:36 + Received: by wf-out-1314.google.com with SMTP id 25so2821645wfa.0 for users@maven.apache.org; Wed, 28 May 2008 02:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=OAWxL4HCV21I9m3RR/yS2DwO7Gx5EzknliIH8IZHK3g=; b=VbcD7JnHJ3i0qxrTejYL2CbjYbCcrET/nq9e8KeihDKNDkGFMT8b4Ebid1y9kwjTFWOHnlzgqI7unoYpq5oEeKck6GuPG6MMOpWzVIBYpeZmqYG36H96cp2IIEligY48b+NcsWYTIkHrZz96Q91R4doE1wm1qFe4bEFvDHGivd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=vGfLAbzTcnUIhyXGjtr1OAbq8UzIlQCPoTubXdB6hy0KnVrjMcrB7hjj2yetje9ZXaD2/TU8Q1/KCEAeH69bxxsuqppNEH/3J0RGUX+fUu72Hmlg6f3tYfggb5Q2+pSh6d8DnsBHnkfLyI5RNkkfhiDuI81fcscdZ+xrQ8XOuWw= Received: by 10.142.231.7 with SMTP id d7mr963475wfh.30.1211968012727; Wed, 28 May 2008 02:46:52 -0700 (PDT) Received: by 10.142.204.5 with HTTP; Wed, 28 May 2008 02:46:52 -0700 (PDT) Message-ID: [EMAIL PROTECTED] Date: Wed, 28 May 2008 11:46:52 +0200 From: Olivier Lamy [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] Subject: Re: Axis2 and Maven2 In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: [EMAIL PROTECTED] X-Google-Sender-Auth: 5d5d945bee9a9b4f X-Virus-Checked: Checked by ClamAV on apache.org Hi, This looks a more an axis ml question. But just note axis1 != axis2. And you have a mojo [1] which can help you with axis1. -- Olivier [1] http://mojo.codehaus.org/axistools-maven-plugin/ 2008/5/28 Karl Heinz Marbaise [EMAIL PROTECTED]: Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace schemaTargetNamespacehttp://testaxis2.weatherservice/schemaTargetNamespace /configuration executions execution goals goaljava2wsdl/goal /goals /execution
Re: [m2eclipse-user] Re: Question about Maven, Eclipse WTP and war overlay
An issue exists for supporting war overlays : http://jira.codehaus.org/browse/MNGECLIPSE-597 Please vote for this issue. Done ! In fact, this feature is important and it's not just for war overlay but also for filtering... Rémy
How to enable profile defined in settings from pom ?
Hi, I have a profile defined in the settings.xml (not actived by default). I would like to have it enabled when a variable is defined a pom.xml ? How can i do ? I tried this, but it does not work : (settings.xml) : profile idp1/id activation property nameenv/name valuexyz/value /property /activation /profile (pom.xml) : project ... properties envxyz/env /properties Can you help me ? tx ! -- View this message in context: http://www.nabble.com/How-to-enable-profile-defined-in-settings-from-pom---tp17508989p17508989.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: Ваше письмо удалено за спам
muahaha :) they've said we are spammers On 5/28/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 2331573; Wed, 28 May 2008 13:49:19 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] Received: from mail.netltd.ru (account [EMAIL PROTECTED]) by inc.ru (CommuniGate Pro RPOP 4.1.8) with RPOP id 2331572 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:49:19 +0400 X-Antivirus-passed: yes X-Real-To: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 22462959; Wed, 28 May 2008 13:47:28 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] X-Antispam-passed: yes X-Antispam: yes X-Real-To: [EMAIL PROTECTED] X-Antivirus: yes Received: from mail.apache.org ([140.211.11.2] verified) by inc.ru (CommuniGate Pro SMTP 4.1.8) with SMTP id 22462971 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:47:28 +0400 Received: (qmail 70887 invoked by uid 500); 28 May 2008 09:47:24 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:users@maven.apache.org List-Id: Maven Users List users.maven.apache.org Reply-To: Maven Users List users@maven.apache.org Delivered-To: mailing list users@maven.apache.org Received: (qmail 70876 invoked by uid 99); 28 May 2008 09:47:24 - Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 02:47:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [EMAIL PROTECTED] designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 09:46:36 + Received: by wf-out-1314.google.com with SMTP id 25so2821645wfa.0 for users@maven.apache.org; Wed, 28 May 2008 02:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=OAWxL4HCV21I9m3RR/yS2DwO7Gx5EzknliIH8IZHK3g=; b=VbcD7JnHJ3i0qxrTejYL2CbjYbCcrET/nq9e8KeihDKNDkGFMT8b4Ebid1y9kwjTFWOHnlzgqI7unoYpq5oEeKck6GuPG6MMOpWzVIBYpeZmqYG36H96cp2IIEligY48b+NcsWYTIkHrZz96Q91R4doE1wm1qFe4bEFvDHGivd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=vGfLAbzTcnUIhyXGjtr1OAbq8UzIlQCPoTubXdB6hy0KnVrjMcrB7hjj2yetje9ZXaD2/TU8Q1/KCEAeH69bxxsuqppNEH/3J0RGUX+fUu72Hmlg6f3tYfggb5Q2+pSh6d8DnsBHnkfLyI5RNkkfhiDuI81fcscdZ+xrQ8XOuWw= Received: by 10.142.231.7 with SMTP id d7mr963475wfh.30.1211968012727; Wed, 28 May 2008 02:46:52 -0700 (PDT) Received: by 10.142.204.5 with HTTP; Wed, 28 May 2008 02:46:52 -0700 (PDT) Message-ID: [EMAIL PROTECTED] Date: Wed, 28 May 2008 11:46:52 +0200 From: Olivier Lamy [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] Subject: Re: Axis2 and Maven2 In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: [EMAIL PROTECTED] X-Google-Sender-Auth: 5d5d945bee9a9b4f X-Virus-Checked: Checked by ClamAV on apache.org Hi, This looks a more an axis ml question. But just note axis1 != axis2. And you have a mojo [1] which can help you with axis1. -- Olivier [1] http://mojo.codehaus.org/axistools-maven-plugin/ 2008/5/28 Karl Heinz Marbaise [EMAIL PROTECTED]: Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace
RE: Axis2 and Maven2
I use the following dependencies with axis 2: dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-jaxws/artifactId version1.4/version /dependency dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-adb/artifactId version1.4/version /dependency Pete -Original Message- From: Karl Heinz Marbaise [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 5:43 AM To: Maven Users List Subject: Axis2 and Maven2 Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace schemaTargetNamespacehttp://testaxis2.weatherservice/schemaTargetNamespace /configuration executions execution goals goaljava2wsdl/goal /goals /execution /executions /plugin . The dependency part: dependency groupIdaxis/groupId artifactIdaxis/artifactId version1.4/version /dependency But all times a run the mvn compile i got the following output: Downloading: http://repo1.maven.org/maven//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://ws.zones.apache.org/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://repository.atlassian.com/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: http://svn.atlassian.com/svn/public/contrib/repository/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom Downloading: https://maven-repository.dev.java.net/nonav/repository//jaxen/poms/jaxen-1.1-beta-10.pom Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom [INFO] [axis2-java2wsdl:java2wsdl {execution: default}] java.lang.Exception: java.lang.ClassNotFoundException: com.soebes.testaxis2.service.WeatherService at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:58) at org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146) So my question is: Does someone has a running POM with Axis2 (1.4) ...running ? Or does someone here has a suggestions? Thanks in advance. Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to enable profile defined in settings from pom ?
Sorry, but i d ont understand. Maybe i was not clear. What i have is a settings.xml file with 2 profiles : profiles profile idrep1/id activation property namerep/name valuerep1/value /property /activation repositories repository.../repository /repositories /profile profile idrep2/id activation property namerep/name valuerep2/value /property /activation repositories repository.../repository /repositories /profile /profiles And i have a pom.xml. When i built, i would like to be able to choose the repository (by activating a specific profile). I do not want to pass the profile id as parameter to the mvn cmd, i want to have the activation set into the pom.xml file (with a env var ?) bouiaw wrote: profile idp1/id activation property nameenv/name valuexyz/value /property /activation properties propnamepropvalue/propname /properties /profile On Wed, May 28, 2008 at 11:51 AM, spyder71 [EMAIL PROTECTED] wrote: Hi, I have a profile defined in the settings.xml (not actived by default). I would like to have it enabled when a variable is defined a pom.xml ? How can i do ? I tried this, but it does not work : (settings.xml) : profile idp1/id activation property nameenv/name valuexyz/value /property /activation /profile (pom.xml) : project ... properties envxyz/env /properties Can you help me ? tx ! -- View this message in context: http://www.nabble.com/How-to-enable-profile-defined-in-settings-from-pom---tp17508989p17508989.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/How-to-enable-profile-defined-in-settings-from-pom---tp17508989p17510866.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]
Ваше письмо удалено за спам
Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 2333750; Wed, 28 May 2008 15:47:59 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] Received: from mail.netltd.ru (account [EMAIL PROTECTED]) by inc.ru (CommuniGate Pro RPOP 4.1.8) with RPOP id 2333749 for [EMAIL PROTECTED]; Wed, 28 May 2008 15:47:58 +0400 X-Antivirus-passed: yes X-Real-To: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 22468819; Wed, 28 May 2008 15:47:23 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] X-Antispam-passed: yes X-Antispam: yes X-Real-To: [EMAIL PROTECTED] X-Antivirus: yes Received: from mail.apache.org ([140.211.11.2] verified) by inc.ru (CommuniGate Pro SMTP 4.1.8) with SMTP id 22468816 for [EMAIL PROTECTED]; Wed, 28 May 2008 15:47:23 +0400 Received: (qmail 38775 invoked by uid 500); 28 May 2008 11:47:19 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:users@maven.apache.org List-Id: Maven Users List users.maven.apache.org Reply-To: Maven Users List users@maven.apache.org Delivered-To: mailing list users@maven.apache.org Received: (qmail 38764 invoked by uid 99); 28 May 2008 11:47:19 - Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 04:47:19 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [EMAIL PROTECTED] designates 192.223.178.26 as permitted sender) Received: from [192.223.178.26] (HELO maillnx-us311.fmr.com) (192.223.178.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 11:46:29 + x-sendergroup: RELAYLIST X-filenames: None Received: from msgmrosm01win.dmn1.fmr.com ([172.26.7.127]) by maillnx-us311.fmr.com with SMTP; 28 May 2008 07:46:35 -0400 Received: from MSGMROIV02WIN.DMN1.FMR.COM (10.37.74.75) by MSGMROSM01WIN.dmn1.fmr.com (Sigaba Gateway v4.1) with ESMTP id 199342015; Wed, 28 May 2008 07:46:34 -0400 Received: from MSGMROIM01WIN.DMN1.FMR.COM ([172.26.2.194]) by MSGMROIV02WIN.DMN1.FMR.COM with SMTP_server; Wed, 28 May 2008 07:46:34 -0400 Received: from msgmmkclf2win.fmr.com ([10.33.182.33]) by MSGMROIM01WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Wed, 28 May 2008 07:46:34 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: Axis2 and Maven2 Date: Wed, 28 May 2008 07:46:33 -0400 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Axis2 and Maven2 Thread-Index: AcjAp1ljHQzRwhq2SGmezHBd3f+JogAEPnDA References: [EMAIL PROTECTED] From: Hayes, Peter [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] X-OriginalArrivalTime: 28 May 2008 11:46:34.0421 (UTC) FILETIME=[7AA50650:01C8C0B8] X-Virus-Checked: Checked by ClamAV on apache.org I use the following dependencies with axis 2: dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-jaxws/artifactId version1.4/version /dependency dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-adb/artifactId version1.4/version /dependency Pete -Original Message- From: Karl Heinz Marbaise [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 5:43 AM To: Maven Users List Subject: Axis2 and Maven2 Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration classNamecom.soebes.testaxis2.service.WeatherService/className outputFileNameHelloImpl.ws/outputFileName targetNamespacehttp://testaxis2.weatherservice/targetNamespace schemaTargetNamespacehttp://testaxis2.weatherservice/schemaTargetNamespace /configuration executions execution goals goaljava2wsdl/goal /goals /execution /executions /plugin
Re: Archetype:create broken?
Hi, And what about using mvn archetype:generate instead of create ? create goal is deprecated as far as I know. Marc. nodje a écrit : What's with the archetype:create? I suddenly get this error when trying to create a new project: mvn archetype:create -DgroupId=com.company.commons -DartifactId=xml [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building commons [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] Downloading: http://allence.dyndns.org:8081/artifactory/plugins-releases/velocity/velocity/1.5/velocity-1.5.pom Downloading: http://allence.dyndns.org:8081/artifactory/repo/velocity/velocity/1.5/velocity-1.5.pom [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/apache/commons/lang/StringUtils org.apache.commons.lang.StringUtils [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:165) at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:594) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:241) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116) at org.codehaus.plexus.velocity.DefaultVelocityComponent.initialize(DefaultVelocityComponent.java:79) at org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:16) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129) at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129) at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) at
Exclude central repository
Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading dependencies from repo1.maven.org. How can I exclude this default repository? Best regards, Bernd This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exclude central repository
Schneiders, Bernd schrieb: Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading dependencies from repo1.maven.org. How can I exclude this default repository? Give your repository an id of central. Or define mirrorOf*/mirrorOf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Archetype:create broken?
Sorry didn't pay attention to that. But the result is exactly the same with generate anyway. Looks like you don't have the problem, so it's probably a local config problem. How could that possibly happen? Marc SCHNEIDER-5 wrote: Hi, And what about using mvn archetype:generate instead of create ? create goal is deprecated as far as I know. Marc. nodje a écrit : What's with the archetype:create? I suddenly get this error when trying to create a new project: mvn archetype:create -DgroupId=com.company.commons -DartifactId=xml [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building commons [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] Downloading: http://allence.dyndns.org:8081/artifactory/plugins-releases/velocity/velocity/1.5/velocity-1.5.pom Downloading: http://allence.dyndns.org:8081/artifactory/repo/velocity/velocity/1.5/velocity-1.5.pom [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/apache/commons/lang/StringUtils org.apache.commons.lang.StringUtils [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:165) at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:594) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:241) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116) at org.codehaus.plexus.velocity.DefaultVelocityComponent.initialize(DefaultVelocityComponent.java:79) at org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:16) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129) at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101) at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129) at org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29) at
RE: Exclude central repository
Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading dependencies from repo1.maven.org. How can I exclude this default repository? Give your repository an id of central. Or define mirrorOf*/mirrorOf Many thanks, the problem is solved by setting the id to central Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question about Maven, Eclipse WTP and war overlay
Hi Arnaud, Lorenzo! I'm not sure if the way I solved this problem actually works for you, but maybe we can share some ideas. 1. I use a patched maven-war-plugin as described in http://jira.codehaus.org/browse/MWAR-73 I use the 'archive-classes' feature to treat the jared class files as attached artifact. Btw: I should upgrade the patch in MWAR-73 to work with the latest maven-war-plugin anyway (if it is still needed)! !-- build the war file -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.4-msx.2/version configuration archiveClassestrue/archiveClasses excludes${warExcludes}/excludes archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin The attached 'webclasses'-artifact will then be used as dependency in all depending war projects. Additionally I exclude the lib folders !-- build the WAR file using overlaying -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.4-msx.2/version configuration dependentWarExcludesWEB-INF/*.xml,WEB-INF/lib/*.jar/dependentWarExcludes /configuration /plugin [*] We then use $ mvn war:inplace generate-test-resources to generate the files in the current working directory. PRO: .) you can debug thru all depending classes via the attached-webclasses.jar .) you can debug thru all depending JSPs since they got overlayed by the war:inplace mojo CON: .) your working directory got polluted with 'waste' from your depending WARs. So you have to take care to not checkin JSPs you got from your basis WAR! .) you have to setup and maintain proper settings in the maven-clean-plugin to get rid of all the wast you got from the overlaying. Hope that I didn't forget something. It took us (Sigi Goeschl + me) a while to setup this, and it is _not_ very beautiful, but at least it works since almost 2 years without big problems. Would be glad if you guys can share your ideas or point out new ways we may try. LieGrü, strub [*] maybe this has changed since the maven-warplugin-2.0.4, but declaring a WAR dependency did not resolve transient dependencies. This is ok if I get them in the WEB-INF/lib folder anyway (to prevent us from having them twice), but not if we use full maven-dependency management as we do with the attached webclasses artifact. --- Arnaud HERITIER [EMAIL PROTECTED] schrieb am Mi, 28.5.2008: Von: Arnaud HERITIER [EMAIL PROTECTED] Betreff: Re: Question about Maven, Eclipse WTP and war overlay An: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] Datum: Mittwoch, 28. Mai 2008, 10:06 Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM, Lorenzo Arcaini [EMAIL PROTECTED] wrote: Hello everyone, I have multiple maven projects sharing some code via a war overlay and would like to use WTP in Eclipse to deploy my webapps and benefit from the productivity gain it brings to the dev teams. However, due to my war overlay, WTP seems unable to work properly as my webapps depends on it. My projects have war and ear packaging, but having only the war projects working would already be a good thing. Target application server is JOnAS 4.8.6, but then again, if it is working with a good old tomcat it should be good enough. I think I'm not the only one using war overlay and willing to use WTP at the same time, so my question is : how are you dealing with this / how should I proceed to make things work ? Regards, Lorenzo Arcaini OCTO Technology - larcaini AT octo DOT com www.octo.com | blog.octo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can you build native lib and Jar with a single pom.xml?
Normally you would separate out the piece that is depended on in two places to a separate module to break the circle. -Original Message- From: Dave Rathnow [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 11:27 AM To: Maven Users List Subject: RE: Can you build native lib and Jar with a single pom.xml? Okay. Can you explain how one uses Maven to build jni libraries? Assume you have a jar project containing the Java source file (i.e. main and test) that provides the interface to the native code, and another project that contains the native code, how do you build them? Building the jar file requires the unit tests to run but they rely on the native library but it can't be built because it relys on the Java class in the jar file that is built from the Java project, but it can't be built because it can't run unit tests that rely on the native code from the native project but it can't be builtand on it goes. Chicken and Egg problem. How do you do this? Dave. -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED] Sent: May 26, 2008 09:52 PM To: Maven Users List Subject: Re: Can you build native lib and Jar with a single pom.xml? The golden rule is one pom, one artifact. On May 26, 2008, at 5:41 PM, Dave Rathnow [EMAIL PROTECTED] wrote: I have built a pom to build a native JNI library but the Java class that sits on top of it is in a separate project. It makes running unit tests a little tricky. I would like to move the Java code into the same project and have the Jar and the library built with a single pom. Is this possible? If so, how does one go about getting Maven to build both a native library and a jar file? Thanks, Dave. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Unplugged (no network access)
This won't work because your local repo does not contain all the same data that a remote repo does. That's why I suggested using Nexus to proxy the actual data from the remote...but only the data you need not a mirror of the whole 16gb Central repo. -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 7:26 PM To: Maven Users List Subject: RE: Maven Unplugged (no network access) In your scenario Nexus is not necessary since you are actually not proxying anything. If I understand your scenario correctly you need to provide a managed and controlled repository. An Apache Server is good enough. I would suggest having the folks with the external access to run the builds on their boxes with external access and then after verification copy everything from their local repository to the folder from which your Apache Maven server serves the artifacts. Andreas -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 4:03 PM To: Maven Users List Subject: RE: Maven Unplugged (no network access) Ouch. Is there any way this privileged group can hook up a Nexus to the internet, and run through some of your builds? They could then analyze and approve the contents which could then be moved to your protected instance. Enumerating the full list of things and doing it manually is going to be tedious at best. -Original Message- From: Seth Geoghegan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 11:25 AM To: users@maven.apache.org Subject: Maven Unplugged (no network access) I am attempting to set up Maven on a corporate network without access to the web. I've got Maven, a repository (Nexus) and now need to fill my repository with all the needed plugins. Unfortunately, I don't have the option of letting Maven connect to the web and download its plugins/dependencies. Instead, I need to tell a different group (non-technical folk) what I need downloaded and they import it onto our networks manually. I know it sounds silly, but its the environment I'm working in! Where can I find a list of plugins that Maven needs to support the basic project lifecycle (compile, test, site, etc)? Any recommendations would be appreciated. Thanks, ~Seth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Unplugged (no network access)
Then simply run a webserver that points at the files that the maven proxy has downloaded. That webserver will now act as a read-only copy of *just the part of the maven repository that you need*. As was noted, there is not much point in using a maven proxy to serve these read-only files once you've downloaded them the first time. Sorry, yes this is what I meant. Once you have the files in Nexus, you can just take the storage folder out and host it with something else, as it's an exact copy of the repo for things that Maven needed. OTOH, you will need a strategy for periodically refreshing to new artifacts, which is why being 100% disconnected is going to be interesting at best. --Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Upgrading Maven 2.0.5 - 2.0.9
Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [INFO] Building Content Administrator APP [INFO]task-segment: [dependency:analyze] [INFO] [INFO] Preparing dependency:analyze [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from REPO [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from maven-repo1 [INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.6 [INFO] Ignoring available plugin update: 2.4 as it requires Maven version 2.0.8 [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6 [WARNING] Artifact findbugs:annotations:jar:1.1.0-rc5:provided retains local scope 'provided' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [dependency:unpack-dependencies {execution: unpack}] [INFO] Expanding: JAR_FILES [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dependency:analyze] [INFO] Used declared dependencies: [INFO]atg:dss-classes:jar:2006.3:provided [INFO]lty:lty-utils:jar:3.0.1.2:compile [INFO]atg.publishing:base:jar:2006.3.P2:compile [INFO]taglibs:standard:jar:1.1.2:provided [INFO]atg:webui-classes:jar:2006.3.P2:compile [INFO]junit:junit:jar:4.0:compile [INFO]jboss:system:jar:3.2:compile [INFO]jboss:common:jar:1.0:compile [INFO]atg:das-servlet:jar:2006.3:provided [INFO]atg:pubportlet-classes:jar:2006.3.P2:compile [INFO]apache:axis:jar:1.4:compile [INFO]jboss:jboss-j2ee:jar:4.0.4.GA:provided [INFO]atg:dps-classes:jar:2006.3.P2:provided [INFO]atg:das-classes:jar:2006.3.P2:provided [INFO]atg:bizui-classes:jar:2006.3.P2:compile [INFO]jboss:jmx:jar:1.0:compile [INFO] Used undeclared dependencies: [WARNING]commons-fileupload:commons-fileupload:jar:1.0:provided [INFO] Unused declared dependencies: [INFO]jakarta-poi:jakarta-poi:jar:1.5.1:compile [INFO]commons-discovery:commons-discovery:jar:0.2:compile [INFO]oracle:aq:jar:1.0:compile [INFO]gnu:regexp:jar:x:compile [INFO]oracle:jdbc:jar:10.0:compile [INFO]lty:lty-utils-resources:jar:1.0.0.16:compile [INFO]jcaptcha:jcaptcha-all:jar:RC2.0.1:compile [INFO]velocity:velocity:jar:1.2:compile [INFO]castor:castor_xml:jar:0.9.4.3:compile [INFO]jboss:deploy:jar:1.0:compile [INFO]org.apache:axis:jar:1.4:compile [INFO]castor:castor:jar:0.9.4.3:compile [INFO]geophile:jdbcwrapper:jar:1.0:compile [INFO]aspectwerkz:aspectwerkz:jar:1.1:compile [INFO]cactus-support:aspectjrt:jar:1.2.1:compile [INFO]lty:capi:jar:1.2.0.27:compile [INFO]xalan:xalan:jar:2.7.0:compile [INFO]commons-net:commons-net:jar:1.3.0:compile [INFO]com:oroinc:jar:1.0:compile [INFO]commons-validator:commons-validator:jar:1.1.4:compile [INFO]cactus-support:cactus:jar:1.7.2:compile [INFO]xerces:xercesImpl:jar:2.8.0:compile [WARNING] Potential problems discovered. [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO]Nothing in DepMgt. [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 5 minutes 2 seconds [INFO] Finished at: Wed May 28 10:38:46 EDT 2008 [INFO] Final Memory: 17M/127M [INFO] C:\work\up-svcs\lty\rel\LTY-R63.0\frontoffice\caApp -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 5:57 PM To: Maven Users List Subject: RE: Upgrading Maven 2.0.5 - 2.0.9 Can you show the full output of running the command from the CLI? -Original Message- From: Michael Delaney [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 4:41 PM To: Maven Users List Subject: Upgrading Maven 2.0.5 - 2.0.9 All, I am testing out upgrading from Maven 2.0.5 to 2.0.9, I was reading documentation that said that there were some dependency sanity checks one should do before upgrading to the latest version of Maven from 2.0.6 or earlier (the page I am referring to is located at http://maven.apache.org/plugins/maven-dependency-plugin/examples/prepari ng-dependencies.html). On the page pasted above, it says to run the Maven dependency analyzer to check that everything is okay with how your dependencies are being
Re: Surefire Property Filtering
Never mind, This was my bad The file I was filtering looked like: jdbc:oracle:thin:@${wile.asset.jdbc.hostname}:${wile.asset.jdbc.port}:${wile.asset.jdbc.sid} Notice the quotes. Removed them and it worked. Arghh! Thanks Tom Tom Purcell wrote: Hello We want to be able to filter properties for our unit tests. For instance a developer's build will run against our continuous integration build. We have set up maven profiles and property filter files that work fine for the actually build but the property filtering does not happen when the surefire plugin runs the tests. Here's the build section of our pom: build filters filtersrc/main/filters/${wile-filter-properties}/filter filtersrc/test/filters/${wile-filter-properties}/filter /filters resources resource directorysrc/main/resources/directory includes include**/*/include /includes filteringtrue/filtering /resource /resources testResources testResource directorysrc/test/resources/directory includes include**/*/include /includes filteringtrue/filtering /testResource /testResources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.2/version configuration redirectTestOutputToFiletrue/redirectTestOutputToFile /configuration /plugin /plugins /build Where did I go wrong? Thanks Tom -- View this message in context: http://www.nabble.com/Surefire-Property-Filtering-tp17495752p17514548.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: Upgrading Maven 2.0.5 - 2.0.9
I don't see any errors here. What errors do you mean? There are a few libs you have a dependency on but don't appear to be using. So you could reduce the size of your app by getting rid of these (as long as you aren't using Class.forName or META-INF/services or similar to load them by reflection, which this tool obviously can't detect). So you are warned to look into this. And there is the findbugs:annotations issue, where some dependency wants that jar bundled with the app, but you (or some other dependency) has said that the jar will be provided at runtime. If the system into which you deploy this code *really* has that already in the classpath, then fine. Otherwise you need to fix the declaration that is forcing its scope to provided. So you are warned to look into this. Neither is *definitely* a problem, and neither seems to be a *change* that upgrading maven will introduce. Instead they appear to be issues that your code has always had. Regards, Simon Michael Delaney schrieb: Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [INFO] Building Content Administrator APP [INFO]task-segment: [dependency:analyze] [INFO] [INFO] Preparing dependency:analyze [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from REPO [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from maven-repo1 [INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.6 [INFO] Ignoring available plugin update: 2.4 as it requires Maven version 2.0.8 [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6 [WARNING] Artifact findbugs:annotations:jar:1.1.0-rc5:provided retains local scope 'provided' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [dependency:unpack-dependencies {execution: unpack}] [INFO] Expanding: JAR_FILES [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dependency:analyze] [INFO] Used declared dependencies: [INFO]atg:dss-classes:jar:2006.3:provided [INFO]lty:lty-utils:jar:3.0.1.2:compile [INFO]atg.publishing:base:jar:2006.3.P2:compile [INFO]taglibs:standard:jar:1.1.2:provided [INFO]atg:webui-classes:jar:2006.3.P2:compile [INFO]junit:junit:jar:4.0:compile [INFO]jboss:system:jar:3.2:compile [INFO]jboss:common:jar:1.0:compile [INFO]atg:das-servlet:jar:2006.3:provided [INFO]atg:pubportlet-classes:jar:2006.3.P2:compile [INFO]apache:axis:jar:1.4:compile [INFO]jboss:jboss-j2ee:jar:4.0.4.GA:provided [INFO]atg:dps-classes:jar:2006.3.P2:provided [INFO]atg:das-classes:jar:2006.3.P2:provided [INFO]atg:bizui-classes:jar:2006.3.P2:compile [INFO]jboss:jmx:jar:1.0:compile [INFO] Used undeclared dependencies: [WARNING]commons-fileupload:commons-fileupload:jar:1.0:provided [INFO] Unused declared dependencies: [INFO]jakarta-poi:jakarta-poi:jar:1.5.1:compile [INFO]commons-discovery:commons-discovery:jar:0.2:compile [INFO]oracle:aq:jar:1.0:compile [INFO]gnu:regexp:jar:x:compile [INFO]oracle:jdbc:jar:10.0:compile [INFO]lty:lty-utils-resources:jar:1.0.0.16:compile [INFO]jcaptcha:jcaptcha-all:jar:RC2.0.1:compile [INFO]velocity:velocity:jar:1.2:compile [INFO]castor:castor_xml:jar:0.9.4.3:compile [INFO]jboss:deploy:jar:1.0:compile [INFO]org.apache:axis:jar:1.4:compile [INFO]castor:castor:jar:0.9.4.3:compile [INFO]geophile:jdbcwrapper:jar:1.0:compile [INFO]aspectwerkz:aspectwerkz:jar:1.1:compile [INFO]cactus-support:aspectjrt:jar:1.2.1:compile [INFO]lty:capi:jar:1.2.0.27:compile [INFO]xalan:xalan:jar:2.7.0:compile [INFO]commons-net:commons-net:jar:1.3.0:compile [INFO]com:oroinc:jar:1.0:compile [INFO]commons-validator:commons-validator:jar:1.1.4:compile [INFO]cactus-support:cactus:jar:1.7.2:compile [INFO]xerces:xercesImpl:jar:2.8.0:compile [WARNING] Potential problems discovered. [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO]Nothing in DepMgt. [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 5 minutes 2 seconds [INFO] Finished at: Wed May 28 10:38:46 EDT 2008
RE: Upgrading Maven 2.0.5 - 2.0.9
I was basing my findings on the output where Maven stated Potential problems discovered. Is Maven just referring to the Used undeclared dependencies and Unused declared dependencies sections? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:03 AM To: Maven Users List Subject: Re: Upgrading Maven 2.0.5 - 2.0.9 I don't see any errors here. What errors do you mean? There are a few libs you have a dependency on but don't appear to be using. So you could reduce the size of your app by getting rid of these (as long as you aren't using Class.forName or META-INF/services or similar to load them by reflection, which this tool obviously can't detect). So you are warned to look into this. And there is the findbugs:annotations issue, where some dependency wants that jar bundled with the app, but you (or some other dependency) has said that the jar will be provided at runtime. If the system into which you deploy this code *really* has that already in the classpath, then fine. Otherwise you need to fix the declaration that is forcing its scope to provided. So you are warned to look into this. Neither is *definitely* a problem, and neither seems to be a *change* that upgrading maven will introduce. Instead they appear to be issues that your code has always had. Regards, Simon Michael Delaney schrieb: Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [INFO] Building Content Administrator APP [INFO]task-segment: [dependency:analyze] [INFO] [INFO] Preparing dependency:analyze [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from REPO [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from maven-repo1 [INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.6 [INFO] Ignoring available plugin update: 2.4 as it requires Maven version 2.0.8 [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6 [WARNING] Artifact findbugs:annotations:jar:1.1.0-rc5:provided retains local scope 'provided' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [dependency:unpack-dependencies {execution: unpack}] [INFO] Expanding: JAR_FILES [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dependency:analyze] [INFO] Used declared dependencies: [INFO]atg:dss-classes:jar:2006.3:provided [INFO]lty:lty-utils:jar:3.0.1.2:compile [INFO]atg.publishing:base:jar:2006.3.P2:compile [INFO]taglibs:standard:jar:1.1.2:provided [INFO]atg:webui-classes:jar:2006.3.P2:compile [INFO]junit:junit:jar:4.0:compile [INFO]jboss:system:jar:3.2:compile [INFO]jboss:common:jar:1.0:compile [INFO]atg:das-servlet:jar:2006.3:provided [INFO]atg:pubportlet-classes:jar:2006.3.P2:compile [INFO]apache:axis:jar:1.4:compile [INFO]jboss:jboss-j2ee:jar:4.0.4.GA:provided [INFO]atg:dps-classes:jar:2006.3.P2:provided [INFO]atg:das-classes:jar:2006.3.P2:provided [INFO]atg:bizui-classes:jar:2006.3.P2:compile [INFO]jboss:jmx:jar:1.0:compile [INFO] Used undeclared dependencies: [WARNING]commons-fileupload:commons-fileupload:jar:1.0:provided [INFO] Unused declared dependencies: [INFO]jakarta-poi:jakarta-poi:jar:1.5.1:compile [INFO]commons-discovery:commons-discovery:jar:0.2:compile [INFO]oracle:aq:jar:1.0:compile [INFO]gnu:regexp:jar:x:compile [INFO]oracle:jdbc:jar:10.0:compile [INFO]lty:lty-utils-resources:jar:1.0.0.16:compile [INFO]jcaptcha:jcaptcha-all:jar:RC2.0.1:compile [INFO]velocity:velocity:jar:1.2:compile [INFO]castor:castor_xml:jar:0.9.4.3:compile [INFO]jboss:deploy:jar:1.0:compile [INFO]org.apache:axis:jar:1.4:compile [INFO]castor:castor:jar:0.9.4.3:compile [INFO]geophile:jdbcwrapper:jar:1.0:compile [INFO]aspectwerkz:aspectwerkz:jar:1.1:compile [INFO]cactus-support:aspectjrt:jar:1.2.1:compile [INFO]lty:capi:jar:1.2.0.27:compile [INFO]xalan:xalan:jar:2.7.0:compile [INFO]commons-net:commons-net:jar:1.3.0:compile [INFO]com:oroinc:jar:1.0:compile [INFO]commons-validator:commons-validator:jar:1.1.4:compile [INFO]cactus-support:cactus:jar:1.7.2:compile [INFO]xerces:xercesImpl:jar:2.8.0:compile [WARNING] Potential problems discovered.
Re: Maven in Netbeans
Hi, You must have a running maven 2 installation from the cmd, which generally means setting the env vars JAVA_HOME, M2_HOME,PATH JAVA_HOME=/path/to/your/java/inst (which u should have set yet) M2_HOME=/path/to/your/m2/inst PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\bin;%M2_HOME%\bin but how do i run mvn in NB with the -e switch? simply cd in your project root dir and then mvn -e exec:exec BTW: have u checked plugin config?? Regards, -- Daniele De Francesco Senior Java Architect Value Team Italia On Tue, May 27, 2008 at 4:30 PM, theunsgis [EMAIL PROTECTED] wrote: Daniele De Francesco wrote: Hi, it looks like exec plugin could not run the app just compiled due to a bad command line execution or maybe an incomplete or corrupted classpath problem ...why don't you try and run mvn -e exec:exec (eventually -X, but imho it's too much)? I would check the plugin configuration carefully either... HI thanks for the reply Sorry to ask , i am new to Maven How do i run mvn -e exec:exec out of Netbeans? If i run the class from the cmd prompt in windows it does run fine , it is just in NB it does not want to run. In the maven project in NB there is a few example classes with main methods , if you load the maven project and run it , it first ask you , to select the main class to run , then after that it gives the errors in the output. But if i can run maven with the -e switch out of NB , maybei can see something , but how do i run mvn in NB with the -e switch? Thanks Theuns -- View this message in context: http://www.nabble.com/Maven-in-Netbeans-tp17489257p17491781.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 in Netbeans
Hi, Sorry, I just told you the cmd m2 call...not the NB, so sorry... In order to build m2 projects on NB exists a plugin from update site (Maven 2 Integration), that allows to create m2 projects New---ProjectMaven etc Done this you simply right-click on the project icon, click the Custom--Goal item fill out the form that appears and put goals --- exec:exec and then just check the box called show debug output Hope this helps, -- Daniele De Francesco Senior Java Architect Value Team Italia On Wed, May 28, 2008 at 5:24 PM, Daniele De Francesco [EMAIL PROTECTED] wrote: Hi, You must have a running maven 2 installation from the cmd, which generally means setting the env vars JAVA_HOME, M2_HOME,PATH JAVA_HOME=/path/to/your/java/inst (which u should have set yet) M2_HOME=/path/to/your/m2/inst PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\bin;%M2_HOME%\bin but how do i run mvn in NB with the -e switch? simply cd in your project root dir and then mvn -e exec:exec BTW: have u checked plugin config?? Regards, -- Daniele De Francesco Senior Java Architect Value Team Italia On Tue, May 27, 2008 at 4:30 PM, theunsgis [EMAIL PROTECTED] wrote: Daniele De Francesco wrote: Hi, it looks like exec plugin could not run the app just compiled due to a bad command line execution or maybe an incomplete or corrupted classpath problem ...why don't you try and run mvn -e exec:exec (eventually -X, but imho it's too much)? I would check the plugin configuration carefully either... HI thanks for the reply Sorry to ask , i am new to Maven How do i run mvn -e exec:exec out of Netbeans? If i run the class from the cmd prompt in windows it does run fine , it is just in NB it does not want to run. In the maven project in NB there is a few example classes with main methods , if you load the maven project and run it , it first ask you , to select the main class to run , then after that it gives the errors in the output. But if i can run maven with the -e switch out of NB , maybei can see something , but how do i run mvn in NB with the -e switch? Thanks Theuns -- View this message in context: http://www.nabble.com/Maven-in-Netbeans-tp17489257p17491781.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]
Unit test errors on WinXP vs Server2003
Hi all - I have some development machines that are WinXP and a main build machine that is Windows Server 2003, all running Maven 2.0.8. Some other details: maven-surefire-plugin 2.4.2; junit 3.8.2 (would like to move to Junit4, but this is another question) The problem I am running in to is that the unit tests for a particular plugin run in the Server environment (some failures, some errors, most pass), but in the WinXP environment, all tests result in ERROR, with the message always as: java.lang.Exception: Could not find plugin name.of.plugin.being.built type=org.eclipse.test.EclipseTestRunner$TestFailedException Has anyone seen this behavior before and do you know the solution? Thanks... -- View this message in context: http://www.nabble.com/Unit-test-errors-on-WinXP-vs-Server2003-tp17515806p17515806.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]
Classifier for deployed JARs
I've been searching the forums for an answer to this, but haven't found anything concrete... I want to build deploy a JAR (mvn deploy) and include a classifier (preferably using -Dclassifier=something) such that the resulting filename is something like: plugin.name-1.0.0-20080528-123456-01-SDK.jar (where the 20080528-123456-01 are maven's default build date-time-number, which I have already). I can set the classifier tag in the POM, but then the deploy phase creates 2 files, one with and one without the classifier, and I have to edit the POM to change this - I'd rather do it from the command line since I have another tag -DattachSource that will be used in conjunction with the 'SDK'. Regards, Steve -- View this message in context: http://www.nabble.com/Classifier-for-deployed-JARs-tp17516786p17516786.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: Upgrading Maven 2.0.5 - 2.0.9
There appear to be no mismatches in the depmgt section, which is the part of the tool focused on the 2.0.5 upgrade. There are some other dependency issues you can deal with separately..there is an explaination in chapter 8: http://www.sonatype.com/book Sent from my iPhone On May 28, 2008, at 10:47 AM, Michael Delaney [EMAIL PROTECTED] wrote: Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] --- - [INFO] Building Content Administrator APP [INFO]task-segment: [dependency:analyze] [INFO] --- - [INFO] Preparing dependency:analyze [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from REPO [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from maven-repo1 [INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.6 [INFO] Ignoring available plugin update: 2.4 as it requires Maven version 2.0.8 [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6 [WARNING] Artifact findbugs:annotations:jar:1.1.0-rc5:provided retains local scope 'provided' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [dependency:unpack-dependencies {execution: unpack}] [INFO] Expanding: JAR_FILES [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dependency:analyze] [INFO] Used declared dependencies: [INFO]atg:dss-classes:jar:2006.3:provided [INFO]lty:lty-utils:jar:3.0.1.2:compile [INFO]atg.publishing:base:jar:2006.3.P2:compile [INFO]taglibs:standard:jar:1.1.2:provided [INFO]atg:webui-classes:jar:2006.3.P2:compile [INFO]junit:junit:jar:4.0:compile [INFO]jboss:system:jar:3.2:compile [INFO]jboss:common:jar:1.0:compile [INFO]atg:das-servlet:jar:2006.3:provided [INFO]atg:pubportlet-classes:jar:2006.3.P2:compile [INFO]apache:axis:jar:1.4:compile [INFO]jboss:jboss-j2ee:jar:4.0.4.GA:provided [INFO]atg:dps-classes:jar:2006.3.P2:provided [INFO]atg:das-classes:jar:2006.3.P2:provided [INFO]atg:bizui-classes:jar:2006.3.P2:compile [INFO]jboss:jmx:jar:1.0:compile [INFO] Used undeclared dependencies: [WARNING]commons-fileupload:commons-fileupload:jar:1.0:provided [INFO] Unused declared dependencies: [INFO]jakarta-poi:jakarta-poi:jar:1.5.1:compile [INFO]commons-discovery:commons-discovery:jar:0.2:compile [INFO]oracle:aq:jar:1.0:compile [INFO]gnu:regexp:jar:x:compile [INFO]oracle:jdbc:jar:10.0:compile [INFO]lty:lty-utils-resources:jar:1.0.0.16:compile [INFO]jcaptcha:jcaptcha-all:jar:RC2.0.1:compile [INFO]velocity:velocity:jar:1.2:compile [INFO]castor:castor_xml:jar:0.9.4.3:compile [INFO]jboss:deploy:jar:1.0:compile [INFO]org.apache:axis:jar:1.4:compile [INFO]castor:castor:jar:0.9.4.3:compile [INFO]geophile:jdbcwrapper:jar:1.0:compile [INFO]aspectwerkz:aspectwerkz:jar:1.1:compile [INFO]cactus-support:aspectjrt:jar:1.2.1:compile [INFO]lty:capi:jar:1.2.0.27:compile [INFO]xalan:xalan:jar:2.7.0:compile [INFO]commons-net:commons-net:jar:1.3.0:compile [INFO]com:oroinc:jar:1.0:compile [INFO]commons-validator:commons-validator:jar:1.1.4:compile [INFO]cactus-support:cactus:jar:1.7.2:compile [INFO]xerces:xercesImpl:jar:2.8.0:compile [WARNING] Potential problems discovered. [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO]Nothing in DepMgt. [INFO] --- - [INFO] BUILD SUCCESSFUL [INFO] --- - [INFO] Total time: 5 minutes 2 seconds [INFO] Finished at: Wed May 28 10:38:46 EDT 2008 [INFO] Final Memory: 17M/127M [INFO] --- - C:\work\up-svcs\lty\rel\LTY-R63.0\frontoffice\caApp -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 5:57 PM To: Maven Users List Subject: RE: Upgrading Maven 2.0.5 - 2.0.9 Can you show the full output of running the command from the CLI? -Original Message- From: Michael Delaney [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 4:41 PM To: Maven Users List Subject: Upgrading Maven 2.0.5 - 2.0.9 All, I am testing out upgrading from Maven 2.0.5 to 2.0.9, I was reading documentation that said that there were some dependency sanity
Re: Upgrading Maven 2.0.5 - 2.0.9
Yes, the other part is clean Sent from my iPhone On May 28, 2008, at 11:22 AM, Michael Delaney [EMAIL PROTECTED] wrote: I was basing my findings on the output where Maven stated Potential problems discovered. Is Maven just referring to the Used undeclared dependencies and Unused declared dependencies sections? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 11:03 AM To: Maven Users List Subject: Re: Upgrading Maven 2.0.5 - 2.0.9 I don't see any errors here. What errors do you mean? There are a few libs you have a dependency on but don't appear to be using. So you could reduce the size of your app by getting rid of these (as long as you aren't using Class.forName or META-INF/services or similar to load them by reflection, which this tool obviously can't detect). So you are warned to look into this. And there is the findbugs:annotations issue, where some dependency wants that jar bundled with the app, but you (or some other dependency) has said that the jar will be provided at runtime. If the system into which you deploy this code *really* has that already in the classpath, then fine. Otherwise you need to fix the declaration that is forcing its scope to provided. So you are warned to look into this. Neither is *definitely* a problem, and neither seems to be a *change* that upgrading maven will introduce. Instead they appear to be issues that your code has always had. Regards, Simon Michael Delaney schrieb: Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] --- - [INFO] Building Content Administrator APP [INFO]task-segment: [dependency:analyze] [INFO] --- - [INFO] Preparing dependency:analyze [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from REPO [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from maven-repo1 [INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.6 [INFO] Ignoring available plugin update: 2.4 as it requires Maven version 2.0.8 [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6 [WARNING] Artifact findbugs:annotations:jar:1.1.0-rc5:provided retains local scope 'provided' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [dependency:unpack-dependencies {execution: unpack}] [INFO] Expanding: JAR_FILES [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dependency:analyze] [INFO] Used declared dependencies: [INFO]atg:dss-classes:jar:2006.3:provided [INFO]lty:lty-utils:jar:3.0.1.2:compile [INFO]atg.publishing:base:jar:2006.3.P2:compile [INFO]taglibs:standard:jar:1.1.2:provided [INFO]atg:webui-classes:jar:2006.3.P2:compile [INFO]junit:junit:jar:4.0:compile [INFO]jboss:system:jar:3.2:compile [INFO]jboss:common:jar:1.0:compile [INFO]atg:das-servlet:jar:2006.3:provided [INFO]atg:pubportlet-classes:jar:2006.3.P2:compile [INFO]apache:axis:jar:1.4:compile [INFO]jboss:jboss-j2ee:jar:4.0.4.GA:provided [INFO]atg:dps-classes:jar:2006.3.P2:provided [INFO]atg:das-classes:jar:2006.3.P2:provided [INFO]atg:bizui-classes:jar:2006.3.P2:compile [INFO]jboss:jmx:jar:1.0:compile [INFO] Used undeclared dependencies: [WARNING]commons-fileupload:commons-fileupload:jar:1.0:provided [INFO] Unused declared dependencies: [INFO]jakarta-poi:jakarta-poi:jar:1.5.1:compile [INFO]commons-discovery:commons-discovery:jar:0.2:compile [INFO]oracle:aq:jar:1.0:compile [INFO]gnu:regexp:jar:x:compile [INFO]oracle:jdbc:jar:10.0:compile [INFO]lty:lty-utils-resources:jar:1.0.0.16:compile [INFO]jcaptcha:jcaptcha-all:jar:RC2.0.1:compile [INFO]velocity:velocity:jar:1.2:compile [INFO]castor:castor_xml:jar:0.9.4.3:compile [INFO]jboss:deploy:jar:1.0:compile [INFO]org.apache:axis:jar:1.4:compile [INFO]castor:castor:jar:0.9.4.3:compile [INFO]geophile:jdbcwrapper:jar:1.0:compile [INFO]aspectwerkz:aspectwerkz:jar:1.1:compile [INFO]cactus-support:aspectjrt:jar:1.2.1:compile [INFO]lty:capi:jar:1.2.0.27:compile [INFO]xalan:xalan:jar:2.7.0:compile [INFO]commons-net:commons-net:jar:1.3.0:compile [INFO]com:oroinc:jar:1.0:compile [INFO]commons-validator:commons-validator:jar:1.1.4:compile
customizing the generated maven's site
Hi all, there's a way for customizing the web site genereted by mvn site command, i mean a way to refering an CSS in th POM and related pics, otherwise how we can managing the decoration in maven thanks in advance Best regards M.E
Re: Classifier for deployed JARs
On Wed, May 28, 2008 at 9:32 AM, SKrepkovich [EMAIL PROTECTED] wrote: I can set the classifier tag in the POM, but then the deploy phase creates 2 files, one with and one without the classifier, and I have to edit the POM to change this - I'd rather do it from the command line since I have another tag -DattachSource that will be used in conjunction with the 'SDK'. Set the classifier in the pom, how? When I configure the jar plugin with a classifier, I see this, indicating only one artifact: [INFO] [install:install] [INFO] No primary artifact to install, installing attached artifacts instead. [INFO] Installing /private/tmp/jar-with-classifier/target/jar-with-classifier-1.0-SNAPSHOT-SDK.jar to /Users/wsmoak/.m2/repository/com/example/jar-with-classifier/1.0-SNAPSHOT/jar-with-classifier-1.0-SNAPSHOT-SDK.jar Unfortunately, deployment then fails: [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from repo [INFO] repository metadata for: 'snapshot com.example:jar-with-classifier:1.0-SNAPSHOT' could not be found on repository: repo, so will be created [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error deploying artifact: /private/tmp/jar-with-classifier/target/classes (No such file or directory) To test, I added this to the quickstart project: build plugins plugin artifactIdmaven-jar-plugin/artifactId configuration classifierSDK/classifier /configuration /plugin /plugins /build (And distributionManagement which was required to test deployment.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: customizing the generated maven's site
On Wed, May 28, 2008 at 10:42 AM, Mohammed ELBEIED [EMAIL PROTECTED] wrote: Hi all, there's a way for customizing the web site genereted by mvn site command, i mean a way to refering an CSS in th POM and related pics, otherwise how we can managing the decoration in maven http://maven.apache.org/guides/mini/guide-site.html See the section called Customizing the Look Feel http://maven.apache.org/plugins/maven-site-plugin/examples/creatingskins.html Logan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Archiva + Tomcat 6.0
One outstanding question - is this or is this not the place to ask archiva questions? I see no other mailing list associated with archiva... -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 6:46 PM To: Maven Users List Subject: RE: Archiva + Tomcat 6.0 Heh - nvm - got it working (for now). Apparently, the dbs that get set up when running in standalone mode can't directly be reused when one decides to run with tomcat -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 4:43 PM To: users@maven.apache.org Subject: Archiva + Tomcat 6.0 I'm trying to get Archiva installed in a running Tomcat 6.0 instance and I'm having a bit of trouble. I keep getting the following errors: snip jar:file:/C:/apache-tomcat-6.0.16/webapps/apache-archiva-1.0.2/WEB-INF/l ib/ehcache-1.3.0.jar!/ehcache-failsafe.xml 2008-05-27 16:27:29,816 [main] ERROR JPOX.RDBMS.Schema - Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Cannot create JDBC driver of class '' for connect URL 'null' org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSo urce.java:1150) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSourc e.java:880) at org.jpox.util.FailoverUtils.getConnection(FailoverUtils.java:51) /snip Is this place to be asking about archiva? Can anyone shed some light on this (does derby have to be started up somehow)? - 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]
Tools to help analyze to see if multiple versions of artifacts is a problem
I recently deleted my local maven repository, and ran a build of one of my projects. In looking into what got downloaded by maven into the local repository, I found many cases were multiple versions of the same artifact were downloaded. This may represent an issue, or not. Is there any tooling I can run that will help me discover if some of the POMs (it's a multi-module project) need updating re: dependencies? I guess I want to weed out things like: My pom depends on artifact A, version 1.1.1, and artifact B (which, in turn depends on artifact A, version 1.0.0); the actual build puts in version 1.1.1 of A which implements the same API as 1.0.0 for backward compatibility. This seems like a normal thing that might happen a lot, and would not be fixable by me if I didn't own artifact B. Thanks for any guidance here. -Marshall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tools to help analyze to see if multiple versions of artifacts is a problem
On Wed, 2008-05-28 at 16:44 -0400, Marshall Schor wrote: I recently deleted my local maven repository, and ran a build of one of my projects. In looking into what got downloaded by maven into the local repository, I found many cases were multiple versions of the same artifact were downloaded. This may represent an issue, or not. Is there any tooling I can run that will help me discover if some of the POMs (it's a multi-module project) need updating re: dependencies? I guess I want to weed out things like: My pom depends on artifact A, version 1.1.1, and artifact B (which, in turn depends on artifact A, version 1.0.0); the actual build puts in version 1.1.1 of A which implements the same API as 1.0.0 for backward compatibility. This seems like a normal thing that might happen a lot, and would not be fixable by me if I didn't own artifact B. Thanks for any guidance here. First, check whether what was downloaded really was the dependency, or just the pom. If it's just the pom, it isn't an issue. Maven really shouldn't be downloading jars for two different versions of a lib - except in the case where it is a maven *plugin* that needed that jar, not your code. Not sure how to tell what purpose a jar was downloaded for.. The command mvn dependency:tree is wonderful for analysing what's actually going on with dependency resolution. I don't see what the problem is in your example though. Maven won't guarantee that everything is compatible; it can't because sometimes a version-number change means an API change and sometimes it does not. It just gives a good starting point, then you run your unit tests and other QA procedures to verify that everything works well together. If it doesn't, then you adjust your top-level pom to override specific lib versions to resolve the issues. In your example, it would not be right to fail the build. B quite likely *does* work ok with A version 1.1.1. The only way to know for sure is to run your app. If B really doesn't work with anything other than 1.0.x, and knows it for sure, then it can declare its dependency on A as [1.0,1.1). But generally libs don't do that because when they are released they don't know what the upper bound of acceptable versions is. And that's ok; proper testing will pick up any problems. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Archiva + Tomcat 6.0
2008/5/29 EJ Ciramella [EMAIL PROTECTED]: One outstanding question - is this or is this not the place to ask archiva questions? I see no other mailing list associated with archiva... http://archiva.apache.org/mail-lists.html -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 6:46 PM To: Maven Users List Subject: RE: Archiva + Tomcat 6.0 Heh - nvm - got it working (for now). Apparently, the dbs that get set up when running in standalone mode can't directly be reused when one decides to run with tomcat -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 4:43 PM To: users@maven.apache.org Subject: Archiva + Tomcat 6.0 I'm trying to get Archiva installed in a running Tomcat 6.0 instance and I'm having a bit of trouble. I keep getting the following errors: snip jar:file:/C:/apache-tomcat-6.0.16/webapps/apache-archiva-1.0.2/WEB-INF/l ib/ehcache-1.3.0.jar!/ehcache-failsafe.xml 2008-05-27 16:27:29,816 [main] ERROR JPOX.RDBMS.Schema - Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Cannot create JDBC driver of class '' for connect URL 'null' org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSo urce.java:1150) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSourc e.java:880) at org.jpox.util.FailoverUtils.getConnection(FailoverUtils.java:51) /snip Is this place to be asking about archiva? Can anyone shed some light on this (does derby have to be started up somehow)? - 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] -- Brett Porter Blog: http://blogs.exist.com/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
When will Maven 2.1 Beta be released?
Hi All - I would like to know when the Maven 2.1 Beta will be released. Can anyone tell me? Another thing is: I am writing a plugin that will modify the contents of the WAR file. At the present time 2.0.x does not support prepare-package lifecycle and it becomes very difficult for my plugin to modify the contents of some files in the WAR. In one case I have to merge a bunch of files to a single file and remove the original ones. Is there any other way to do that? Hari Gangadharan -- View this message in context: http://www.nabble.com/When-will-Maven-2.1-Beta-be-released--tp17522866p17522866.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: Ваше письмо удалено за спам
Could you translate to English ..not everyone on this list speaks russian спасибо! - Original Message - From: Marat Radchenko [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org; [EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 5:53 AM Subject: Re: Ваше письмо удалено за спам muahaha :) they've said we are spammers On 5/28/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 2331573; Wed, 28 May 2008 13:49:19 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] Received: from mail.netltd.ru (account [EMAIL PROTECTED]) by inc.ru (CommuniGate Pro RPOP 4.1.8) with RPOP id 2331572 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:49:19 +0400 X-Antivirus-passed: yes X-Real-To: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8) with RULES id 22462959; Wed, 28 May 2008 13:47:28 +0400 X-Autogenerated: Mirror X-Mirrored-by: [EMAIL PROTECTED] X-Antispam-passed: yes X-Antispam: yes X-Real-To: [EMAIL PROTECTED] X-Antivirus: yes Received: from mail.apache.org ([140.211.11.2] verified) by inc.ru (CommuniGate Pro SMTP 4.1.8) with SMTP id 22462971 for [EMAIL PROTECTED]; Wed, 28 May 2008 13:47:28 +0400 Received: (qmail 70887 invoked by uid 500); 28 May 2008 09:47:24 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:users@maven.apache.org List-Id: Maven Users List users.maven.apache.org Reply-To: Maven Users List users@maven.apache.org Delivered-To: mailing list users@maven.apache.org Received: (qmail 70876 invoked by uid 99); 28 May 2008 09:47:24 - Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 02:47:24 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [EMAIL PROTECTED] designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 09:46:36 + Received: by wf-out-1314.google.com with SMTP id 25so2821645wfa.0 for users@maven.apache.org; Wed, 28 May 2008 02:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=OAWxL4HCV21I9m3RR/yS2DwO7Gx5EzknliIH8IZHK3g=; b=VbcD7JnHJ3i0qxrTejYL2CbjYbCcrET/nq9e8KeihDKNDkGFMT8b4Ebid1y9kwjTFWOHnlzgqI7unoYpq5oEeKck6GuPG6MMOpWzVIBYpeZmqYG36H96cp2IIEligY48b+NcsWYTIkHrZz96Q91R4doE1wm1qFe4bEFvDHGivd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=vGfLAbzTcnUIhyXGjtr1OAbq8UzIlQCPoTubXdB6hy0KnVrjMcrB7hjj2yetje9ZXaD2/TU8Q1/KCEAeH69bxxsuqppNEH/3J0RGUX+fUu72Hmlg6f3tYfggb5Q2+pSh6d8DnsBHnkfLyI5RNkkfhiDuI81fcscdZ+xrQ8XOuWw= Received: by 10.142.231.7 with SMTP id d7mr963475wfh.30.1211968012727; Wed, 28 May 2008 02:46:52 -0700 (PDT) Received: by 10.142.204.5 with HTTP; Wed, 28 May 2008 02:46:52 -0700 (PDT) Message-ID: [EMAIL PROTECTED] Date: Wed, 28 May 2008 11:46:52 +0200 From: Olivier Lamy [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] Subject: Re: Axis2 and Maven2 In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: [EMAIL PROTECTED] X-Google-Sender-Auth: 5d5d945bee9a9b4f X-Virus-Checked: Checked by ClamAV on apache.org Hi, This looks a more an axis ml question. But just note axis1 != axis2. And you have a mojo [1] which can help you with axis1. -- Olivier [1] http://mojo.codehaus.org/axistools-maven-plugin/ 2008/5/28 Karl Heinz Marbaise [EMAIL PROTECTED]: Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.1/version configuration
Copying Artifacts
Hi All. I would like to copy the produced artifact of the package step (in this case an ear file) to a remote unix server. How do I do this? In this case I need to copy the ear file to a remote unix machine (under ant I used pscp from the putty suite) for deployment. Note this is NOT a deployment into a maven repository, it is simply a copy of the artifact to a unix box so that I can then deploy it into WebSphere. One final requirement: each artifact uses a different userid/password (two ears, two user id's etc). Most of what I've found is all written around deploying to various maven repositories, which does not apply in this case. TIA. -Chris ** CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended recipient of this message you must: - Not use, copy, distribute or disclose it to anyone other than the addressee; - Notify the sender via return email; and - Delete the message (and any related attachments) from your computer immediately. Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent. Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi Module Projects - manifest question
Hi, I have a multi module ear project. One of the modules is a standard jar (just a resource jar with no dependencies of it's own). One of the other modules is a war file. How do I get the manifest file of the war file to reference the (utility) jar in that is correctly packaged in the ear file? The ear is being correctly built and all of the required modules are being placed in it. However, the final issue that I face is to get the manifests of the war file to be correct. As this is a multi module project, the war project does not actually list the resource jar as a dependency. Should it? I would not have thought so, as the resource jar itself should not be installed into the repository. Help! I've spent about 4 weeks bashing maven into shape, and as far as I can tell, this appears to be pretty much the last hurdle. Otherwise I have to scap maven. -Chris ** CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended recipient of this message you must: - Not use, copy, distribute or disclose it to anyone other than the addressee; - Notify the sender via return email; and - Delete the message (and any related attachments) from your computer immediately. Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent. Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Forcing site plugin version
I am using Maven 2.0.9 and am running into the bug detailed here: http://jira.codehaus.org/browse/MSITE-211 Currently by default it seems to be using 2.0-beta-6 of the site plugin. According to the bug report the bug is fixed in 2.0-beta-7. How do I force Maven to use 2.0-beta-7 of this plugin? Thanks -- Craig Dickson Software Engineering Manager Behr Process Corporation Santa Ana, California _ The information contained in this e-mail message may be proprietary, privileged, confidential or protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender.