Re: Install/deploy a project with a single file
Hi, Just wrap it up as a jar-packaged module, put the xml in src/main/resources and you should be fine. Remember to lookup the xml file via the classpath. Cheers Jo On 6/10/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: Hi, I have a project with only a single xml file. What should I define in the pom.xml file so that it will be installed and deployed? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: password argument is null. scm ext connection
Hi, I'm using SSH and I created an environment variable CVS_RSH which point to the ssh.exe. It worked thank you With Regards, Arun P Johny Emmanuel Venisse wrote: What do you use foe ext connection? ssh? You can set CVS_RSH on your OS to ssh or what you use. Emmanuel Arun P Johny a écrit : Hi all, I'm getting the following error when I try to execute the command 'mvn release:prepare' -Error --other downloads Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.0/maven-scm-provider-perforce-1.0.jar 61K downloaded [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/var/lib/cvs/root -n -q update -d [INFO] Working directory: F:\build_7_5\Folklore java.lang.IllegalArgumentException: password argument is null at ch.ethz.ssh2.Connection.authenticateWithPassword(Connection.java:307) at org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:122) at org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:164) at org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:475) at org.apache.maven.scm.provider.cvslib.cvsjava.command.status.CvsJavaStatusCommand.executeCvsCommand(CvsJavaStatusCommand.java:50) at org.apache.maven.scm.provider.cvslib.command.status.AbstractCvsStatusCommand.executeStatusCommand(AbstractCvsStatusCommand.java:52) at org.apache.maven.scm.command.status.AbstractStatusCommand.executeCommand(AbstractStatusCommand.java:43) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58) at org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:521) at org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.status(AbstractCvsScmProvider.java:641) at org.apache.maven.scm.provider.AbstractScmProvider.status(AbstractScmProvider.java:693) at org.apache.maven.shared.release.phase.ScmCheckModificationsPhase.execute(ScmCheckModificationsPhase.java:98) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:131) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:94) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:127) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to check for local modifications Provider message: The cvs command failed. Command output: [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 2 minutes 18 seconds [INFO] Finished at: Tue Jun 05 18:40:22 GMT+05:30 2007 [INFO] Final Memory: 5M/10M [INFO] I'm us
mvn-qalabs-plugin question
Hi Everyone, I'm using the mvn-qalabs-plugin in a multi module build. I've put in the workaround described at the plugin's website and are getting reports. However there are two things I have noticed that is wrong. First, the findbugs numbers are doubled. I noticed that in the findbugs.xml doc, that each defect is in there twice. Second, the movers report is not reading the qalabs.xml correctly. It is stating that the first date the report was run is the current run so it is always showing an up swing of errors. The previous run column is blank. Has anyone else experienced these issues or does anyone have this plugin working correctly in a multi module project? Thanks, David
[m2] cyclic dependency created by build plugin?!
Hi all, I have four projects: 0) root -- contains lang, lang-comp and maven-lang-plugin 1) lang -- contains a sample project written in the language "lang" depends on nothing but requires maven-lang-plugin to build 2) lang-comp -- contains a "lang" compiler depends on lang for testing 3) maven-lang-plugin -- contains a maven plugin for the "lang" compiler depends on lang-comp Trying to mvn install the root leads to a cyclic dependency error stating something like this: lang-comp --> lang --> maven-lang-plugin --> lang-comp. Why? (I think it should not because: 1) the dependency of lang-comp on lang is for testing only; 2) lang depends on maven-lang-plugin only for build) Any way out?... Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-eclipse-plugin: .classpath is not written if packaging is zip
Graham Leggett wrote: I am trying to get the eclipse plugin to generate an eclipse config that can be built using PDE (via the maven-pde-plugin). To do this, the packaging type needs to be "zip". However - when this is the case, the eclipse plugin refuses to write a .classpath file, and my project has no dependencies as a result. Changing the packaging to jar fixes maven-eclipse-plugin, but then breaks maven-pde-plugin. Is there a way to convince the maven-eclipse plugin to be inside a zip project _and_ generate a .classpath config file at the same time? Fixed here: MECLIPSE-279 Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature
Re: Install/deploy a project with a single file
On 6/10/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: I have a project with only a single xml file. What should I define in the pom.xml file so that it will be installed and deployed? If you really want that file to be "the artifact" then I suppose you'd have to invent a new packaging type and a plugin for it. See 'Specifying a New Packaging', here: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html But... what problem are you trying to solve here? Making that xml file available to be included in various other modules, or... ? Often telling us what you're trying to accomplish will get you better answers than asking how to implement whatever solution you've arrived at on your own. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Install/deploy a project with a single file
Hello, Wow, I never thought a project could consist only of a single xml file. Anyway, I assume that it is a java-related project, so suggest that you package it as a resource (relocate it in ${basedir}/src/main/resources) and package it as a jar file. You can use a simple pom.xml (containing only the modelVersion, groupId, artifactId, version) that way. Cheers! Nap On 6/11/07, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]> wrote: Hi, I have a project with only a single xml file. What should I define in the pom.xml file so that it will be installed and deployed? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Redirects in ibiblio?
On 10 Jun 07, at 8:51 AM 10 Jun 07, sharrissf wrote: Many projects like to keep various kinds of statistics. Sourceforge does some of that. You mean akin to google analytics? A repository redirect doesn't sound much like complex functionality to me. It's just returning the location of a repository that contains the download. Seems simple to me but then again, I didn't write the code or do the design. It's simply an Apache webserver serving up the content. In my opinion, if it has this feature then it can become ubiquitous. A network of repostiories for people to put stuff downloadable for maven with a directory service in the middle. I haven't run any statistics but I suspect a whole bunch of the jars people use can't be gotten directly, even from ibiblio/repo1, because the owners won't hand over that last bit of control. They can have their repositories for their own development but when it comes to working for everyone else I believe the only real solution is pushing it to central. Why? Because most of the repositories setup by others tend to be crap, not managed, and things come and go which makes them completely unstable. For example, I have already seen release POMs being created that list repositories listing dependencies that are no longer available in those repositories rendering that release POM completely useless. Simply a function of making thing work for their projects, and inadvertently screwing everyone else. A network of repositories is nice in theory, hasn't work out so well in practice and really the central repository is not that terribly big and we'll make it easy for people to push to the central repository. But stats for projects is something we can definitely improve upon. Cheers, Steve Jason van Zyl-2 wrote: On 9 Jun 07, at 8:58 PM 9 Jun 07, sharrissf wrote: I was wondering if it would be possible to post a redirect to ibiblio that would take someone to a different maven repository to find what they are looking for. Sort of making ibiblio both a repository and a directory service for finding the proper repository for software? Ibibilio is being phased out and for Maven 2.x Ibiblio isn't used much at all. The most recent releases of Maven 1.x also don't use Ibiblio. Everything goes to our central repository machine which is: http://repo1.maven.org That said the plan for that machine is that it always remain a simple web-based repository, there will never be any sort of applications running on it. What do you need as anything that is OSS in nature should be pushed to the central repository. We're shooting to have the one intact repository be mirrored all over the world. -- View this message in context: http://www.nabble.com/Redirects-in- ibiblio--tf3896255s177.html#a11045717 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks, Jason -- Jason van Zyl Founder and PMC Chair, Apache Maven jason at sonatype dot com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Redirects-in- ibiblio--tf3896255s177.html#a11049784 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks, Jason -- Jason van Zyl Founder and PMC Chair, Apache Maven jason at sonatype dot com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tag source code in CVS with Maven version number
Gang Thanks in advance for your help. I want to set up my environment so that all maven deploy's are done from my continuous integration environment(cruise control) and not developer machines. I also would like to tag the source code in cvs when CC performs a "mvn deploy" with the approproate maven version number. In other words if my pom file looks like the following http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> 4.0.0 com.foo.bar mymodule 1.1.1 I'd like to issue "mvn scm:tag" with a lable like this "CC_mymodule_1.1.1". Currently I'm throwing a tag in that offers the build number and the cctimestamp. It's decent but having the maven version number would be perfect. My current cruisecontrol config.xml looks like this. Can I do this? I've gurgled for more than an hour now and can't find anyone doing this. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Install/deploy a project with a single file
Hi, I have a project with only a single xml file. What should I define in the pom.xml file so that it will be installed and deployed? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Redirects in ibiblio?
Many projects like to keep various kinds of statistics. Sourceforge does some of that. A repository redirect doesn't sound much like complex functionality to me. It's just returning the location of a repository that contains the download. Seems simple to me but then again, I didn't write the code or do the design. In my opinion, if it has this feature then it can become ubiquitous. A network of repostiories for people to put stuff downloadable for maven with a directory service in the middle. I haven't run any statistics but I suspect a whole bunch of the jars people use can't be gotten directly, even from ibiblio/repo1, because the owners won't hand over that last bit of control. Cheers, Steve Jason van Zyl-2 wrote: > > > On 9 Jun 07, at 8:58 PM 9 Jun 07, sharrissf wrote: > >> >> I was wondering if it would be possible to post a redirect to >> ibiblio that >> would take someone to a different maven repository to find what >> they are >> looking for. Sort of making ibiblio both a repository and a directory >> service for finding the proper repository for software? > > Ibibilio is being phased out and for Maven 2.x Ibiblio isn't used > much at all. The most recent releases of Maven 1.x also don't use > Ibiblio. Everything goes to our central repository machine which is: > > http://repo1.maven.org > > That said the plan for that machine is that it always remain a simple > web-based repository, there will never be any sort of applications > running on it. > > What do you need as anything that is OSS in nature should be pushed > to the central repository. We're shooting to have the one intact > repository be mirrored all over the world. > > >> -- >> View this message in context: http://www.nabble.com/Redirects-in- >> ibiblio--tf3896255s177.html#a11045717 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > Thanks, > > Jason > > -- > Jason van Zyl > Founder and PMC Chair, Apache Maven > jason at sonatype dot com > -- > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Redirects-in-ibiblio--tf3896255s177.html#a11049784 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: Maven2 AAR plugin download
On 6/10/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: Could someone please let us know where we can download the Maven2 Axis 2 AAR plugin? Thanks. http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.2/ -- "Besides, manipulating elections is under penalty of law, resulting in a preventative effect against manipulating elections. The german government justifying the use of electronic voting machines and obviously believing that we don't need a police, because all illegal actions are forbidden. http://dip.bundestag.de/btd/16/051/1605194.pdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 AAR plugin download
Ask the Axis folks. On 10 Jun 07, at 7:44 AM 10 Jun 07, Morgovsky, Alexander ((US - Glen Mills)) wrote: Could someone please let us know where we can download the Maven2 Axis 2 AAR plugin? 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] Thanks, Jason -- Jason van Zyl Founder and PMC Chair, Apache Maven jason at sonatype dot com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven2 AAR plugin download
Could someone please let us know where we can download the Maven2 Axis 2 AAR plugin? 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]
Re: Redirects in ibiblio?
On 9 Jun 07, at 8:58 PM 9 Jun 07, sharrissf wrote: I was wondering if it would be possible to post a redirect to ibiblio that would take someone to a different maven repository to find what they are looking for. Sort of making ibiblio both a repository and a directory service for finding the proper repository for software? Ibibilio is being phased out and for Maven 2.x Ibiblio isn't used much at all. The most recent releases of Maven 1.x also don't use Ibiblio. Everything goes to our central repository machine which is: http://repo1.maven.org That said the plan for that machine is that it always remain a simple web-based repository, there will never be any sort of applications running on it. What do you need as anything that is OSS in nature should be pushed to the central repository. We're shooting to have the one intact repository be mirrored all over the world. -- View this message in context: http://www.nabble.com/Redirects-in- ibiblio--tf3896255s177.html#a11045717 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks, Jason -- Jason van Zyl Founder and PMC Chair, Apache Maven jason at sonatype dot com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]