RE: Need information on maven proxy
I am currently using ntlmaps to authenticate on the NTLM proxy, Maven works fine thought using ntlmaps as a proxy. It is only when i set up maven-proxy to use it, is when i get an 'java.net.ConnectException: Connection refused' error. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thu 5/18/2006 7:47 AM To: Maven Users List Subject: Re: Need information on maven proxy Ask Microsoft for cross-platform Java code that supports NTLM proxies and I'm sure it will be integrated into Maven. ;-) Wayne On 5/17/06, Clifton Craig [EMAIL PROTECTED] wrote: From my knowledge, there is limited Java support for ntlm proxies. Generally only the older outdated versions are supported so you may be out of luck. We have a http proxy the supports basic authentication so I can only be of little help in your situation. My apologies and I wish the best of luck to you. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Wednesday 17 May 2006 3:46 am, Malcolm Wong Ho wrote: i'm trying to use maven-proxy, i have a ntlmaps proxy setup. The maven-proxy.properties file has an entry for the proxy and port, but i get java.net.ConnectException: Connection refused. Any ideas ? -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Tue 5/16/2006 9:40 PM To: Maven Users List Subject: Re: Need information on maven proxy There seems to be a disk corruption problem on codehaus from what I've heard. I'm not sure when it will be available but I can tell you what I know of Maven-proxy. I got it up and running here. I used the war distribution and dropped it into a Jetty instance. I had some trouble understanding how to get things to work through our authenticating in office proxy but finally got it working. If you have a specific question I'd be glad to help. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Tuesday 16 May 2006 12:39 pm, Gautham Pamu wrote: Hi Everyone, Can you send me the links on how to setup maven proxy ? Is this main project website ? Is seems to be down ? Are there any alternate website which have information on maven proxy. http://maven-proxy.codehaus.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or any of its subsidiaries. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. While we do everything possible to protect information from viruses, Faritec accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access and/or downloading of any files which are attached to this e-mail message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services
Re: Internal remote repository setup in Maven 2
Hello again, this is the project pom I use for my project: 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; parent groupIdau.com.company.telephony/groupId artifactIdmaven-base/artifactId version1.0.0/version /parent modelVersion4.0.0/modelVersion groupIdau.com.company.telephony/groupId artifactIdtelephony-test/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameTelephony Artefact/name urlhttp://maven.apache.org/url /project And this is the parent pom, I'm trying to set the repositories here: 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 nameMaven Base Project/name groupIdau.com.company.telephony/groupId artifactIdmaven-base/artifactId packagingpom/packaging version1.0.0/version distributionManagement repository idtelephony-repository/id urlfile:///home/valleg/apps/apache-tomcat-5.5/webapps/ROOT/maven/url /repository /distributionManagement repositories repository idcentral/id urlhttp://localhost:8080/maven/url /repository /repositories pluginRepositories pluginRepository idcentral/id urlhttp://localhost:8080/maven/url /pluginRepository /pluginRepositories dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.12/version scopecompile/scope /dependency /dependencies /project I'm also working with the defaults, meaning that I have no settings.xml and my local repository is set to: /home/user/.m2/repository I'm running Maven 2 in SuSE Linux 10 by the way (don't think it matters though!). This is the output I get when I run mvn clean: [EMAIL PROTECTED]:~/projects/Telephony/telephony-test mvn clean [INFO] Scanning for projects... [INFO] [INFO] Building Telephony Artefact [INFO]task-segment: [clean] [INFO] [INFO] [clean:clean] [INFO] Deleting directory /home/valleg/projects/Telephony/telephony-test/target [INFO] Deleting directory /home/valleg/projects/Telephony/telephony-test/target/classes [INFO] Deleting directory /home/valleg/projects/Telephony/telephony-test/target/test-classes [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu May 18 15:48:50 EST 2006 [INFO] Final Memory: 1M/3M [INFO] And this is the output when I run mvn clean after I delete the contents of my local repository: [EMAIL PROTECTED]:~/projects/Telephony/telephony-test mvn clean [INFO] Scanning for projects... [INFO] [INFO] Building Telephony Artefact [INFO]task-segment: [clean] [INFO] [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Thu May 18 15:50:23 EST 2006 [INFO] Final Memory: 1M/2M [INFO] I would expect that Maven would download all the required artifacts again, but apparently it doesn't. The only thing that gets created in my local repository is this file: /home/user/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/maven-metadata-central.xml The error appears for every goal I try. Also tried setting a mirror in my settings.xml but it didn't work either. What is it that I'm doing wrong? Please help me... Could you possibly try it in your environment and tell me if this settings
[Fwd: Re: Maven2 versus JAXB]
Original-Nachricht Betreff: Re: Maven2 versus JAXB Datum: Thu, 18 May 2006 08:34:32 +0200 Von: Franz Fehringer [EMAIL PROTECTED] An: [EMAIL PROTECTED] Referenzen: [EMAIL PROTECTED] Hello Jonathan, Would id be possible to make the repository also accessible via http (in addition to https)? I sit behind a proxy and have difficulties accessing https sites with Maven2 (http works perfect). Also, why not reorganize the repository making legacy obsolete? Best regards Franz Jonathan Johnson schrieb: Franz, Thank you for finding the dependency version and location problems in the recent JAXB Maven 2 plugin. The versions have all been updated and an updated plugin has been posted. The instructions for using the JAXB Maven 2 plugin are here http://jaxb.dev.java.net/jaxb-maven2-plugin/ - Jonathan -Original Message- From: Franz Fehringer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2006 11:22 AM To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: Maven2 versus JAXB Thanks. The 1.1 option has the slight problem that the referenced poms also still reference the 1.0.2 version, for example https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb- impl-2.0.pom has dependency groupIdjavax.xml.bind/groupId artifactIdactivation/artifactId version1.0.2/version /dependency But for the moment i am stuck with nonworking https proxy support (only http works for me; i wrote another mail about this). Greetings Franz Alexandre Poitras schrieb: On 5/17/06, Franz Fehringer [EMAIL PROTECTED] wrote: Thanks, Now i get (legacy reenabled) D:\projekte\Maven2\iso-appmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [install] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from central [INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for updates from central Downloading: https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Same with mvn -U compile. There is no https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom but https://maven-repository.dev.java.net/repository/javax.activation/poms/activ ation-1.1.pom So it seems the downloadable plugin does not match the directory structure anymore?! Your problem is that before activation 1.1, the license forbidded to deploy it in a global repository. See http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html for more info. So basically, you have two choices, either change the plugin .pom file to depend on the 1.1 release or install the 1.0.2 release manually in your local repository. It should do the trick. Btw. i do not understand "run 'mvn install' on the plugin pom". The plugin contains no pom.xml and without it i cannot run mvn? Ah forget it, I thought the plugin was coming with the source. Greetings Franz Alexandre Poitras schrieb: Your answer is in the download section of your link : Download This plugin will be added to the Maven 2 ibiblio repository and also to the java.net repository but we would like your feedback first. If you have praises or problems with this plugin please post your email by joining the mailing list for [EMAIL PROTECTED] by registering here https://jaxb.dev.java.net/servlets/ProjectMailingListList. In the meantime you can download the lastest plugin version from this link and expand the .zip contents into your local %HOMEPATH%/.m2/repository directory. So download it and run 'mvn install' on the plugin pom. Should work afterward. On 5/17/06, Franz Fehringer [EMAIL PROTECTED] wrote: Hello, I followed the instructions on https://jaxb.dev.java.net/jaxb-maven2-plugin/
Re: Maven2 versus JAXB
Hello Jonathan, I think the explanations on https://jaxb.dev.java.net/jaxb-maven2-plugin/ are still incorrect. dependency groupIdjaxb/groupId artifactIdjaxb-api/artifactId version2.0-SNAPSHOT/version /dependency should read dependency groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId version2.0/version /dependency and dependency groupIdjaxb/groupId artifactIdjaxb-impl/artifactId version2.0-SNAPSHOT/version /dependency /dependencies should read dependency groupIdcom.sun.xml.bind/groupId artifactIdjaxb-impl/artifactId version2.0/version /dependency /dependencies Greetings Franz Jonathan Johnson schrieb: Franz, Thank you for finding the dependency version and location problems in the recent JAXB Maven 2 plugin. The versions have all been updated and an updated plugin has been posted. The instructions for using the JAXB Maven 2 plugin are here http://jaxb.dev.java.net/jaxb-maven2-plugin/ - Jonathan -Original Message- From: Franz Fehringer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2006 11:22 AM To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: Maven2 versus JAXB Thanks. The 1.1 option has the slight problem that the referenced poms also still reference the 1.0.2 version, for example https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb- impl-2.0.pom has dependency groupIdjavax.xml.bind/groupId artifactIdactivation/artifactId version1.0.2/version /dependency But for the moment i am stuck with nonworking https proxy support (only http works for me; i wrote another mail about this). Greetings Franz Alexandre Poitras schrieb: On 5/17/06, Franz Fehringer [EMAIL PROTECTED] wrote: Thanks, Now i get (legacy reenabled) D:\projekte\Maven2\iso-appmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [install] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from central [INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for updates from central Downloading: https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Same with mvn -U compile. There is no https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom but https://maven-repository.dev.java.net/repository/javax.activation/poms/activ ation-1.1.pom So it seems the downloadable plugin does not match the directory structure anymore?! Your problem is that before activation 1.1, the license forbidded to deploy it in a global repository. See http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html for more info. So basically, you have two choices, either change the plugin .pom file to depend on the 1.1 release or install the 1.0.2 release manually in your local repository. It should do the trick. Btw. i do not understand "run 'mvn install' on the plugin pom". The plugin contains no pom.xml and without it i cannot run mvn? Ah forget it, I thought the plugin was coming with the source. Greetings Franz Alexandre Poitras schrieb: Your answer is in the download section of your link : Download This plugin will be added to the Maven 2 ibiblio repository and also to the java.net repository but we would like your feedback first. If you have praises or problems with this plugin please post your email by joining the mailing list for [EMAIL PROTECTED] by registering here https://jaxb.dev.java.net/servlets/ProjectMailingListList. In the meantime you can download the lastest plugin version from this link and expand the .zip contents into your local %HOMEPATH%/.m2/repository directory. So download it and run 'mvn install' on the plugin pom. Should work afterward. On 5/17/06, Franz Fehringer [EMAIL PROTECTED] wrote: Hello, I followed the instructions on https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success. On mvn
Re: Maven2 versus JAXB
Also, in the downloaded maven-jaxb-plugin-1.0.pom dependency groupIdjaxb/groupId artifactIdjsr173_api/artifactId version1.0/version /dependency should read dependency groupIdjavax.xml.bind/groupId artifactIdjsr173_api/artifactId version1.0/version /dependency Is btw the ant dependency really needed? Greetings Franz Franz Fehringer schrieb: Hello Jonathan, I think the explanations on https://jaxb.dev.java.net/jaxb-maven2-plugin/ are still incorrect. dependency groupIdjaxb/groupId artifactIdjaxb-api/artifactId version2.0-SNAPSHOT/version /dependency should read dependency groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId version2.0/version /dependency and dependency groupIdjaxb/groupId artifactIdjaxb-impl/artifactId version2.0-SNAPSHOT/version /dependency /dependencies should read dependency groupIdcom.sun.xml.bind/groupId artifactIdjaxb-impl/artifactId version2.0/version /dependency /dependencies Greetings Franz Jonathan Johnson schrieb: Franz, Thank you for finding the dependency version and location problems in the recent JAXB Maven 2 plugin. The versions have all been updated and an updated plugin has been posted. The instructions for using the JAXB Maven 2 plugin are here http://jaxb.dev.java.net/jaxb-maven2-plugin/ - Jonathan -Original Message- From: Franz Fehringer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2006 11:22 AM To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: Maven2 versus JAXB Thanks. The 1.1 option has the slight problem that the referenced poms also still reference the 1.0.2 version, for example https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb- impl-2.0.pom has dependency groupIdjavax.xml.bind/groupId artifactIdactivation/artifactId version1.0.2/version /dependency But for the moment i am stuck with nonworking https proxy support (only http works for me; i wrote another mail about this). Greetings Franz Alexandre Poitras schrieb: On 5/17/06, Franz Fehringer [EMAIL PROTECTED] wrote: Thanks, Now i get (legacy reenabled) D:\projekte\Maven2\iso-appmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [install] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from central [INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for updates from central Downloading: https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Same with mvn -U compile. There is no https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation- 1.0.2.pom but https://maven-repository.dev.java.net/repository/javax.activation/poms/activ ation-1.1.pom So it seems the downloadable plugin does not match the directory structure anymore?! Your problem is that before activation 1.1, the license forbidded to deploy it in a global repository. See http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html for more info. So basically, you have two choices, either change the plugin .pom file to depend on the 1.1 release or install the 1.0.2 release manually in your local repository. It should do the trick. Btw. i do not understand "run 'mvn install' on the plugin pom". The plugin contains no pom.xml and without it i cannot run mvn? Ah forget it, I thought the plugin was coming with the source. Greetings Franz Alexandre Poitras schrieb: Your answer is in the download section of your link : Download This plugin will be added to the Maven 2 ibiblio repository and also to the java.net repository but we would like your feedback first. If you have praises or problems with this plugin please post your email by joining the mailing list for [EMAIL PROTECTED] by
maven-changes-plugin
This link http://maven.apache.org/plugins/maven-changes-plugin at http://maven.apache.org/plugins/index.html does not work. I wanted to found out why icons besides each action in changes report are missing. Are there different values for attribute type (element action) now? It seems add, fix and delete don't work. Also table is not drawn nicely aligned. -Borut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
http://repo.mergere.com/maven2/javax/xml/
Hello, Now that the JAXB 2.0 release from Sun is out, would it be possible to update http://repo.mergere.com/maven2/javax/xml/ accordingly? Thanks Franz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NullPointerException in Release Plugin 2.0-beta-4
Do you have a version defined in your pom? Emmanuel Stefan Hübner a écrit : Hi folks, I'm getting a NullPointerException when invoking mvn release:prepare -DdryRun=true (don't know, if the dryRun-parameter makes any difference). See the stack trace below. Any thoughts on this issue? cheers, Stefan java.lang.NullPointerException at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.updateDomVersion(AbstractRewritePomsPhase.java:388) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.rewriteExtensions(AbstractRewritePomsPhase.java:352) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:230) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:165) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.simulate(AbstractRewritePomsPhase.java:529) at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:135) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) 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) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NullPointerException in Release Plugin 2.0-beta-4
no, but the latest version of maven-release-plugin in my local repository is 2.0-beta-4 Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: Do you have a version defined in your pom? Emmanuel Stefan Hübner a écrit : Hi folks, I'm getting a NullPointerException when invoking mvn release:prepare -DdryRun=true (don't know, if the dryRun-parameter makes any difference). See the stack trace below. Any thoughts on this issue? cheers, Stefan java.lang.NullPointerException at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.updateDomVersion(AbstractRewritePomsPhase.java:388) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.rewriteExtensions(AbstractRewritePomsPhase.java:352) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:230) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:165) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.simulate(AbstractRewritePomsPhase.java:529) at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:135) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) 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) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal remote repository setup in Maven 2
Gustavo Valle wrote: repositories repository idcentral/id urlhttp://localhost:8080/maven/url /repository /repositories pluginRepositories pluginRepository idcentral/id urlhttp://localhost:8080/maven/url /pluginRepository /pluginRepositories I believe by doing this you are overriding the default location for the central repository, and forcing maven to look for everything on localhost. This won't work because it will fail to find its plugins there unless youve primed it already. What you want, from what you've described is a web app that will act as a caching Maven repository. Maven won't do this itself. If you override the central repository then the override location(s) are the only places maven will look for artifacts. The solution is Maven Proxy from codehaus. When you request an artifact from Maven Proxy, it looks at a local (to it) repository and serves it from there, or if it can't, goes to an actual remote repository to fetch it. Sadly, the site is down currently, and likely till the end of the week. The google cache of the main page is here: http://66.102.7.104/search?q=cache:zfDNHXmX7sIJ:maven-proxy.codehaus.org/+maven+proxy+site:codehaus.orghl=enlr=client=firefox-astrip=1 Personally I recommend using an installed copy of Maven Proxy as a mirror for central (specified either in your POM or your settings.xml) and using a seperate internal repository for internally developed projects. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 versus JAXB
Please note, that the policy for the groupId is javax.xml and com.sun.xml only. See also http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry From: Franz Fehringer Sent: Thursday, May 18, 2006 8:55 AM To: [EMAIL PROTECTED] Cc: Maven Users List Subject: Re: Maven2 versus JAXB Also, in the downloaded maven-jaxb-plugin-1.0.pom dependency groupIdjaxb/groupId artifactIdjsr173_api/artifactId version1.0/version /dependency should read dependency groupIdjavax.xml.bind/groupId artifactIdjsr173_api/artifactId version1.0/version /dependency Is btw the ant dependency really needed? Greetings Franz Franz Fehringer schrieb: Hello Jonathan, I think the explanations on https://jaxb.dev.java.net/jaxb-maven2-plugin/ are still incorrect. dependency groupIdjaxb/groupId artifactIdjaxb-api/artifactId version2.0-SNAPSHOT/version /dependency should read dependency groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId version2.0/version /dependency and dependency groupIdjaxb/groupId artifactIdjaxb-impl/artifactId version2.0-SNAPSHOT/version /dependency /dependencies should read dependency groupIdcom.sun.xml.bind/groupId artifactIdjaxb-impl/artifactId version2.0/version /dependency /dependencies Greetings Franz Jonathan Johnson schrieb: Franz, Thank you for finding the dependency version and location problems in the recent JAXB Maven 2 plugin. The versions have all been updated and an updated plugin has been posted. The instructions for using the JAXB Maven 2 plugin are here http://jaxb.dev.java.net/jaxb-maven2-plugin/ - Jonathan -Original Message- From: Franz Fehringer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 11:22 AM To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: Maven2 versus JAXB Thanks. The 1.1 option has the slight problem that the referenced poms also still reference the 1.0.2 version, for example https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb- impl-2.0.pom has dependency groupIdjavax.xml.bind/groupId artifactIdactivation/artifactId version1.0.2/version /dependency But for the moment i am stuck with nonworking https proxy support (only http works for me; i wrote another mail about this). Greetings Franz Alexandre Poitras schrieb: On 5/17/06, Franz Fehringer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks, Now i get (legacy reenabled) D:\projekte\Maven2\iso-appmvn -U install [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start
Re: urgent - downloading of snapshot not working, aaaargh!
Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? cheers Pete On 17/05/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Pete, Pete wrote on Wednesday, May 17, 2006 5:52 PM: Jörg, thanks for your reply, but we aren't using versionSNAPSHOT/version we are using version1.0-SNAPSHOT/version on all our artifacts (some of them inherit this from the parent's version though) So I don't think the JIRA applies here ? SNAPSHOT is SNAPSHOT - independent of a version prefix! But you may add your observation about the refreshed metadata.xml. This might be a good hint for the developers. - Jörg - 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: http://repo.mergere.com/maven2/javax/xml/
Franz Fehringer wrote on Thursday, May 18, 2006 9:23 AM: Hello, Now that the JAXB 2.0 release from Sun is out, would it be possible to update http://repo.mergere.com/maven2/javax/xml/ accordingly? Provide appropriate POMs in a bundle and create an issue in JIRA (Project: MEV). - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Relative to content-type, Is their convention for the file in the repository?
I couldn't find anything relating to 'digest', 'hash', 'md5' or 'sha1' at http://www.iana.org/assignments/media-types/ so I'd say text/plain. Indeed some places encode these hashes as base64 and some as hex, so it seems pretty lax. Brad Wayne Fay wrote: pom = text/xml (its just an XML file... I suppose you could use application/pom if you really wanted, but that seems excessive to me) xml = text/xml (this is widely used and seems standard) md5 sha1 = not so sure, but I imagine someone at IETF or W3C has come up with some proposal to specify these Content-Types, so if you Google and find it, report back. Wayne On 5/17/06, Paul Spencer [EMAIL PROTECTED] wrote: Relative to content-type, Is their convention for the file in the repository? File Suggested Extension Content-type - -- *.jar application/java-archive *.pom ? *.xml ? *.md5 ? *.sha1 ? Granted the content type is set in the web server, documenting this will be helpful to anyone setting up an maven repository. I assume this is also true for maven-proxy Paul Spencer - 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: urgent - downloading of snapshot not working, aaaargh!
Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? Can't say, we started serious work with 2.0.4. - Jörg [snip] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NullPointerException in Release Plugin 2.0-beta-4
I didn't talk about release plugin version but about your pom version Emmanuel Stefan Hübner a écrit : no, but the latest version of maven-release-plugin in my local repository is 2.0-beta-4 Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: Do you have a version defined in your pom? Emmanuel Stefan Hübner a écrit : Hi folks, I'm getting a NullPointerException when invoking mvn release:prepare -DdryRun=true (don't know, if the dryRun-parameter makes any difference). See the stack trace below. Any thoughts on this issue? cheers, Stefan java.lang.NullPointerException at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.updateDomVersion(AbstractRewritePomsPhase.java:388) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.rewriteExtensions(AbstractRewritePomsPhase.java:352) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:230) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:165) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102) at org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.simulate(AbstractRewritePomsPhase.java:529) at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:135) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) 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) - 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: NullPointerException in Release Plugin 2.0-beta-4
oh, sorry! But, yes there is a version in my pom: ?xml version=1.0 encoding=UTF-8? project parent artifactIdki-commons-parent/artifactId groupIdki-commons/groupId version1.1/version /parent modelVersion4.0.0/modelVersion groupIdki-commons/groupId artifactIdki-foundation/artifactId nameKI Foundation/name version1.17.2-SNAPSHOT/version ... Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: I didn't talk about release plugin version but about your pom version Emmanuel Stefan Hübner a écrit : no, but the latest version of maven-release-plugin in my local repository is 2.0-beta-4 Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: Do you have a version defined in your pom? Emmanuel
Repost: [m2] surefire classloading issue
Anybody any thoughts on this? If nobody can help me, I will file this as a bug in JIRA if that is ok. regards, Wim -- Forwarded message -- From: Wim Deblauwe [EMAIL PROTECTED] Date: 16-mei-2006 13:43 Subject: [m2] surefire classloading issue To: Maven Users List users@maven.apache.org Hi, I'm using Maven 1, trying to migrate. We are using Betwixt and some of our unit tests fail when run using surefire, but run fine in IntelliJ or Maven 1. Betwixt looks for descriptors with the name of the class + .betwixt to control how something is written out in XML. It uses the construct: myClass.getResource() to find the .betwixt file. E.g. com.mycomp.MyClass - com/mycomp/MyClass.betwixt We have a betwixt file for the java.util.Date class. However, betwixt seems to be unable to pick it up when using surefire. I have created a small test that shows the problem. import junit.framework.TestCase; import java.util.Date; import java.net.URL; public class CLTest extends TestCase { public void testClassloading() { ClassLoader classLoader = getClass().getClassLoader(); System.out.println( classLoader: + classLoader ); URL resource = getClass().getResource( /java/util/Date.betwixt ); System.out.println( resource: + resource ); ClassLoader dateClassLoader = Date.class.getClassLoader(); System.out.println( dateClassLoader: + dateClassLoader ); URL dateResource = Date.class.getResource( /java/util/Date.betwixt ); System.out.println( dateResource: + dateResource ); } } When running this class through IntelliJ, the output is: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt However, when using surefire, I get: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: null any ideas? regards, Wim
RE : Repost: [m2] surefire classloading issue
Try with plugin artifactIdmaven-surefire-plugin/artifactId version2.2/version configuration forkModenever/forkMode /configuration /plugin plugin artifactIdmaven-surefire-plugin/artifactId version2.1.3/version /plugin This two configurations saved me. Probably related to http://jira.codehaus.org/browse/MSUREFIRE-109 (not sure). I have some trouble with spring resources (that's why I use forkModenever/forkMode with 2.2) HTH, -Olivier -Message d'origine- De : Wim Deblauwe [mailto:[EMAIL PROTECTED] Envoyé : jeudi 18 mai 2006 10:13 À : Maven Users List Objet : Repost: [m2] surefire classloading issue Anybody any thoughts on this? If nobody can help me, I will file this as a bug in JIRA if that is ok. regards, Wim -- Forwarded message -- From: Wim Deblauwe [EMAIL PROTECTED] Date: 16-mei-2006 13:43 Subject: [m2] surefire classloading issue To: Maven Users List users@maven.apache.org Hi, I'm using Maven 1, trying to migrate. We are using Betwixt and some of our unit tests fail when run using surefire, but run fine in IntelliJ or Maven 1. Betwixt looks for descriptors with the name of the class + .betwixt to control how something is written out in XML. It uses the construct: myClass.getResource() to find the .betwixt file. E.g. com.mycomp.MyClass - com/mycomp/MyClass.betwixt We have a betwixt file for the java.util.Date class. However, betwixt seems to be unable to pick it up when using surefire. I have created a small test that shows the problem. import junit.framework.TestCase; import java.util.Date; import java.net.URL; public class CLTest extends TestCase { public void testClassloading() { ClassLoader classLoader = getClass().getClassLoader(); System.out.println( classLoader: + classLoader ); URL resource = getClass().getResource( /java/util/Date.betwixt ); System.out.println( resource: + resource ); ClassLoader dateClassLoader = Date.class.getClassLoader(); System.out.println( dateClassLoader: + dateClassLoader ); URL dateResource = Date.class.getResource( /java/util/Date.betwixt ); System.out.println( dateResource: + dateResource ); } } When running this class through IntelliJ, the output is: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt However, when using surefire, I get: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: null any ideas? regards, Wim This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cannot find jar
Does anyone know which jar in the maven repo contains the following package? org.apache.avalon.framework.configuration Thanks!
Cannot find jar
Does anyone know which jar in the maven repo contains the following package? org.apache.avalon.framework.configuration Thanks!
Re: Cannot find jar
http://mvnrepository.com/ (there is another one too) Adrian Pillinger wrote: Does anyone know which jar in the maven repo contains the following package? org.apache.avalon.framework.configuration Thanks! -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Relative to content-type, Is their convention for the file in the repository?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, md5 sha1 = not so sure, but I imagine someone at IETF or W3C has come up with some proposal to specify these Content-Types, so if you Google and find it, report back. What about text/plain? The hashes are simple text files as far as I have seen... Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEbDRvQvObkgCcDe0RAm1zAKCyxZwkLdwSdLUKRE9zMCZoc2TWiQCfcQWu 72VEsOmlILVErKMteLLTiVg= =4st0 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : Repost: [m2] surefire classloading issue
It does not help. I still have the same problem. Using version 2.1.3, I see that the URLClassLoader is used in stead of the IsolatedClassLoader in version 2.2, but it does not change anything for my test. the problem might be related to the one you mention, but it is not really the same so I created a new problem in JIRA: http://jira.codehaus.org/browse/MSUREFIRE-115 regards, Wim 2006/5/18, Olivier Lamy [EMAIL PROTECTED]: Try with plugin artifactIdmaven-surefire-plugin/artifactId version2.2/version configuration forkModenever/forkMode /configuration /plugin plugin artifactIdmaven-surefire-plugin/artifactId version2.1.3/version /plugin This two configurations saved me. Probably related to http://jira.codehaus.org/browse/MSUREFIRE-109 (not sure). I have some trouble with spring resources (that's why I use forkModenever/forkMode with 2.2) HTH, -Olivier -Message d'origine- De : Wim Deblauwe [mailto:[EMAIL PROTECTED] Envoyé : jeudi 18 mai 2006 10:13 À : Maven Users List Objet : Repost: [m2] surefire classloading issue Anybody any thoughts on this? If nobody can help me, I will file this as a bug in JIRA if that is ok. regards, Wim -- Forwarded message -- From: Wim Deblauwe [EMAIL PROTECTED] Date: 16-mei-2006 13:43 Subject: [m2] surefire classloading issue To: Maven Users List users@maven.apache.org Hi, I'm using Maven 1, trying to migrate. We are using Betwixt and some of our unit tests fail when run using surefire, but run fine in IntelliJ or Maven 1. Betwixt looks for descriptors with the name of the class + .betwixt to control how something is written out in XML. It uses the construct: myClass.getResource() to find the .betwixt file. E.g. com.mycomp.MyClass - com/mycomp/MyClass.betwixt We have a betwixt file for the java.util.Date class. However, betwixt seems to be unable to pick it up when using surefire. I have created a small test that shows the problem. import junit.framework.TestCase; import java.util.Date; import java.net.URL; public class CLTest extends TestCase { public void testClassloading() { ClassLoader classLoader = getClass().getClassLoader(); System.out.println( classLoader: + classLoader ); URL resource = getClass().getResource( /java/util/Date.betwixt ); System.out.println( resource: + resource ); ClassLoader dateClassLoader = Date.class.getClassLoader(); System.out.println( dateClassLoader: + dateClassLoader ); URL dateResource = Date.class.getResource( /java/util/Date.betwixt ); System.out.println( dateResource: + dateResource ); } } When running this class through IntelliJ, the output is: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt However, when using surefire, I get: classLoader: [EMAIL PROTECTED] resource: file:/C:/javatests/surefire-test/target/classes/java/util/Date.betwixt dateClassLoader: null dateResource: null any ideas? regards, Wim This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build error
Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
Hi, Simply there's no dist plugin in maven 2. To install an artifact try: 'mvn install' (which is a shortcut for mvn install:install) instead. Regards, Jakub On Thu, 18 May 2006 12:24:15 +0300, Evi wrote Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
Are you sure that jetspeed has a maven 2 build ? Isn't it a maven 1 ? Arnaud On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/ http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/ They use maven 1. Arnaud On 5/18/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Are you sure that jetspeed has a maven 2 build ? Isn't it a maven 1 ? Arnaud On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Not Resolving Dependencies
The problem has been solved on the dev list, Ole was specifying a runtime scope instead of relying on the default one (compiling) On 5/18/06, Wayne Fay [EMAIL PROTECTED] wrote: Perhaps try mvn -o for offline mode? Since problem just started recently, maybe it is related to the various repos being down etc? Wayne On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Stefan, Thanks for the tips. It's not just myfaces that are not resolving, but any dependency. I've tried it with other dependencies and maven says it can't find the packages. The strange thing is that it was working fine before, and this only started happening a yesterday. Thanks for trying though. Cheers, - Ole --- Stefan Hübner [EMAIL PROTECTED] wrote: make sure to check this out: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html cheers, Stefan 2006/5/18, Stefan Hübner [EMAIL PROTECTED]: Bruno, I first run the eclipse plugin and eclipse is able to load the dependencies. I then attempt to install, and the maven compiler gives me messages like this: /home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29] package javax.faces.component does not exist so, does this mean, that your project depends upon JSF? if so, the artifact javax.faces:jsf-api - as found in maven's central repository - can't actually be downloaded. Reason is, there's just a placeholder POM in the repo because of license considerations. this thought, the jsf-library shouldn't be referenced by eclipse either. If it does, does eclipse reference to a jar in your local maven repo or somewhere else? So eclipse sees the dependencies in the repository, but maven does not. the eclipse-plugin might have told you, to download the jsf-api.jar manually, because that JAR can't be found in the global repository. you might have a second look on the eclipse-plugin's output. just my 2c - may be, I'm misleaded Stefan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange exception when building Project
Hi, I have a project, that is defined as a 'simple' JAR, but for some reason it doesn't build correct. It's part of a larger project, where all my other modules build without problems, all based on similar POM's... Maven's output looks like this: [INFO] [INFO] Building Hermes Person - Test module [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean] [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/classes [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 3 source files to /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/test-classes [INFO] [cargo:start {execution: start}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 starting... [INFO] [talledLocalContainer] JBoss 4.0.3 started on port [8080] [INFO] [surefire:test] [INFO] Surefire report directory: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/surefire-reports --- T E S T S --- Running at.cfc.hermes.person.logging.LoggingTest log4j:WARN No appenders could be found for logger (at.cfc.hermes.person.logging.LoggingTest). log4j:WARN Please initialize the log4j system properly. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec Running at.cfc.hermes.person.test.ServletTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.061 sec FAILURE! Running at.cfc.hermes.person.test.HttpUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.149 sec Results : Tests run: 6, Failures: 0, Errors: 1, Skipped: 0 [ERROR] There are test failures. [INFO] [cargo:stop {execution: stop}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 is stopping... [INFO] [talledLocalContainer] JBoss 4.0.3 is stopped [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/hermes-person-test-0.0.1.jar [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM
Re: Adding Maven Plugins
Just to add a little bit of info on this, when you specify a plugin in your pom, you do it in the build section. It has one main purpose - configuring the plugin use. You don't need to specify every plugins you use if you use the default configuration values, Maven 2 is able to figure it out by itself. So don't worry about it for the moment. People are a bit scared at first because Maven 2 is pretty smart and rely on the Convention over configuration principle. Have fun! On 5/18/06, Wayne Fay [EMAIL PROTECTED] wrote: A dependency is something your project needs during compilation, testing, or runtime. A plugin is something you want Maven to run during compilation, testing, packaging, etc to do *something* to your project/code. So your project might have a *dependency* on spring core. And it might use the *plugin* axistools-maven-plugin to generate WSDL out of your Java, or Java out of your WSDL. And it might use the *report* javancss-maven-plugin to report on lines of code in your project etc. I have to imagine this is all covered in the M2 book mentioned previously. Can't quote a specific page though... So keep reading. ;-) Wayne On 5/17/06, Andrew Kreps [EMAIL PROTECTED] wrote: The default location of your local repository is home directory/.m2/repository, and you can walk the tree there to see what has been downloaded. home directory in Windows XP is typically c:\documents and settings\username. You should also try running mvn with the -X option, which prints out debug information and makes the process easier to understand. For example: mvn -X jar:jar On 5/17/06, Hycel Taylor [EMAIL PROTECTED] wrote: So, I'm the one who added the dependency to my pom. However, when I executed the command, mvn jar:jar, I did not see any messages that it was downloading the spring core plugin. So, I have two questions: 1) Where can I look to verify that the plugin has been downloaded? 2) What's the difference in defining a plugin as apposed to a dependency? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: urgent - downloading of snapshot not working, aaaargh!
Pete, The issue is only with parent pom which declare a snapshot version. Other than that, Maven handles snapshot without any problem. I was having the same issue but I wasn't able to isolate the bug so thank Jörg, it definitely explains some rare but weird issues I was facing recently. On 5/18/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? Can't say, we started serious work with 2.0.4. - Jörg [snip] - 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: Strange exception when building Project
Please post the POM because it's hard to help without it :) On 5/18/06, Roland Asmann [EMAIL PROTECTED] wrote: Hi, I have a project, that is defined as a 'simple' JAR, but for some reason it doesn't build correct. It's part of a larger project, where all my other modules build without problems, all based on similar POM's... Maven's output looks like this: [INFO] [INFO] Building Hermes Person - Test module [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean] [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/classes [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 3 source files to /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/test-classes [INFO] [cargo:start {execution: start}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 starting... [INFO] [talledLocalContainer] JBoss 4.0.3 started on port [8080] [INFO] [surefire:test] [INFO] Surefire report directory: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/surefire-reports --- T E S T S --- Running at.cfc.hermes.person.logging.LoggingTest log4j:WARN No appenders could be found for logger (at.cfc.hermes.person.logging.LoggingTest). log4j:WARN Please initialize the log4j system properly. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec Running at.cfc.hermes.person.test.ServletTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.061 sec FAILURE! Running at.cfc.hermes.person.test.HttpUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.149 sec Results : Tests run: 6, Failures: 0, Errors: 1, Skipped: 0 [ERROR] There are test failures. [INFO] [cargo:stop {execution: stop}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 is stopping... [INFO] [talledLocalContainer] JBoss 4.0.3 is stopped [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../hermes-person-test/target/hermes-person-test-0.0.1.jar [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
third party jars in local repository only
Hello, I'm using Maven 2.0.4 and i have trouble in building a local repository. After having installed some third party jars to my local repository, using... mvn install:install-file -Dfile=path-to-file -DgroupId=group-id \ -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging ...the correct directories are created and the jar is copied but I've noticed that no POMs file are created (do I have to create them manually, to declare their transitive dependencies?). In addition maven tries to download then from ibiblio each time I run a compilation (and of course it fails to find them). But the compilation is successful. Btw, these jars comes from the Jboss application server (ejbs API and web services). Do I need a true remote repository, referenced in settings.xml ? Or is a local repository sufficient for playing with third party jars ? Thanks.
Re: [m2] phase skipping in release plugin?
I don't think it's possible at the moment but I would really see a filtering section as a nice feature to have. This way you could tell the release plugin that you are ok with this dependency being a snapshot. I just filled a JIRA issue on this : http://jira.codehaus.org/browse/MRELEASE-111 On 5/17/06, Mark Hobson [EMAIL PROTECTED] wrote: Hi there, I've just tried to use the lovely new release plugin, but discovered I can't due to be reliant on SNAPSHOT dependencies. Normally I'd agree this is a bad thing, but the dependency in question is a build extension - a locally hosted patched wagon webdav, until WAGON-48 is fixed. So the question is: do you think it's reasonable to request mojo params to bypass specific phases of the release workflow? For my scenario I'm thinking something like: mvn -Drelease.phase.snapshots.skip=true release:prepare No worries if this gets shot down, I'll just have to persevere with manual releases ;) Cheers, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: third party jars in local repository only
I think it's because you forgot -DgeneratePom=true. Should fix the problem. Or you can always write the pom by hand if you need to specify some transitive dependencies and specify it using -DpomFile=mypom. It's more work but more reliable :) Another advice, keep a fresh copy of your files or use an internal corporate repository because it's hard to remember exactly what you have installed in there and so what you need to start building your project on another desktop. Hope it's help! On 5/18/06, Fabien Benoit [EMAIL PROTECTED] wrote: Hello, I'm using Maven 2.0.4 and i have trouble in building a local repository. After having installed some third party jars to my local repository, using... mvn install:install-file -Dfile=path-to-file -DgroupId=group-id \ -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging ...the correct directories are created and the jar is copied but I've noticed that no POMs file are created (do I have to create them manually, to declare their transitive dependencies?). In addition maven tries to download then from ibiblio each time I run a compilation (and of course it fails to find them). But the compilation is successful. Btw, these jars comes from the Jboss application server (ejbs API and web services). Do I need a true remote repository, referenced in settings.xml ? Or is a local repository sufficient for playing with third party jars ? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: urgent - downloading of snapshot not working, aaaargh!
I have just tried a simple new project (with no parent). Did a mvn deploy on this. Then set up a new simple jar project and declared a dependency to above. But again the newly deploy snapshots don't get downloaded (not after the initial download) Are snapshots working for anyone ? On 18/05/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? Can't say, we started serious work with 2.0.4. - Jörg [snip] - 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: Legacy repository snapshot deploy
You can't do both but if you are ok with having only the latest version available, you can tweak the distributionManagement/repository/uniqueVersion/ element in your pom. Set the value to true. On 5/17/06, Eric White [EMAIL PROTECTED] wrote: I'm starting to migrate my maven1 projects over to maven2. I need to publish snapshot artifacts to a maven1 repository from a maven 2 build. I have my repo set up in legacy mode, and the artifact publishes and converts the snapshot to a date encoded version number just like it's supposed to. Cool. Is there a graceful way to get it to publish the -SNAPSHOT file name as well so my maven1 projects can use the artifact? Thanks. -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: urgent - downloading of snapshot not working, aaaargh!
Weird, when you use the -U option on the command line, does it work? On 5/18/06, Pete [EMAIL PROTECTED] wrote: I have just tried a simple new project (with no parent). Did a mvn deploy on this. Then set up a new simple jar project and declared a dependency to above. But again the newly deploy snapshots don't get downloaded (not after the initial download) Are snapshots working for anyone ? On 18/05/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? Can't say, we started serious work with 2.0.4. - Jörg [snip] - 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: urgent - downloading of snapshot not working, aaaargh!
Also try to delete the metadata file in your local repository, I don't know why but it has fixed this kind of trouble for me in the past. I agree with you, snapshots handling seems weird lately... Maybe you're right and this is a regression bug of Maven 2.0.4. On 5/18/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Weird, when you use the -U option on the command line, does it work? On 5/18/06, Pete [EMAIL PROTECTED] wrote: I have just tried a simple new project (with no parent). Did a mvn deploy on this. Then set up a new simple jar project and declared a dependency to above. But again the newly deploy snapshots don't get downloaded (not after the initial download) Are snapshots working for anyone ? On 18/05/06, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? Can't say, we started serious work with 2.0.4. - Jörg [snip] - 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]
Announce: New european (Amsterdam, NL) Maven 2.0 mirror
I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherlands. The mirror is located at http://maven.sateh.com/repository Full announcement at: http://stefan.arentz.nl/2006/05/18/new-maven-repository/ The speed increase for me is now more than 12x. Greetings to my fellow european Maven 2.0 users :-) S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
As Arnaud pointed out jetspeed is using maven 1 as a build tool. I just saw you executed 'mvn ...' which is the maven 2 exeutable, hence my previous answer. You need to switch to maven 1 to build jetspeed. The command to build jetspeed from source is 'maven war' as found here: http://portals.apache.org/jetspeed-1/install.html#Installation -Tim Tim Kettler schrieb: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - 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: Strange exception when building Project
I just figured it out! I was using clover, both in my current POM and in the parent-POM, but since I didn't give them seperate ID's (I wanted to overwrite the parent's declaration) they ran during the wrong lifecycles! Now that both have an ID, the problem is solved! Roland On Thursday 18 May 2006 12:58, Alexandre Poitras wrote: Please post the POM because it's hard to help without it :) On 5/18/06, Roland Asmann [EMAIL PROTECTED] wrote: Hi, I have a project, that is defined as a 'simple' JAR, but for some reason it doesn't build correct. It's part of a larger project, where all my other modules build without problems, all based on similar POM's... Maven's output looks like this: [INFO] - --- [INFO] Building Hermes Person - Test module [INFO]task-segment: [clean, install] [INFO] - --- [INFO] [clean:clean] [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target/classes [INFO] Deleting directory /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target/test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 3 source files to /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target/test-classes [INFO] [cargo:start {execution: start}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 starting... [INFO] [talledLocalContainer] JBoss 4.0.3 started on port [8080] [INFO] [surefire:test] [INFO] Surefire report directory: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target/surefire-reports --- T E S T S --- Running at.cfc.hermes.person.logging.LoggingTest log4j:WARN No appenders could be found for logger (at.cfc.hermes.person.logging.LoggingTest). log4j:WARN Please initialize the log4j system properly. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec Running at.cfc.hermes.person.test.ServletTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.061 sec FAILURE! Running at.cfc.hermes.person.test.HttpUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.149 sec Results : Tests run: 6, Failures: 0, Errors: 1, Skipped: 0 [ERROR] There are test failures. [INFO] [cargo:stop {execution: stop}] [INFO] [talledLocalContainer] Parsed JBoss version = [4.0.3] [INFO] [talledLocalContainer] JBoss 4.0.3 is stopping... [INFO] [talledLocalContainer] JBoss 4.0.3 is stopped [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/asr/Projects/Hermes/workspace-hermes/hermes/../hermes-person/../her mes-person-test/target/hermes-person-test-0.0.1.jar [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting.
RE: Cannot find lifecycle mapping for packaging: 'sar'
I think you need to define the sar package type as an extension in components.xml. Since there's already a sar plugin which also makes available sar as a package type you could check the sources of the jboss-sar-maven-plugin at codehaus.org. -Oorspronkelijk bericht- Van: Stefan Arentz [mailto:[EMAIL PROTECTED] Verzonden: Sunday, May 14, 2006 7:07 PM Aan: Maven Users List Onderwerp: Cannot find lifecycle mapping for packaging: 'sar' I created a simple plugin to create SAR archives (JBoss Service Archive). It is basically a jar file with a META-INF/jboss-service.xml. The maven-ejb-plugin looked like a good candidate for a template so I used that and modified it. My maven-sar-plugin succesfully builds and installs in the local repository. However, when I try to actually use it to package a SAR, I get the following error: [ERROR] BUILD ERROR [INFO] [INFO] Cannot find lifecycle mapping for packaging: 'sar'. Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingsar. Is there anything I need to do before maven will 'see' my new plugin? Also, the last error message is a bit odd or does it simply miss a : in between ...LifecycleMapping and sar ? S. - 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: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
Stefan, Your content types are not set correctly. See the thread titled Relative to content-type, Is their convention for the file in the repository? Paul Spencer Stefan Arentz wrote: I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherlands. The mirror is located at http://maven.sateh.com/repository Full announcement at: http://stefan.arentz.nl/2006/05/18/new-maven-repository/ The speed increase for me is now more than 12x. Greetings to my fellow european Maven 2.0 users :-) S. - 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: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
Great news!!! Just tested and the downloads are a lot faster now. Just one note. In the settings.xml example in your announcement you forgot the closing tags for id, name, url and mirrorOf. -Tim Stefan Arentz schrieb: I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherlands. The mirror is located at http://maven.sateh.com/repository Full announcement at: http://stefan.arentz.nl/2006/05/18/new-maven-repository/ The speed increase for me is now more than 12x. Greetings to my fellow european Maven 2.0 users :-) S. - 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: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
Stefan, Your content types are not set correctly. See the thread titled Relative to content-type, Is their convention for the file in the repository? Paul Spencer Stefan Arentz wrote: I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherlands. The mirror is located at http://maven.sateh.com/repository Full announcement at: http://stefan.arentz.nl/2006/05/18/new-maven-repository/ The speed increase for me is now more than 12x. Greetings to my fellow european Maven 2.0 users :-) S. - 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]
Using Maven behind a proxy.
I'm having a tough time creating an archetype using Maven 2.0.4 I've attached the error trace in a txt file. I'm behind a firewall and this is how my settings.xml look like, ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocolhttp/protocol usernameuser/username passwordpassword/password port80/port hostip-address/host /proxy /proxies /settings I cannot figure out whats wrong with current set-up. Any pointers would be greatly apprreciated. Thanks. CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - IGNORING [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.apache.maven.plugins - IGNORING. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - IGNORING [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.codehaus.mojo - IGNORING. [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '201835b1cb20cbeec4d8dbbc40248c43ef95ba1c'; remote = 'TITLEError/TITLE BODY H1Error/H1 FW-1' - IGNORING [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'C:\Documents and Settings\deep_mistry.INFBOA\.m2\repository\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central.xml': start tag not allowed in epilog but got B (position: END_TAG seen TITLEError/TITLE\nB... @2:3) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for 'org.apache.maven.plugins:maven-archetype-plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-archetype-plugin:pom': Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'C:\Documents and Settings\deep_mistry.INFBOA\.m2\repository\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central.xml': start tag not allowed in epilog but got B (position: END_TAG seen TITLEError/TITLE\nB... @2:3) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1261) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517) at
Re: NullPointerException in Release Plugin 2.0-beta-4
The pb seems to be in extension rewriting. Do you have some extensions in your poms? Do you have a version for them? Emmanuel Stefan Hübner a écrit : oh, sorry! But, yes there is a version in my pom: ?xml version=1.0 encoding=UTF-8? project parent artifactIdki-commons-parent/artifactId groupIdki-commons/groupId version1.1/version /parent modelVersion4.0.0/modelVersion groupIdki-commons/groupId artifactIdki-foundation/artifactId nameKI Foundation/name version1.17.2-SNAPSHOT/version ... Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: I didn't talk about release plugin version but about your pom version Emmanuel Stefan Hübner a écrit : no, but the latest version of maven-release-plugin in my local repository is 2.0-beta-4 Stefan 2006/5/18, Emmanuel Venisse [EMAIL PROTECTED]: Do you have a version defined in your pom? Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
On 5/18/06, Paul Spencer [EMAIL PROTECTED] wrote: Stefan, Your content types are not set correctly. See the thread titled Relative to content-type, Is their convention for the file in the repository? Got it. Addes types for .pom, .sha1, .md5 and .jar. S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Great news!!! Just tested and the downloads are a lot faster now. But you are on the 'other' contintent! :-) I think what Maven needs is a bunch of extra mirrors in the US too. And maybe a smarter downloader module that figures out the closest or least busy mirror. Just one note. In the settings.xml example in your announcement you forgot the closing tags for id, name, url and mirrorOf. Fixed :-) S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
Stefan Arentz schrieb: On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Great news!!! Just tested and the downloads are a lot faster now. But you are on the 'other' contintent! :-) If germany is the 'other' continent then I am :-) Universities here can get an .edu domain too. I think what Maven needs is a bunch of extra mirrors in the US too. And maybe a smarter downloader module that figures out the closest or least busy mirror. Just one note. In the settings.xml example in your announcement you forgot the closing tags for id, name, url and mirrorOf. Fixed :-) S. - 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: Using Maven behind a proxy.
Hi, Check the mailing list archives from yesterday. There were many complaints about planetmirror repository, which sends incorrect response when apropriate artifact could not be found. For more info check this thread: http://www.nabble.com/install-file-generatePom-t1626008.html#a4405660 You can find another central repository mirrors at http://maven.apache.org/guides/mini/guide-mirror-settings.html HTH, Jakub On Thu, 18 May 2006 17:27:21 +0530, Deep M Mistry wrote I'm having a tough time creating an archetype using Maven 2.0.4 I've attached the error trace in a txt file. I'm behind a firewall and this is how my settings.xml look like, ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocolhttp/protocol usernameuser/username passwordpassword/password port80/port hostip-address/host /proxy /proxies /settings I cannot figure out whats wrong with current set-up. Any pointers would be greatly apprreciated. Thanks. CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] phase skipping in release plugin?
On 18/05/06, Alexandre Poitras [EMAIL PROTECTED] wrote: I don't think it's possible at the moment but I would really see a filtering section as a nice feature to have. This way you could tell the release plugin that you are ok with this dependency being a snapshot. I just filled a JIRA issue on this : http://jira.codehaus.org/browse/MRELEASE-111 Cheers for raising the issue - I was just wondering whether it was a reasonable request before adding it to JIRA. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] multi project build failure
Hello, I have a strange failure of my buld in multi project (multi module in new parlance) : When i do : in the parent module : mvn -N install, then in each module mvn -install : it works fine. When i do : in the parent module : mvn install, it fails with such a failure : [INFO] version was null for rafale.wingsofglory:wings-of-glory-model [INFO] [DEBUG] Trace java.lang.NullPointerException: version was null for rafale.wingsofglory:wings-of-glory-model my tree is like this : parent + model + utils (depends on model) + api (depends on utils and model) + core (depends on api utils and model) In the parent pom, i define dependencyManagment for each of these modules using version = [${project.version}] in each module, i define a the dependencies without a version number in order to retreive them from the parent. Can someone help me to fix this ? In advance Thanks Raphaël
Cannot checkin/checkout ...
... in clearcase using the release and scm plugin I've got this Exception [INFO] Verifying there are no local modifications ... viewName = O pathname = \Test\Dev_Zentral\system\pas_build_common_xa\configspec.txt [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) 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:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] at org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications(PrepareReleaseMojo.java:541) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:201) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Thu May 18 15:02:52 CEST 2006 [INFO] Final Memory: 3M/6M [INFO] -- View this message in context: http://www.nabble.com/Cannot-checkin-checkout-...-t1643004.html#a4450108 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot find lifecycle mapping for packaging: 'sar'
Make you set extensions/ to true when including your plugin in the build section of the pom that uses the plugin: This is an example from a project that uses my nmake plugin. It is mapped to 'exe' and 'dll' build plugins plugin groupIdcom.mycomp.mavenplugin/groupId artifactIdmaven-nmake-plugin/artifactId extensionstrue/extensions configuration . /configuration /plugin /plugins /build The mapping itself is done in the components.xml file in the plugin itself (look for rolehint/ tag) hth, Wim 2006/5/18, Peschier J. (Jeroen) [EMAIL PROTECTED]: I think you need to define the sar package type as an extension in components.xml. Since there's already a sar plugin which also makes available sar as a package type you could check the sources of the jboss-sar-maven-plugin at codehaus.org. -Oorspronkelijk bericht- Van: Stefan Arentz [mailto:[EMAIL PROTECTED] Verzonden: Sunday, May 14, 2006 7:07 PM Aan: Maven Users List Onderwerp: Cannot find lifecycle mapping for packaging: 'sar' I created a simple plugin to create SAR archives (JBoss Service Archive). It is basically a jar file with a META-INF/jboss-service.xml. The maven-ejb-plugin looked like a good candidate for a template so I used that and modified it. My maven-sar-plugin succesfully builds and installs in the local repository. However, when I try to actually use it to package a SAR, I get the following error: [ERROR] BUILD ERROR [INFO] [INFO] Cannot find lifecycle mapping for packaging: 'sar'. Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingsar. Is there anything I need to do before maven will 'see' my new plugin? Also, the last error message is a bit odd or does it simply miss a : in between ...LifecycleMapping and sar ? S. - 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: Cannot checkin/checkout ...
The stacktrace shows that you still have a file checkedout in your view. Check it in first, then retry to run the release plugin. regards, Wim 2006/5/18, mathapfahl [EMAIL PROTECTED]: ... in clearcase using the release and scm plugin I've got this Exception [INFO] Verifying there are no local modifications ... viewName = O pathname = \Test\Dev_Zentral\system\pas_build_common_xa\configspec.txt [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:219) 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:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot prepare the release because you have local modifications : [O:\Test\Dev_Zentral\components\server\pac_server_error_correctionom.xml:checked-out] at org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications (PrepareReleaseMojo.java:541) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute( PrepareReleaseMojo.java:201) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 16 more [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Thu May 18 15:02:52 CEST 2006 [INFO] Final Memory: 3M/6M [INFO] -- View this message in context: http://www.nabble.com/Cannot-checkin-checkout-...-t1643004.html#a4450108 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
The root error is this: java.io.FileNotFoundException: locator.ent (The system cannot find the file specified) I have no idea what Jetspeed uses this file for or where it comes from. But this is most likely not a Maven problem, at least not directly. I'd contact the Jetspeed folks and see what they have to say. Wayne On 5/18/06, Evi [EMAIL PROTECTED] wrote: Hi and thanks for suggestions for readung:-)) I am trying to make build a portal and unfortunately it's my first try... So, I changed Maven2 to Maven1 but got the following errors: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6maven dist:install __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 org.apache.maven.MavenException: Error parsing project.xml 'C:\0portaal\Allalaet ud tarkvara\jetspeed-1.6-war\jetspeed-1.6\project.xml' at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :232) at org.apache.maven.MavenSession.initialize(MavenSession.java:172) at org.apache.maven.cli.App.doMain(App.java:475) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) --- Nested Exception --- java.io.FileNotFoundException: locator.ent (The system cannot find the file spec ified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileInputStream.init(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection .java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon nection.java:161) at java.net.URL.openStream(URL.java:1007) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So urce) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unknown Source ) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDInternalSubset(Unknow n Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1527) at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :232) at org.apache.maven.MavenSession.initialize(MavenSession.java:172) at org.apache.maven.cli.App.doMain(App.java:475) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg maven -e jar - search the maven-user archives for the error at http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] .org - post the output of maven -e to JIRA at http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time: 1 seconds Finished
Re: Cannot checkin/checkout ...
but I thougt the plugin will check in automatically. release:prepare ? -- View this message in context: http://www.nabble.com/Cannot-checkin-checkout-...-t1643004.html#a4451354 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Not Resolving Dependencies
Thanks Wayne - That's a great tip for future use. Fortunately it ended up being the dependency scope set to runtime, like Alexandre said, that was the issue. Thanks again, - Ole --- Wayne Fay [EMAIL PROTECTED] wrote: Perhaps try mvn -o for offline mode? Since problem just started recently, maybe it is related to the various repos being down etc? Wayne On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Stefan, Thanks for the tips. It's not just myfaces that are not resolving, but any dependency. I've tried it with other dependencies and maven says it can't find the packages. The strange thing is that it was working fine before, and this only started happening a yesterday. Thanks for trying though. Cheers, - Ole --- Stefan Hübner [EMAIL PROTECTED] wrote: make sure to check this out: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html cheers, Stefan 2006/5/18, Stefan Hübner [EMAIL PROTECTED]: Bruno, I first run the eclipse plugin and eclipse is able to load the dependencies. I then attempt to install, and the maven compiler gives me messages like this: /home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29] package javax.faces.component does not exist so, does this mean, that your project depends upon JSF? if so, the artifact javax.faces:jsf-api - as found in maven's central repository - can't actually be downloaded. Reason is, there's just a placeholder POM in the repo because of license considerations. this thought, the jsf-library shouldn't be referenced by eclipse either. If it does, does eclipse reference to a jar in your local maven repo or somewhere else? So eclipse sees the dependencies in the repository, but maven does not. the eclipse-plugin might have told you, to download the jsf-api.jar manually, because that JAR can't be found in the global repository. you might have a second look on the eclipse-plugin's output. just my 2c - may be, I'm misleaded Stefan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Relative to content-type, Is their convention for the file in the repository?
I agree... text/plain makes sense for md5 and sha1. I just haven't seen this documented anywhere official-like so I didn't want to cloud the issue with purely my opinion. ;-) Wayne On 5/18/06, Thorsten Heit [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, md5 sha1 = not so sure, but I imagine someone at IETF or W3C has come up with some proposal to specify these Content-Types, so if you Google and find it, report back. What about text/plain? The hashes are simple text files as far as I have seen... Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEbDRvQvObkgCcDe0RAm1zAKCyxZwkLdwSdLUKRE9zMCZoc2TWiQCfcQWu 72VEsOmlILVErKMteLLTiVg= =4st0 -END PGP SIGNATURE- - 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: Re: [m2] site does not generate index.html anymore
Hi, we use the v2.0 report-plugin (local reprository has 2.0 and 2.0-beta-3), but only a view reports from it. Don'nt get the index-page too. What is the report I have to insert? Our report-plugin-part in the pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId reportSets reportSet reports reportdependencies/report reportproject-team/report reportcim/report reportlicense/report reportscm/report /reports /reportSet /reportSets /plugin Thanks, Rainer Brett Porter [EMAIL PROTECTED] schrieb am 17.05.2006 18:31:01: Actually, it depends on the update to the project-info-reports plugin as well (v2.0). That now generates the default index page. - Brett On 5/17/06, Julien Henry [EMAIL PROTECTED] wrote: Same for me... Perhaps should we submit a bug report. Dario Luis Coneglian Oliveros a écrit : After upgrading to site-plugin 2.0-beta-5, I noticed the index.html of a project is not being generated anymore. Any thoughts ? Thanks, Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- _ Julien HENRY | **Capgemini Sud **| Nice www.fr.capgemini.com http://www.capgemini.com/ Porte de l'Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice **Join the Collaborative Business Experience ** _ This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror
It's the whole Old Europe/New Europe thing. Apparently Amsterdam is in New Europe (see the subject line if you have any doubts). Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Tim Kettler [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org edu cc: Subject: Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror 05/18/2006 08:53 AM Please respond to Maven Users List Stefan Arentz schrieb: On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Great news!!! Just tested and the downloads are a lot faster now. But you are on the 'other' contintent! :-) If germany is the 'other' continent then I am :-) Universities here can get an .edu domain too. I think what Maven needs is a bunch of extra mirrors in the US too. And maybe a smarter downloader module that figures out the closest or least busy mirror. Just one note. In the settings.xml example in your announcement you forgot the closing tags for id, name, url and mirrorOf. Fixed :-) S. - 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]
New Blog about Maven2/Groovy
Hello all, I just created a new blog site where I plan to list my experiences being a new Maven2 user trying to get it to build Groovy. (Incidentally I'm new with Groovy too and re-learning Eclipse as well so there's a lot of experimentation going on.) I invite all of you to visit http://codeforfun.wordpress.com and leave comments if you will. It's relatively early (I just created it yesterday) and I only have two posts up but more will definitely follow as I am experimenting everyday and I plan to list everything I learn there. So check back often, also I'll be asking for help along the way as I struggle through things. I appreciate all feedback, both positive and negative. PS. Apologies once again for the double post, I'm having trouble with my mail client, KMail. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal remote repository setup in Maven 2
Brad hit the nail on the head. You are looking for Maven-Proxy. Search the Maven User list for help setting it up -- there are lots of posts about it if you just search. PS- I'm about to give up is really not conducive to receiving help on this list. If anything, it makes me think no need to respond to *that* one, just let him go... Wayne On 5/18/06, Brad Davis [EMAIL PROTECTED] wrote: Gustavo Valle wrote: repositories repository idcentral/id urlhttp://localhost:8080/maven/url /repository /repositories pluginRepositories pluginRepository idcentral/id urlhttp://localhost:8080/maven/url /pluginRepository /pluginRepositories I believe by doing this you are overriding the default location for the central repository, and forcing maven to look for everything on localhost. This won't work because it will fail to find its plugins there unless youve primed it already. What you want, from what you've described is a web app that will act as a caching Maven repository. Maven won't do this itself. If you override the central repository then the override location(s) are the only places maven will look for artifacts. The solution is Maven Proxy from codehaus. When you request an artifact from Maven Proxy, it looks at a local (to it) repository and serves it from there, or if it can't, goes to an actual remote repository to fetch it. Sadly, the site is down currently, and likely till the end of the week. The google cache of the main page is here: http://66.102.7.104/search?q=cache:zfDNHXmX7sIJ:maven-proxy.codehaus.org/+maven+proxy+site:codehaus.orghl=enlr=client=firefox-astrip=1 Personally I recommend using an installed copy of Maven Proxy as a mirror for central (specified either in your POM or your settings.xml) and using a seperate internal repository for internally developed projects. Brad - 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]
New Blog about Maven2/Groovy
Hello all, I just created a new blog site where I plan to list my experiences being a new Maven2 user trying to get it to build Groovy. (Incidentally I'm new with Groovy too and re-learning Eclipse as well so there's a lot of experimentation going on.) I invite all of you to visit http://codeforfun.wordpress.com and leave comments if you will. It's relatively early (I just created it yesterday) and I only have two posts up but more will definitely follow as I am experimenting everyday and I plan to list everything I learn there. So check back often, also I'll be asking for help along the way as I struggle through things. I appreciate all feedback, both positive and negative. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2]: changelog-maven-plugin NullPointerException on Unix-Machine
Hello, we are getting a NullPointerException by running the changelog-maven-plugin on a unix-maschine (reading the xml-file). Under Windows everythink is ok. I gues, that I have to configure the encoding, since in our messages, we are using german-specific chars. What is the correct tag for it? Thanks Rainer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
scm:update
Hi, Im using the command mvn scm:update. But it don't overwrite the local changes. What i have to do to make an update that overwrites the local changes? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: scm:update
If you want to overwrite local changes and lost your modifications, you should run scm:checkout scm:checkout will do a clean checkout Emmanuel Christian Wiesing a écrit : Hi, Im using the command mvn scm:update. But it don't overwrite the local changes. What i have to do to make an update that overwrites the local changes? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] code coverage for multiple modules that use integration tests
Dan, I apologize for this very late reply. We are currently leveraging cobertura against a tapestry application using Jetty6 and HtmlUnit/Canoo Webtest. We have a slightly different approach is that we have a single project which produces a war and we run our tests during the integration-test phase of that project. We do not have a distinct module to do unit testing. I had to do some modifications to the cobertura plugin to get it to instrument the correct class and dump the settings during the report phase (since we're running in the same process). We also had to write our own integration-test plugin which runs jetty, adds the htmlunit classes under src/itest to the fileset to be run during testing, and other odds and ends. I am not sure if my approach is the best or if you even still need information. Feel free to ping me if you would like me to elaborate on our approach. So far we've been fairly successful and getting what we need out of Maven 2, but I have found that the integration-test phase is largely neglected in maven functionality, unless you are testing a maven plugin. Best, DeFrance -Original Message- From: Dan Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 3:58 PM To: Maven users list Subject: [m2] code coverage for multiple modules that use integration tests Okay, I have a number of modules and I want to generate code coverage for them with cobertura. Some of the classes can be tested with normal unit tests so they are not a problem. Some of the classes, however, are Tapestry components. To test them I have a separate module called integration-tests that runs a web app and uses html unit to test them. Anyone know of a way that I can have cobertura include the results from the integration tests when calculating coverage for the modules? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - 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: Cannot checkin/checkout ...
It will do that in the case that it modifies your pom.xml's to add the correct version. However, it needs to start with a clean environment, which means no open files in your local workspace. Maven will not check in changed code, as this could potentially affect your build. On 5/18/06, mathapfahl [EMAIL PROTECTED] wrote: but I thougt the plugin will check in automatically. release:prepare ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Feature suggestion, was 'Re: repo down?'
Fantastic idea! ~ Dave Smiley On 2006-05-17 21:21:59 -0400, Brad Davis [EMAIL PROTECTED] said: It strikes me that centralized repositories, even with mirrors is a potential scalability problem and point of failure. Its also a point of failure since the more projects use Maven, the more administration has to be done to allow Project X, Y, or Z access to publish updates to the repo. Why not leverage DNS to allow projects to publish to project specific repositories? This would require that the group ID be convertible into some sort of DNS resolvable name in a consistent manner, but that's nearly the case for many projects already. Here's how it would work... As a client, Maven could look at the group ID of say org.apache.maven.plugins. It could do DNS TXT record lookups on plugins.maven.apahche.org, then maven.apache.org and then apache.org looking for repository information (encoded via some convention in the TXT record). The centralized repository structure could continue to be used as a fallback for projects whose group ID can't conform to a DNS resolvable address, or who don't have control over their DNS servers at that level. As a project owner, once the DNS support is there, publishing a new version of my artifcats to Maven no longer requires coordination with another party. In fact, publishing to Central changes from a push model to a pull model. A one time agreement to publish items from a given group ID means that the central server can now monitor for changes on the project specific repositories. My 2 cents. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
available plugins??
hi, someone know where i can find informations about available plugins for maven2 ? please don't reply me with this adress http://maven.apache.org/plugins/index.html i always known it. and where i can find project pom's configuration for these plugins/dependencies : http://www.ibiblio.org/pub/packages/maven2/ http://repo.mergere.com/maven2/ thanks Alexis
available plugins
hi, someone know where i can find informations about available plugins for maven2 ? please don't reply me with this adress http://maven.apache.org/plugins/index.html i always known it. and where i can find project pom's configuration for these plugins/dependencies : http://www.ibiblio.org/pub/packages/maven2/ http://repo.mergere.com/maven2/ thanks Alexis
available plugins
hi, someone know where i can find informations about available plugins for maven2 ? please don't reply me with this adress http://maven.apache.org/plugins/index.html i always known it. and where i can find project pom's configuration for these plugins/dependencies : http://www.ibiblio.org/pub/packages/maven2/ http://repo.mergere.com/maven2/ thanks Alexis
Re: available plugins
On 5/18/06, alexis parratte [EMAIL PROTECTED] wrote: hi, someone know where i can find informations about available plugins for maven2 ? please don't reply me with this adress http://maven.apache.org/plugins/index.html i always known it. What do you want more? and where i can find project pom's configuration for these plugins/dependencies : http://www.ibiblio.org/pub/packages/maven2/ http://repo.mergere.com/maven2/ The repository was about 5.8Gb last time I checked so I don't think there is a guide :) Just use google and take a look at the pom you want. The best sources for plugins are maven official web site and http://mojo.codehaus.org/ which is down at the moment. thanks Alexis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repo down?
It does, but the problem here is not a snapshot - it was a repository entered for both snapshots and non-snapshots that shouldn't have been. - Brett On 5/17/06, Brad Davis [EMAIL PROTECTED] wrote: Doesn't the Release plugin actually do this with the prepare phase? Determine that you don't depend on any SNAPSHOT items? Or does the maven build not depend on the plugins, so this doesn't work? In fact, I guess the plugins would depend on Maven itself. How do you address eliminating that kind of circular dependency? Brad Mark Diggory wrote: You can't if its the first time you've run maven, anyone trying to use maven for the first time can't get the proper plugins because its looking for Snapshots on codehaus. Seems if your going to do a full release of maven it would be wise to base it on full releases of the plugins in the mirrors, or at least a full release of maven and/or any plugin maintained and required by maven should be full released and often, then this sort of thing wouldn't happen. Look at Eclipse and the way they organize thier updates into integration, stable and release builds. For instance, EMF has a interim and stable update sites. This is one of the reasons I really pushed to have separate snapshot and release repositories at Apache, product stability. -Mark p.s. there was a comment I should set up a mirror or something crazy like that, it assumes I have some extensive knowledge of maven, which at this point with maven 2 I don't. While I understand you guys do allot of development and are focused on new features and bug fixes, it makes your product look bad to have single points of failure like this, I'm evaluating maven 2 for a project I'm now working on, this doesn't bode well in my evaluation. On May 16, 2006, at 8:25 AM, javed mandary wrote: You can use the -o flag , e.g mvn -o install this will tell maven to work in offline mode and it wont try to check for updates on the remote repo. cheers, javed On 5/15/06, Markus Reinhardt [EMAIL PROTECTED] wrote: Am Montag, den 15.05.2006, 11:20 +0200 schrieb Jörg Schaible: Geoffrey De Smet wrote on Monday, May 15, 2006 10:26 AM: Ibiblio is up, but the dns server of maven.org seems to be down. Brett Porter wrote: http://maven.apache.org/guides/mini/ guide-mirror-settings.html Yes, it's down. Unscheduled, and beyond our control, sorry. But, since the new plugin releases refer to artifacts only available in snapshots.maven.codehaus.org/maven2, our complete development comes to a sudden stop, because of the automated update. Please, make sure for such releases, that all artifacts are available at ibiblio (which is at least mirrored). Who do I to tell maven not to search for updates? Neither -o nor -npu switches help. All needed plugins (tomcat-maven-plugin:pom:1.0- SNAPSHOT) are located in my local repo. Markus Reinhardt -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEaEpxTPqyj/tXZEMRAowGAKCfn8AEqNqeA/EVm66Fv53SO9PD6gCgtCzW gzcI00BTuqBtvCIYuKuP8BA= =lMx0 -END PGP SIGNATURE- - 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]
email from commandline using maven2
Hi All Is there any plugin available to send an email /jabber notifier to send build results, while building it from command line?? Lets say i don't want to use any CI (continuum/cruisecontrol) just want to use mvn command in command line and do my build, in that case i want to send notification of build results either it fails/goes fine Has anyone tried like this? Please advise Thanks, Raghu
Maven Repository Manager (MRM) home page
I was reading in the Maven2 book about the Maven Repository Manager, which sounds like an upgraded Maven Proxy with a better UI and more flexibility. Great idea, but clearly not there yet. Still, since there's a URL in the book for the item, shouldn't there at least be a placeholder page on the maven site, as opposed to a '404' equivalent page? Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Feature suggestion, was 'Re: repo down?'
you don't happen to have code to do this sort of thing already, do you? I'm sure it's a relatively simple matter of doing a DNS lookup via JNDI and parsing the result, but if you have a working example that might be easier to explore adding... -john On 5/18/06, David Smiley [EMAIL PROTECTED] wrote: Fantastic idea! ~ Dave Smiley On 2006-05-17 21:21:59 -0400, Brad Davis [EMAIL PROTECTED] said: It strikes me that centralized repositories, even with mirrors is a potential scalability problem and point of failure. Its also a point of failure since the more projects use Maven, the more administration has to be done to allow Project X, Y, or Z access to publish updates to the repo. Why not leverage DNS to allow projects to publish to project specific repositories? This would require that the group ID be convertible into some sort of DNS resolvable name in a consistent manner, but that's nearly the case for many projects already. Here's how it would work... As a client, Maven could look at the group ID of say org.apache.maven.plugins. It could do DNS TXT record lookups on plugins.maven.apahche.org, then maven.apache.org and then apache.org looking for repository information (encoded via some convention in the TXT record). The centralized repository structure could continue to be used as a fallback for projects whose group ID can't conform to a DNS resolvable address, or who don't have control over their DNS servers at that level. As a project owner, once the DNS support is there, publishing a new version of my artifcats to Maven no longer requires coordination with another party. In fact, publishing to Central changes from a push model to a pull model. A one time agreement to publish items from a given group ID means that the central server can now monitor for changes on the project specific repositories. My 2 cents. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs-settings.xml
Using maven v2.0.4 with JDK 1.5 on a windows XP machine. I am new to Maven and have been trying to integrate it with a small project at work that currently uses ant for build mgmt. However, I am having a minor problem with the scm plugin. Based on the scm cvs instructions at http://maven.apache.org/scm/cvs.html I set up a cvs-settings file located at: C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml This file consists of: cvs-settingsasdf useCvsrctrue/useCvsrc traceCvsCommandtrue/traceCvsCommand compressionLevel0/compressionLevel /cvs-settings when I run a scm command, the default compression level is used and none of the settings in my .cvsrc file are used. BTW - when I use cvs directly on the command line the settings in the .cvsrc file are respected. Just to double check, the system prop user.home returns C:\Documents and Settings\carlos.fernandez Any help would be appreciated. I am sure it is something blatantly obvious that I am missing. carlos mvn output [EMAIL PROTECTED] /cygdrive/c/development/workspace/usitc-common $ mvn scm:update [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [scm:update] (aggregator-style) [INFO] - --- [INFO] [scm:update] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q update -d [INFO] Working directory: C:\development\workspace\usitc-common [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log [INFO] Working directory: C:\development\workspace\usitc-common [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Thu May 18 15:37:30 EDT 2006 [INFO] Final Memory: 4M/8M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs-settings.xml
[EMAIL PROTECTED] wrote: Using maven v2.0.4 with JDK 1.5 on a windows XP machine. I am new to Maven and have been trying to integrate it with a small project at work that currently uses ant for build mgmt. However, I am having a minor problem with the scm plugin. Based on the scm cvs instructions at http://maven.apache.org/scm/cvs.html I set up a cvs-settings file located at: C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml This file consists of: cvs-settingsasdf useCvsrctrue/useCvsrc traceCvsCommandtrue/traceCvsCommand compressionLevel0/compressionLevel /cvs-settings when I run a scm command, the default compression level is used and none of the settings in my .cvsrc file are used. BTW - when I use cvs directly on the command line the settings in the .cvsrc file are respected. The compression level problem is known, and fixed. See http://jira.codehaus.org/browse/SCM-191 Just to double check, the system prop user.home returns C:\Documents and Settings\carlos.fernandez Any help would be appreciated. I am sure it is something blatantly obvious that I am missing. carlos mvn output [EMAIL PROTECTED] /cygdrive/c/development/workspace/usitc-common $ mvn scm:update [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [scm:update] (aggregator-style) [INFO] - --- [INFO] [scm:update] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q update -d [INFO] Working directory: C:\development\workspace\usitc-common [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log [INFO] Working directory: C:\development\workspace\usitc-common [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Thu May 18 15:37:30 EDT 2006 [INFO] Final Memory: 4M/8M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
surefire 2.2 + JUnit4?
Hi, I know the issue about how to use JUnit4 in Maven2 has been discussed for a while. But the adapter method: public static junit.framework.Test suite() { return new JUnit4TestAdapter(SimpleTest.class); } doesn't help much in my case. I've heard that surefire2.2 may amend this. However, after upgrading to sruefire2.2, this problem remains. the test code are listed follow, which passed the JUnit test when I run it manually without maven Can anyone help me with that? Thanks in advance. Louis import org.junit.*; import static org.junit.Assert.*; import junit.framework.JUnit4TestAdapter; public class MyTest { private int i; @Before public void runOnceBeforeAllTests() { i = 10; } @Test public void test4() { assertEquals(10, i); } public static junit.framework.Test suite() { return new JUnit4TestAdapter(WebServiceDispatcher.class); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cvs-settings.xml
Dennis, Thanks for the quick reply. What about the .cvsrc file? Looking at jira - http://jira.codehaus.org/browse/SCM-136 - it seems that this was added in beta-3. I double checked my repository and I am using v1.0-beta-3. Any guesses as to what I am doing wrong? Carlos -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 4:31 PM To: Maven Users List Subject: Re: cvs-settings.xml [EMAIL PROTECTED] wrote: Using maven v2.0.4 with JDK 1.5 on a windows XP machine. I am new to Maven and have been trying to integrate it with a small project at work that currently uses ant for build mgmt. However, I am having a minor problem with the scm plugin. Based on the scm cvs instructions at http://maven.apache.org/scm/cvs.html I set up a cvs-settings file located at: C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml This file consists of: cvs-settingsasdf useCvsrctrue/useCvsrc traceCvsCommandtrue/traceCvsCommand compressionLevel0/compressionLevel /cvs-settings when I run a scm command, the default compression level is used and none of the settings in my .cvsrc file are used. BTW - when I use cvs directly on the command line the settings in the .cvsrc file are respected. The compression level problem is known, and fixed. See http://jira.codehaus.org/browse/SCM-191 Just to double check, the system prop user.home returns C:\Documents and Settings\carlos.fernandez Any help would be appreciated. I am sure it is something blatantly obvious that I am missing. carlos mvn output [EMAIL PROTECTED] /cygdrive/c/development/workspace/usitc-common $ mvn scm:update [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [scm:update] (aggregator-style) [INFO] - --- [INFO] [scm:update] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q update -d [INFO] Working directory: C:\development\workspace\usitc-common [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log [INFO] Working directory: C:\development\workspace\usitc-common [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Thu May 18 15:37:30 EDT 2006 [INFO] Final Memory: 4M/8M [INFO] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - 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]
Another Maven2 Eclipse plugin update site?
Is there another Maven2 Eclipse plugin update site or a download site out there I can download this plugin with Codehaus is down? Thanks, Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java plugin that finds all modules dependencies
Hi, I am trying to write a java plugin that can find the dependencies for all of the modules in a pom packaged project. The problem that I am having is I don't understand how to get a project reference to my modules. I can write something like project.getArtifacts() which gives me the artifacts for the current project, but not my modules. Calling project.getModules() gives me a list of strings and not MavenProject objects as I woud expect. If I had gotten a list of MavenProjects then I could have called getArtifacts() on each one to retrieve its dependencies. I was hoping someone could point me in the right direction for solving the problem of finding the dependencies for all of my modules. Thanks in advance. - Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs-settings.xml
[EMAIL PROTECTED] wrote: Dennis, Thanks for the quick reply. What about the .cvsrc file? Looking at jira - http://jira.codehaus.org/browse/SCM-136 - it seems that this was added in beta-3. It sure looks that way. I double checked my repository and I am using v1.0-beta-3. Any guesses as to what I am doing wrong? See below... Carlos -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 4:31 PM To: Maven Users List Subject: Re: cvs-settings.xml [EMAIL PROTECTED] wrote: Using maven v2.0.4 with JDK 1.5 on a windows XP machine. I am new to Maven and have been trying to integrate it with a small project at work that currently uses ant for build mgmt. However, I am having a minor problem with the scm plugin. Based on the scm cvs instructions at http://maven.apache.org/scm/cvs.html I set up a cvs-settings file located at: C:\Documents and Settings\carlos.fernandez\.scm\cvs-settings.xml This file consists of: Is this a typo in your email or does your file look like this (with asdf added to the starting tag)? cvs-settingsasdf useCvsrctrue/useCvsrc traceCvsCommandtrue/traceCvsCommand compressionLevel0/compressionLevel /cvs-settings snip -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java plugin that finds all modules dependencies
Michael Hale wrote: Hi, I am trying to write a java plugin that can find the dependencies for all of the modules in a pom packaged project. The problem that I am having is I don't understand how to get a project reference to my modules. I can write something like project.getArtifacts() which gives me the artifacts for the current project, but not my modules. Calling project.getModules() gives me a list of strings and not MavenProject objects as I woud expect. If I had gotten a list of MavenProjects then I could have called getArtifacts() on each one to retrieve its dependencies. I was hoping someone could point me in the right direction for solving the problem of finding the dependencies for all of my modules. Chapter 5.5.1 Accessing Project Dependencies in the book Better Builds with Maven might be of help. -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse maven plugin heap size?
I'm running jetty6:run through the eclipse maven plugin. How do I set the -Xmx option to increase the heap size? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
war lifecycle
I'd like to run my jsp code through some filters before being packaged. Not just simple find and replace filters, though. A little more complex. I know there is a feature in the recent version of the war plugin that allows some regular filtering, but its not really what I'm looking for. Were this standard java code, I'd just write a plugin and put it somewhere in the lifecycle. However, from my previous work with the war plugin, there really isn't a lifecycle per say. Everything happens in the package phase. Is this correct? If so, any reason why? Doesn't anybody have a solution for applying things to jsp/servlet artifacts? At my day job I hacked something together with the war plugin that called out to other code, but it was quite hacky and seemed to defeat the purpose of maven and breaking up the build into a lifecycle. Thanks in advance.
M2Eclipse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I realize codehaus has had issues lately so I searched the list for other places I could get the Maven 2 Eclipse plugin without success. Is there a non-codehaus URL to point to in order to get this plugin? Brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEbPqraCoPKRow/gARAr4TAKDgB0qvzy2chWSxvPShvJyqauFh2QCeN1+V CIshNmJizJYhCeNVcss1ZIc= =T93m -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Release plugin is not updating changes.xml like it did in m1
The release plugin in m1 updated the version and date attributes of the release tag. It is not doing this in m2 Has this functionality been removed in M2? Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: war lifecycle
What specifically are you looking to do? What kinds of things are you looking to apply to jsp/servlets? Please provide input and output examples to facilitate a discussion on this subject. I know at least one other person has posted a similar question on the User list in the last 60 days -- search the User archives for filter jsp and you're bound to find it. Wayne On 5/18/06, Kevin Galligan [EMAIL PROTECTED] wrote: I'd like to run my jsp code through some filters before being packaged. Not just simple find and replace filters, though. A little more complex. I know there is a feature in the recent version of the war plugin that allows some regular filtering, but its not really what I'm looking for. Were this standard java code, I'd just write a plugin and put it somewhere in the lifecycle. However, from my previous work with the war plugin, there really isn't a lifecycle per say. Everything happens in the package phase. Is this correct? If so, any reason why? Doesn't anybody have a solution for applying things to jsp/servlet artifacts? At my day job I hacked something together with the war plugin that called out to other code, but it was quite hacky and seemed to defeat the purpose of maven and breaking up the build into a lifecycle. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Setting goals for release:perform?
The default goals for release:perform are deploy and site:deploy. How do I change them in the pom? From the command line: mvn release:perform -Dgoal=deploy Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Release plugin 2.0-beta-4 suggest invalid tag for CVS
The release plugin v2.0 Beta4 suggests a tag that invalid for cvs. Specifically CVS does not like '.' in the tag name. I would expect the plugin to substitute a '_' for the '.' Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal remote repository setup in Maven 2
I agree that what I need is Maven Proxy, so I can serve the plugins and artifacts internally and at the same time, get the ones I don't have from the internet. But suppose I'm not connected to the internet, or if the policy is to control what artifacts exactly developers get to their local repositories. The settings I've described are outlined and explained in the (latest) book Better Builds with Maven (M2) (http://www.mergere.com/m2book_download.jsp) where the authors (Vincent Massol et.al) recommend overriding central in order to implement an internal remote repository. As strange as it may sound, at this stage it would be perfectly normal for Maven to fail if I don't have the artifact or plugin requested in my internal remote repository. Perhaps the issue I'm pointing is that Maven should allow this scenario (and I'm sure it does!), the issue is not the fact that I can rely permanently on central and my local repository. The other thing to consider in the example presented is that the plugin in question is just 'clean' (mickey mouse goal!). This won't work because it will fail to find its plugins there unless youve primed it already The truth is that when I move all the contents of my intended internal remote repository back to my local repository, Maven runs fine. This means that for everything Maven needs for a clean is already downloaded. The comment I made literally: I'm about to give up on maven! was because of the frustration because of the lack of M2 documentation. I'm a fan of Maven, don't get me wrong, and in my organisation, I've been a good promoter and evangelist. Some people suggested the upgrade and they looked to me in order to see if it was feasible. We had to stick to M1, even the documentation site of M1 is better organised and gets most of my answers faster than M2. Honestly, I don't like this mini-guides business, some of the links promise answers to interesting things but I get disappointed when I click on them, in many cases there was only a paragraph of basic stuff. Cheers, Gustavo Brad Davis [EMAIL PROTECTED] 18/05/2006 17:42 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Internal remote repository setup in Maven 2 Gustavo Valle wrote: repositories repository idcentral/id urlhttp://localhost:8080/maven/url /repository /repositories pluginRepositories pluginRepository idcentral/id urlhttp://localhost:8080/maven/url /pluginRepository /pluginRepositories I believe by doing this you are overriding the default location for the central repository, and forcing maven to look for everything on localhost. This won't work because it will fail to find its plugins there unless youve primed it already. What you want, from what you've described is a web app that will act as a caching Maven repository. Maven won't do this itself. If you override the central repository then the override location(s) are the only places maven will look for artifacts. The solution is Maven Proxy from codehaus. When you request an artifact from Maven Proxy, it looks at a local (to it) repository and serves it from there, or if it can't, goes to an actual remote repository to fetch it. Sadly, the site is down currently, and likely till the end of the week. The google cache of the main page is here: http://66.102.7.104/search?q=cache:zfDNHXmX7sIJ:maven-proxy.codehaus.org/+maven+proxy+site:codehaus.orghl=enlr=client=firefox-astrip=1 Personally I recommend using an installed copy of Maven Proxy as a mirror for central (specified either in your POM or your settings.xml) and using a seperate internal repository for internally developed projects. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Please consider our environment before printing this email. WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email. Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems, you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac, please contact us immediately. It is also important to check for viruses and defects before opening or using attachments. Westpac's liability is limited to resupplying any affected attachments. This email and its attachments are not intended to constitute any form of financial advice or recommendation of, or an offer to buy or offer to sell, any security or other financial product. We recommend that you seek your own independent legal or financial advice before proceeding with any investment decision. Westpac
Coolest maven feature?
What's your current favorite maven feature? The release plugin's new dryRun feature found several problems in my modules and allowed me to correct them without mucking with our SCM. mvn release:prepare -DdryRun=true Thanks to whoever wrote this feature! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: war lifecycle
In detail, I want to edit jsf facelet files in BEA workshop studio. It does a really good job with jsf jsp files, but if you try to edit non-jsp files in that view, the helpful jsf features disappear. Facelets are essentially valid xml. The whole thing is pretty close to jsp, except for a few things. The major one is that you declare your 'taglibs' in the xml namespace at the top level rather than in a special directive. I think there might be a way to do this with jsp/xml syntax, but I'm not sure the BEA tool supports that either. So, here's what I was thinking. If I could just make sure to stick with valid xml syntax besides the standard jsp 'taglib' and 'page' directives, I could do a pretty simple transform on that file. Look for the taglib directives, stuff those urls into the top level xml namespace, and output what would hopefully be a valid facelet file. In the standard lifecycle I think this would be somewhere around 'process-resources' or 'compile'. However, there's really nowhere to stuff this in with the war build, if I understand it correctly. I mean, before we address if my idea is a good idea, I was just wonering if there was a way to attach a plugin to the war build lifecylce. As I stated in the original email, I cracked open the code and hacked together some stuff previously because I couldn't attach anything to the war resources. I think there is a general use for this kind of functionalty. This is a way out of the box idea. Basically, the phases are a good idea, but maybe there are situations in which a build doesn't map well to a fixed set, right? So maybe a particular plugin could declare custom build phases. For example, the war build would declare war:process-resources as a special custom phase, and attach it to the global package phase. Then it would attach its own steps to that phase, and I could attach my own plugin to that war-custom phase. Then maybe it would have war:package after war:process-resources. In war:package, it would assemble the war, etc. This would allow plugins to be built and attached in basically the way they are now. You'd just need to look in the documentation to see if the plugin exposes a custom phase. It might open the door to builds that are, out of necessity, more complex than a standard java build. At the same time, it might open the door to needlessly complex configurations. Who knows. Maybe there's something there already that works like what I'm talking about? On 5/18/06, Wayne Fay [EMAIL PROTECTED] wrote: What specifically are you looking to do? What kinds of things are you looking to apply to jsp/servlets? Please provide input and output examples to facilitate a discussion on this subject. I know at least one other person has posted a similar question on the User list in the last 60 days -- search the User archives for filter jsp and you're bound to find it. Wayne On 5/18/06, Kevin Galligan [EMAIL PROTECTED] wrote: I'd like to run my jsp code through some filters before being packaged. Not just simple find and replace filters, though. A little more complex. I know there is a feature in the recent version of the war plugin that allows some regular filtering, but its not really what I'm looking for. Were this standard java code, I'd just write a plugin and put it somewhere in the lifecycle. However, from my previous work with the war plugin, there really isn't a lifecycle per say. Everything happens in the package phase. Is this correct? If so, any reason why? Doesn't anybody have a solution for applying things to jsp/servlet artifacts? At my day job I hacked something together with the war plugin that called out to other code, but it was quite hacky and seemed to defeat the purpose of maven and breaking up the build into a lifecycle. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]