looking for a repository with doxia-maven-plugin?
I'd like to start playing with doxia-maven-plugin. Is there any public repository hosting the required maven plugins? Thanks Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Way to automatically find child pom.xml's instead of defining modules?
Hi - Is there a way to have maven recursively search down a directory any call pom.xml's as oppose to having to define every child by using the module tag? Thanks, Scott. Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
project.build.finalName incorrect in Clover forked lifecycle
Hi all, I'm having some problems with the maven-clover-plugin and generating resources (in the generate-resources phase) into the appropriate target directory. The clover plugin forks a lifecycle and modifies the build finalName to include the classifier -clover. I generate a web.xml file (for a war, using xdoclet) using the webdoclet configuration: webdoclet destDir=${project.build.directory}/$ {project.build.finalName}/WEB-INF ... /webdoclet This configuration is in a custom execution for the xdoclet plugin, running in the generate-resources phase. It simply states to generate some output in the destDir location (the particular output isn't really important). When the forked lifecycle executes, the project.build.finalName property is not reflecting the forked lifecycle's value (i.e. it does not include the -clover classifier). This causes the build to fail, as the appropriate configuration files are not written for the war plugin to package up a war. This problem can also easily be seen by using the maven clover plugin (to fork a lifecycle) and binding an ant-run task to the generate- resources phase that simply echoes out the appropriate properties: execution idnormal/id phasegenerate-resources/phase configuration tasks echo message=${project.build.finalName} / /tasks /configuration goals goalrun/goal /goals /execution This will print out the same finalName in the initial and forked lifecycles, even though clover explicitly changes the finalName to include the classifier. My question is: am I doing something wrong, or does this look like a bug in maven? I'm on the latest stable release of maven (2.0.4), using maven-clover-plugin 2.3 and maven-war-plugin 2.0.1. One additional piece of interesting (though maybe not relevant) information is that help:effective-pom shows the interpolated value of the variable ${project.build.finalName}, while it leaves other variables (like ${project.build.directory}) in the uninterpreted form. Is there a reason for this, and if so is it possible that finalName has been erroneously marked somewhere as constant between lifecycles? Cheers, Chris Tucker
Maven Plugins for reporting
Hi. What are all the available maven plugins which can be used to generate reports? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
problem with apt encoding
Hello everyone, I am a newbie and I have this question: how can I make apt file to respect ISO-8859-2 (or UTF-8) encoding when converted to HTML ? I have this section in my POM, but it seems not enough: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId configuration localespl,en/locales outputEncodingISO-8859-2/outputEncoding /configuration /plugin Thanks in advance With kind regards, Michael -- Jestes kierowca? To poczytaj! http://link.interia.pl/f199e - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: looking for a repository with doxia-maven-plugin?
What do you mean by playing with doxia-maven-plugin? Is http://svn.apache.org/repos/asf/maven/doxia probably wat you are looking for? -Gisbert Martin Ahrer wrote: I'd like to start playing with doxia-maven-plugin. Is there any public repository hosting the required maven plugins? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Plugins for reporting
Open http://maven.apache.org/plugins/index.html and search for report. -Gisbert Morgovsky, Alexander (US - Glen Mills) wrote: Hi. What are all the available maven plugins which can be used to generate reports? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- Gisbert Amm Softwareentwickler Infrastruktur WEB.DE GmbH Brauerstraße 48 · D-76135 Karlsruhe Tel. +49-721-91374-4224 · Fax +49-721-91374-2740 [EMAIL PROTECTED] · http://www.web.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs.apache.org connection problems
Hi All, I'm trying to compile a plugin I've written, and am having some trouble with Maven attempting to download the required dependencies. The build just hangs when it tries to get things like: Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/maven-error-diagnostics/2.0.4/maven-error-diagnostics-2.0.4.jar Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/maven-monitor/2.0.4/maven-monitor-2.0.4.jar I've been working with Maven for a little while, and have made many changes to this plugin, all of which have been totally successful. I've never had any issues like this before. Does anyone have any ideas? Is there something wrong with that server? Regards Gareth Tilley -- View this message in context: http://www.nabble.com/cvs.apache.org-connection-problems-tf2499791.html#a6968451 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cannot undeploy archiva
Please, file an issue. Emmanuel Nicolas DE LOOF a écrit : I'm running Archiva webapp under tomcat 5.5 I'd like to undeploy without restarting Tomcat (as I don't have admin acces to the server). When I undelploy archiva webapp using tomcat manager, the webapp/archiva directory is not removed and WEB-INF/lib still contains: jpox-1.1.1.jar plexus-container-default-1.0-alpha-10.jar plexus-security-authorization-rbac-store-jdo-1.0-alpha-6-20061013.204855-1.jar plexus-security-keys-jdo-1.0-alpha-6-20061013.204855-1.jar plexus-security-user-management-provider-jdo-1.0-alpha-6-20061013.204855-1.jar webwork-2.2.4.jar xwork-1.2.1.jar I cannot remove those jars (files locked) Is this a known bug in archiva webapp lifecycle ? Nico. 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.
Re: addClassPath issue within EAR
Did you have a look to classpathPrefix node ? archive manifest addClasspathtrue/addClasspath classpathPrefixlib/classpathPrefix /manifest /archive HTH, Rémy
Re: looking for a repository with doxia-maven-plugin?
Sorry for the misleading term 'repository'. I was thinking of a maven repository for downloading maven plugins... I'd like to use doxia for generating PDF from my existing APT documents! Thanks Martin Gisbert Amm-3 wrote: What do you mean by playing with doxia-maven-plugin? Is http://svn.apache.org/repos/asf/maven/doxia probably wat you are looking for? -Gisbert Martin Ahrer wrote: I'd like to start playing with doxia-maven-plugin. Is there any public repository hosting the required maven plugins? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/looking-for-a-repository-with-doxia-maven-plugin--tf2499587.html#a6968614 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M1] QALab 0.9.1 and Maven plugin released
Benoitx wrote: ObjectLab is pleased to announce the release of version 0.9.1 (slowly getting closer to v 1.0) of QALab and its Maven 1.x plugin. I'm trying to use this plug-in under Maven 1.1-beta2, to agregate stats from Cobertura and PMD, I'm getting parser errors on the XML output of pmd-raw-report.xml and cobertura.xml respectively. Because it happens on both these files, I think it's my maven set-up (the XML parser that I use e.g.), and that the PMD and Cobertura reports are fine. I can also see those when I generate maven site -- they are ok. I have the dependencies that QALab specificies in my project.xml (on http://qalab.sourceforge.net/maven/dependencies.html), but of course additionally a bunch of other stuff that my project needs, so I'm worried this might screw things up. Anyway, below this message I pasted the output with errors. I think it goes wrong 12 lines into the output that I'm showing (on the PMD XML(, and the same error two lines below that on the Cobertura XML. I also append a list of the libraries that I'm using (the dependencies from my project.xml). Any suggestions more than welcome, 'cause I'm stuck! Thanks! Paul maven cobertura pmd [...ok...] maven -e maven-qalab-plugin:report [...] maven-qalab-plugin:report: [echo] QALab Report. Tag library requested that is not present: 'qalab' in plugin: 'maven-qalab-plugin-0.9.0' maven-qalab-plugin:merge: [echo] QALab Merge!... [echo] No Checkstyle file to process (/home/pbalm/dev/isoc/simbad/target/checkstyle/checkstyle-raw-report.xml). [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/pmd-raw-report.xml... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 [echo] No FindBugs file to process (/home/pbalm/dev/isoc/simbad/target/findbugs-raw-report.xml). [echo] No Simian file to process (/home/pbalm/dev/isoc/simbad/target/simian-raw-report.xml). [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Line... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Branch... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 Tag library requested that is not present: 'qalab' in plugin: 'maven-qalab-plugin-0.9.0' maven-qalab-plugin:charts: [echo] QALab CHARTS! [buildchart] java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser [echo] Cobertura Chart [buildchart] java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser [echo] QALab SUMMARY XDOC for CHARTS! ... BUILD FAILED org.apache.commons.jelly.JellyTagException: file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:35:-1: jsl:stylesheet file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:89:-1: x:sort You must define an attribute called 'list' for this tag. at org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(StylesheetTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644) at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:101) [...more...] == Dependencies: (declared in this order) !-- As required by QALab: -- artifactIdant/artifactId version1.6.4/version artifactIdjcommon/artifactId version0.9.6/version artifactIdjfreechart/artifactId version0.9.21/version groupIdnet.objectlab/groupId artifactIdqalab/artifactId version0.9.1/version artifactIdxalan/artifactId version2.7.0/version artifactIdxerces/artifactId version2.4.0/version artifactIdxercesImpl/artifactId version2.6.2/version !-- Private libraries -- (private code here) !-- Axis webservice jars -- artifactIdaxis/artifactId version1.3/version artifactIdaxis-jaxrpc/artifactId version1.3/version artifactIdaxis-wsdl4j/artifactId version1.3/version artifactIdaxis-saaj/artifactId version1.3/version artifactIdcommons-discovery/artifactId version0.2/version artifactIdcommons-logging/artifactId version1.1/version artifactIdlog4j/artifactId version1.2.8/version !-- DOM4J -- artifactIddom4j/artifactId version1.6.1/version artifactIdjaxen/artifactId
[vote] Re: maven-war-plugin 2.0.2
On 17/10/06, Carlos Sanchez [EMAIL PROTECTED] wrote: the more releases the better +1 Any more takers?! I've added [vote] to the subject in the hope of enticing some more positive numbers.. :) Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JMeterMavenPlugin
Anyone successfully using this plugin from http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin I'm trying to build and install it by running 'mvn install' as per instructions , but I'm getting stumped by the error message : [INFO] Using default encoding to copy filtered resources. Downloading: http://fellagoagain-dr.santamonica.corp.yahoo.com/maven/jcharts/jch arts/0.7.5/jcharts-0.7.5.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: jcharts:jcharts Reason: Error getting POM for 'jcharts:jcharts' from the repository: Error trans ferring file jcharts:jcharts:pom:0.7.5 from the specified remote repositories: central (http://repo1.maven.org/maven2), yahoo-music (http://fellagoagain-dr.santamonica.corp.yahoo.com/maven) -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] maven-cargo-plugin, no longer supported?
Hi, I lately started with my first webapp using Maven2. And i heard that the maven-cargo-plugin would work best, but the website seems to be down: http://cargo.codehaus.org/Maven2+plugin has the plugin moved? Or is it no longer supported? Which other plugins work good for developing webapps under Maven2? - maven-tomcat-plugin - maven-jetty6-plugin thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--maven-cargo-plugin%2C-no-longer-supported--tf2500251.html#a6969876 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Nabble
FYI, I asked to add archiva mailing lists on Nabble : http://www.nabble.com/Archiva-f16425.html Cheers Arnaud -- View this message in context: http://www.nabble.com/Nabble-tf2500275.html#a6969939 Sent from the archiva-users mailing list archive at Nabble.com.
jmeter
Anyone using m2 with JMeter? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] maven-cargo-plugin, no longer supported?
-Original Message- From: CodingPlayer [mailto:[EMAIL PROTECTED] Sent: mardi 24 octobre 2006 11:44 To: users@maven.apache.org Subject: [M2] maven-cargo-plugin, no longer supported? Hi, I lately started with my first webapp using Maven2. And i heard that the maven-cargo-plugin would work best, but the website seems to be down: http://cargo.codehaus.org/Maven2+plugin has the plugin moved? Or is it no longer supported? It is definitely supported and working :-) Maybe the site was down temporarily for a maintenance operation at codehaus. It's up again. -Vincent Cargo committer PS: There's a cargo mailing list if you have any further question about Cargo. Which other plugins work good for developing webapps under Maven2? - maven-tomcat-plugin - maven-jetty6-plugin thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--maven-cargo- plugin%2C-no-longer-supported--tf2500251.html#a6969876 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: addClassPath issue within EAR
Remy, thanks, that's perfect. I feel dumb. With that said, how do you find the classpathPrefix node? I went to the doc on the jar:jar plugin and see nothing. Obviously I'm looking in the wrong spot. I knew about the addClasspath prefix from the mailing list as well as the BetterBuilds book. But I didn't see any examples of classpathPrefix. Thanks! -aps On 10/24/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: Did you have a look to classpathPrefix node ? archive manifest addClasspathtrue/addClasspath classpathPrefixlib/classpathPrefix /manifest /archive HTH, Rémy -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
RE: [m204] deploy fails if directory exists using file
Paul, Correct you are. I meant to say I have switched from wagon-ftp to wagon-file. Here is the corrected post. [I have recently tried to switch from using wagon-ftp when deploying (and publishing site) to using wagon-file because ftp does not support directory copying, but wagon-file seems to fail if the target directory already exists. I get the following error when deploying with wagon-file. Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Specified destination directory cannot be created: \\XRBUILD2\proximity\inhouse.snapshot\storage\com\xrite\xrite-commons\1. 17-SNAPSHOT This directory already exists as previous shapshots have been deployed here using ftp. Why would the file protocol give this error?] -Original Message- From: pjungwir [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 3:31 PM To: users@maven.apache.org Subject: Re: [m204] deploy fails if directory exists using file I think perhaps your post had a typo, because you can't be switching from wagon-ftp to wagon-ftp. What transport are you using now that's giving you this error? Paul -- View this message in context: http://www.nabble.com/-m204--deploy-fails-if-directory-exists-using-file -tf2495919.html#a6960389 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webstart-maven-plugin needs maven-jar-plugin:jar:2.1-SNAPSHOT
El 24/10/2006 7:15, Chris Michiels escribió: Thanks Paul, Adding additional snapshot repo's did do the job, Any experience with the webstart-maven-plugin ? It worked fine for me. Just beware with something a little strange: Velocity templates (.vm) must be in src/jnlp, while additional resources must be in src/main/jnlp. Besides, beware with jar signing, I had problems when trying to sign javax jar's, because they're already signed by Sun. I didn't need them really, so I removed them and it worked. Andrés - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp-wagon Unrecognised tag: 'extensions'
On 10/23/06, Wayne Fay [EMAIL PROTECTED] wrote: Fair enough, I hadn't noticed that. I've only ever used extensions inside a plugin so I figured this was the only valid place for it. Next time I'll have to check the entire XSD and not assume... ;-) In that case, I really have no idea why its not recognized. Try moving it under plugin just for fun and see if the unrecognised tag error goes away. Wayne I've tried moving it to just before plugins and immediately after /plugins and I still get the same error. Where are the maven gurus?Please help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can continuum solve this ?
Hello, My (maven1) projet has 15 sub-project. A full build (clean + test + install) takes 40 minutes. I've tried using continuum as a CI tool, but I didn't find a nice configuration : - failing on first error makes the CI build fail (as time required to fix allow new errors to be commited) - building all the project and agregate test-failures is long process I'd like the CI to build all sub-project in isolation, to be more reactive on commits. Nor Continuum neither cruiseControl handle dependencies between maven1 projects in the CI server. Does Continuum support maven2 subproject as separate CI modules ? What happens when a sub-project is modified and built by continuum (are depending modules be re-built) ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: addClassPath issue within EAR
2006/10/24, Alexander Sack [EMAIL PROTECTED]: Remy, thanks, that's perfect. I feel dumb. With that said, how do you find the classpathPrefix node? I went to the doc on the jar:jar plugin and see nothing. Obviously I'm looking in the wrong spot. I knew about the addClasspath prefix from the mailing list as well as the BetterBuilds book. But I didn't see any examples of classpathPrefix. Well, I don't remember exactly where I found this information. The documentation is not always complete and update... I think I saw the solution in this mailing list. You can also look at this page http://maven.apache.org/guides/mini/guide-manifest.html Rémy
Re: webstart-maven-plugin needs maven-jar-plugin:jar:2.1-SNAPSHOT
Thanks Andrés, I've got everything working, and am now facing the velocity template (being a total newbie at velocity). Care to share your template.vm :o) ? I used the one from the repo jars and it produced a launch.jnlp like : ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp TIA! Chris PS : in the past I just rejarred the jars after removing the signing stuff from the META-INF when I had signing issues. 2006/10/24, Andrés [EMAIL PROTECTED]: El 24/10/2006 7:15, Chris Michiels escribió: Thanks Paul, Adding additional snapshot repo's did do the job, Any experience with the webstart-maven-plugin ? It worked fine for me. Just beware with something a little strange: Velocity templates (.vm) must be in src/jnlp, while additional resources must be in src/main/jnlp. Besides, beware with jar signing, I had problems when trying to sign javax jar's, because they're already signed by Sun. I didn't need them really, so I removed them and it worked. Andrés - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Chris MICHIELS Scire tuum nihil est, nisi te scire hoc sciat alter.
m2, surefire console output
Hi Is it possible not to display stacktraces by surefire during tests? Generally I'm looking for some ways of getting maven2's output smaller, easier to read. Maybe velocity logging could I turn off also? Thanks in advance. Lukasz -- View this message in context: http://www.nabble.com/m2%2C-surefire-console-output-tf2500944.html#a6971781 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] plugin repositories
Hi, I use several plugins in my parent-pom. Some of them are release versions, others are snapshot-versions. And they are both, from apache and codehaus. So i configured the pluginRepos for both of them (as well as my internal repo). pluginRepositories pluginRepository idapache-snapshots/id nameApache snapshots/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url /pluginRepository pluginRepository idcodehaus-snapshots/id nameCodehaus snapshots/name urlhttp://snapshots.maven.codehaus.org/maven2/url /pluginRepository pluginRepository idinternal-maven-repository-http/id nameInternal Maven Repository/name url${repository.url.http}/url /pluginRepository /pluginRepositories The problem is that maven tries to download some of the release plugins from the snapshot repos first, instead of the central repo. in my settings.xml i have configured some mirrors as well: settings mirrors mirror !-- The Netherlands, Amsterdam -- idggi-project.org/id urlhttp://ftp.ggi-project.org/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror mirror !-- The Netherlands, Amsterdam -- idsateh.com/id urlhttp://maven.sateh.com/repository/url mirrorOfcentral/mirrorOf /mirror mirror !-- Denmark -- iddotsrc.org/id urlhttp://mirrors.dotsrc.org/maven2/url mirrorOfcentral/mirrorOf /mirror mirror !-- Denmark -- idsunsite.dk/id urlhttp://mirrors.sunsite.dk/maven2/url mirrorOfcentral/mirrorOf /mirror mirror !-- Australia, Queensland -- idplanetmirror.com/id urlhttp://downloads.planetmirror.com/pub/maven2/url mirrorOfcentral/mirrorOf /mirror mirror !-- United States, Louisiana -- idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror mirror !-- United States, North Carolina -- idibiblio.net/id urlhttp://www.ibiblio.net/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings but how can i define the order in which the repositories are looked up?? Do i need to configre the central repository separately? Maybe in a repository block?? like: repositories repository idcentral/id nameCentral Repository/name urlhttp://www.ibiblio.net/pub/packages/maven2/url /repository /repositories thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--plugin-repositories-tf2500971.html#a6971849 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] How to put Surefire reports in project-reports.html?
Hi all, I'm able to put Checkstyle, Xref and Cobertura reports in the target\site\project-reports.html. For this I have in my pom.xml reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jxr-plugin/artifactId /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin /plugins /reporting Is it possible to do the same for Surefire? Greetings, Xavier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: addClassPath issue within EAR
Ahhh you know I was ON THAT EXACT PAGE and I missed the classPathPrefix. Thanks though, much appreciated... -aps On 10/24/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: 2006/10/24, Alexander Sack [EMAIL PROTECTED]: Remy, thanks, that's perfect. I feel dumb. With that said, how do you find the classpathPrefix node? I went to the doc on the jar:jar plugin and see nothing. Obviously I'm looking in the wrong spot. I knew about the addClasspath prefix from the mailing list as well as the BetterBuilds book. But I didn't see any examples of classpathPrefix. Well, I don't remember exactly where I found this information. The documentation is not always complete and update... I think I saw the solution in this mailing list. You can also look at this page http://maven.apache.org/guides/mini/guide-manifest.html Rémy -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: selenium plugin?
Can you move this plugin in MOJO project? Emmanuel Prasad Kashyap a écrit : We in Geronimo 1.2 also use Selenium in our testsuite. We have created a selenium-maven-plugin to start selenium. http://geronimo.apache.org/maven/server/maven-plugins/selenium-maven-plugin/index.html We use TestNG to run the tests. Check out the following links for a basic example. http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/ Remeber that this is in trunk. So this is work in progress. Cheers Prasad On 10/20/06, Mick Knutson [EMAIL PROTECTED] wrote: Is this plugin available for maven 2? -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson - 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: Way to automatically find child pom.xml's instead of defining modules?
Yeah, write a plugin to do it ;) The question is, why? Why can't you just use modules? Eric On 10/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi - Is there a way to have maven recursively search down a directory any call pom.xml's as oppose to having to define every child by using the module tag? Thanks, Scott. Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. -- Eric Redmond http://codehaus.org/~eredmond
Re: [m2] How to put Surefire reports in project-reports.html?
Hi Xavier, Just try to add the surfire-report plugin in the reporting section: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId /plugin HTH, Rémy 2006/10/24, Xavier Outhier [EMAIL PROTECTED]: Hi all, I'm able to put Checkstyle, Xref and Cobertura reports in the target\site\project-reports.html. For this I have in my pom.xml reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jxr-plugin/artifactId /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin /plugins /reporting Is it possible to do the same for Surefire? Greetings, Xavier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Create only .classpath with eclipse:eclipse?
Ok, I'll do it, as soon as I find a bit more time :-) Best regards, Eric -Ursprüngliche Nachricht- Von: Wayne Fay [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Oktober 2006 20:40 An: Maven Users List Betreff: Re: AW: Create only .classpath with eclipse:eclipse? Write the code yourself and contribute it back... I'm sure they'd accept it and add it to the Eclipse plugin if its useful functionality that others might desire as well. Sounds like fairly simple code -- removing functionality rather than adding it. Wayne On 10/23/06, Lewis, Eric [EMAIL PROTECTED] wrote: Hi James Thanks for your help! Theoretically, recreating the .project would be a possibility, but of course I don't know what other external tools and builders and whatnot will be in the project files. So overwriting them with a hardcoded setting isn't really an option IMHO. I guess I'll have to do it with a backup copy then. Do you think there's a chance that the plugin authors would change its behavior, adding something like eclipse:classpath? In the meantime, since I'm calling Maven with eclipse:eclipse as an External Tool in Eclipse, I created a batch file which does the copying: echo Making a backup of .project file copy .project .project_backup echo Starting Maven call mvn %* echo Restoring .project file copy .project_backup .project echo Deleting .project backup del .project_backup Best regards, Eric -Ursprüngliche Nachricht- Von: James Mitchell [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 21. Oktober 2006 08:42 An: Maven Users List Betreff: Re: AW: Create only .classpath with eclipse:eclipse? I see. Well, I suppose you could keep a backup copy and just overwrite the incorrectly gen'd one every time, but that would be frustrating I'm sure. I don't know if the current plugin supports this sort of specialized build configuration or some way to inject fragments into the output files, but I did find one interesting work-around. By adding a little configuration to your pom.xml, you can tell Maven to just overwrite the gen'd one with one specify in your pom. Here's how I did it: In the plugins section I added the following... ... ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration additionalConfig file name.project/name content ![CDATA[ ?xml version=1.0 encoding=UTF-8? projectDescription nameejbtest/name comment/comment projects /projects buildSpec buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/ org.eclipse.jst.j2ee.ejb.annotations.xdoclet.xdocletbuilder.launch/ value /dictionary /arguments /buildCommand buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/ GenerateSources.launch/value /dictionary /arguments /buildCommand buildCommand nameorg.eclipse.jdt.core.javabuilder/name arguments /arguments /buildCommand buildCommand nameorg.eclipse.wst.common.project.facet.core.builder/name arguments /arguments /buildCommand buildCommand nameorg.eclipse.wst.validation.validationbuilder/name arguments /arguments /buildCommand /buildSpec natures natureorg.eclipse.wst.common.project.facet.core.nature/nature natureorg.eclipse.jdt.core.javanature/nature natureorg.eclipse.wst.common.modulecore.ModuleCoreNature/nature natureorg.eclipse.jem.workbench.JavaEMFNature/nature /natures /projectDescription ]] /content /file /additionalConfig /configuration /plugin ... ... And Maven will happily write that file (conveniently) after the wrong .project gets written. I doubt that this is the correct way
[M2] maven-changelog-plugin, apache plugin repo down?
Hi, i currently have the following problem: [INFO] snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT: checking for updates from apache-snapshots [WARNING] repository metadata for: 'snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT' could not be retrieved from repository: apache-snapshots due to an error: Error transferring file [INFO] Repository 'apache-snapshots' will be blacklisted Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-changelog-plugin/2.0-SNAPSHOT/mav en-changelog-plugin-2.0-SNAPSHOT.pom [WARNING] Unable to get resource from repository codehaus-snapshots (http://snapshots.maven.codehaus.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-changelog-plugin Version: 2.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-changelog-plugin:pom:2.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache-snapshots (http://people.apache.org/maven-snapshot-repository), codehaus-snapshots (http://snapshots.maven.codehaus.org/maven2), it seems to me that the apache-snapshot-repo URL has changed, or it is currently down, or the plugin is not supported any more. here is my repo-config: repositories repository idcentral/id nameMaven Central Repository/name urlhttp://repo1.maven.org/maven2/url snapshots enabledfalse/enabled /snapshots releases updatePolicynever/updatePolicy /releases /repository /repositories pluginRepositories pluginRepository idcentral/id nameCentral Repository/name urlhttp://repo1.maven.org/maven2/url snapshots enabledfalse/enabled /snapshots releases updatePolicynever/updatePolicy /releases /pluginRepository pluginRepository idapache-snapshots/id nameApache snapshots/name urlhttp://people.apache.org/maven-snapshot-repository/url !--urlhttp://people.apache.org/repo/m2-snapshot-repository/url-- snapshots enabledtrue/enabled /snapshots /pluginRepository pluginRepository idcodehaus-snapshots/id nameCodehaus snapshots/name urlhttp://snapshots.maven.codehaus.org/maven2/url snapshots enabledtrue/enabled /snapshots /pluginRepository /pluginRepositories Anybody here, who knows more? thx 4 help R.C. -- View this message in context: http://www.nabble.com/-M2--maven-changelog-plugin%2C-apache-plugin-repo-down--tf2501455.html#a6973271 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] maven-changelog-plugin, apache plugin repo down?
On 10/24/06, CodingPlayer [EMAIL PROTECTED] wrote: it seems to me that the apache-snapshot-repo URL has changed, or it is currently down, or the plugin is not supported any more. The snapshot URL is: http://people.apache.org/repo/m2-snapshot-repository It is currently down, the 'people.apache.org' box was part of some ASF infrastructure changes that started last Saturday. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sendonXXX ignored
Is it a known problem that continuum ignores the sendOn pom settings (i'm using 1.0.3): notifier typemail/type configuration addressz/address sendOnErrorfalse/sendOnError sendOnFailuretrue/sendOnFailure sendOnWarningtrue/sendOnWarning sendOnSuccesstrue/sendOnSuccess /configuration /notifier notifier typemail/type configuration addressy/address sendOnErrortrue/sendOnError sendOnFailurefalse/sendOnFailure sendOnWarningfalse/sendOnWarning sendOnSuccessfalse/sendOnSuccess /configuration /notifier notifier typemail/type configuration addressx/address sendOnErrortrue/sendOnError sendOnFailurefalse/sendOnFailure sendOnWarningfalse/sendOnWarning sendOnSuccessfalse/sendOnSuccess /configuration /notifier Results in: Type Recipient Events From Mail x Success Failures Error Warnings Project Mail yy Success Failures Error Warnings Project Mail zzz Success Failures Error Warnings Project
problems with offline apache servers
Hi, I have some problems with fact that seemingly the apache snapshot servers are offline (some error with qdox-20051211.114207.pom - detailed error log on request, I don't want to spam the list with this long log). In first place, one question would be if anyone knows a mirror for http://cvs.apache.org/repository/, which would help a lot in first place. Another question would be, how can I make maven cache such things. It seems to cache a lot of things automatically in my local .m2 folder, but these seem not to be cached. Thanks in advance, Henning - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem using Maven2 eclipse plugin
Thanks Wayne. After more digging, it appears in my case, I have Sun to blame. http://access1.sun.com/cgi-bin/rinfo2html?354930.faq It just turns out I didn't run into the problem until trying to use maven. -- Kevin -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 12:18 AM To: Maven Users List Subject: Re: Problem using Maven2 eclipse plugin Related thread on UNC path issues: From: [EMAIL PROTECTED] To: users@maven.apache.org Date: Sep 26, 2006 8:23 AM Subject: Maven2 and Network Shares Also http://jira.codehaus.org/browse/MNG-2580 Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: can't remove project
I did both of those but the projects are still there. In the past the only solution was to completely torch the database but that results in a ton of work. We have several large multimodule builds and we only want to build the parent. It means I have to add the pom, wait for everything to be added, then go and remove 100+ projects one at a time. -Original Message- From: Adam [mailto:[EMAIL PROTECTED] Sent: Friday, October 20, 2006 4:53 PM To: continuum-users@maven.apache.org Subject: Re: Re: can't remove project Delete the build definition for the project you want to delete and then you should be able to delete it. If that doesn't work, you shut down Continuum and remove the working directory that the project is in, then it will delete. On 10/19/06, Brian E. Fox [EMAIL PROTECTED] wrote: Man, I hate this bug. It happened again after adding a new project. Now I can't delete them and I get a different exception. ognl.MethodFailedException: Method removeProject failed for object [EMAIL PROTECTED] [javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12630). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12628). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12625). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12623). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12631). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12627). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12629). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12624). The statement has been rolled back. javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM PROJECTNOTIFIER WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'PROJECTNOTIFIER' caused a violation of foreign key constraint 'PROJECT_NOTIRN_FK2' for key (12626). The statement has been rolled back.] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796) at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819) at ognl.ASTMethod.getValueBody(ASTMethod.java:75) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:378) at ognl.Ognl.getValue(Ognl.java:357) at org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation (DeleteEntity.java:57) at org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.jav a:47) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve .java:68) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe line.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at
Re: problems with offline apache servers
On 10/24/06, Henning Sprang [EMAIL PROTECTED] wrote: I have some problems with fact that seemingly the apache snapshot servers are offline (some error with qdox-20051211.114207.pom - detailed error log on request, I don't want to spam the list with this long log). In first place, one question would be if anyone knows a mirror for http://cvs.apache.org/repository/, which would help a lot in first place. Only official releases are mirrored, not the snapshot repositories. Another question would be, how can I make maven cache such things. It seems to cache a lot of things automatically in my local .m2 folder, but these seem not to be cached. Something like Proximity or Archiva? If it makes sense, you might also consider doing an 'internal release' of your snapshot dependencies, so that you have a fixed version. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [vote] Re: maven-war-plugin 2.0.2
I would definitely like to see more plugin releases. Second best would be an overview of what priorities the maven 2 committers follow at the moment. Perhaps they are focusing on maven 2.0.5, maybe 1.1 I don't know, but once I know, I can be a lot more patient. Marcel --- Mark Hobson [EMAIL PROTECTED] wrote: On 17/10/06, Carlos Sanchez [EMAIL PROTECTED] wrote: the more releases the better +1 Any more takers?! I've added [vote] to the subject in the hope of enticing some more positive numbers.. :) Mark - 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: problems with offline apache servers
On 10/24/06, Wendy Smoak [EMAIL PROTECTED] wrote: Something like Proximity or Archiva? If it makes sense, you might also consider doing an 'internal release' of your snapshot dependencies, so that you have a fixed version. Thanks for the reply. So maven is not able to cache these on it's own? Why is this? In more detailed words: why can maven cache jars and stuff of some things needed in a build but not some others, like snapshot versions and more (i saw problems with an activecluster-1.1-SNAPSHOT version, but also with some qdox version, that doesn't seem to have a SNAPSHOT in it's name. Henning - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webstart-maven-plugin needs maven-jar-plugin:jar:2.1-SNAPSHOT
El 24/10/2006 13:24, Chris Michiels escribió: Thanks Andrés, I've got everything working, and am now facing the velocity template (being a total newbie at velocity). Care to share your template.vm :o) ? I used the one from the repo jars and it produced a launch.jnlp like : ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp My VM generates a JSP, which generates the JNLP itself. Besides, it gets the web URI of the JNLP from a parameter. So, it's a bit special and I'm not very sure it's going to help you, but here it is (note the $dependencies, it's quite important to load all the dependencies jar's): %@ page contentType=application/x-java-jnlp-file %?xml version=1.0 encoding=iso-8859-1? % String url = getServletContext().getInitParameter(Web/Url); % jnlp spec=1.0+ codebase=%= url % href=%= url %/jnlp.jsp information titleXXX/title descriptionXXX/description description kind=tooltipXXX/description vendorXXX/vendor icon href=XXX / offline-allowed/ /information security all-permissions/ /security resources j2se version=1.4+ max-heap-size=128m / $dependencies /resources application-desc main-class=$mainClass / /jnlp Hope it helps, Andrés - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
download artefacts from managed repositories
Hello I was checking the daily build for archiva today and I configured 2 repositories, one proxied to ibiblio and one without proxy. Browsing the repository I can only download artefacts from proxied repositories. Artefacts in managed repositories are not handled. I checked the code and found the problem in DefaultProxyManager.getProxyGroups() Only Proxied Repositories are added to the group, and therefore only managed repositories will be searched for a requested artefact. If I comment line 178 // if ( !proxiedRepositories.isEmpty() ) then I can only download artefacts when I add the repoId in the url for the download http://localhost:8080/archiva/proxy/repoId/... now all artefacts are accessible... Is this the way it should work, or should this be changed ? if only 1 proxied repository is defined, then the downloads will work, because it is hendled like the default repo (Line 187-190). - as soon as you have more than on proxied repository (release, snapshot) you will get problems. If the indexer would add the repository_id to the model, the url could be modified to contain the repo_id now, I can have a closer look, if this is the way to go... - Daniel
Re: ftp-wagon Unrecognised tag: 'extensions'
Hi Jeff, Could you please post your whole pom, and also the version of maven you're running? Thanks, Paul Jeff Mutonho wrote: On 10/23/06, Wayne Fay [EMAIL PROTECTED] wrote: Fair enough, I hadn't noticed that. I've only ever used extensions inside a plugin so I figured this was the only valid place for it. Next time I'll have to check the entire XSD and not assume... ;-) In that case, I really have no idea why its not recognized. Try moving it under plugin just for fun and see if the unrecognised tag error goes away. Wayne I've tried moving it to just before plugins and immediately after /plugins and I still get the same error. Where are the maven gurus?Please help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ftp-wagon-Unrecognised-tag%3A-%27extensions%27-tf2496953.html#a6975428 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs.apache.org connection problems
There were a variety of servers out yesterday. This one still isn't responding. -- View this message in context: http://www.nabble.com/cvs.apache.org-connection-problems-tf2499791.html#a6975473 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2, surefire console output
I think by default stacktraces do not appear. To see them, you have to add this to the maven-surefire-plugin section of your pom: configuration useFilefalse/useFile /configuration Have you done that? If so, then removing it should get you what you want. Paul -- View this message in context: http://www.nabble.com/m2%2C-surefire-console-output-tf2500944.html#a6975651 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problems with offline apache servers
Maven does cache snapshots. Run with -o and it won't check the repos. It will fail if you haven't run it before and the snapshots are not cached. On 10/24/06, Henning Sprang [EMAIL PROTECTED] wrote: On 10/24/06, Wendy Smoak [EMAIL PROTECTED] wrote: Something like Proximity or Archiva? If it makes sense, you might also consider doing an 'internal release' of your snapshot dependencies, so that you have a fixed version. Thanks for the reply. So maven is not able to cache these on it's own? Why is this? In more detailed words: why can maven cache jars and stuff of some things needed in a build but not some others, like snapshot versions and more (i saw problems with an activecluster-1.1-SNAPSHOT version, but also with some qdox version, that doesn't seem to have a SNAPSHOT in it's name. Henning - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Maven repositories confusion
Hi. I'm struggling to understand how Maven manages its list of repositories. If I take a repository out of the repositories section of my pom.xml, Maven doesn't necessarily start using that repository. I'm using Maven 2.0.4 For example, I have a pom.xml for a project that depends on ActiveMQ. Right now, it has no repositories block, so I expect Maven to use my local repository and the central repo. Instead, I get this: Error transferring file org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.incubating.releases (http://people.apache.org/repo/m2-incubating-repository) Path to dependency: 1) com.mycompany.myproject:basic-demo:jar:1.0-SNAPSHOT 2) org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT 3) org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT Caused by I/O exception: Server returned HTTP response code: 503 for URL: http:/ /people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-we b/4.1-incubator-SNAPSHOT/activemq-web-4.1-incubator-SNAPSHOT.jar I know that people.apache.org is down, so I don't want to use it. The two repositories there were once in my pom.xml's repositories section, but I took them out because I wanted to avoid trying to hit that site. Can someone explain why Maven keeps trying to use repositories after I remove them from my pom.xml? Is there a way to make Maven stop using those repositories? I've already checked that there is no mention of these repositories in my settings.xml (local or global versions). -Beth -- View this message in context: http://www.nabble.com/-m2--Maven-repositories-confusion-tf2502246.html#a6975719 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
project.build.finalName incorrect in Clover forked lifecycle
Hi all, I'm having some problems with the maven-clover-plugin and generating resources (in the generate-resources phase) into the appropriate target directory. The clover plugin forks a lifecycle and modifies the build finalName to include the classifier -clover. I generate a web.xml file (for a war, using xdoclet) using the webdoclet configuration: webdoclet destDir=${project.build.directory}/$ {project.build.finalName}/WEB-INF ... /webdoclet This configuration is in a custom execution for the xdoclet plugin, running in the generate-resources phase. It simply states to generate some output in the destDir location (the particular output isn't really important). When the forked lifecycle executes, the project.build.finalName property is not reflecting the forked lifecycle's value (i.e. it does not include the -clover classifier). This causes the build to fail: the appropriate output files are not written to destDir, so the war packaging goal fails. This problem can also easily be seen by using the maven clover plugin (to fork a lifecycle) and binding an ant-run task to the generate- resources phase that simply echoes out the appropriate properties: execution idnormal/id phasegenerate-resources/phase configuration tasks echo message=${project.build.finalName} / /tasks /configuration goals goalrun/goal /goals /execution This will print out the same finalName in the initial and forked lifecycles, even though clover explicitly changes the finalName to include the classifier. My question is: am I doing something wrong, or does this look like a bug in maven? I'm on the latest stable release of maven (2.0.4), using maven-clover-plugin 2.3 and maven-war-plugin 2.0.1. One additional piece of interesting (though maybe not relevant) information is that help:effective-pom shows the interpolated value (e.g. myartifact-1.0-SNAPSHOT) of the variable $ {project.build.finalName}, while it leaves other variables (like $ {project.build.directory}) in the uninterpreted form. Is there a reason for this, and if so is it possible that finalName has been erroneously marked somewhere as constant between lifecycles? Cheers, Chris Tucker
Re: [m2] Maven repositories confusion
Search the poms in your ~/.m2 directory for those repositories. I'd expect you've got an old version of this project's pom installed in your repo with those repositories declared, or they're declared in one of your SNAPSHOT artifacts. Wayne On 10/24/06, Blinker [EMAIL PROTECTED] wrote: Hi. I'm struggling to understand how Maven manages its list of repositories. If I take a repository out of the repositories section of my pom.xml, Maven doesn't necessarily start using that repository. I'm using Maven 2.0.4 For example, I have a pom.xml for a project that depends on ActiveMQ. Right now, it has no repositories block, so I expect Maven to use my local repository and the central repo. Instead, I get this: Error transferring file org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), apache.incubating.releases (http://people.apache.org/repo/m2-incubating-repository) Path to dependency: 1) com.mycompany.myproject:basic-demo:jar:1.0-SNAPSHOT 2) org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT 3) org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT Caused by I/O exception: Server returned HTTP response code: 503 for URL: http:/ /people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-we b/4.1-incubator-SNAPSHOT/activemq-web-4.1-incubator-SNAPSHOT.jar I know that people.apache.org is down, so I don't want to use it. The two repositories there were once in my pom.xml's repositories section, but I took them out because I wanted to avoid trying to hit that site. Can someone explain why Maven keeps trying to use repositories after I remove them from my pom.xml? Is there a way to make Maven stop using those repositories? I've already checked that there is no mention of these repositories in my settings.xml (local or global versions). -Beth -- View this message in context: http://www.nabble.com/-m2--Maven-repositories-confusion-tf2502246.html#a6975719 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven including image resources based on profile in webapp
Hi, I need to include an image library into the build depending on the deploy destination. If its qa I include it. If its production I do not. If I use the war-plugin webResource it will include all the time. If I use a profile and set it up as resource, it will add it to the web-inf/classes. I need to add it to the root. Using profiles and webResource it doesn't work. So, what can I do about it? Creating a maven war project with one image folder is overkill. thanks, Attila __ 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: [M1] QALab 0.9.1 and Maven plugin released
Paul Can you post this on the QALab Users list. We will look into it but could you confirm which JDK you are using? It is the first time we see that one... Regards Benoit Paul Balm wrote: Benoitx wrote: ObjectLab is pleased to announce the release of version 0.9.1 (slowly getting closer to v 1.0) of QALab and its Maven 1.x plugin. I'm trying to use this plug-in under Maven 1.1-beta2, to agregate stats from Cobertura and PMD, I'm getting parser errors on the XML output of pmd-raw-report.xml and cobertura.xml respectively. Because it happens on both these files, I think it's my maven set-up (the XML parser that I use e.g.), and that the PMD and Cobertura reports are fine. I can also see those when I generate maven site -- they are ok. I have the dependencies that QALab specificies in my project.xml (on http://qalab.sourceforge.net/maven/dependencies.html), but of course additionally a bunch of other stuff that my project needs, so I'm worried this might screw things up. Anyway, below this message I pasted the output with errors. I think it goes wrong 12 lines into the output that I'm showing (on the PMD XML(, and the same error two lines below that on the Cobertura XML. I also append a list of the libraries that I'm using (the dependencies from my project.xml). Any suggestions more than welcome, 'cause I'm stuck! Thanks! Paul maven cobertura pmd [...ok...] maven -e maven-qalab-plugin:report [...] maven-qalab-plugin:report: [echo] QALab Report. Tag library requested that is not present: 'qalab' in plugin: 'maven-qalab-plugin-0.9.0' maven-qalab-plugin:merge: [echo] QALab Merge!... [echo] No Checkstyle file to process (/home/pbalm/dev/isoc/simbad/target/checkstyle/checkstyle-raw-report.xml). [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/pmd-raw-report.xml... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 [echo] No FindBugs file to process (/home/pbalm/dev/isoc/simbad/target/findbugs-raw-report.xml). [echo] No Simian file to process (/home/pbalm/dev/isoc/simbad/target/simian-raw-report.xml). [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Line... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 [echo] QALab Merge! /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Branch... [mergestat] org.xml.sax.SAXNotSupportedException: Feature: http://xml.org/sax/features/external-general-entities State: false [mergestat] Files: 0 Statistics:0 Tag library requested that is not present: 'qalab' in plugin: 'maven-qalab-plugin-0.9.0' maven-qalab-plugin:charts: [echo] QALab CHARTS! [buildchart] java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser [echo] Cobertura Chart [buildchart] java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser [echo] QALab SUMMARY XDOC for CHARTS! ... BUILD FAILED org.apache.commons.jelly.JellyTagException: file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:35:-1: jsl:stylesheet file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:89:-1: x:sort You must define an attribute called 'list' for this tag. at org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(StylesheetTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644) at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:101) [...more...] == Dependencies: (declared in this order) !-- As required by QALab: -- artifactIdant/artifactId version1.6.4/version artifactIdjcommon/artifactId version0.9.6/version artifactIdjfreechart/artifactId version0.9.21/version groupIdnet.objectlab/groupId artifactIdqalab/artifactId version0.9.1/version artifactIdxalan/artifactId version2.7.0/version artifactIdxerces/artifactId version2.4.0/version artifactIdxercesImpl/artifactId version2.6.2/version !-- Private libraries -- (private code here) !-- Axis webservice jars -- artifactIdaxis/artifactId version1.3/version artifactIdaxis-jaxrpc/artifactId version1.3/version artifactIdaxis-wsdl4j/artifactId version1.3/version artifactIdaxis-saaj/artifactId
Downloading a non-jar dependancy
I'm working on a web application projected using a maven 2 build system and I would like to be able to package parts of the Dojo AJAX toolkit into the WAR for this webapp. I'd prefer not to check the Dojo code into my source repository, so what is the best way for me to download the Dojo zip file from the Internet at build time to put the files in the WAR that I'd like to? -Bert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: download artefacts from managed repositories
I am having a similar issue. I have defined several managed repositories but the only ones that are consulted for artifacts are those that have proxies defined. I got around that by creating dummy managed repositories and proxying them out to the real ones but that is not a very secure solution. Here are some questions that I would love to understand when setting up my repos. Can I push artifacts to specific managed repositories via the proxy url. (ie. http://localhost:8080/archiva/proxy/repoId/) Can I download artifacts from only certain repositories if desired (ie. http://localhost:8080/archiva/proxy/repoId/) Can I access specific repositories by name rather than all of them. For example I have a repository that I push artifacts to for dev, qa, stage and prod. When I build I want to only upload and download to those repositories and some of my open source repos. This allows me to build using profiles for all of my environments without risk of intermixing artifacts from different environments. It would really help to clarify a set of use cases for how to set up a group of proxied and managed repositories for a complex enterprise. Once I understand how this all works I am more than happy to write a section for inclusion in the user guide. Scott D. Ryan Senior Java Developer/Architect Aurora Loan Services 10350 Park Meadows Drive Littleton, Co. 80124 Office: (720) 945-5328 Cell:(303) 263-3044 [EMAIL PROTECTED] -Original Message- From: Mohni, Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 9:42 AM To: archiva-users@maven.apache.org Subject: download artefacts from managed repositories Hello I was checking the daily build for archiva today and I configured 2 repositories, one proxied to ibiblio and one without proxy. Browsing the repository I can only download artefacts from proxied repositories. Artefacts in managed repositories are not handled. I checked the code and found the problem in DefaultProxyManager.getProxyGroups() Only Proxied Repositories are added to the group, and therefore only managed repositories will be searched for a requested artefact. If I comment line 178 // if ( !proxiedRepositories.isEmpty() ) then I can only download artefacts when I add the repoId in the url for the download http://localhost:8080/archiva/proxy/repoId/... now all artefacts are accessible... Is this the way it should work, or should this be changed ? if only 1 proxied repository is defined, then the downloads will work, because it is hendled like the default repo (Line 187-190). - as soon as you have more than on proxied repository (release, snapshot) you will get problems. If the indexer would add the repository_id to the model, the url could be modified to contain the repo_id now, I can have a closer look, if this is the way to go... - Daniel -- This message is intended only for the personal and confidential use of the designated recipient(s) named. If you are not the intended recipient of this message, you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Aurora Loan Services. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Maven Noobie - How can I just add a directory of jars to my classpath?
Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars-to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating a common local repository.
While experimenting with Maven2 I experienced the following error: Missing: -- 1) jsr170:jcr:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT 2) jsr170:jcr:jar:1.0 So I took the error message's advice and did the mvn install:install-file .. That fixed the problem and patched my local repository. However this leads sort an uncomfortable situation. If I have 15 developers on my team I now have to notify them to manually patch their repositories and answer their queries about how I broke the build. Not a tolerable situation. So what I'd like to do is this. I'd like to host a maven repository on our server (linux running apache and ssh). However I don't want it to be a full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2. I want the repository to be just like my local repository in that it has only the jars that our project needs, but one that I can point all our development team to. So when I come across this problem in the future, I can go out to that one shared, but local and minimal, repository do the mvn install:install-file and all our developers will see the change. Although I can find docs on how to accomplish the rsynch'ed full mirror repository model, I can't find much about how to have a local repository that can be shared. In terms of layout, our developers develop on windows supplemented by cygwin and the available server would be a linux box with apache web server and ssh. Any help would be appreciated. Adam
RE: Maven Noobie - How can I just add a directory of jars to my classpath?
I'm new too, so just been through this, but no you don't. You create a pom.xml file, or have maven do it for you by using mvn archetype:create args... Then you add dependency xml frags that tell what libs your project depends on. Then when you do a mvn compile or related goal, maven will download all the deps for you. So an example dependency is dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency The big idea of maven is it gets rid of that ./lib directory. You can track down your dependencies at a www.ibiblio.org/maven2 and use google to help you out by googling for site:www.ibiblio.org maven2 junit. It will lead you to a directory with a junit-3.8.1.pom file that will tell you the info needed to craft your dependency rule. Hope this helps. Adam -Original Message- From: goatwuss [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:54 AM To: users@maven.apache.org Subject: Maven Noobie - How can I just add a directory of jars to my classpath? Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars- to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Noobie - How can I just add a directory of jars to my classpat
Hello, Thanks for the reply... the situation is that I am trying to load a project with 100 or so jar files that I need to include in the library... I don't want to have to manually add each one to a repository, and include a separate dependency for each jar... I just need a quick and dirty way to compile this project THX adampp wrote: I'm new too, so just been through this, but no you don't. You create a pom.xml file, or have maven do it for you by using mvn archetype:create args... Then you add dependency xml frags that tell what libs your project depends on. Then when you do a mvn compile or related goal, maven will download all the deps for you. So an example dependency is dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency The big idea of maven is it gets rid of that ./lib directory. You can track down your dependencies at a www.ibiblio.org/maven2 and use google to help you out by googling for site:www.ibiblio.org maven2 junit. It will lead you to a directory with a junit-3.8.1.pom file that will tell you the info needed to craft your dependency rule. Hope this helps. Adam -Original Message- From: goatwuss [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:54 AM To: users@maven.apache.org Subject: Maven Noobie - How can I just add a directory of jars to my classpath? Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars- to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars-to-my-classpath--tf2503345.html#a6979513 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Changelog Plugin and CVS Tags
Nate wrote: From your text I understand that you are using Windows as your client OS and the command line CVS client from WinCVS, is that correct? Windows OS (2000) running cygwin WinCVS gui version 2.0.2.4 (Build 4) What CVS server are you using and what OS does it run on? I tried this on two CVS servers. The first one is local on my windows box. CVSNT 2.0.51d The second is a remote server: cvs 1.11.22 Thanks for the help, -Nate OK, I've tried using the command line cvs client from CVSNT 2.0.51 connecting to a cvs 1.11.20 server. Using command line cvs command I get all versions up to and including the one that was tagged by the higher tag. So my guess is that this is a problem with your cvs client. -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Noobie - How can I just add a directory of jars to my classpat
There's the teach a man to fish response and the give a man a fish response. I'll try to do a bit of both. I think the deeper question is what are your goals in migrating the project to maven? Most users find the dependency management features of Maven to be one of its strongest points. If you're dependant on mostly popular open source projects, you won't have to create and upload the files to a repository. For more information see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html I'm not aware of any single setting to do what you want, but from the link above, there is a 'system' scope you can specify for the dependencies. It shouldn't be hard to write a quick-n-dirty script to loop over the contents of your lib directory and spit out the appropriate xml that you could paste into your pom. It's a one time only effort. From this point, I'd encourage you to search for your dependencies in the master maven repository and modify the scope away from 'system', but this could be done incrementally. Here's a handy search page to do so http://www.mvnregistry.com/ Greg Vaughn [EMAIL PROTECTED] goatwuss [EMAIL PROTECTED] 10/24/2006 02:14 PM Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject RE: Maven Noobie - How can I just add a directory of jars to my classpat Hello, Thanks for the reply... the situation is that I am trying to load a project with 100 or so jar files that I need to include in the library... I don't want to have to manually add each one to a repository, and include a separate dependency for each jar... I just need a quick and dirty way to compile this project THX adampp wrote: I'm new too, so just been through this, but no you don't. You create a pom.xml file, or have maven do it for you by using mvn archetype:create args... Then you add dependency xml frags that tell what libs your project depends on. Then when you do a mvn compile or related goal, maven will download all the deps for you. So an example dependency is dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency The big idea of maven is it gets rid of that ./lib directory. You can track down your dependencies at a www.ibiblio.org/maven2 and use google to help you out by googling for site:www.ibiblio.org maven2 junit. It will lead you to a directory with a junit-3.8.1.pom file that will tell you the info needed to craft your dependency rule. Hope this helps. Adam -Original Message- From: goatwuss [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:54 AM To: users@maven.apache.org Subject: Maven Noobie - How can I just add a directory of jars to my classpath? Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars- to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars-to-my-classpath--tf2503345.html#a6979513 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error,
Re: checkstyle plugin check goal fails with ugly exception instead of nice build failed
Rolf Strijdhorst wrote: Hi, this is the exception i recieve: [INFO] There are 3 checkstyle errors. [WARN] Unable to locate Source XRef to link to - DISABLED [WARN] org.apache.velocity.runtime.exception.ReferenceException: reference : template = org/apache/maven/plugin/checkstyle/checkstyle-rss.vm [line 6,column 11] : ${project.url} is not a valid reference. [WARN] org.apache.velocity.runtime.exception.ReferenceException: reference : template = org/apache/maven/plugin/checkstyle/checkstyle-rss.vm [line 1,column 1] : ${project.url} is not a valid reference. [DEBUG] File C:\workspaces\br_java_Rolf_32\maven_build\target\site/checkstyle.rss created... [DEBUG] Configuring mojo ' org.apache.maven.plugins:maven-checkstyle-plugin:2.1:check' -- [DEBUG] (f) failOnViolation = true [DEBUG] (f) outputFile = C:\workspaces\br_java_Rolf_32\maven_build\target\checkstyle-result.xml [DEBUG] (f) outputFileFormat = xml [DEBUG] -- end configuration -- [INFO] checkstyle:check {execution: basicstyles} [ERROR] mojo-execute : checkstyle:check {execution: basicstyles} Diagnosis: You have 3 checkstyle violations. FATAL ERROR: Error executing Maven for a project [ERROR] project-execute : org.dji:maven_build:jar:0.0.1 ( task-segment: [package] ) Diagnosis: You have 3 checkstyle violations. FATAL ERROR: Error executing Maven for a project org.apache.maven.BuildFailureException: You have 3 checkstyle violations. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoFailureException: You have 3 checkstyle violations. at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute( CheckstyleViolationCheckMojo.java:96) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more And these are my settings: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version${checkstyle.version}/version executions execution idbasicstyles/id phaseprocess-sources/phase goals goalcheck/goal /goals /execution /executions configuration configLocation ${checkstyle.location} /configLocation suppressionsLocation ${checkstyle.suppressions.location} /suppressionsLocation failOnViolationtrue/failOnViolation /configuration dependencies dependency groupIdorg.dji.checkstyle/groupId artifactIdbrcheckstyle/artifactId version1.0/version /dependency dependency groupIdorg.dji.checkstyle/groupId artifactIdcheckstyle-optional/artifactId version4.2/version /dependency dependency groupIdorg.dji.checkstyle/groupId artifactIdPGITChecks/artifactId version1.0/version /dependency /dependencies /plugin /plugins /build As said before the error is correct but it just doesn't fail nicely Rolf On 10/11/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote: monday I will put the exception on this list thanx anyway Rolf On 10/10/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Rolf Strijdhorst wrote: Hi when running the checkstyle plugin and some code styles are violated the build fails with an exception. It does not fail nicely like the pmd plugin.
Re: Creating a common local repository.
That's a common situation. We have installed MavenProxy on a server in our company. This acts as a cache of artifacts from ibiblio, but also has a separate internal repository where we deploy artifacts that are not in ibiblio. My understanding is that MavenProxy is no longer being actively developed. Other tools I've heard mentioned as performing similar functions are Proximity and Archiva. I've not looked at those, but they're on my to-do list. Greg Vaughn [EMAIL PROTECTED] Adam Perry-Pelletier [EMAIL PROTECTED] wrote on 10/24/2006 02:03:26 PM: While experimenting with Maven2 I experienced the following error: Missing: -- 1) jsr170:jcr:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT 2) jsr170:jcr:jar:1.0 So I took the error message's advice and did the mvn install:install-file .. That fixed the problem and patched my local repository. However this leads sort an uncomfortable situation. If I have 15 developers on my team I now have to notify them to manually patch their repositories and answer their queries about how I broke the build. Not a tolerable situation. So what I'd like to do is this. I'd like to host a maven repository on our server (linux running apache and ssh). However I don't want it to be a full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2. I want the repository to be just like my local repository in that it has only the jars that our project needs, but one that I can point all our development team to. So when I come across this problem in the future, I can go out to that one shared, but local and minimal, repository do the mvn install:install-file and all our developers will see the change. Although I can find docs on how to accomplish the rsynch'ed full mirror repository model, I can't find much about how to have a local repository that can be shared. In terms of layout, our developers develop on windows supplemented by cygwin and the available server would be a linux box with apache web server and ssh. Any help would be appreciated. Adam == Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please immediately return this communication to the sender and delete the original message and any copy of it in your possession. ==
Re: JMeterMavenPlugin
Never used it before, but the first things the instructions say is: - Create a local Maven repository, if you don't already have one. - Drop in the attached JMeter jarhttp://wiki.apache.org/jakarta-jmeter-data/attachments/JMeterMavenPlugin/attachments/jmeter-2.2.jarand POMhttp://wiki.apache.org/jakarta-jmeter-data/attachments/JMeterMavenPlugin/attachments/jmeter-2.2.pom. You do not need to have JMeter separately installed. - Add the jar files that are referenced in the JMeter POM to your local repository, if they are not on ibiblio. So my guess is you need to download the missing things and put them in your repo. See http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html On 10/24/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Anyone successfully using this plugin from http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin I'm trying to build and install it by running 'mvn install' as per instructions , but I'm getting stumped by the error message : [INFO] Using default encoding to copy filtered resources. Downloading: http://fellagoagain-dr.santamonica.corp.yahoo.com/maven/jcharts/jch arts/0.7.5/jcharts-0.7.5.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: jcharts:jcharts Reason: Error getting POM for 'jcharts:jcharts' from the repository: Error trans ferring file jcharts:jcharts:pom:0.7.5 from the specified remote repositories: central (http://repo1.maven.org/maven2), yahoo-music (http://fellagoagain-dr.santamonica.corp.yahoo.com/maven) -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Downloading a non-jar dependancy
I'm working on a web application projected using a maven 2 build system and I would like to be able to package parts of the Dojo AJAX toolkit into the WAR for this webapp. I'd prefer not to check the Dojo code into my source repository, so what is the best way for me to download the Dojo zip file from the Internet at build time to put the files in the WAR that I'd like to? -Bert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
repository down?
Is http://cvs.apache.org/repository down? I am receiving the following error while doing a maven build. C:\eclipse_workspace\axis2_os_oct\1024amaven -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true 21 | tee full_build_wrapper.log __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Attempting to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Attempting to download maven-jar-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-jar-plugin-1.8-SNAPSHOT.jar. Attempting to download maven-plugin-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-plugin-plugin-1.8-SNAPSHOT.jar. The build cannot continue because of the following unsatisfied dependencies: maven-test-plugin-1.8.1-SNAPSHOT.jar maven-multiproject-plugin-1.5-SNAPSHOT.jar maven-jar-plugin-1.8-SNAPSHOT.jar maven-plugin-plugin-1.8-SNAPSHOT.jar Total time: 13 seconds Finished at: Tue Oct 24 15:29:38 CDT 2006 Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED]
Re: Maven Noobie - How can I just add a directory of jars to my classpat
Some time ago (a few months), a user contributed a shell script (bash iirc) which cycled through a lib directory, installed each jar into the user's local m2 repo with generated poms, and output a long list of dependencies that could be copied and pasted into your project's pom.xml file to include all jars in your project. If you search the mailing list archive, I'm sure you'll find it. However, this is **really** the wrong approach IMO. You will be much better off in the long-term by finding the proper groupId and artifactId for your jars (assuming they are already in public Maven repos) and adding them to your project, and then handling non-public JARs by installing/deploying them individually to your local (or better, corporate shared) Maven repo. Wayne On 10/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There's the teach a man to fish response and the give a man a fish response. I'll try to do a bit of both. I think the deeper question is what are your goals in migrating the project to maven? Most users find the dependency management features of Maven to be one of its strongest points. If you're dependant on mostly popular open source projects, you won't have to create and upload the files to a repository. For more information see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html I'm not aware of any single setting to do what you want, but from the link above, there is a 'system' scope you can specify for the dependencies. It shouldn't be hard to write a quick-n-dirty script to loop over the contents of your lib directory and spit out the appropriate xml that you could paste into your pom. It's a one time only effort. From this point, I'd encourage you to search for your dependencies in the master maven repository and modify the scope away from 'system', but this could be done incrementally. Here's a handy search page to do so http://www.mvnregistry.com/ Greg Vaughn [EMAIL PROTECTED] goatwuss [EMAIL PROTECTED] 10/24/2006 02:14 PM Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject RE: Maven Noobie - How can I just add a directory of jars to my classpat Hello, Thanks for the reply... the situation is that I am trying to load a project with 100 or so jar files that I need to include in the library... I don't want to have to manually add each one to a repository, and include a separate dependency for each jar... I just need a quick and dirty way to compile this project THX adampp wrote: I'm new too, so just been through this, but no you don't. You create a pom.xml file, or have maven do it for you by using mvn archetype:create args... Then you add dependency xml frags that tell what libs your project depends on. Then when you do a mvn compile or related goal, maven will download all the deps for you. So an example dependency is dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency The big idea of maven is it gets rid of that ./lib directory. You can track down your dependencies at a www.ibiblio.org/maven2 and use google to help you out by googling for site:www.ibiblio.org maven2 junit. It will lead you to a directory with a junit-3.8.1.pom file that will tell you the info needed to craft your dependency rule. Hope this helps. Adam -Original Message- From: goatwuss [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:54 AM To: users@maven.apache.org Subject: Maven Noobie - How can I just add a directory of jars to my classpath? Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars- to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars-to-my-classpath--tf2503345.html#a6979513 Sent from the Maven - Users mailing list archive at Nabble.com.
Re: repository down?
Pinging cvs.apache.org [140.211.11.3] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 140.211.11.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Yes, its down, check again in a few days. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? I am receiving the following error while doing a maven build. C:\eclipse_workspace\axis2_os_oct\1024amaven -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true 21 | tee full_build_wrapper.log __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Attempting to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Attempting to download maven-jar-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-jar-plugin-1.8-SNAPSHOT.jar. Attempting to download maven-plugin-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-plugin-plugin-1.8-SNAPSHOT.jar. The build cannot continue because of the following unsatisfied dependencies: maven-test-plugin-1.8.1-SNAPSHOT.jar maven-multiproject-plugin-1.5-SNAPSHOT.jar maven-jar-plugin-1.8-SNAPSHOT.jar maven-plugin-plugin-1.8-SNAPSHOT.jar Total time: 13 seconds Finished at: Tue Oct 24 15:29:38 CDT 2006 Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repository down?
On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? Yes, though the correct URL is http://people.apache.org/repo/m1-snapshot-repository. That server was part of some ASF infrastructure work that started on Saturday. The original estimate was to be completed on Monday, but the work is taking longer than expected. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating a common local repository.
If you have a windows share server, so you can easyly share a 3rdParty Repository. You will also need same jar's that are not available in the 'maven'-web like activation.jar etc. So I haven't the configuration here at home, but it should be something like that: (settings.xml) repository idTest Snapshots/id urlfile:///k:/temp/rep//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /repository pluginRepositories pluginRepository snapshots enabledtrue/enabled /snapshots idkdg_PlugInSnapshotRepo/id namemvnPlugInSnapshotRepo/name urlfile:///v:/mvnPlugInSnapshotRepo/url /pluginRepository /pluginRepositories We did it with a Samba share and it works. So you can save the work for scp/ssh etc. We also use all the same maven.bat from a samba share. So we all use the same settings.xml. So only my colleague and me knows the configuration and all others just use it. I think you know http://www.mergere.com/m2book_download.jsp ?! If not, I think it would help much. But I've not read it ;-) Fredy 2006/10/24, Adam Perry-Pelletier [EMAIL PROTECTED]: While experimenting with Maven2 I experienced the following error: Missing: -- 1) jsr170:jcr:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT 2) jsr170:jcr:jar:1.0 So I took the error message's advice and did the mvn install:install-file .. That fixed the problem and patched my local repository. However this leads sort an uncomfortable situation. If I have 15 developers on my team I now have to notify them to manually patch their repositories and answer their queries about how I broke the build. Not a tolerable situation. So what I'd like to do is this. I'd like to host a maven repository on our server (linux running apache and ssh). However I don't want it to be a full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2. I want the repository to be just like my local repository in that it has only the jars that our project needs, but one that I can point all our development team to. So when I come across this problem in the future, I can go out to that one shared, but local and minimal, repository do the mvn install:install-file and all our developers will see the change. Although I can find docs on how to accomplish the rsynch'ed full mirror repository model, I can't find much about how to have a local repository that can be shared. In terms of layout, our developers develop on windows supplemented by cygwin and the available server would be a linux box with apache web server and ssh. Any help would be appreciated. Adam -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repository down?
Is there a backup repository that I can use while it is down? Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Wayne Fay [EMAIL PROTECTED] 10/24/2006 03:44 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: repository down? Pinging cvs.apache.org [140.211.11.3] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 140.211.11.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Yes, its down, check again in a few days. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? I am receiving the following error while doing a maven build. C:\eclipse_workspace\axis2_os_oct\1024amaven -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true 21 | tee full_build_wrapper.log __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Attempting to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Attempting to download maven-jar-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-jar-plugin-1.8-SNAPSHOT.jar. Attempting to download maven-plugin-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-plugin-plugin-1.8-SNAPSHOT.jar. The build cannot continue because of the following unsatisfied dependencies: maven-test-plugin-1.8.1-SNAPSHOT.jar maven-multiproject-plugin-1.5-SNAPSHOT.jar maven-jar-plugin-1.8-SNAPSHOT.jar maven-plugin-plugin-1.8-SNAPSHOT.jar Total time: 13 seconds Finished at: Tue Oct 24 15:29:38 CDT 2006 Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
copying configs from dependencies
If I have 2 modules A and B, and A depends on B, but B has a file config.properties in its conf/ dir. How can I build/package A so that config.properties will be in A also? How can I do it using maven-assembly-plugin? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Noobie - How can I just add a directory of jars to my classpat
I just need a quick and dirty way to compile this project so you should'nt use maven ?! Take ant! Fredy 2006/10/24, Wayne Fay [EMAIL PROTECTED]: Some time ago (a few months), a user contributed a shell script (bash iirc) which cycled through a lib directory, installed each jar into the user's local m2 repo with generated poms, and output a long list of dependencies that could be copied and pasted into your project's pom.xml file to include all jars in your project. If you search the mailing list archive, I'm sure you'll find it. However, this is **really** the wrong approach IMO. You will be much better off in the long-term by finding the proper groupId and artifactId for your jars (assuming they are already in public Maven repos) and adding them to your project, and then handling non-public JARs by installing/deploying them individually to your local (or better, corporate shared) Maven repo. Wayne On 10/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There's the teach a man to fish response and the give a man a fish response. I'll try to do a bit of both. I think the deeper question is what are your goals in migrating the project to maven? Most users find the dependency management features of Maven to be one of its strongest points. If you're dependant on mostly popular open source projects, you won't have to create and upload the files to a repository. For more information see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html I'm not aware of any single setting to do what you want, but from the link above, there is a 'system' scope you can specify for the dependencies. It shouldn't be hard to write a quick-n-dirty script to loop over the contents of your lib directory and spit out the appropriate xml that you could paste into your pom. It's a one time only effort. From this point, I'd encourage you to search for your dependencies in the master maven repository and modify the scope away from 'system', but this could be done incrementally. Here's a handy search page to do so http://www.mvnregistry.com/ Greg Vaughn [EMAIL PROTECTED] goatwuss [EMAIL PROTECTED] 10/24/2006 02:14 PM Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject RE: Maven Noobie - How can I just add a directory of jars to my classpat Hello, Thanks for the reply... the situation is that I am trying to load a project with 100 or so jar files that I need to include in the library... I don't want to have to manually add each one to a repository, and include a separate dependency for each jar... I just need a quick and dirty way to compile this project THX adampp wrote: I'm new too, so just been through this, but no you don't. You create a pom.xml file, or have maven do it for you by using mvn archetype:create args... Then you add dependency xml frags that tell what libs your project depends on. Then when you do a mvn compile or related goal, maven will download all the deps for you. So an example dependency is dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency The big idea of maven is it gets rid of that ./lib directory. You can track down your dependencies at a www.ibiblio.org/maven2 and use google to help you out by googling for site:www.ibiblio.org maven2 junit. It will lead you to a directory with a junit-3.8.1.pom file that will tell you the info needed to craft your dependency rule. Hope this helps. Adam -Original Message- From: goatwuss [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 11:54 AM To: users@maven.apache.org Subject: Maven Noobie - How can I just add a directory of jars to my classpath? Hello - I am getting started with Maven. I am looking at online guides and literature, and I'm trying to not be retarded All I want to do is somehow point to a directory of jar files (./lib) and add these to the classpath so I can compile my code in maven. I can see that there's this idea of the repository in maven... Do I have to manually add each required jar file to the local repository? Do I need to put more lines in my pom.xml for each required jar, or can I just say include this whole directory of jars Thanks, and sorry if this is a dumb question -- View this message in context: http://www.nabble.com/Maven-Noobie---How-can-I-just-add-a-directory-of-jars- to-my-classpath--tf2503345.html#a6979200 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: repository down?
You will need to ask the people at Apache who manage their infrastructure. I have no idea if there is a backup. I'm not aware of one, and none have been posted over the last few days so I'll assume there isn't one. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is there a backup repository that I can use while it is down? Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Wayne Fay [EMAIL PROTECTED] 10/24/2006 03:44 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: repository down? Pinging cvs.apache.org [140.211.11.3] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 140.211.11.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Yes, its down, check again in a few days. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? I am receiving the following error while doing a maven build. C:\eclipse_workspace\axis2_os_oct\1024amaven -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true 21 | tee full_build_wrapper.log __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Attempting to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Attempting to download maven-jar-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-jar-plugin-1.8-SNAPSHOT.jar. Attempting to download maven-plugin-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-plugin-plugin-1.8-SNAPSHOT.jar. The build cannot continue because of the following unsatisfied dependencies: maven-test-plugin-1.8.1-SNAPSHOT.jar maven-multiproject-plugin-1.5-SNAPSHOT.jar maven-jar-plugin-1.8-SNAPSHOT.jar maven-plugin-plugin-1.8-SNAPSHOT.jar Total time: 13 seconds Finished at: Tue Oct 24 15:29:38 CDT 2006 Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [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: copying configs from dependencies
Have you found the documentation ? http://maven.apache.org/plugins/maven-assembly-plugin/introduction.html Anather way will be a multiModule Project: http://maven.apache.org/guides/getting-started/index.html - How do I build more than one project at once? Fredy 2006/10/24, Chen, Anning [EMAIL PROTECTED]: If I have 2 modules A and B, and A depends on B, but B has a file config.properties in its conf/ dir. How can I build/package A so that config.properties will be in A also? How can I do it using maven-assembly-plugin? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: copying configs from dependencies
How is your definition for module? 2006/10/24, Chen, Anning [EMAIL PROTECTED]: If I have 2 modules A and B, and A depends on B, but B has a file config.properties in its conf/ dir. How can I build/package A so that config.properties will be in A also? How can I do it using maven-assembly-plugin? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading a non-jar dependancy
Hello, First, the Dojo zip file must be in a maven remote repository somewhere. If it isn't, you could just put it in private remote repository and point your project at it using the repositories element. There are lots of docs on setting up your own repository. It's just a directory structure like what you see on ibiblio. You don't even need a webserver if you're working alone; just give your pom a file:// url pointed at the repository root. Second, you can tell maven that the dependency is a zip and not a jar using typezip/type in your dependency section. Paul -- View this message in context: http://www.nabble.com/Downloading-a-non-jar-dependancy-tf2503103.html#a6981477 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-changes-plugin help please
The Apache-version of the plugin is a reporting-plugin. This means that it will generate its output during site generation. It also means that configuration should be in the reporting section of your pom. Please see: http://maven.apache.org/plugins/maven-changes-plugin/usage.html -- Dennis Lundberg Pete wrote: Help, I'm trying to switch from the old codehaus maven-changes-plugin to the new org.apache.maven.plugins version. Previously I had my pom configured to use the old plugin during the compile phase, so that a changes-report.html could be nested inside the web app's pages. Now with the new plugin it doesn't seem to generate a report at all, is there something about the new plugin which means it will only generate during the 'site' goal ? I've tried with and without a phase, and -X doesn't show any configuration for the plugin happening at all :- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId version2.0-beta-2-SNAPSHOT/version executions execution idproduce changes html page/id !-- phasecompile/phase-- inheritedfalse/inherited configuration xmlPath${project.build.outputDirectory}/changes/changes.xml/xmlPath reportSets reportSet reports reportchanges-report/report /reports /reportSet /reportSets /configuration goals goalchanges-report/goal /goals /execution /executions /plugin - 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: copying configs from dependencies
Module is equivalent to an application dir with all its sub dirs and files that it needs to run. The dir can also be in tar.gz or zip or whatever other compressed/tar'd format. For example, my simpleWebapp.tar.gz for Tomcat would contain subdirs such as jsps, images, WEB-INF etc... This does not mean that a module is limited to being a webapp. It could be a standalone Java app, or even perl. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SoftwareEngineering Hauschel Sent: Tuesday, October 24, 2006 5:05 PM To: Maven Users List Subject: Re: copying configs from dependencies How is your definition for module? 2006/10/24, Chen, Anning [EMAIL PROTECTED]: If I have 2 modules A and B, and A depends on B, but B has a file config.properties in its conf/ dir. How can I build/package A so that config.properties will be in A also? How can I do it using maven-assembly-plugin? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092 - 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: repository down?
Wayne, Thanks. I think I just wait for it. Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Wayne Fay [EMAIL PROTECTED] 10/24/2006 04:03 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: repository down? You will need to ask the people at Apache who manage their infrastructure. I have no idea if there is a backup. I'm not aware of one, and none have been posted over the last few days so I'll assume there isn't one. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is there a backup repository that I can use while it is down? Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Wayne Fay [EMAIL PROTECTED] 10/24/2006 03:44 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: repository down? Pinging cvs.apache.org [140.211.11.3] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 140.211.11.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Yes, its down, check again in a few days. Wayne On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? I am receiving the following error while doing a maven build. C:\eclipse_workspace\axis2_os_oct\1024amaven -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true 21 | tee full_build_wrapper.log __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-test-plugin-1.8.1-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-test-plugin-1.8.1-SNAPSHOT.jar. Attempting to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-multiproject-plugin-1.5-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-multiproject-plugin-1.5-SNAPSHOT.jar. Attempting to download maven-jar-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-jar-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-jar-plugin-1.8-SNAPSHOT.jar. Attempting to download maven-plugin-plugin-1.8-SNAPSHOT.jar. Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect Error retrieving artifact from [http://people.apache.org/repository/maven/plugins/maven-plugin-plugin-1.8-SNAPSHOT.jar]: java.net.ConnectException: Connection refused: connect WARNING: Failed to download maven-plugin-plugin-1.8-SNAPSHOT.jar. The build cannot continue because of the following unsatisfied dependencies: maven-test-plugin-1.8.1-SNAPSHOT.jar maven-multiproject-plugin-1.5-SNAPSHOT.jar maven-jar-plugin-1.8-SNAPSHOT.jar maven-plugin-plugin-1.8-SNAPSHOT.jar Total time: 13 seconds Finished at: Tue Oct 24 15:29:38 CDT 2006 Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [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: changelog-maven-plugin and scm error
There is maintenance work going on on the Apache machines. From www.apache.org: The Apache Software Foundation will be doing some infrastructure work that will cause some public services to be innaccessible from Saturday, October 21st through Monday, October 23rd. -- Dennis Lundberg Sam Anabtawi wrote: I have followed the instructions in this thread so far; here is a snippet of my pom.xml: project ... pluginRepositories pluginRepository idapache.snapshots/id nameApache Snapshot Repository/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories . . . /project reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version /plugin /plugins /reporting When I use mvn site, I get this error message: [INFO] snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT: checking for updates from apache.snapshots [WARNING] repository metadata for: 'snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT' could not be retrieved from repository: apache.snapsh ots due to an error: Error transferring file [INFO] Repository 'apache.snapshots' will be blacklisted My questions are: 1) How do unblacklist apache.snapshots so that I can try again 2) Is this a temporary issue with http://people.apache.org/repo/m2-snapshot-repository, or do I need to be looking for the plugin somewhere else? Emmanuel Venisse wrote: Jeff Mutonho a écrit : On 10/18/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: Do you have developers defined in your pom with an id that is the username used in your scm? Emmanuel Thanks.Sorted. One thing I noticed is that the Change Log ,Developer Activity and File Activity hyper links do not appear in the list Generated ReportS after I click on the Project Reports .I only see the following list of hyper links : * Project Information * Project Reports o Checkstyle o Cobertura Test Coverage o CPD Report o JavaDocs o Maven Surefire Report o PMD Report o Source Xref o Tag List However , when I click on any one of the list items (eg Checkstyle) , the Change Log ,Developer Activity and File Activity links all of a sudden appears on hyper link list (see below) : # Project Reports * Change Log * Checkstyle * Cobertura Test Coverage * CPD Report * Developer Activity * File Activity * JavaDocs * Maven Surefire Report * PMD Report * Source Xref * Tag List I noticed that during the generating of the change-log report , there was an error saying : [INFO] Generate Change Log report. [INFO] Using existing changelog.xml... [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 Could this be the cause ? I don't think it's the cause. These messages aren't really errors but velocity is too verbose. If it isn't a browser cache problem (but I think it is), please file an issue on site plugin. You can cerify in html files if it's ok or not. Emmanuel - 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]
Add Directory to Jar Manifest Classpath
I am building an executable JAR that depends on a handful of other JARs and a few config files being on the classpath. I want the config files to be editable by the end user, so did not add them as internal JAR resources. I've configured the maven-jar-plugin to generate a manifest and add the dependencies to its classpath (and create a mainclass entry), but cannot figure out how to configure it to add my config directory (containing the config files) to the classpath. Is it possible to add a directory to the classpath of a Maven-generated Manifest? Thanks in advance. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a6982645 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Continuum Startup error even though JAVA_HOME is set up
I did find this problem in forums but the resolution specified didn't work for me. I do have JAVA_HOME set up in my system and also I tried modifying the wrapper.conf to specify the absolute path to my JAVA_HOME instead of it using %JAVA_HOME%, but that didn't work too. I am getting this error while trying to start up Continuum from Win32/run.bat script | Critical error: wait for JVM process failed Press any key to continue . . . Please suggest what else could I change to make it work. -- View this message in context: http://www.nabble.com/Continuum-Startup-error-even-though-JAVA_HOME-is-set-up-tf2504948.html#a6984052 Sent from the Continuum - Users mailing list archive at Nabble.com.
Symbolic links
It seems that continuum follows symbolic links when deleting a project, which I discovered the hard way. This is very dangerous behavior – a warning should be added on the download page and this problem should be fixed.
Re: changing war name when installiing to repository
Hi Marek, when you configure the pom finalnamecustom_warname/finalname and execute mvn install, the artifact installed in your local repo will still follow the naming convention which is artifact-version. But the war generated in your target directory will follow your custom warname. -allan Mark Struberg wrote: if you only want to change the name of the generated war file, then you may simply use finalnameyourwarname/finalname After $ mvn package you will end up having a file ./target/yourwarname.war which may e.g. be locally deployed and started with cargo $ mvn cargo:start ending up with the contextpath yourwarname. lg, strub --- dawn [EMAIL PROTECTED] schrieb: Hi Marek, I don't think there's a work around for this as of the moment. Every artifact installed in the repository should follow the naming convention artifact-version. Dawn Marek Chowaniok wrote: Hi, I want to change name of created war file. Usually it is created in the form of artifact-version. There is attribute called warName which results in generating war file with this name but when I do mvn install it doesn't install the war with new generated name but with name artifact-version.war Is it the default action? Does some has some work arround? thanks -- View this message in context: http://www.nabble.com/changing-war-name-when-installiing-to-repository-tf2492849.html#a6951057 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Symbolic links
It seems that continuum follows symbolic links when deleting a project, which I discovered the hard way. This is very dangerous behavior - a warning should be added on the download page and this problem should be fixed.
Re: changelog-maven-plugin and scm error
Sam Anabtawi wrote: I have followed the instructions in this thread so far; here is a snippet of my pom.xml: project ... pluginRepositories pluginRepository idapache.snapshots/id nameApache Snapshot Repository/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories . . . /project reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version /plugin /plugins /reporting When I use mvn site, I get this error message: [INFO] snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT: checking for updates from apache.snapshots [WARNING] repository metadata for: 'snapshot org.apache.maven.plugins:maven-changelog-plugin:2.0-SNAPSHOT' could not be retrieved from repository: apache.snapsh ots due to an error: Error transferring file [INFO] Repository 'apache.snapshots' will be blacklisted My questions are: 1) How do unblacklist apache.snapshots so that I can try again 2) Is this a temporary issue with http://people.apache.org/repo/m2-snapshot-repository, or do I need to be looking for the plugin somewhere else? The site is down for maintaince: http://planetapache.org/ Apache stuff down at weekend -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cvs.apache.org connection problems
I am having the same issues with my maven 2 repository. I saw a posting last night that some of the apache servers (people and cvs) had gone down but no information on when they were expected back up or any alternative on how to get around the issue. It looks like these servers are embedded in the maven parent pom and I have not been able to find any mirrors to get snapshots off of. I am trying to get the latest commons-vfs so that i can compile the latest copy of Cargo but no luck so far. Any suggestions on mirrors or any idea on when the servers might be back up. Seems like we need a disaster recovery plan for times like these. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Gareth Tilley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 1:49 AM To: users@maven.apache.org Subject: cvs.apache.org connection problems Hi All, I'm trying to compile a plugin I've written, and am having some trouble with Maven attempting to download the required dependencies. The build just hangs when it tries to get things like: Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/maven-error -diagnostics/2.0.4/maven-error-diagnostics-2.0.4.jar Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/maven-monit or/2.0.4/maven-monitor-2.0.4.jar I've been working with Maven for a little while, and have made many changes to this plugin, all of which have been totally successful. I've never had any issues like this before. Does anyone have any ideas? Is there something wrong with that server? Regards Gareth Tilley -- View this message in context: http://www.nabble.com/cvs.apache.org-connection-problems-tf2499791.html#a696 8451 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven 2 build on jetspeed-2 errors
I'm new to maven-2.0.4/jetspeed-2. When I run mvn compile (using maven 2.0.4) in jetspeed-2 root directory I got the following error messages. I read some messages saying it has to use maven 1.0 as maven 2.0 doesn't support jetspeed-2 build. The thing is that one week ago I ran mvn compile, mvn test, mvn package, mvn install, mvn deploy in sequence and it worked fine with out popping up error messages. Please advise. Thanks, Billy [INFO] Building Jetspeed-2 Deploy Tools [INFO]task-segment: [compile] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'org.apache.portals.bridges:portals-bridges-common:pom:1.0.1-dev:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. Downloading: http://www.bluesunrise.com/maven2/jaxen/jaxen/1.0-FCS-full/jaxen-1.0-FCS-full.pom [WARNING] Unable to get resource from repository com.bluesunrise.m2 (http://www.bluesunrise.com/maven2) Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.0-FCS-full/jaxen-1.0-FCS-full.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://www.bluesunrise.com/maven/jaxen/poms/jaxen-1.0-FCS-full.pom [WARNING] Unable to get resource from repository com.bluesunrise.m1 (http://www.bluesunrise.com/maven) Downloading: http://dist.codehaus.org/jaxen/poms/jaxen-1.0-FCS-full.pom [WARNING] Unable to get resource from repository org.codehaus (http://dist.codehaus.org) Downloading: http://cvs.apache.org/repository/jaxen/poms/jaxen-1.0-FCS-full.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: jaxen:jaxen Reason: Error getting POM for 'jaxen:jaxen' from the repository: Error transferring file jaxen:jaxen:pom:1.0-FCS-full from the specified remote repositories: central (http://repo1.maven.org/maven2), org.apache (http://cvs.apache.org/repository), com.bluesunrise.m1 (http://www.bluesunrise.com/maven), com.bluesunrise.m2 (http://www.bluesunrise.com/maven2), org.codehaus (http://dist.codehaus.org) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 48 seconds [INFO] Finished at: Tue Oct 24 22:57:55 CDT 2006 [INFO] Final Memory: 19M/42M [INFO]
[M2] eclipse plugin ?
Hey all, wich m2 eclipse plugIn's do you know and use? http://mevenide.codehaus.org/release/eclipse/update/site.xml seems to be only for maven1 ?! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Maven DOCCK Plugin 1.0-beta-1 for Maven 2 Released
The Maven team is pleased to announce the release of the Maven DOCCK Plugin, version 1.0-beta-1 http://maven.apache.org/plugins/maven-docck-plugin/ You can run mvn -U to get the latest version of the plugin, or specify the version in your project's plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-docck-plugin/artifactId version1.0-beta-1/version /plugin This is the first release of this plugin. Enjoy, -The Maven team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webstart-maven-plugin needs maven-jar-plugin:jar:2.1-SNAPSHOT
Thanks Andrés! Best regards, C. 2006/10/24, Andrés [EMAIL PROTECTED]: El 24/10/2006 13:24, Chris Michiels escribió: Thanks Andrés, I've got everything working, and am now facing the velocity template (being a total newbie at velocity). Care to share your template.vm :o) ? I used the one from the repo jars and it produced a launch.jnlp like : ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp My VM generates a JSP, which generates the JNLP itself. Besides, it gets the web URI of the JNLP from a parameter. So, it's a bit special and I'm not very sure it's going to help you, but here it is (note the $dependencies, it's quite important to load all the dependencies jar's): %@ page contentType=application/x-java-jnlp-file %?xml version=1.0 encoding=iso-8859-1? % String url = getServletContext().getInitParameter(Web/Url); % jnlp spec=1.0+ codebase=%= url % href=%= url %/jnlp.jsp information titleXXX/title descriptionXXX/description description kind=tooltipXXX/description vendorXXX/vendor icon href=XXX / offline-allowed/ /information security all-permissions/ /security resources j2se version=1.4+ max-heap-size=128m / $dependencies /resources application-desc main-class=$mainClass / /jnlp Hope it helps, Andrés - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Chris MICHIELS Scire tuum nihil est, nisi te scire hoc sciat alter.
Re: [M2] eclipse plugin ?
Hi, You may refer to this site: http://maven.apache.org/eclipse-plugin.html. I haven't used this plugin yet though. Dawn SoftwareEngineering Hauschel wrote: Hey all, wich m2 eclipse plugIn's do you know and use? http://mevenide.codehaus.org/release/eclipse/update/site.xml seems to be only for maven1 ?! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-M2--eclipse-plugin---tf2505666.html#a6986624 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]