Re: How do I run Continuum 1.1 trunk version?
[EMAIL PROTECTED] a écrit : Hello, I'm fairly new to both Maven and Continuum, but I have been using Maven for a couple of months, and I am really getting fond of it. Installed Continuum 1.0.3 a few weeks ago, and it's been no real problems. I thought I'd check out the 1.1 version and see how it seems, but I don't seem to get it to run. If I follow the instructions and run it with mvn jetty:run, I can't get it to run. mvn jetty:run is more for testing. For production, you need to deploy the webapp in a container Is there any other way to run it, like deploying to Tomcat? If so, any specific version? http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat If you want to use with the java wrapper like continuum 1.0.3, you'll find it in continuum-plexus-runtime Emmanuel
Re: Building using Maven tool.
If you are in a proxy, please refer to this guide http://maven.apache.org/guides/mini/guide-proxies.html On 1/18/07, Pande, Vaishali (Cognizant) [EMAIL PROTECTED] wrote: Hi, Even after successful installation and configuration ,I am not able to run the application. Will it make any difference if I am working on a proxy connection. Kindly assist me in this regard. Thanks and Regards Vaishali G.P. Email: [EMAIL PROTECTED] This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com -- == - alramirez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Shared Repository Access Problem
Hi, I setup and deployed the repository folder to the apache server. It works fine. I got them from browser. I setup my conf/settings.xml file like the following . default-repositories central Internal Mirror of Central Repository http://crmserver/maven2/repository central Internal Mirror of Central Plugins Repository http://crmserver/maven2/repository ... But mvn deploy .always goto http://repo1.maven.org Site. How can i overwrite the new repository in place of remote repo1.maven.org repository. Any help appriciated Alauddin -- View this message in context: http://www.nabble.com/Shared-Repository-Access-Problem-tf3032826s177.html#a8426586 Sent from the Maven - Users mailing list archive at Nabble.com.
RE: Proximity vs. Maven Achiva
Once Archiva is stable, i think this is the one to go since it has more features Any idea of when it will be stable ? Damien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is there a way to control the order of repositories?
Hi Lasse, That's exactly why i plan to install an Archiva on my laptop. Raphaël 2007/1/18, Lasse Koskela [EMAIL PROTECTED]: Hi Wayne, I suppose using a local proxy repository would do the trick if I were always in the same place. However, I rarely work in the same place for longer than a few weeks, which means that the proxy repository should move with me :) Lasse On 1/18/07, Wayne Fay [EMAIL PROTECTED] wrote: I think most of this functionality can/should be handled with a Corporate Maven proxy rather than depending on Maven to provide it directly. In fact, I think a bit of this functionality might already exist in Archiva, Proximity, etc -- have you considered them? Wayne On 1/17/07, Lasse Koskela [EMAIL PROTECTED] wrote: I'd like Maven to first check if the nearby (fast) repository has the stuff I need and only then fall back to the slower repository. [...] PS. Another related problem: I'm currently sitting in Finland. Next week, I'll be in Poland. A couple of weeks later somewhere else. If there was a way to set a preferred order for the repositories, I'd anyway have to change it quite often as I'm travelling. Unless... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?
How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ? My configuration is available in http://www.xxx.com/repository/rdc;. This address contains this files : my_checstyleconfiguration.xml import-control.xml In the my_checstyleconfiguration.xml, the importcontrol is define : module name=ImportControl metadata name=com.atlassw.tools.eclipse.checkstyle.comment value=Utilisation d'un package non autorisé/ property name=severity value=error/ property name=file value=http://www.xxx.com/repository/rdc/import-control.xml/ /module But when I run maven, build failure because maven doesn't localize import-control.xml : http://www.xxx.com/repository/rdc/import-control.xml (syntaxe de nom de fichier, de répertoire ou de volume incorrect) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Proximity vs. Maven Achiva
Dan Tran a écrit : Once Archiva is stable, i think this is the one to go since it has more features -D On 1/17/07, Mel Riffe [EMAIL PROTECTED] wrote: Hi Daniel, My client is able to run maven-proxy as a Windows service. They're using a third-party tool to accomplish this: http://wrapper.tanukisoftware.org/doc/english/introduction.html Check it out. However, more importantly, should you continue to evaluate those products please post your findings. :-) Cheers, Mel Riffe On 1/17/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: My company is currently using maven-proxy[1], but I must replace this because it does not run as a Windows service. Two alternatives have been mentioned on this list: Proximity[2] and Maven Archiva[3]. However, I don't know which of those would be better to go with. Does anyone have experience with Proximity and/or Archiva they could share? Is there a feature-for-feature comparison anywhere? (I know there's been some discussion on this list previously, but I did not find anything recent.) [1] http://maven-proxy.codehaus.org/ [2] http://proximity.abstracthorizon.org/ [3] http://maven.apache.org/archiva/ -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Proximity is very easy to setup and use. We have one working currently and all has been fine for quite a long time. Archiva seems more complete but also with added complexity. Emmanuel I - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Proximity vs. Maven Achiva
I'm using Archiva Snapshot on Tomcat5 as a windows Service. It works fine and is realy easy to configure. I got OutOfMemory due to a bug in archiva. I fixed it by auto-restarting the service every night. 2007/1/18, Emmanuel Hugonnet [EMAIL PROTECTED]: Dan Tran a écrit : Once Archiva is stable, i think this is the one to go since it has more features -D On 1/17/07, Mel Riffe [EMAIL PROTECTED] wrote: Hi Daniel, My client is able to run maven-proxy as a Windows service. They're using a third-party tool to accomplish this: http://wrapper.tanukisoftware.org/doc/english/introduction.html Check it out. However, more importantly, should you continue to evaluate those products please post your findings. :-) Cheers, Mel Riffe On 1/17/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: My company is currently using maven-proxy[1], but I must replace this because it does not run as a Windows service. Two alternatives have been mentioned on this list: Proximity[2] and Maven Archiva[3]. However, I don't know which of those would be better to go with. Does anyone have experience with Proximity and/or Archiva they could share? Is there a feature-for-feature comparison anywhere? (I know there's been some discussion on this list previously, but I did not find anything recent.) [1] http://maven-proxy.codehaus.org/ [2] http://proximity.abstracthorizon.org/ [3] http://maven.apache.org/archiva/ -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Proximity is very easy to setup and use. We have one working currently and all has been fine for quite a long time. Archiva seems more complete but also with added complexity. Emmanuel I - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] could not locate maven-surefire-plugin in svn repo
Thanks a lot. -Original Message- From: Lasse Koskela [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 17 de janeiro de 2007 19:44 To: Maven Users List Subject: Re: [m2] could not locate maven-surefire-plugin in svn repo Hi Dario, On 1/17/07, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote: Could anoyne please tell me what happened to maven-surefire-plugin ? I couldn't find it at http://svn.apache.org/repos/asf/maven/plugins/trunk as stated in its site - http://maven.apache.org/plugins/maven-surefire-plugin/index.html. Thanks, Dário It's under http://svn.apache.org/repos/asf/maven/surefire/trunk/ Lasse - 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]
Inheriting profiles
Is there any way to inherit profiles - more specifically their activation? In a multiproject I have a parent pom that has 2 profiles: development and production. Development needs to be activated by default everywhere. Now I found myself repeating the activation in each child pom. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
About create maven reports with chinese .
I want create a site with chinese,hot I to do? -- View this message in context: http://www.nabble.com/About-create-maven-reports-with-chinese-.-tf3033323s177.html#a8428153 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: Shared Repository Access Problem
specify your own repository as a mirror for central http://maven.apache.org/guides/mini/guide-mirror-settings.html On 1/18/07, Alauddin [EMAIL PROTECTED] wrote: Hi, I setup and deployed the repository folder to the apache server. It works fine. I got them from browser. I setup my conf/settings.xml file like the following . default-repositories central Internal Mirror of Central Repository http://crmserver/maven2/repository central Internal Mirror of Central Plugins Repository http://crmserver/maven2/repository ... But mvn deploy .always goto http://repo1.maven.org Site. How can i overwrite the new repository in place of remote repo1.maven.org repository. Any help appriciated Alauddin -- View this message in context: http://www.nabble.com/Shared-Repository-Access-Problem-tf3032826s177.html#a8426586 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2
I noticed maven-surefire-plugin 2.1.3 uses forkMode='none' and childDelegation='true' as default. However If I add the same configuration to maven-surefire-plugin 2.2, my tests don't work. Since I use javolution.jar as a test dependency and it overrides some classes from java.lang.reflect, I get a 'prohibited package name' error. The same problem does not happen to 2.1.3. Any thoughts ? Any idea where to look at ? Dário -Original Message- From: Dário Luís Coneglian Oliveros Sent: quarta-feira, 17 de janeiro de 2007 16:13 To: Maven Users List (E-mail) Subject: [m2] maven-surefire-plugin 2.1.3 vs 2.2 I have some test cases that used to work with maven-surefire-plugin 2.1.3, but not with 2.2. Does anybody know what kind of configuration should be in 2.2 to get the same behaviour as of 2.1.3 ? I've tried a couple of them (forkMode=never, childDelegation=true), but could not get anything working. Any help is appreciated. Dário - 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]
NPE Mevenide + Netbeans 5.5
Hi I've netbeans 5.5 and mevenide 2.3 installed. When I create a new maven project, the archetype template list is empty. I tried checking the log file and it shows this: Log Session: Thursday, January 18, 2007 10:19:48 PM EST System Info: Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System= Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_06\jre System Locale; Encoding = en_AU (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\LYeung; D:\netbeans\bin Installation; User Dir. = D:\netbeans\nb5.5;D:\netbeans\ide7;D:\netbeans\enterprise3;D:\netbeans\harness;D:\netbeans\platform6; C:\Documents and Settings\LYeung\.netbeans\5.5 Boot Ext. Classpath = C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar Application Classpath = D:\netbeans\platform6\lib\boot.jar;D:\netbeans\platform6\lib\org- openide-modules.jar;D:\netbeans\platform6\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.5.0_06\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar Startup Classpath = D:\netbeans\platform6\core\core.jar;D:\netbeans\platform6\core\org- openide-filesystems.jar;D:\netbeans\nb5.5\core\org-netbeans-upgrader.jar ;D:\netbeans\nb5.5\core\locale\core_nb.jar;D:\netbeans\ide7\core\org- netbeans-modules-utilities-cli.jar --- [WARNING] Warning: module org.codehaus.mevenide.bridges.debugger does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.deployment does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.runjar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.continuum.rpc does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.continuum does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.grammar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.indexer does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.nbmvnembedder does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.netbeans.autoudate does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.netbeans.j2ee does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.netbeans.nbrepo does not declare
activeByDefault profile problem
Hi! I am organising a build process of j2ee project and I have got an issue concerned with maven profiles. Since I am using different ejb- and web-containers for deployment, I defined a profile for each application server. I will quote only small part of these profiles ommiting cargo configuration and some other stuff. Project's parent POM has two submodules and a definition of weblogic profile (which is not active by default): profile idweblogic/id activation activeByDefaultfalse/activeByDefault /activation properties common.lib.path target/classes/APP-INF/lib /common.lib.path common.j2ee.path target/classes/ /common.j2ee.path web.tier.packaging ear /web.tier.packaging /properties /profile /profiles modules moduleapp/module modulewww/module /modules I defined weblogic profile in parent POM because I need it in both app and www modules. In app/pom.xml a trifork profile is defined (which is active by default) profile idtrifork/id activation activeByDefaulttrue/activeByDefault /activation properties common.lib.path target/classes /common.lib.path common.j2ee.path target/classes /common.j2ee.path /properties /profile In www/pom.xml a tomcat profile is defined (which is active by default too) profile idtomcat/id activation activeByDefaulttrue/activeByDefault /activation properties common.lib.path target/common/lib /common.lib.path common.j2ee.path target/webapps /common.j2ee.path web.tier.packaging pom /web.tier.packaging zipfalse/zip /properties /profile Then when I build whole project with -P weblogic option, properties which are defined in weblogic profile doesn't override ones which are defined in default trifork and tomcat profiles. I do not understand how it could happen as I activate weblogic profile explicitly from command line. What could cause such a problem? Thanks, Vassily Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather
Re: NPE Mevenide + Netbeans 5.5
this part seems to be important. java.lang.NullPointerException at org.codehaus.mevenide.netbeans.newproject.LocalRepoProvider.getArchetypes( LocalRepoProvider.java:40) at org.codehaus.mevenide.netbeans.newproject.ChooseArchetypePanel.run( ChooseArchetypePanel.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run( RequestProcessor.java:932) it seems to fail to retrieve a list of archetypes from the local repository index. And gives a NPE, preventing the list to be populated. That's a probable result of the previous error where the local repository indexing fails to initiate. I'll fix the NPE in the sources, should be fairly easy. Not sure however why the first error occurs. Do you have anything related in the server settings in the settings.xml file? This could work as temporary workaround. 1. move the settings file out of the way temporarily 2. go to Netbeans's options dialog and under maven settings there, trigger the indexing of repository 3. check that a .index folder was created in ~/.m2/repository (actually if it was previously there before 1. step, try removing it. 4. try checking the new project wizard again if it doesn't help, you probably have to fallback to command line for the time being.. Regards Milos Kleint On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi I've netbeans 5.5 and mevenide 2.3 installed. When I create a new maven project, the archetype template list is empty. I tried checking the log file and it shows this: Log Session: Thursday, January 18, 2007 10:19:48 PM EST System Info: Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System= Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_06\jre System Locale; Encoding = en_AU (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\LYeung; D:\netbeans\bin Installation; User Dir. = D:\netbeans\nb5.5;D:\netbeans\ide7;D:\netbeans\enterprise3;D:\netbeans\harness;D:\netbeans\platform6; C:\Documents and Settings\LYeung\.netbeans\5.5 Boot Ext. Classpath = C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar Application Classpath = D:\netbeans\platform6\lib\boot.jar;D:\netbeans\platform6\lib\org- openide-modules.jar;D:\netbeans\platform6\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.5.0_06\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar Startup Classpath = D:\netbeans\platform6\core\core.jar;D:\netbeans\platform6\core\org- openide-filesystems.jar;D:\netbeans\nb5.5\core\org-netbeans-upgrader.jar ;D:\netbeans\nb5.5\core\locale\core_nb.jar;D:\netbeans\ide7\core\org- netbeans-modules-utilities-cli.jar --- [WARNING] Warning: module org.codehaus.mevenide.bridges.debugger does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.deployment does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.runjar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.continuum.rpc does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.continuum does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.grammar does not declare OpenIDE-Module-Public-Packages in its
Re: Problems building Archiva
Hi All! I have a problem building the current trunk version (rev 497017)of Archiva. About 20 unit test in archiva-indexer fail, all in the Lucene section. Does anyone else also have this problem, or is it just my setup? (JDK 1.6.0, WinXP SP2, Maven 2.0.4) Thanks in advance! Dirk hi dirk I just checked out the source and tried to do a mvn install. but after a few seconds it can not get the other artefacts. the reason is clear: codehaus.org (http://snapshots.repository.codehaus.org), central (http://software.group.nca/mvn/remote-repository/), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), internal (http://software.group.nca/mvn/internal-repository/) and there is no normal repo of codehaus.org defined. :-( will post if it works after ;-) cheers marc
Re: NPE Mevenide + Netbeans 5.5
Yes Milos, it's now working. I've something between server tag that prevented it from obtaining the archetype list. Thanks! Will there be a fix to this? I'm expecting it would pop a message box if timeout occurred when obtaining the list. On 1/18/07, Milos Kleint [EMAIL PROTECTED] wrote: this part seems to be important. java.lang.NullPointerException at org.codehaus.mevenide.netbeans.newproject.LocalRepoProvider.getArchetypes( LocalRepoProvider.java:40) at org.codehaus.mevenide.netbeans.newproject.ChooseArchetypePanel.run( ChooseArchetypePanel.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java :499) [catch] at org.openide.util.RequestProcessor$Processor.run( RequestProcessor.java:932) it seems to fail to retrieve a list of archetypes from the local repository index. And gives a NPE, preventing the list to be populated. That's a probable result of the previous error where the local repository indexing fails to initiate. I'll fix the NPE in the sources, should be fairly easy. Not sure however why the first error occurs. Do you have anything related in the server settings in the settings.xml file? This could work as temporary workaround. 1. move the settings file out of the way temporarily 2. go to Netbeans's options dialog and under maven settings there, trigger the indexing of repository 3. check that a .index folder was created in ~/.m2/repository (actually if it was previously there before 1. step, try removing it. 4. try checking the new project wizard again if it doesn't help, you probably have to fallback to command line for the time being.. Regards Milos Kleint On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi I've netbeans 5.5 and mevenide 2.3 installed. When I create a new maven project, the archetype template list is empty. I tried checking the log file and it shows this: Log Session: Thursday, January 18, 2007 10:19:48 PM EST System Info: Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System= Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_06\jre System Locale; Encoding = en_AU (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\LYeung; D:\netbeans\bin Installation; User Dir. = D:\netbeans\nb5.5;D:\netbeans\ide7;D:\netbeans\enterprise3;D:\netbeans\harness;D:\netbeans\platform6; C:\Documents and Settings\LYeung\.netbeans\5.5 Boot Ext. Classpath = C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar Application Classpath = D:\netbeans\platform6\lib\boot.jar;D:\netbeans\platform6\lib\org- openide-modules.jar;D:\netbeans\platform6\lib\org-openide-util.jar ;C:\Program Files\Java\jdk1.5.0_06\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar Startup Classpath = D:\netbeans\platform6\core\core.jar;D:\netbeans\platform6\core\org- openide-filesystems.jar;D:\netbeans\nb5.5\core\org-netbeans-upgrader.jar ;D:\netbeans\nb5.5\core\locale\core_nb.jar;D:\netbeans\ide7\core\org- netbeans-modules-utilities-cli.jar --- [WARNING] Warning: module org.codehaus.mevenide.bridges.debugger does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.deployment does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.runjar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.continuum.rpc does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module
Re: NPE Mevenide + Netbeans 5.5
I also recall that it worked the first time I installed Mevenide, prior to performing an update from Update Center. But after that, it fails even removing Mevenide and installing it for the second time. On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Yes Milos, it's now working. I've something between server tag that prevented it from obtaining the archetype list. Thanks! Will there be a fix to this? I'm expecting it would pop a message box if timeout occurred when obtaining the list. On 1/18/07, Milos Kleint [EMAIL PROTECTED] wrote: this part seems to be important. java.lang.NullPointerException at org.codehaus.mevenide.netbeans.newproject.LocalRepoProvider.getArchetypes ( LocalRepoProvider.java:40) at org.codehaus.mevenide.netbeans.newproject.ChooseArchetypePanel.run( ChooseArchetypePanel.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java :499) [catch] at org.openide.util.RequestProcessor$Processor.run( RequestProcessor.java:932) it seems to fail to retrieve a list of archetypes from the local repository index. And gives a NPE, preventing the list to be populated. That's a probable result of the previous error where the local repository indexing fails to initiate. I'll fix the NPE in the sources, should be fairly easy. Not sure however why the first error occurs. Do you have anything related in the server settings in the settings.xml file? This could work as temporary workaround. 1. move the settings file out of the way temporarily 2. go to Netbeans's options dialog and under maven settings there, trigger the indexing of repository 3. check that a .index folder was created in ~/.m2/repository (actually if it was previously there before 1. step, try removing it. 4. try checking the new project wizard again if it doesn't help, you probably have to fallback to command line for the time being.. Regards Milos Kleint On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi I've netbeans 5.5 and mevenide 2.3 installed. When I create a new maven project, the archetype template list is empty. I tried checking the log file and it shows this: Log Session: Thursday, January 18, 2007 10:19:48 PM EST System Info: Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System= Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_06\jre System Locale; Encoding = en_AU (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\LYeung; D:\netbeans\bin Installation; User Dir. = D:\netbeans\nb5.5;D:\netbeans\ide7;D:\netbeans\enterprise3;D:\netbeans\harness;D:\netbeans\platform6; C:\Documents and Settings\LYeung\.netbeans\5.5 Boot Ext. Classpath = C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar Application Classpath = D:\netbeans\platform6\lib\boot.jar;D:\netbeans\platform6\lib\org- openide-modules.jar;D:\netbeans\platform6\lib\org- openide-util.jar ;C:\Program Files\Java\jdk1.5.0_06\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar Startup Classpath = D:\netbeans\platform6\core\core.jar;D:\netbeans\platform6\core\org- openide-filesystems.jar;D:\netbeans\nb5.5\core\org- netbeans-upgrader.jar ;D:\netbeans\nb5.5\core\locale\core_nb.jar;D:\netbeans\ide7\core\org- netbeans-modules-utilities-cli.jar --- [WARNING] Warning: module org.codehaus.mevenide.bridges.debugger does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.deploymentdoes not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.runjar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default:
Re: NPE Mevenide + Netbeans 5.5
I'll add the fix for the NPE to the sources, will be part of next release I suppose. can you send me the settings.xml file snippet that caused the crash? either privately or file an issue at http://jira.codehaus.org/browse/MEVENIDE.. obscure all private information of course. Milos On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Yes Milos, it's now working. I've something between server tag that prevented it from obtaining the archetype list. Thanks! Will there be a fix to this? I'm expecting it would pop a message box if timeout occurred when obtaining the list. On 1/18/07, Milos Kleint [EMAIL PROTECTED] wrote: this part seems to be important. java.lang.NullPointerException at org.codehaus.mevenide.netbeans.newproject.LocalRepoProvider.getArchetypes( LocalRepoProvider.java:40) at org.codehaus.mevenide.netbeans.newproject.ChooseArchetypePanel.run( ChooseArchetypePanel.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java :499) [catch] at org.openide.util.RequestProcessor$Processor.run( RequestProcessor.java:932) it seems to fail to retrieve a list of archetypes from the local repository index. And gives a NPE, preventing the list to be populated. That's a probable result of the previous error where the local repository indexing fails to initiate. I'll fix the NPE in the sources, should be fairly easy. Not sure however why the first error occurs. Do you have anything related in the server settings in the settings.xml file? This could work as temporary workaround. 1. move the settings file out of the way temporarily 2. go to Netbeans's options dialog and under maven settings there, trigger the indexing of repository 3. check that a .index folder was created in ~/.m2/repository (actually if it was previously there before 1. step, try removing it. 4. try checking the new project wizard again if it doesn't help, you probably have to fallback to command line for the time being.. Regards Milos Kleint On 1/18/07, lemon dumpling [EMAIL PROTECTED] wrote: Hi I've netbeans 5.5 and mevenide 2.3 installed. When I create a new maven project, the archetype template list is empty. I tried checking the log file and it shows this: Log Session: Thursday, January 18, 2007 10:19:48 PM EST System Info: Product Version = NetBeans IDE 5.5 (Build 200610171010) Operating System= Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_06\jre System Locale; Encoding = en_AU (nb); Cp1252 Home Dir.; Current Dir. = C:\Documents and Settings\LYeung; D:\netbeans\bin Installation; User Dir. = D:\netbeans\nb5.5;D:\netbeans\ide7;D:\netbeans\enterprise3;D:\netbeans\harness;D:\netbeans\platform6; C:\Documents and Settings\LYeung\.netbeans\5.5 Boot Ext. Classpath = C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar Application Classpath = D:\netbeans\platform6\lib\boot.jar;D:\netbeans\platform6\lib\org- openide-modules.jar;D:\netbeans\platform6\lib\org-openide-util.jar ;C:\Program Files\Java\jdk1.5.0_06\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar Startup Classpath = D:\netbeans\platform6\core\core.jar;D:\netbeans\platform6\core\org- openide-filesystems.jar;D:\netbeans\nb5.5\core\org-netbeans-upgrader.jar ;D:\netbeans\nb5.5\core\locale\core_nb.jar;D:\netbeans\ide7\core\org- netbeans-modules-utilities-cli.jar --- [WARNING] Warning: module org.codehaus.mevenide.bridges.debugger does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.deployment does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.4-public-packages [WARNING] Warning: module org.codehaus.mevenide.bridges.runjar does not declare OpenIDE-Module-Public-Packages in its manifest, so all packages are considered public by default:
Artifact downloads corrupted
For some reason, Jars which I created and copied to the remote Maven repository get downloaded to the local Maven repository as expected, but they are corrupted on their way. When I open up the Jar on the local Maven repository, I see that the contents are corrupted and the overall size of the Jar is smaller than that of the corresponding Jar located on the remote Maven repository. I currently create these Jars on the remote Maven repository by copying them to the drive of the remote Maven repository, whereby I do not use mvn to deploy them. Might this be causing the problem? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
how to include directory in my war
I have made a portlet and want to inculde a FCKEditor in my firstportlet. for this I have to copie a FCKEditor directory in my base dir. what do I have to change to include this directory in my war? please help, Erik firstportlet files: http://wiki.apache.org/portals/Jetspeed2/DevelopersDocumentation#head-c899c2da8f7107a495c26106230aa4033874082b FCKEditor files: http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Javascript - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Multiple executions of the same plugin at the same life cycle phase in a multi-module profile
Hello Franz, I found MNG-2784 but this issue does not cover my configuration. Therefore I create a new JIRA MNG-2784. Maik
RE: calling Maven goal from ant
Maybe you can use the MavenEmbedder? -Original Message- From: Irrisor [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 9:33 AM To: Morgovsky, Alexander (US - Glen Mills) Cc: users@maven.apache.org Subject: Re: calling Maven goal from ant Thanks for your answer. But... Morgovsky, Alexander (US - Glen Mills) wrote: In the Ant file, create an exec task and spawn a shell and execute something like mvn goal. this won't work as on the target machine maven is probably not installed and even if it is installed might need invocation via mvn.bat, probably need full path etc. So this is not a solution for me :( Regards, Irrisor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven 2, clover and contexts
Hi David, Why are you assuming that statementContext would work? Just check the plugin documentation and you'll see that the correct tag name is contextFilters. Just check the documentation for more details and examples. Thanks -Vincent On Jan 17, 2007, at 11:46 PM, c_inconnu2 wrote: Hi, I am trying to configure Clover to use contextFilters with statementContext. Here is my pom.xml : reporting plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId configuration jdk1.5/jdk excludes exclude**/*AllTests.java/exclude exclude**/*Main.java/exclude exclude**/*Main$*.java/exclude exclude**/*Test.java/exclude exclude**/*Test$*.java/exclude /excludes statementContext name=log regexp=^logger \..* / !--statementContext name=iflog regexp=^if \ (logger\.is.* /-- statementContext name=iflog regexp=if.?.? log.*\.isDebugEnabled.*} / !--contextFilterslog,iflog/contextFilters-- contextFilterstry/contextFilters /configuration /plugin ... plugins reporting as you can see, I tried many things. I looked the clover site, search mailing lists but nothing... I even looked into the plugin source code : it seems that it does not handle statementContext. But since even the try context does not work... Any help will be greatly appreciated, thanks David ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Continuum on Glassfish
I just added a how to configure glassfish for deploying continuum. http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Glassfish Thanks for the great work on Continuum! -- Robert Dale
Re: Clearing out local repository during nightly builds
OK I've also been waiting for an answer on this. Anyone know? On 1/15/07, jp4 [EMAIL PROTECTED] wrote: Recently I have had some issues with version management where we upgrade a particular artifact to a new version, but some how, not all projects reference the new version. I have tried to mitigate this by making use of the dependencyManagement section which works nicely. I would still however, like to clean out the local repository (only a certain directory com/foo) so that I don't encounter this problem in the future. My problem now is that I have a pom.xml that builds all of my modules. In addition, this pom uses the antrun plugin to remove the directory from the local repo. This works fine if I do a mvn clean then a mvn install, but if I do a mvn clean install, the last thing that happens is the delete. Is there any way to have this run before any of the modules are built? Thanks, jp4 -- View this message in context: http://www.nabble.com/Clearing-out-local-repository-during-nightly-builds-tf3015348s177.html#a8373630 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: Clearing out local repository during nightly builds
Good day to you, jp4, Can you paste here the logs of your mvn clean, mvn install, and mvn clean install? Thanks, Franz jp4 wrote: Recently I have had some issues with version management where we upgrade a particular artifact to a new version, but some how, not all projects reference the new version. I have tried to mitigate this by making use of the dependencyManagement section which works nicely. I would still however, like to clean out the local repository (only a certain directory com/foo) so that I don't encounter this problem in the future. My problem now is that I have a pom.xml that builds all of my modules. In addition, this pom uses the antrun plugin to remove the directory from the local repo. This works fine if I do a mvn clean then a mvn install, but if I do a mvn clean install, the last thing that happens is the delete. Is there any way to have this run before any of the modules are built? Thanks, jp4 -- View this message in context: http://www.nabble.com/Clearing-out-local-repository-during-nightly-builds-tf3015348s177.html#a8432626 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: Clearing out local repository during nightly builds
My solution wasn't elegant, but I had to make it simple. I created a clean project which was the first module listed in the main pom.xml. The clean project pom.xml looked something like this... It runs an ant script to do the delete. Hope this helps. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.foo.common/groupId artifactIdcommon-clean/artifactId version1.0-SNAPSHOT/version name${artifactId}/name packagingpom/packaging build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idclean/id phaseclean/phase configuration tasks property name=user.home value=${user.home}/ property name=m2.repo value=${user.home}/.m2/repository/ property name=foo.repo.dir value=${m2.repo}/com/foo/ echoi4commerce dir = ${foo.repo.dir}/echo delete dir=${foo.repo.dir}/ /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /build distributionManagement site idrepository/id urlscp://gondor/var/www/html/mavenSite//url /site repository idrepository/id urlscp://gondor/var/www/html/maven/url /repository /distributionManagement /project Thierry Lach-2 wrote: OK I've also been waiting for an answer on this. Anyone know? On 1/15/07, jp4 [EMAIL PROTECTED] wrote: Recently I have had some issues with version management where we upgrade a particular artifact to a new version, but some how, not all projects reference the new version. I have tried to mitigate this by making use of the dependencyManagement section which works nicely. I would still however, like to clean out the local repository (only a certain directory com/foo) so that I don't encounter this problem in the future. My problem now is that I have a pom.xml that builds all of my modules. In addition, this pom uses the antrun plugin to remove the directory from the local repo. This works fine if I do a mvn clean then a mvn install, but if I do a mvn clean install, the last thing that happens is the delete. Is there any way to have this run before any of the modules are built? Thanks, jp4 -- View this message in context: http://www.nabble.com/Clearing-out-local-repository-during-nightly-builds-tf3015348s177.html#a8373630 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Clearing-out-local-repository-during-nightly-builds-tf3015348s177.html#a8432680 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: Proximity vs. Maven Achiva
El 17/01/2007 21:49, Mel Riffe escribió: Hi Daniel, My client is able to run maven-proxy as a Windows service. They're using a third-party tool to accomplish this: http://wrapper.tanukisoftware.org/doc/english/introduction.html Or you can use JavaService either: http://javaservice.objectweb.org/ It's quite easy, this is my installation batch file: @echo off setlocal @rem note that if JVM not found, service 'does not report an error' when startup fails, although event logged if %JAVA_HOME% == set JAVA_HOME=C:\java\jdk1.5.0_05 REM PARAMETROS CONFIGURABLES set RUTA=C:\procesos\comun\maven-proxy set SERVICENAME=Maven Proxy set DESCRIPCION=Repositorio Maven que hace de proxy con otros repositorios set JVMDIR=%JAVA_HOME%\jre\bin\server REM FIN DE PARAMETROS CONFIGURABLES set PARAMETROS=maven-proxy.properties set JSEXE=JavaService.exe set SSBINDIR=%RUTA% set CURRENTDIR=%RUTA% @echo . @echo . Instala el servicio %SERVICENAME% @echo . @echo . %JSEXE% -version @echo . @echo Instalando servicio %SERVICENAME% @echo . %JSEXE% -install %SERVICENAME% %JVMDIR%\jvm.dll -Djava.class.path=%RUTA%\maven-proxy-standalone-0.2-app.jar -start org.apache.maven.proxy.standalone.Standalone -params %PARAMETROS% -out %RUTA%\out.txt -err %RUTA%\err.txt -current %CURRENTDIR% -description %DESCRIPCION% @echo . @echo Iniciando servicio %SERVICENAME% @echo . net start %SERVICENAME% @echo . @pause Hope it helps, Andrés - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to include directory in my war
I have made a portlet and want to inculde a FCKEditor in my firstportlet. for this I have to copie a FCKEditor directory in my base dir. what do I have to change to include this directory in my war? Hi erik, the war plugin lets you specify extra resources. Have a look at.. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-w ebresources.html regards, Bram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to include directory in my war
dank je Van: Bram de Kruijff [mailto:[EMAIL PROTECTED] Verzonden: do 18-1-2007 16:29 Aan: 'Maven Users List' Onderwerp: RE: how to include directory in my war I have made a portlet and want to inculde a FCKEditor in my firstportlet. for this I have to copie a FCKEditor directory in my base dir. what do I have to change to include this directory in my war? Hi erik, the war plugin lets you specify extra resources. Have a look at.. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-w ebresources.html regards, Bram - 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: Generating a Maven2 Repository RPM Mirror
I'm not aware of any file which contains this kind of information. All of this information already exists in the local repo itself -- the repo is the documentation in and of itself -- you just have to look at every single file in the repo to build it up. The checksums are in the .sha1 and .md5 files and the *.pom files will give you the information you need about the artifactId, groupId, and version. So it sounds like step one of your project is to write some code (Perl etc) that scans the local repo and generates this meta-data.xml file you're looking for. Unless of course you're talking about generating a RPM mirror of the Maven repo hosted at ibiblio or another site, which would certainly complicate things a bit. Wayne On 1/17/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to generate an RPM mirror of the maven repository. I was hoping to do this by reading something like a meta-data.xml file in the Maven repository, that contains a list of all the projects in the repository, their corresponding artifactId, groupId, and version (And checksum would be really nice if there.). Anywone know if this type of information exists in the Maven repository? Thanks, - Ole Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to use DotUml Plugin
Hey Maven User, Does anyone have a sample configuration for the use of the maven-dotuml-plugin found on sourceforge? The docs are still for the maven 1 version of the plugin. I tried it with the maven 2 version and got this error: java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:982) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) My confguration is this: ... plugin groupIdmaven-plugins/groupId artifactIdmaven-dotuml-plugin/artifactId version1.0/version executions execution phasegenerate-resources/phase goalsgoalgenerate/goal/goals /execution /executions configuration destdir${maven.build.dir}/destdir /configuration /plugin ... Thx for any assitance The Y--- Scarlet ONE - Combine ADSL with unlimited fixed phone and save 400 euros http://www.scarlet.be - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2.0.4: Error while packaging the EJB project
You need the jar and the pom in your local repo. If the pom is missing, Maven will try to load it remotely so it can tell if there are any secondary dependencies that are also needed. If you installed the jars with mvn install:install-file, you could have used the option that generates default poms. That only works if these jars don't require other jars to work (or if you make those other jars explicit dependencies). You can make a default pom yourself and add it to the repo after the fact as well. Just put the minimal tags in it: project modelVersion4.0.0/modelVersion groupIdthe-group-id/groupId artifactIdthe-artifact-id/artifactId versionthe-version/version /project And, of course, fill in the right group, artifact and version. -- Lee On 1/17/07, Alok Jindal [EMAIL PROTECTED] wrote: Hi, I'm facing problems some problems building an EJB project with maven 2.0.4. i.e. 1) I'm getting following error while packaging the EJB project. 2) Also, in pom.xml, i have mentioned dependencies xml-apis and xerces, but maven is mapping to the wrong version of these dependencies i.e. xml-apis-1.0.b2 and xercerImpl-2.3.0 respectively whereas version mentioned in pom.xml i.e. xml-apis 2.0.2 and xerces-2.3.0 is different (find the bold items in the stack trace). I have both the version of jars in my local repository 3) Also, I would like to know why maven is looking for pom files of some dependencies when I have jar files of them in the local repository Please find the pom.xml and stack trace of the error below. Kindly help me to resolve this issue, and let me know what the problem is. Stack Trace C:\pnv\edsejbmvn install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building eds ejb module [INFO]task-segment: [install] [INFO] - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] While downloading xerces:xerces:2.3.0 This artifact has been relocated to xerces:xercesImpl:2.3.0. Downloading: http://repo1.maven.org/maven2/jai_codec/jai_codec/1.1.2/jai_codec-1 .1.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/jaxrpc/jaxrpc/1.0/jaxrpc-1.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/mlibwrapper_jai/mlibwrapper_jai/1.1.2 /mlibwrapper_jai-1.1.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/aws/aws/2.3/aws-2.3.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/j2ee/j2ee/1.0/j2ee-1.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [WARNING] While downloading xml-apis:xml-apis:2.0.2 This artifact has been relocated to xml-apis:xml-apis:1.0.b2. Downloading: http://repo1.maven.org/maven2/commons-net/commons-net/1.0.1/commons -net-1.0.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/db2java/db2java/1.2/db2java-1.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/jsr94/jsr94/1.0-pr/jsr94-1.0-pr.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/jai_core/jai_core/1.1.2/jai_core-1.1. 2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/Acme/Acme/1.3.1/Acme-1.3.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/saaj/saaj/1.0/saaj-1.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/jython/jython/20020827-no-oro/jython- 20020827-no-oro.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [INFO] [compiler:compile] Compiling 80 source files to C:\Documents and Settings\alok_jindal\pnv\edsejb\ta rget\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 1 source file to C:\Documents and Settings\alok_jindal\pnv\edsejb\targ et\classes [INFO] [surefire:test] [INFO] Surefire report directory: C:\Documents and Settings\alok_jindal\pnv\edse jb\target\surefire-reports --- T E S T S
RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2 [solved]
I just figured out my test cases were failing because the geotools map transformation used by them does not work when assertions are enabled. Since maven-surefire-plugin enables them by default, I had to add the following configuration to the plugin. ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.2/version configuration argLine-disableassertions:org.geotools.../argLine /configuration /plugin ... Hope someone find this info useful. Dário -Original Message- From: Dário Luís Coneglian Oliveros Sent: quinta-feira, 18 de janeiro de 2007 09:35 To: Maven Users List Subject: RE: [m2] maven-surefire-plugin 2.1.3 vs 2.2 I noticed maven-surefire-plugin 2.1.3 uses forkMode='none' and childDelegation='true' as default. However If I add the same configuration to maven-surefire-plugin 2.2, my tests don't work. Since I use javolution.jar as a test dependency and it overrides some classes from java.lang.reflect, I get a 'prohibited package name' error. The same problem does not happen to 2.1.3. Any thoughts ? Any idea where to look at ? Dário -Original Message- From: Dário Luís Coneglian Oliveros Sent: quarta-feira, 17 de janeiro de 2007 16:13 To: Maven Users List (E-mail) Subject: [m2] maven-surefire-plugin 2.1.3 vs 2.2 I have some test cases that used to work with maven-surefire-plugin 2.1.3, but not with 2.2. Does anybody know what kind of configuration should be in 2.2 to get the same behaviour as of 2.1.3 ? I've tried a couple of them (forkMode=never, childDelegation=true), but could not get anything working. Any help is appreciated. Dário - 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: codehaus xmlbeans and eclipse
Gregory, Thanks for your reply. For the record, I found a acceptable work around. I configured the xmlbeans plugin to create a schema jar file in the target directory. Then I put this jar file on my eclipse classpath. I haven't checked yet whether this configuration affects the rest of the build in maven. However, it looks like the xmlbeans plugin still generates source and bizarre schemaorg_apache_xmlbeans directories , so I believe this is no impact on the rest of the maven build. Thanks again, John -- View this message in context: http://www.nabble.com/codehaus-xmlbeans-and-eclipse-tf3029668s177.html#a8434372 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Browsing repository (Was: Problems building Archiva)
Hi All! My former problem with buildung just vanished by setting up my whole environment fromn scratch, but now again I face a problem that seems to be local for me, but I'm not sure how this happens... Archive is up and running, works fine as repository and proxy (started with built-in jetty), but when using the browse functionality, when calling browseGroup.jsp, I get the following error: /WEB-INF/jsp/browseGroup.jsp(37,6) PWC 6340: According to the TLD, rtexprvalue is true, and deferred-value is specified for the attribute items of the tag handler org.apache.taglibs.standard.tag.rt.core.ForTokensTag, but the argument for the setter method is not a java.lang.Object The problem seems to be that ForTokensTag has a setItems method which takes a string param, but while retrieving the onject from a map, it is java.lang.Object instead. Has anybody an idea why this is happening, and maybe even why (obviously) not in all environments? Once again, thanks in advance... No problems here (same configuration as you, also on Mac OS X JDK 5), or on CI (Solaris x86 JDK 5). -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Re: maven basedir
cl29 wrote: Good day to you, Franz! Good day to Arnaud! Thanks for your fast reply and sorry for my late reply. I have tested this with Maven2 now, and basedir properties in conf/pom.xml as you mentioned below, but scm:update announces as workingdir project/conf and by this does not update all files and directories; updates: all files/subdirs from conf missing: src, tools, ...directories and subdirectories. Any idea to solve the problem? I tried with relative path ans absolute paths in pom.xml project conf/pom.xml src/ tools/ / calling mvn from conf-dir # mvn scm:update Cheers, Claudia franz see wrote: Good day to you, Arnaud, Pardon, I failed to read that part about the maven version :-) Thanks for the correction. - Franz Arnaud HERITIER wrote: These settings are working only with maven 2.X. Not m1.x Arnaud On 1/13/07, franz see [EMAIL PROTECTED] wrote: Good day to you, cl29, I am not sure if I understand your situation perfectly ( your post seems to be wrapped into one long line ). But you may want to try adding project ... properties basedir!-- your path --/basedir /properties /project See [1] for more info. Cheers, Franz [1] http://maven.apache.org/ref/2.0.4/maven-model/maven.html cl29 wrote: we are going to change our cvs, splitting our project into modules and for this reason project.xml, build.properties and project.properties are moved to a directory. We are still using Maven 1.Old structure:project |_ build.properties |_ project.properties |_ project.xml |_ src |_ tools |_ New structure: |_ conf |_build.properties |_project.properties |_project.xml |_ src |_ tools |_ ...So files - usually corresponding to ${basedir} - are no longer in the top level directory and goals like scm:update for example working recursive start in directory conf and miss all modifications done in src and tools.My question is, where do I set ${basedir}, so that I can use all files from conf dir, but let basedir=./project -- View this message in context: http://www.nabble.com/maven-basedir-tf2963988s177.html#a8313003 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/maven-basedir-tf2963988s177.html#a8434825 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven2 and unknown protocol: e
Hi all, I was using Maven 1.0.2 and it works fine. I migrated to maven 2.0.4 but when I try to execute a goal I have this exception: File or url 'E:\Softs\maven-2.0.4/lib/endorsed/xml-apis-1.0.b2.jar' could not be found java.net.MalformedURLException: unknown protocol: e at java.net.URL.init(URL.java:574) at java.net.URL.init(URL.java:464) at java.net.URL.init(URL.java:413) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:579) I specified that my repo is user\.maven\repository The jar exists in this repo but why is he searching in 'E:\Softs\maven-2.0.4/lib Thanks in advance. 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.
Re: Generating a Maven2 Repository RPM Mirror
Hey Wayne, Thanks for the tip. I thought that was the case, just wanted to be sure. Yes, I am planning on generating an RPM mirror of the entire ibiblio repo. So I'll use your approach (Using a mojo) to write the global maven-metadata.xml file. Then suck that into a mojo, that generates the RPM mirror. Meanwhile hopefully archiva will address creating and updating this type of file on the fly, for this type of scenario. Thanks, - Ole --- Wayne Fay [EMAIL PROTECTED] wrote: I'm not aware of any file which contains this kind of information. All of this information already exists in the local repo itself -- the repo is the documentation in and of itself -- you just have to look at every single file in the repo to build it up. The checksums are in the .sha1 and .md5 files and the *.pom files will give you the information you need about the artifactId, groupId, and version. So it sounds like step one of your project is to write some code (Perl etc) that scans the local repo and generates this meta-data.xml file you're looking for. Unless of course you're talking about generating a RPM mirror of the Maven repo hosted at ibiblio or another site, which would certainly complicate things a bit. Wayne On 1/17/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to generate an RPM mirror of the maven repository. I was hoping to do this by reading something like a meta-data.xml file in the Maven repository, that contains a list of all the projects in the repository, their corresponding artifactId, groupId, and version (And checksum would be really nice if there.). Anywone know if this type of information exists in the Maven repository? Thanks, - Ole Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html - 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] TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. http://tv.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Generating a Maven2 Repository RPM Mirror
archiva has already code that indexes the repo, you may take a look there On 1/18/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hey Wayne, Thanks for the tip. I thought that was the case, just wanted to be sure. Yes, I am planning on generating an RPM mirror of the entire ibiblio repo. So I'll use your approach (Using a mojo) to write the global maven-metadata.xml file. Then suck that into a mojo, that generates the RPM mirror. Meanwhile hopefully archiva will address creating and updating this type of file on the fly, for this type of scenario. Thanks, - Ole --- Wayne Fay [EMAIL PROTECTED] wrote: I'm not aware of any file which contains this kind of information. All of this information already exists in the local repo itself -- the repo is the documentation in and of itself -- you just have to look at every single file in the repo to build it up. The checksums are in the .sha1 and .md5 files and the *.pom files will give you the information you need about the artifactId, groupId, and version. So it sounds like step one of your project is to write some code (Perl etc) that scans the local repo and generates this meta-data.xml file you're looking for. Unless of course you're talking about generating a RPM mirror of the Maven repo hosted at ibiblio or another site, which would certainly complicate things a bit. Wayne On 1/17/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to generate an RPM mirror of the maven repository. I was hoping to do this by reading something like a meta-data.xml file in the Maven repository, that contains a list of all the projects in the repository, their corresponding artifactId, groupId, and version (And checksum would be really nice if there.). Anywone know if this type of information exists in the Maven repository? Thanks, - Ole Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html - 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] TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. http://tv.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Proximity vs. Maven Achiva
Or you can use JavaService either: http://javaservice.objectweb.org/ It's quite easy, this is my installation batch file: Thank you, that easily solved my problem. :) Thanks to everyone who responded. I guess if I really want to learn the differences between Proximity and Archiva I'll have to investigate myself. If I find the time to do so (as unlikely as that is), I'll be sure to post my results on the list. -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 and unknown protocol: e
Sounds like something incorrect in your classpath, or settings.xml, or pom.xml. Too many unknowns to be certain. Try mvn -X to see the debug output. Perhaps it will provide more useful information. Wayne On 1/18/07, Khabot, Zakaria [EMAIL PROTECTED] wrote: Hi all, I was using Maven 1.0.2 and it works fine. I migrated to maven 2.0.4 but when I try to execute a goal I have this exception: File or url 'E:\Softs\maven-2.0.4/lib/endorsed/xml-apis-1.0.b2.jar' could not be found java.net.MalformedURLException: unknown protocol: e at java.net.URL.init(URL.java:574) at java.net.URL.init(URL.java:464) at java.net.URL.init(URL.java:413) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:579) I specified that my repo is user\.maven\repository The jar exists in this repo but why is he searching in 'E:\Softs\maven-2.0.4/lib Thanks in advance. 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: Maven2 and unknown protocol: e
It seems like your maven installation at E:\Softs\maven-2.0.4 is not 2.0.4, but 1.0.2. The reason why is Maven 2 uses classworlds to load some classes instead of Forehead, which is not the case as shown in the stack trace below. Besides Maven 2 does not come with endorsed dir under lib. Also the default local repository for Maven 2 is located by default at user home/.m2/repository. Hope it helps. Dário -Original Message- From: Khabot, Zakaria [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 18 de janeiro de 2007 16:53 To: Maven Users List Subject: Maven2 and unknown protocol: e Hi all, I was using Maven 1.0.2 and it works fine. I migrated to maven 2.0.4 but when I try to execute a goal I have this exception: File or url 'E:\Softs\maven-2.0.4/lib/endorsed/xml-apis-1.0.b2.jar' could not be found java.net.MalformedURLException: unknown protocol: e at java.net.URL.init(URL.java:574) at java.net.URL.init(URL.java:464) at java.net.URL.init(URL.java:413) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:579) I specified that my repo is user\.maven\repository The jar exists in this repo but why is he searching in 'E:\Softs\maven-2.0.4/lib Thanks in advance. 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: SPOF - can I define more than one mirror of 'central' in settings.xml?
This is a followup to my message from Jan 8, about failing over to a backup 'central' mirror when the primary mirror is down. Wayne, the patch you directed me to at http://jira.codehaus.org/browse/MNG-714 has indeed solved my problem and allows me to fail over to a backup server. Endless thanks!! However, there is a SPOF. When fawkes-dev01 goes down, all the builds fail. So I thought I would create a second maven-proxy server to fall back on when fawkes-dev01 is down. I've created the second proxy server, and put the following in my settings.xml: mirror idmirror-backup/id urlhttp://fawkes-dev02.ofoto.com:/repository/url mirrorOfcentral/mirrorOf /mirror mirror idmirror/id urlhttp://fawkes-dev01.ofoto.com:/repository/url mirrorOfcentral/mirrorOf /mirror Unfortunetly, when I test this solution out, maven still fails when fawkes-dev01 is down, even though I've added fawkes-dev02 to the list of mirrors. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Browsing repository (Was: Problems building Archiva)
I encountered this also. But I encountered it on ALL uses of c:forTokens in all JSP's present in archiva. I even created a simple jsp with a test c:forTokens using static values, still broken, still the same exception message. So ... I removed them all from archiva. The current codebase has no c:forTokens left. - Joakim Dirk Jablonski wrote: Hi All! My former problem with buildung just vanished by setting up my whole environment fromn scratch, but now again I face a problem that seems to be local for me, but I'm not sure how this happens... Archive is up and running, works fine as repository and proxy (started with built-in jetty), but when using the browse functionality, when calling browseGroup.jsp, I get the following error: /WEB-INF/jsp/browseGroup.jsp(37,6) PWC 6340: According to the TLD, rtexprvalue is true, and deferred-value is specified for the attribute items of the tag handler org.apache.taglibs.standard.tag.rt.core.ForTokensTag, but the argument for the setter method is not a java.lang.Object The problem seems to be that ForTokensTag has a setItems method which takes a string param, but while retrieving the onject from a map, it is java.lang.Object instead. Has anybody an idea why this is happening, and maybe even why (obviously) not in all environments? Once again, thanks in advance... No problems here (same configuration as you, also on Mac OS X JDK 5), or on CI (Solaris x86 JDK 5).
categorizing tests
Hi, Just finished reading an article on test categorization: http://www-128.ibm.com/developerworks/java/library/j-cq10316/index.html?ca=drs-. Any recommendations how how to implement this in Maven? Thanks D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: clover report not generated
Arghh I found the answer : for one reason or another I always did mvn site:site instead of mvn site So silly me :((( Anyway, thanks Tony for your answer Tony Ambrozie a écrit : David, this seems to be working for me: build . plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId version2.3/version configuration targetPercentage50%/targetPercentage /configuration executions execution idverify/id phaseverify/phase goals goalinstrument/goal goalcheck/goal /goals /execution execution idpre-site/id phasepre-site/phase goals goalinstrument/goal /goals /execution /executions /plugin /plugins /build Tony On 1/17/07, c_inconnu2 [EMAIL PROTECTED] wrote: Hi, I saw this question many times in the forum, but couldn't found an answer. I followed the tutorial and got in my parent project pom : reporting plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId /plugin ... /plugins /reporting build plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId configuration jdk1.5/jdk excludes exclude**/*AllTests.java/exclude exclude**/*Main.java/exclude exclude**/*Test.java/exclude /excludes /configuration executions execution phasepre-site/phase goals goalinstrument/goal /goals /execution /executions /plugin ... /plugins /build I always have : [INFO] [site:site] [WARNING] No Clover database found, skipping report generation but if i use clover:instrument clover:clover that works... is this plugin broken or what ? it's driving me crazy !!! Thanks David - 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]
Problem finding dependency:build-classpath goal in Maven dependency plug-in
Hi, What repository do I need to point to in order to get the dependency plug-in that has the build-classpath goal implemented. Everything that I am pointed to has the dependency plug-in but that goal is not available. Here is the error message that I am getting: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Required goal not found: dependency:build-classpath [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Thu Jan 18 16:33:27 EST 2007 [INFO] Final Memory: 10M/64M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven 2, clover and contexts
Hi Vincent, Thanks for your answer. Indeed there is no reason that it should work : I was just wondering... But I tried to use contextFilters and I cannot manage to get it work either. Here is a part of my pom : reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId /plugin /plugins /reporting build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target showDeprecationtrue/showDeprecation /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId configuration jdk1.5/jdk contextFilterstry/contextFilters /configuration executions execution phasepre-site/phase goals goalinstrument/goal /goals /execution /executions /plugin /plugins /build I tested with this : public static String f() { try { if(true){ Class.forName(AAA); } Class.forName(BBB); } catch (Exception e) { // TODO: handle exception } return f; } If I understand, the line Class.forName(BBB); should be reported as not tested ??? But it is in red in the report (statement not executed). And Class.forName(AAA); was executed Thanks for your help Vincent Massol a écrit : Hi David, Why are you assuming that statementContext would work? Just check the plugin documentation and you'll see that the correct tag name is contextFilters. Just check the documentation for more details and examples. Thanks -Vincent On Jan 17, 2007, at 11:46 PM, c_inconnu2 wrote: Hi, I am trying to configure Clover to use contextFilters with statementContext. Here is my pom.xml : reporting plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clover-plugin/artifactId configuration jdk1.5/jdk excludes exclude**/*AllTests.java/exclude exclude**/*Main.java/exclude exclude**/*Main$*.java/exclude exclude**/*Test.java/exclude exclude**/*Test$*.java/exclude /excludes statementContext name=log regexp=^logger\..* / !--statementContext name=iflog regexp=^if \(logger\.is.* /-- statementContext name=iflog regexp=if.?.?log.*\.isDebugEnabled.*} / !--contextFilterslog,iflog/contextFilters-- contextFilterstry/contextFilters /configuration /plugin ... plugins reporting as you can see, I tried many things. I looked the clover site, search mailing lists but nothing... I even looked into the plugin source code : it seems that it does not handle statementContext. But since even the try context does not work... Any help will be greatly appreciated, thanks David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Turning off transitive dependencies in Maven2
Help, I need to figure out how to turn off transitive dependencies in Maven 2. I know which libs I need and don't need any transitive dependencies. Its causing a lot of problem and rather than trying to figure out what should be excluded from about 70 dependencies I'd like to just turn off this feature. Please help! Thanks, Pablo Muñoz | Rodale, Inc. | 733 3rd Ave, New York, NY | 212.573.0349 | aimpmunoz
how do I copy a dependency to a local directory
I'm have a project that has a few dependencies. This works great for the compile phase but for my packaging phase, I've created an ant task that packages up all my files locally in a zip to be distributed.I need to copy my dependencies (jars) from the remote repository to a local directory so I can include them in my zip.How do I do this? Thanks.
Re: Turning off transitive dependencies in Maven2
I believe creating an exclusion list is your only option. Transitive dependency resolution is not switchable, as far as I know. Patrick On 1/18/07, Munoz, Pablo [EMAIL PROTECTED] wrote: Help, I need to figure out how to turn off transitive dependencies in Maven 2. I know which libs I need and don't need any transitive dependencies. Its causing a lot of problem and rather than trying to figure out what should be excluded from about 70 dependencies I'd like to just turn off this feature. Please help! Thanks, Pablo Muñoz | Rodale, Inc. | 733 3rd Ave, New York, NY | 212.573.0349 | aimpmunoz
Re: Turning off transitive dependencies in Maven2
(As Patrick stated...) Unless something significant has changed that I'm unaware of, you can't turn off transitive dependencies. Instead, you will need to generate the entire list (run mvn site and check the dependencies report), find the transitive dependencies you don't need, and add exclusions on those artifacts to your pom. Wayne On 1/18/07, Patrick Schneider [EMAIL PROTECTED] wrote: I believe creating an exclusion list is your only option. Transitive dependency resolution is not switchable, as far as I know. Patrick On 1/18/07, Munoz, Pablo [EMAIL PROTECTED] wrote: Help, I need to figure out how to turn off transitive dependencies in Maven 2. I know which libs I need and don't need any transitive dependencies. Its causing a lot of problem and rather than trying to figure out what should be excluded from about 70 dependencies I'd like to just turn off this feature. Please help! Thanks, Pablo Muñoz | Rodale, Inc. | 733 3rd Ave, New York, NY | 212.573.0349 | aimpmunoz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Turning off transitive dependencies in Maven2
Good day, You can turn off transitive dependencies of a direct dependency via the exclusions tag ( see [1] ). However, that may be too troublesome if you want to turn it off completely since you have declare each transitive dependency to exclude from each direct dependency. To know what dependencies are derived, you can use the -X option ( i.e. mvn install -X ) and view the debug logs, do an mvn site and check the dependency reports, or if your mvn site takes too long to finish ( i.e. creates other reports such as javadoc ), do a mvn project-info-reports:dependencies ( which will produce the dependency reports only ). The best approach however for you would probably to declare all those dependencies on your project. Maven will always prefer the direct dependency over the transitive ones. The more direct a dependency is, the higher its priority ( see [2] ). Cheers, Franz [1] http://maven.apache.org/ref/current/maven-model/maven.html#class_exclusion [2] http://docs.codehaus.org/display/MAVENUSER/Dependency+Mechanism Wayne Fay wrote: (As Patrick stated...) Unless something significant has changed that I'm unaware of, you can't turn off transitive dependencies. Instead, you will need to generate the entire list (run mvn site and check the dependencies report), find the transitive dependencies you don't need, and add exclusions on those artifacts to your pom. Wayne On 1/18/07, Patrick Schneider [EMAIL PROTECTED] wrote: I believe creating an exclusion list is your only option. Transitive dependency resolution is not switchable, as far as I know. Patrick On 1/18/07, Munoz, Pablo [EMAIL PROTECTED] wrote: Help, I need to figure out how to turn off transitive dependencies in Maven 2. I know which libs I need and don't need any transitive dependencies. Its causing a lot of problem and rather than trying to figure out what should be excluded from about 70 dependencies I'd like to just turn off this feature. Please help! Thanks, Pablo Muñoz | Rodale, Inc. | 733 3rd Ave, New York, NY | 212.573.0349 | aimpmunoz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Turning-off-transitive-dependencies-in-Maven2-tf3037242s177.html#a8441979 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] where do i put hibernate-properties-ProviderHistory.xml to get merged?
I am still using XDoclet 1 and want to create an entry for hibernate-properties-ProviderHistory.xml but am not sure where to put that file to get picked up during a merge... Can anyone please help ? -- Thanks DJ MICK (Mick Knutson) http://www.djmick.com http://www.myspace.com/djmick_dot_com http://www.thumpradio.com
Classes loaded by my plugin are not initialized
Hi all, My plugin is failing because the classes that I'm accessing within my plugin are not being initialized upon loading (specifically, their static initializers are not being called). Is there some configuration setting that I can make to cause classes that are loaded by the org.codehaus.classworlds.RealmClassLoader (the classloader that loads my plugin's class) to be initialized? Is there some way that I can configure my plugin's execution to occur in a forked JVM? FYI, my plugin is a thin wrapper around a tool. I also have an ant task that wraps the same tool, and everything works fine in it. Additionally, if I use the maven-antrun-plugin to invoke the tool, everything works fine. It's only when I try to use it from within the Maven plugin framework that it fails. Any pointers or help are appreciated! Thanks, Matthew -- View this message in context: http://www.nabble.com/Classes-loaded-by-my-plugin-are-not-initialized-tf3037602s177.html#a8442164 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Continuum 1.0.3 vs 1.1 trunk
Hi, I'm setting up continuous integration at a corporate site that has many tens of projects on the go at once. I have set up 1.0.3, but I can see that 1.1 has many features that would make it way more useful in this kind of environment. Does anyone think that a 1.1 trunk build will make life more difficult than it needs to be? I personally am not fussed about whether it's final or not. Most products have bugs, it's just a question of whether or not we can live with them... Steve Coy
RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError
Hi Jeff Arnaud, It appears my mail was truncated. Please find the full list below. Could you please confirm whether this is a bug and whether I should file a bug report. Sorry for my silence, but I have been trying to narrow down the problem to provide a small project. I have now narrowed down the problem and I will try and explain it below. If you believe you prefer a small project, I will be more than happy to provide one. 1) Common-1.0.jar contains public abstract class AbstractAlarmAppender extends org.apache.log4j.AppenderSkeleton 2) SMSService project contains public class SmsAppender extends AbstractAlarmAppender The above works fine. My code compiles, Unit Tests pass and the code is successfully instrumented by cobertura. That means Common-1.0.jar is available in SMSService. In my SMSService/src/conf I have a log4j.xml which contains the following appender name=alarms class=au.com.sc.enterprisesms.SmsAppender param name=Threshold value=ERROR / param name=authentication value=Application/ param name=appname value=SmsApp/ /appender It is the SmsAppender in the log4j.xml that is causing the problem. It's as if Common-1.0.jar is not available to log4j cobertura. Any thoughts or feedback is much appreciated, and again, if you need a sample project, I will be happy to provide one. Thanks Lakshman -Original Message- From: Srilakshmanan, Lakshman Sent: Wednesday, 17 January 2007 5:20 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Maven Users List Subject: RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError Hi Jeff Arnaud Sorry for my silence, but I have been trying to narrow down the problem to provide a small project. I have now narrowed down the problem and I will try and explain it below. If you believe you prefer a small project, I will be more than happy to provide one. 1) Common-1.0.jar contains public abstract class AbstractAlarmAppender extends org.apache.log4j.AppenderSkeleton 2) SMSService project contains public class SmsAppender extends AbstractAlarmAppender The above works fine. That means Common-1.0.jar is available in SMSService. In my SMSService/src/conf I have a log4j.xml which contains the following appender name=alarms class=au.com.sc.enterprisesms.SmsAppender param name=Threshold value=ERROR / param name=authentication value=Application/ param name=appname value=SmsApp/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how do I copy a dependency to a local directory
You may use the maven-dependency-plugin. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError
I'm glad you were able to narrow it down. I haven't had much time to look at it further this week. I will this weekend though. Please create the small project that demonstrates the problem and attach it to a bug report at SourceForge. -Original Message- From: Srilakshmanan, Lakshman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 6:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Maven Users List Subject: RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError Hi Jeff Arnaud, It appears my mail was truncated. Please find the full list below. Could you please confirm whether this is a bug and whether I should file a bug report. Sorry for my silence, but I have been trying to narrow down the problem to provide a small project. I have now narrowed down the problem and I will try and explain it below. If you believe you prefer a small project, I will be more than happy to provide one. 1) Common-1.0.jar contains public abstract class AbstractAlarmAppender extends org.apache.log4j.AppenderSkeleton 2) SMSService project contains public class SmsAppender extends AbstractAlarmAppender The above works fine. My code compiles, Unit Tests pass and the code is successfully instrumented by cobertura. That means Common-1.0.jar is available in SMSService. In my SMSService/src/conf I have a log4j.xml which contains the following appender name=alarms class=au.com.sc.enterprisesms.SmsAppender param name=Threshold value=ERROR / param name=authentication value=Application/ param name=appname value=SmsApp/ /appender It is the SmsAppender in the log4j.xml that is causing the problem. It's as if Common-1.0.jar is not available to log4j cobertura. Any thoughts or feedback is much appreciated, and again, if you need a sample project, I will be happy to provide one. Thanks Lakshman -Original Message- From: Srilakshmanan, Lakshman Sent: Wednesday, 17 January 2007 5:20 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Maven Users List Subject: RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError Hi Jeff Arnaud Sorry for my silence, but I have been trying to narrow down the problem to provide a small project. I have now narrowed down the problem and I will try and explain it below. If you believe you prefer a small project, I will be more than happy to provide one. 1) Common-1.0.jar contains public abstract class AbstractAlarmAppender extends org.apache.log4j.AppenderSkeleton 2) SMSService project contains public class SmsAppender extends AbstractAlarmAppender The above works fine. That means Common-1.0.jar is available in SMSService. In my SMSService/src/conf I have a log4j.xml which contains the following appender name=alarms class=au.com.sc.enterprisesms.SmsAppender param name=Threshold value=ERROR / param name=authentication value=Application/ param name=appname value=SmsApp/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Continuum 1.0.3 vs 1.1 trunk
On 1/18/07, Stephen Coy [EMAIL PROTECTED] wrote: I'm setting up continuous integration at a corporate site that has many tens of projects on the go at once. I have set up 1.0.3, but I can see that 1.1 has many features that would make it way more useful in this kind of environment. Does anyone think that a 1.1 trunk build will make life more difficult than it needs to be? I personally am not fussed about whether it's final or not. Most products have bugs, it's just a question of whether or not we can live with them... With that attitude, go for 1.1-SNAPSHOT. :) (And come join us on the development list; we usually try to reserve the user list for discussion of officially released versions.) To get you started, there are instructions on building it (as well as deploying on the Plexus runtime and various servlet containers) on the wiki: http://docs.codehaus.org/display/CONTINUUMUSER/Home -- Wendy
APT Images With URL
The APT format guide here: http://maven.apache.org/guides/mini/guide-apt-format.html speaks only of image display. This is done like: [path/to/image.ext] Is there any possibility of having a link on the image? Is there a possibility of somehow having HTML code rendered from inside APT? This would ease most of my frustrations with APT. -- Regards, Subhash Chandran S http://wizcrypt.wiztools.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Continuum 1.0.3 vs 1.1 trunk
It's already up on my PowerBook. Thanks for the Tomcat notes on the wiki btw. I'm sorely tempted... On 19/1/07 2:14 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On 1/18/07, Stephen Coy [EMAIL PROTECTED] wrote: I'm setting up continuous integration at a corporate site that has many tens of projects on the go at once. I have set up 1.0.3, but I can see that 1.1 has many features that would make it way more useful in this kind of environment. Does anyone think that a 1.1 trunk build will make life more difficult than it needs to be? I personally am not fussed about whether it's final or not. Most products have bugs, it's just a question of whether or not we can live with them... With that attitude, go for 1.1-SNAPSHOT. :) (And come join us on the development list; we usually try to reserve the user list for discussion of officially released versions.) To get you started, there are instructions on building it (as well as deploying on the Plexus runtime and various servlet containers) on the wiki: http://docs.codehaus.org/display/CONTINUUMUSER/Home
Adding Logo In My Site
Hi, I host my project with BerliOS.de. They have provided this code for placing the logo in my site: a href=http://developer.berlios.de; img src=http://developer.berlios.de/bslogo.php?group_id=0; width=124 height=32 border=0 alt=BerliOS Logo //a https://developer.berlios.de/docman/display_doc.php?docid=55group_id=2 Is there any possibility of getting this generated in APT? -- Regards, Subhash Chandran S http://wiztools.org/project/XML2SpreadSheet/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how do I copy a dependency to a local directory
j:forEach var=lib items=${pom.artifacts} j:set var=dep value=${lib.dependency}/ ant:copy todir=${basedir}/tmp file=${lib.path}/ /j:forEach Can you use that? --Mel On 1/18/07, Beagan, Patrick [EMAIL PROTECTED] wrote: I'm have a project that has a few dependencies. This works great for the compile phase but for my packaging phase, I've created an ant task that packages up all my files locally in a zip to be distributed.I need to copy my dependencies (jars) from the remote repository to a local directory so I can include them in my zip.How do I do this? Thanks.
Re: how do I copy a dependency to a local directory
To do this, you may use the maven-dependency-plugin. http://maven.apache.org/plugins/maven-dependency-plugin/usage.html Hope this helps. Dawn Beagan, Patrick wrote: I'm have a project that has a few dependencies. This works great for the compile phase but for my packaging phase, I've created an ant task that packages up all my files locally in a zip to be distributed.I need to copy my dependencies (jars) from the remote repository to a local directory so I can include them in my zip.How do I do this? Thanks. -- View this message in context: http://www.nabble.com/how-do-I-copy-a-dependency-to-a-local-directory-tf3037253s177.html#a8443914 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: Updated getting started guide
On 1/8/07, drekka [EMAIL PROTECTED] wrote: Hi all, I've just added an update to the getting started wiki page to take a user through a complete setup and configuration using the standalone version of Achiva. You can find it http://docs.codehaus.org/display/MAVENUSER/Getting+Started+with+Archiva HERE in the wiki . As I'm still working out a lot of things and trying them myself, please have a read and add in things I didn't understand or missed. Also want to thank Eric for his blog on the same thing which was a big help and you guys for helping me get Archiva going. (Thread starred in GMail so I don't miss it). Life's forced me to miss a couple of Friday's working on Archiva docs/testing (business trip + my laptop for such things is dead *gnashing of teeth*), so I'll be aiming to do this next Friday. Thanks for not giving up on Archiva Derek, and for contributing back :) Hen
Re: Generating a Maven2 Repository RPM Mirror
Carlos, U Da Man! I was just looking for that. That's perfect. I want to integrate this with Archiva for signature checking anyways. That way archiva does all the security stuff before the RPM (And Debian, etc.) batch packaging runs. Thanks again, - Ole --- Carlos Sanchez [EMAIL PROTECTED] wrote: archiva has already code that indexes the repo, you may take a look there On 1/18/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hey Wayne, Thanks for the tip. I thought that was the case, just wanted to be sure. Yes, I am planning on generating an RPM mirror of the entire ibiblio repo. So I'll use your approach (Using a mojo) to write the global maven-metadata.xml file. Then suck that into a mojo, that generates the RPM mirror. Meanwhile hopefully archiva will address creating and updating this type of file on the fly, for this type of scenario. Thanks, - Ole --- Wayne Fay [EMAIL PROTECTED] wrote: I'm not aware of any file which contains this kind of information. All of this information already exists in the local repo itself -- the repo is the documentation in and of itself -- you just have to look at every single file in the repo to build it up. The checksums are in the .sha1 and .md5 files and the *.pom files will give you the information you need about the artifactId, groupId, and version. So it sounds like step one of your project is to write some code (Perl etc) that scans the local repo and generates this meta-data.xml file you're looking for. Unless of course you're talking about generating a RPM mirror of the Maven repo hosted at ibiblio or another site, which would certainly complicate things a bit. Wayne On 1/17/07, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to generate an RPM mirror of the maven repository. I was hoping to do this by reading something like a meta-data.xml file in the Maven repository, that contains a list of all the projects in the repository, their corresponding artifactId, groupId, and version (And checksum would be really nice if there.). Anywone know if this type of information exists in the Maven repository? Thanks, - Ole Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html - 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] TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. http://tv.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding Logo In My Site
Subhash Chandran wrote: Hi, I host my project with BerliOS.de. They have provided this code for placing the logo in my site: a href=http://developer.berlios.de; img src=http://developer.berlios.de/bslogo.php?group_id=0; width=124 height=32 border=0 alt=BerliOS Logo //a https://developer.berlios.de/docman/display_doc.php?docid=55group_id=2 Is there any possibility of getting this generated in APT? Try adding this into src/site/site.xml. project bannerLeft nameBerliOS.de/name srchttp://developer.berlios.de/bslogo.php?group_id=0/src hrefhttp://developer.berlios.de/href /bannerLeft body links ... ... Good luck - Jiaqi Guo http://www.cyclopsgroup.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: categorizing tests
Dmitry Beransky wrote: Hi, Just finished reading an article on test categorization: http://www-128.ibm.com/developerworks/java/library/j-cq10316/index.html?ca=drs-. Any recommendations how how to implement this in Maven? Thanks D. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Although I don't 100% percent agree with the article, I believe technically multiple test case file pattern can be defined for each sunfire-plugin in multiple profiles. All test cases may still have to stay in one directory if you are OK to categorize them by name pattern or package. http://maven.apache.org/guides/introduction/introduction-to-profiles.html pom.xml could be something like .. profiles profile idtest.category.component/id activation property nametest.category/name valuecomponent/value /property /activation plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration includes include**/*ComponentTest.java/include /includes /configuration /plugin /plugins /profile profile idtest.category.system/id activation property nametest.category/name valuesystem/value /property /activation plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration includes include**/*SystemTest.java/include /includes /configuration /plugin /plugins /profile /profiles ... ... By running mvn test -Dtest.category=component, only *ComponentTest will be invoked. Hope it helps. Regards -- Jiaqi Guo http://www.cyclopsgroup.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding Logo In My Site
poweredBy will probably be more what you want, so it's like the spring and sourceforge icon on http://spring-rich-c.sourceforge.net/ Jiaqi Guo schreef: Subhash Chandran wrote: Hi, I host my project with BerliOS.de. They have provided this code for placing the logo in my site: a href=http://developer.berlios.de; img src=http://developer.berlios.de/bslogo.php?group_id=0; width=124 height=32 border=0 alt=BerliOS Logo //a https://developer.berlios.de/docman/display_doc.php?docid=55group_id=2 Is there any possibility of getting this generated in APT? Try adding this into src/site/site.xml. project bannerLeft nameBerliOS.de/name srchttp://developer.berlios.de/bslogo.php?group_id=0/src hrefhttp://developer.berlios.de/href /bannerLeft body links ... ... Good luck - Jiaqi Guo http://www.cyclopsgroup.org -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding Logo In My Site
Thanks, I got the poweredBy syntax from here: http://svn.sourceforge.net/viewvc/spring-rich-c/trunk/spring-richclient/src/site/site.xml?revision=1633view=markup But why is this not explained here: http://maven.apache.org/guides/mini/guide-site.html I think someone needs to update this. Subhash. On 1/19/07, Geoffrey De Smet [EMAIL PROTECTED] wrote: poweredBy will probably be more what you want, so it's like the spring and sourceforge icon on http://spring-rich-c.sourceforge.net/ Jiaqi Guo schreef: Subhash Chandran wrote: Hi, I host my project with BerliOS.de. They have provided this code for placing the logo in my site: a href=http://developer.berlios.de; img src=http://developer.berlios.de/bslogo.php?group_id=0; width=124 height=32 border=0 alt=BerliOS Logo //a https://developer.berlios.de/docman/display_doc.php?docid=55group_id=2 Is there any possibility of getting this generated in APT? Try adding this into src/site/site.xml. project bannerLeft nameBerliOS.de/name srchttp://developer.berlios.de/bslogo.php?group_id=0/src hrefhttp://developer.berlios.de/href /bannerLeft body links ... ... Good luck - Jiaqi Guo http://www.cyclopsgroup.org -- With kind regards, Geoffrey De Smet - 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]