Re: [m2] internal repository with jars but no pom
Yes, I have already put layoutlegacy/layout. But that doesn't solve the problem as it searches for poms and not directly for jars and I have only jars in the repository... I'll have a look to this repoclean. I hope it will help. Thanks for your help -- View this message in context: http://www.nabble.com/-m2-internal-repository-with-jars-but-no-pom-t1577488.html#a4294533 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] download sources to local repo
Hi Alas, the jar does not include the binaries. So you have to add both the jars. Three if you also want the javadoc available. Futhermore, all jars will automatically be packaged into a war file, which is something I don't like. Is there an easy way to exclude the source/javadoc jars from your final package? Finally I haven't been able to make the idea-plugin setup the classpath correctly for the modules. Instead of adding the source-jar as source to the binary jar, it adds it as just another jar. Does anybody know how the handle this? Any help is appreciated. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 10:25 PM To: Maven Users List Subject: Re: [m2] download sources to local repo Add this to your dependency : typejava-source/type *I don't know if you need to add both a normal jar dependency and a java-source dependency. My guess is that a java-source dependency automatically include the binary jar in the build but I could be wrong. On 5/8/06, delasoul [EMAIL PROTECTED] wrote: Hello, for certain projects our build generates an additional ***-sources.jarfile which is deployed to our remote repository. If I have a dependency on one of these projects I want this ***-source.jar to be downloaded to my local repo together with the artifact jar. Is there a possibility to do this without using the eclipse plugin? thanx in advance for any help, michael -- View this message in context: http://www.nabble.com/-m2-download-sources-to-local-repo-t1577673.html #a4283001 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is classifier with maven-war-plugin?
Hi, The classifier feature appears not to be supported by the WAR plugin. Has anyone got this working? I always see an installed artifact of the form: [finalname]-[version].war I'm expecting to see: [finalname]-[version][classifier].war My pom.xml contains the following: plugins plugin artifactIdmaven-war-plugin/artifactId groupIdorg.apache.maven.plugins/groupId configuration classifierfoobar/classifier /configuration /plugin /plugins If I run maven with --debug I see no reference to foobar in the output. All help appreciated as use of classifier is essential to build for dev, stage and live etc. Regards, Shaun.
classpath in jar manifest
Hi, I'm moving a project from maven 1.1 to 2.0, but I've hit a problem with specifying the classpath in the manifest file in my main application jar and was wondering if someone here could help. Basically, I wish to add some resource directories to the classpath, in addition to the jar dependencies. The reason why I cannot put the resources in a jar is that they are being read by the JDIC web browser component (https://jdic.dev.java.net/) - in effect Mozilla or IE, which do not understand jar files. ;-) In maven 1.1, I was able to do this with the following in project.properties: maven.jar.manifest.classpath.add=true maven.jar.classpath=help/ resources/ This would create a single Class-Path: entry in the manifest file. I've been reading http://maven.apache.org/guides/mini/guide-manifest.html and have tried plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest mainClasssplash.Splasher/mainClass addClasspathtrue/addClasspath /manifest manifestEntries Class-Pathhelp/ resources//Class-Path /manifestEntries /archive /configuration /plugin However, this ends up creating _two_ Class-Path: entries in the manifest file, which is not allowed. Is there a way to get this to work in maven 2.0? I'm using maven 2.0.4. Best regards, Fredrik Vraalsen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] internal repository with jars but no pom
I am stupid... and not patient enough !!! After the hundreds of unable to get resource... for the pom files, it downloads directly the jars. Therefore I have just had to wait a bit. Thanks for your help, Cheers, barth -- View this message in context: http://www.nabble.com/-m2-internal-repository-with-jars-but-no-pom-t1577488.html#a4295254 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SCM plugin arguments
Hi, I've a problem with SCM plugin, I need to pass some arguments to command line. I'm working with a project configured under starteam and when I use the release plugin during the checkin task starteam requires an active item. There are two way: pass the task id to the command line or the -active flag. I'm using maven 2.0.4. Someone how to configure the plugin to work in this way? Best regards, Antonio D'Errico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [1.1] Hung build - threaddump
On 5/7/06, Jon Strayer [EMAIL PROTECTED] wrote: I occasionally get hung maven builds with cruise control. About one a day (that's about one every 40 builds or so). I finally got a thread dump. I can't make sense of it. Can anyone help? FYI, this is Maven 1.1 Beta 2, but I've had the problem with as long as I can remember (that would take it back to 0.9 or so). The one thing I see is that maven spaws a javadoc process and waits for it to finish. It probably doesn't set a timeout. If this process blocks for some reason, your build will block. You appear to be on Unix, do you have a hang javadoc process somewhere? If so, kill it and see if your build process goes on (obviously with a failed build). If that works, consider adding a timeout option to your at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195) for that kill operation to be performed automatically). Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2]How to compile with JDK 1.2
Hi everybody, I want to compile my source files with an external jdk1.2 : I've tried this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork executableC:\jdk1.2.2\bin/executable compilerVersion1.2/compilerVersion /configuration /plugin /plugins /build but it doesn't work 'cause javac 1.2 can't handle the source argument meanwhile maven add automatically this argument when executing the compilation. Thanks in advance.
[M2]How to compile with JDK 1.2
Java 1.4 is the minimum required version for use with maven 2. So I don't think it's going to work. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Tung Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 11:06 AM To: users@maven.apache.org Subject: [M2]How to compile with JDK 1.2 Hi everybody, I want to compile my source files with an external jdk1.2 : I've tried this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork executableC:\jdk1.2.2\bin/executable compilerVersion1.2/compilerVersion /configuration /plugin /plugins /build but it doesn't work 'cause javac 1.2 can't handle the source argument meanwhile maven add automatically this argument when executing the compilation. Thanks in advance. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading poms
On Mon, 2006-05-08 at 11:50 -0700, Tim McCune wrote: On Mon, 2006-05-08 at 13:36 -0500, Wayne Fay wrote: When you installed those dependencies in your local repo, did you use -DgeneratePom=true ? If not, reinstall the 3rd party artifacts and use that parameter so poms are created, to avoid this downloading poms from central thing in the future. Thanks for the reply Wayne. Not quite sure what you're referring to. The jars that get installed in my local repo are put there 1 of 2 ways. Either: 1) Checked into a subversion module, which copies them to a web server on commit. 2) Placed on the web server by Continuum after building the project with Maven 1. For option 1, it sounds like you're suggesting that there's a way to get Maven to generate a pom for the jar file? If so, could you elaborate? Maven always *wants* a pom, as that makes it possible for maven to automatically handle transitive dependencies. If there is one in your repo, it will use it and NOT go to the central repository. If there isn't one locally, it will of course try to get one remotely. If it can't find one anywhere, it still continues to work but as you've noticed there is a performance hit and warning messages due to the failed attempts to find a pom. As Wayne said, ensuring your repo has a pom for each installed jar solves this problem. Files can be installed into a repository using the command mvn install:install-file -DartifactID=.. -DgroupId=.. etc By default, the file is just copied into the repo; no pom.xml is created. However the params carry enough info to generate a primitive pom.xml file; adding -DgeneratePom=true to the arguments will do this. The generated file of course has no info on the dependencies of the jar you've just installed. If you simply use a copy command to install the jars into the right repo directories instead of mvn install:install-file, then that's fine too. Creating the appropriate primitive pom file is easy by hand or could be automated I'm sure. So why isn't -DgeneratePom=true the default? Because there are some cases where the central maven repo (on ibiblio) isn't allowed to host the jar for legal reasons. However it *is* of course legal for a pom.xml (including dependency info) to be in the repo. In this case you really want to install the jar locally but not create a pom; maven will then download the correct pom.xml from the central repo. For option 2, Maven 2 isn't involved at all, and it's an automated process, so I don't think that it's feasible at all to get a pom generated for these jars. If your automated process is using mvn install:install-file then just add the -DgeneratePom=true option. Even if your process is just doing a copy, a pom file is a fairly simple xml file. I'm sure your automated process could be enhanced to generate one. Cheers, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading poms
On Mon, 2006-05-08 at 16:08 -0400, Alexandre Poitras wrote: If I remember correctly, Maven 2 was able to work without pom in the past but in the end there were so many jars coming without pom that they decided to remove the option. But I could be wrong. I'm pretty sure maven2 works fine without pom files. However it does waste time by trying to find the pom each time, and generates warning messages about not being able to find them. Installing a basic pom for each jar is definitely the easiest and best solution. Otherwise, it's probably fairly simple to create a script that walks a repo tree and generates poms for all jars without one. The path to the jar has enough info to generate a basic pom I think (group, artifact, version). Cheers, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] internal repository with jars but no pom
On Tue, 2006-05-09 at 00:48 -0700, barth wrote: I am stupid... and not patient enough !!! After the hundreds of unable to get resource... for the pom files, it downloads directly the jars. Therefore I have just had to wait a bit. And if you really can't be bothered to install pom files into your repo via one of the ways discussed earlier in this thread, then you can always use mvn -o ... or put offlinetrue/offline in your settings.xml file. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Downloading poms
You're right. I thought it was not working anymore but it just takes a longer time. Thank for the info! On 5/9/06, Simon Kitching [EMAIL PROTECTED] wrote: On Mon, 2006-05-08 at 16:08 -0400, Alexandre Poitras wrote: If I remember correctly, Maven 2 was able to work without pom in the past but in the end there were so many jars coming without pom that they decided to remove the option. But I could be wrong. I'm pretty sure maven2 works fine without pom files. However it does waste time by trying to find the pom each time, and generates warning messages about not being able to find them. Installing a basic pom for each jar is definitely the easiest and best solution. Otherwise, it's probably fairly simple to create a script that walks a repo tree and generates poms for all jars without one. The path to the jar has enough info to generate a basic pom I think (group, artifact, version). Cheers, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem using Maven 2 Axistools wsdl2java (namespaceToPackage)
Hi there, I seem to have run into a problem using the axistools wsdl2java to generate source from a WSDL file, specifically with the namespaceToPackage tag. Here's a snippet from my pom.xml: ... plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId version1.0/version dependencies dependency groupIdaxis/groupId artifactIdaxis/artifactId version1.2.1/version scopeprovided/scope /dependency dependency groupIdaxis/groupId artifactIdaxis-jaxrpc/artifactId version1.2/version scopeprovided/scope /dependency /dependencies configuration namespaceToPackagehttp://localhost:8080/openmkssrw/services/SRW=urn: uk.ac.soton.itinnovation.modules.services.srw.stubs/namespaceToPackage /configuration executions execution goals goalwsdl2java/goal /goals /execution /executions /plugin /plugins /build /project When I try 'mvn generate-sources' from the prompt it fails with the following error: Error: Unable to parse first argument for option -N Is anyone able to help? I need to map a specific namespace to a package and there is no documentation on the format of this option. I've tried various combinations of declaring this and non have worked. Any ideas? Thanks in advance, Shahbaz --- Shahbaz Hafeez IT Innovation Centre 2 Venture Road Chilworth Science Park Southampton, SO16 7NP, UK Tel: +44 23 8076 0834 Fax: +44 23 8076 0833 mailto:[EMAIL PROTECTED] http://www.it-innovation.soton.ac.uk http://www.it-innovation.soton.ac.uk/
Problems with Eclipse plugin
Hi there, I'm still unable to get the Maven2 support in Eclipse running properly. I have tried again after upgrading to 0.0.7 and I keep getting errors I don't get when running Maven at the command line. Here you have an example: [INFO] [INFO] Building netflux core [INFO]task-segment: [install] [INFO] [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:compile [INFO] Nothing to compile - all classes are up to date [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] Nothing to compile - all classes are up to date [INFO] surefire:test [INFO] Setting reports dir: U:\proyectos\otros\netflux\netflux-core\target/surefire-reports --- T E S T S --- [surefire] Running org.netflux.core.FieldTest [surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,203 sec [INFO] jar:jar [ERROR] mojo-execute : jar:jar Diagnosis: Error assembling JAR FATAL ERROR: Error executing Maven for a project [ERROR] project-execute : org.netflux:netflux-core:jar:0.2-SNAPSHOT ( task-segment: [install] ) Diagnosis: Error assembling JAR FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) 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.MojoExecutionException: Error assembling JAR at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive( AbstractJarMojo.java:151) at org.apache.maven.plugin.jar.AbstractJarMojo.execute( AbstractJarMojo.java:163) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: java.lang.NullPointerException at org.apache.maven.artifact.ArtifactUtils.copyArtifact( ArtifactUtils.java:109) at org.apache.maven.project.MavenProject.init(MavenProject.java:251) at org.apache.maven.archiver.MavenArchiver.createArchive( MavenArchiver.java:232) at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive( AbstractJarMojo.java:144) ... 11 more I get the following at the command line running mvn install: [INFO] Scanning for projects... [INFO] [INFO] Building netflux core [INFO]task-segment: [install] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: U:\proyectos\otros\netflux\netflux-core\target/surefire-reports --- T E S T S --- [surefire] Running org.netflux.core.FieldTest [surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,078 sec [INFO] [jar:jar] [INFO] Building jar: U:\proyectos\otros\netflux\netflux-core\target\netflux- core-0.2-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing U:\proyectos\otros\netflux\netflux-core\target\netflux- core-0.2-SNAPSHOT.jar to C:\Documents and Settings\jgonzalez.CEESCATDOM\.m2\repository\org\netflux\netflux-core\0.2-SNAPSHOT\netflux- core-0.2-SNAPSHOT.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 13 seconds [INFO] Finished at: Tue May 09 12:46:27 CEST 2006 [INFO] Final Memory: 4M/8M [INFO]
M2 Continuum
Hi, Can anyone point me to where I can find some scripts to hook into svn and make continuum build projets on post commit? Ben
Re: M2 Continuum
You need to write an xml-rpc client and call it in your script http://maven.apache.org/continuum/faqs.html#add-an-scm-hook-script Emmanuel Ben Short a écrit : Hi, Can anyone point me to where I can find some scripts to hook into svn and make continuum build projets on post commit? Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2]How to compile with JDK 1.2
Java 1.4 is the minimum required version for use with maven 2. So I don't think it's going to work. Roald Bankras Java SE 1.4 is the minimum to run Maven2 itself. However, it should be able to fork off and execute any JDK. I don't know why M2 should always use a source argument - if none was specified, shouldn't it not include that argument (i.e. leave it as the default)? Anyway, I have compiled for 1.3, but I didn't use a separate JDK. I set source and target to 1.3, and used bootclasspath to point to rt.jar from the 1.3 JDK. The settings in pom.xml looked like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target compilerArguments bootclasspath..\..\tools\jdk\1.3.1_15\jre\lib\rt.jar/bootclasspath /compilerArguments /configuration /plugin I don't know if this will fill Tung's needs, however. I've never used JDK 1.2 - it's ancient history. ;) -- Daniel Siegmann FJA-US, Inc. (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Archetype Directories
Doesn't the 1.0-alpha-4 version take care of this? -K On 5/8/06 3:16 PM, Alexandre Poitras [EMAIL PROTECTED] wrote: I think you'll have to install the patch Aaron submitted until a new release of the archetype plugin. Voting for the issue should help ;) On 5/8/06, bryan hansen [EMAIL PROTECTED] wrote: So is it possible to have an archetype create multiple java source directories (mainly packages)? I want to have an archetype that creates an org.mycompany.App.java class and the archetype also create an org.mycompany.service.AppService.java. I know that you can have multiple directories created with the resources like the webapp directories, but the way the packageName gets applied it doesn't seem to work for .java files. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Errors in pom´s on ibiblio concurren, stax
Maybe someone can correct this?! http://www.ibiblio.org/maven2/concurrent/concurrent/1.3.4/concurrent-1.3.4.pom Is not a valid xml: urlhttp://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html/url http://www.ibiblio.org/maven2/stax/stax/1.1.2-dev/stax-1.1.2-dev.pom Has an dependency to xmlbeans-jsr173-api dependency groupIdxmlbeans/groupId artifactIdxmlbeans-jsr173-api/artifactId version2.0-dev/version /dependency There is no such on ibiblio, see http://www.mail-archive.com/user@mojo.codehaus.org/msg00010.html Thanks Jens Zastrow - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Building the official release artifact
We're using an automated build system to do all builds of our projects, and many others do the same. This works great for the snapshot builds, but we'd like the build system to do the official release builds as well. The automated system always gets the head and builds that, but when releasing the release pom is only checked in long enough to get tagged, then the next snapshot version is checked in. This is good behavior and is fine. It seems the release plugin and everything else I've read suggests that the user doing the prepare release would then build the official release artifact immediately after on his own machine. We'd really prefer that these are built on the machine doing the automated builds (preferably by the automated build system somehow). Does Continuum allow for this sort of thing? Is anyone else doing this or trying to do this? ..David..
Trying to run goal site
Hello, I am trying to run the goal site for my project, and I am running into problems. Specifically, unable to find required dependencies, here is the output : 1) easymock:easymockcontainer:jar:1.0.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=easymock -DartifactId=easymockcontainer \ -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) drools:drools-core:jar:2.1 4) easymock:easymockcontainer:jar:1.0.1 2) poi:poi:jar:1.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=poi -DartifactId=poi \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) poi:poi:jar:1.1 If these artifacts do not exist, how can I continue? I tried looking for easymockcontainer on the web, but could not find it. Signed confused :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM plugin arguments
Starteam SCM Provider has a hidden -cr path during checkin, would this work? pass -Dmaven.scm.issue=path to maven https://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/checkin/StarteamCheckInCommand.java -D On 5/9/06, Antonio D'Errico [EMAIL PROTECTED] wrote: Hi, I've a problem with SCM plugin, I need to pass some arguments to command line. I'm working with a project configured under starteam and when I use the release plugin during the checkin task starteam requires an active item. There are two way: pass the task id to the command line or the -active flag. I'm using maven 2.0.4. Someone how to configure the plugin to work in this way? Best regards, Antonio D'Errico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Complex Multi-module Project (one virtual project by branch ?)
Hi all, I'm trying to setup Maven 2 on about 70 litle projects (who make a global project, but it's just virtual) we made a branch everytime we have a request and we put only the projects witch need to be modified in the branch. on the CVS server we have for example : + branch 001 project a project b + branch 002 project a project c + branch 003 project e project f + branch 004 project c project d project r project z in fact i want a virutal project (site, etc ...) by branch ... IS IT POSSIBLE ?? Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
m2: How do I expand the clean-goal?
Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the generated sources with the clean-goal, but clean is not a Build-Lifeycle-Phase, so I can not do it at the same way. In Maven 1 I had the pre-goal. How do I resolve my problem in maven 2 (I have an Ant-Srcipt ready)? Thanks Rainer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Errors in pom´s on ibiblio concurren, stax
Please open new JIRA bugs in the MVN component for these types of issues, so the Maven team can resolve them. Wayne On 5/9/06, Jens Zastrow [EMAIL PROTECTED] wrote: Maybe someone can correct this?! http://www.ibiblio.org/maven2/concurrent/concurrent/1.3.4/concurrent-1.3.4.pom Is not a valid xml: urlhttp://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html/url http://www.ibiblio.org/maven2/stax/stax/1.1.2-dev/stax-1.1.2-dev.pom Has an dependency to xmlbeans-jsr173-api dependency groupIdxmlbeans/groupId artifactIdxmlbeans-jsr173-api/artifactId version2.0-dev/version /dependency There is no such on ibiblio, see http://www.mail-archive.com/user@mojo.codehaus.org/msg00010.html Thanks Jens Zastrow - 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: Problem with Ajaxanywhere
1. You should upgrade to m2-2.0.4. 2. What's (exactly) is the error?? Wayne On 5/9/06, Anshuman Srivastava [EMAIL PROTECTED] wrote: Hi, I am using Maven2.0.3.I have a multiple module project and I want ot use Ajax Anywhere 1.2-RC1.I put the dependecy in my web modue pom.xml file as below. dependency groupIdorg.ajaxanywhere/groupId artifactIdajaxanywhere/artifactId version1.2-RC1/version scopesystem/scope systemPathC:/workspaces/dms/userlibs/ajax/ajaxanywhere-1.2-RC1.jar/system Path /dependency But it is throwing error.I tried to change the group ids and artifact id but still error is coming.Please help Thanks in advance Anshuman - 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: Is classifier with maven-war-plugin?
Classifier goes in the top of your XML file, next to artifactId and groupId, not down in the war plugin configuration. At least, that's where I've put it when I've used it on some Jar files. Give that a try. Wayne On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, The classifier feature appears not to be supported by the WAR plugin. Has anyone got this working? I always see an installed artifact of the form: [finalname]-[version].war I'm expecting to see: [finalname]-[version][classifier].war My pom.xml contains the following: plugins plugin artifactIdmaven-war-plugin/artifactId groupIdorg.apache.maven.plugins/groupId configuration classifierfoobar/classifier /configuration /plugin /plugins If I run maven with --debug I see no reference to foobar in the output. All help appreciated as use of classifier is essential to build for dev, stage and live etc. Regards, Shaun. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: classpath in jar manifest
Sounds like a possible bug in the handling of Class-Path manifest entry. I'd take a look at the source code for maven-jar-plugin and see if you can't track it down. Or file a JIRA bug and wait for someone to fix it for you. Wayne On 5/9/06, Fredrik Vraalsen [EMAIL PROTECTED] wrote: Hi, I'm moving a project from maven 1.1 to 2.0, but I've hit a problem with specifying the classpath in the manifest file in my main application jar and was wondering if someone here could help. Basically, I wish to add some resource directories to the classpath, in addition to the jar dependencies. The reason why I cannot put the resources in a jar is that they are being read by the JDIC web browser component (https://jdic.dev.java.net/) - in effect Mozilla or IE, which do not understand jar files. ;-) In maven 1.1, I was able to do this with the following in project.properties: maven.jar.manifest.classpath.add=true maven.jar.classpath=help/ resources/ This would create a single Class-Path: entry in the manifest file. I've been reading http://maven.apache.org/guides/mini/guide-manifest.html and have tried plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest mainClasssplash.Splasher/mainClass addClasspathtrue/addClasspath /manifest manifestEntries Class-Pathhelp/ resources//Class-Path /manifestEntries /archive /configuration /plugin However, this ends up creating _two_ Class-Path: entries in the manifest file, which is not allowed. Is there a way to get this to work in maven 2.0? I'm using maven 2.0.4. Best regards, Fredrik Vraalsen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: How do I expand the clean-goal?
Use the maven-clean-plugin and configure it to delete the generated source folders you want. /Henrik On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the generated sources with the clean-goal, but clean is not a Build-Lifeycle-Phase, so I can not do it at the same way. In Maven 1 I had the pre-goal. How do I resolve my problem in maven 2 (I have an Ant-Srcipt ready)? Thanks Rainer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
First time
Hi everyone, I'm a first-time maven user. I quite like the idea, but I'm not sure how to do some things. I hope someone can help me! First of all, I'm depending on quite some third-party jars. I want to use them, and I thought the way to go is doing it this way: http:// maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html Am I correct? And should I use jar as value for -Dpackaging? Furthermore, I'm using a plugin-based system, and my directory- structure will look something like this: launcher.jar lib - platonos.jar plugins - appcore-0.0.1.jar - 3dparty-1.0.3.ajr - 3dparty-1.4.16.jar launcher.jar is an artifact generated by one of my modules, app- core-0.0.1.jar is an artificact generated by an other module, and the rest of the jars are 3d-party libraries. My setup will be something like this: MyProject - Launcher module - AppCore module - Libraries module Is it possible to generate this as output? I think I should write my own Maven-plugin? Thanks in advance, Chris Eidhof - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: First time
Just make sure you specify -DgeneratePom=true when running mvn install:install-file on those 3rd party jars. This is missing from that webpage and will save you some headache. And you should use packaging=jar for any of those 3rd party artifacts which are jars -- if you have any wars or ears you're installing, you should specify =war or =ear. As for the project, I would just jump in head first with the help of the free Better Builds with Maven book from Mergere (http://library.mergere.com/) and this email list, and figure things out while you're working, not afraid to radically restructure your project when/if you realize you've got it set up wrong, etc. Good luck... Wayne On 5/9/06, Chris Eidhof [EMAIL PROTECTED] wrote: Hi everyone, I'm a first-time maven user. I quite like the idea, but I'm not sure how to do some things. I hope someone can help me! First of all, I'm depending on quite some third-party jars. I want to use them, and I thought the way to go is doing it this way: http:// maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html Am I correct? And should I use jar as value for -Dpackaging? Furthermore, I'm using a plugin-based system, and my directory- structure will look something like this: launcher.jar lib - platonos.jar plugins - appcore-0.0.1.jar - 3dparty-1.0.3.ajr - 3dparty-1.4.16.jar launcher.jar is an artifact generated by one of my modules, app- core-0.0.1.jar is an artificact generated by an other module, and the rest of the jars are 3d-party libraries. My setup will be something like this: MyProject - Launcher module - AppCore module - Libraries module Is it possible to generate this as output? I think I should write my own Maven-plugin? Thanks in advance, Chris Eidhof - 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: First time
You should only add 3th party jars which aren't available on www.ibiblio.org/maven2. A lot of them you can link by specifying dependencies in your pom. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Chris Eidhof [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 4:43 PM To: users@maven.apache.org Subject: First time Hi everyone, I'm a first-time maven user. I quite like the idea, but I'm not sure how to do some things. I hope someone can help me! First of all, I'm depending on quite some third-party jars. I want to use them, and I thought the way to go is doing it this way: http:// maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html Am I correct? And should I use jar as value for -Dpackaging? Furthermore, I'm using a plugin-based system, and my directory- structure will look something like this: launcher.jar lib - platonos.jar plugins - appcore-0.0.1.jar - 3dparty-1.0.3.ajr - 3dparty-1.4.16.jar launcher.jar is an artifact generated by one of my modules, app- core-0.0.1.jar is an artificact generated by an other module, and the rest of the jars are 3d-party libraries. My setup will be something like this: MyProject - Launcher module - AppCore module - Libraries module Is it possible to generate this as output? I think I should write my own Maven-plugin? Thanks in advance, Chris Eidhof - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: Re: m2: How do I expand the clean-goal?
Good Idea, but how? I found only three parameters in the plugin-documentation, each can handle only a single directory and are read only! mvn clean ... [INFO] Error configuring: org.apache.maven.plugins:maven-clean-plugin. Reason: E RROR: Cannot override read-only parameter: directory in goal: clean:clean ... But I need somethink like the folloing Ant-Task-Part: delete verbose=false includeEmptyDirs=true fileset dir=${basedir}/src/main/java defaultexcludes=false include name=**/generated/**/ include name=**/generated/ /fileset /delete Can you tell me the configure-syntax, to do that? thanks Rainer Henrik Mejlgaard [EMAIL PROTECTED] schrieb am 09.05.2006 16:39:18: Use the maven-clean-plugin and configure it to delete the generated source folders you want. /Henrik On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the generated sources with the clean-goal, but clean is not a Build-Lifeycle-Phase, so I can not do it at the same way. In Maven 1 I had the pre-goal. How do I resolve my problem in maven 2 (I have an Ant-Srcipt ready)? Thanks Rainer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: m2: How do I expand the clean-goal?
Syntax is something like this (from top of my head): plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId configuration filesets fileset directory${basedir}/src/main/java/directory includes include**/generated/**/include include**/generated/include /includes /fileset /filesets /configuration /plugin /Henrik On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Good Idea, but how? I found only three parameters in the plugin-documentation, each can handle only a single directory and are read only! mvn clean ... [INFO] Error configuring: org.apache.maven.plugins:maven-clean-plugin. Reason: E RROR: Cannot override read-only parameter: directory in goal: clean:clean ... But I need somethink like the folloing Ant-Task-Part: delete verbose=false includeEmptyDirs=true fileset dir=${basedir}/src/main/java defaultexcludes=false include name=**/generated/**/ include name=**/generated/ /fileset /delete Can you tell me the configure-syntax, to do that? thanks Rainer Henrik Mejlgaard [EMAIL PROTECTED] schrieb am 09.05.2006 16:39:18: Use the maven-clean-plugin and configure it to delete the generated source folders you want. /Henrik On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the generated sources with the clean-goal, but clean is not a Build-Lifeycle-Phase, so I can not do it at the same way. In Maven 1 I had the pre-goal. How do I resolve my problem in maven 2 (I have an Ant-Srcipt ready)? Thanks Rainer - 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: Trying to run goal site
I'm not sure where these dependencies are coming from, esp poi 1.1 is a very old release, so you might want to run mvn -X package to see what is bringing in poi 1.1 since it appears to be a transitive dependency. But here's poi, latest appears to be 2.5.1: http://www.ibiblio.org/maven2/poi/poi/ Not sure about easymockcontainer. Doesn't appear to exist in ibiblio. Check with the easymock project website/email list. Wayne On 5/9/06, Douglas WF Acheson [EMAIL PROTECTED] wrote: Hello, I am trying to run the goal site for my project, and I am running into problems. Specifically, unable to find required dependencies, here is the output : 1) easymock:easymockcontainer:jar:1.0.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=easymock -DartifactId=easymockcontainer \ -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) drools:drools-core:jar:2.1 4) easymock:easymockcontainer:jar:1.0.1 2) poi:poi:jar:1.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=poi -DartifactId=poi \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) poi:poi:jar:1.1 If these artifacts do not exist, how can I continue? I tried looking for easymockcontainer on the web, but could not find it. Signed confused :-) - 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: Can't parse date/time (while Generating reports with standard)
That error message is coming from your CVS binary, not Maven or Continuum. See if perhaps there is a newer release of CVS you can download and use. Wayne On 5/8/06, Vijay Shanker [EMAIL PROTECTED] wrote: Could any body suggest me the solution for the below given problem. I have project with child projects. When I build child project through Continuum, there is no problem but when try to build child projects through root project then gets exception. Thanking you in advance. Vijay [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob al in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] [INFO] Generate changelog report. [INFO] Generating changed sets xml to: /opt/continuum-1.0.3/apps/continuum/worki ng-directory/1/GALC_Core/target/changelog.xml [INFO] Executing: cvs -z3 -f -d /usr/local/CVSROOT -q log -d '2006-04-08T14:24: 51-05002006-05-09T14:24:51-0500' [INFO] Working directory: /opt/continuum-1.0.3/apps/continuum/working-directory/ 1/GALC_Core/com [ERROR] Provider message: [ERROR] The cvs command failed. [ERROR] Command output: [ERROR] cvs [log aborted]: Can't parse date/time: 2006-04-08T14:24:51-0500 - 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]
[m2] starteam release goal error
Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh
Re: [M2]How to compile with JDK 1.2
Can you file a jira issue at http://jira.codehaus.org/browse/PLX under plexus-compiler component? I'm sure nobody tried 1.2 JDK On 5/9/06, Roald Bankras [EMAIL PROTECTED] wrote: Java 1.4 is the minimum required version for use with maven 2. So I don't think it's going to work. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Tung Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 11:06 AM To: users@maven.apache.org Subject: [M2]How to compile with JDK 1.2 Hi everybody, I want to compile my source files with an external jdk1.2 : I've tried this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork executableC:\jdk1.2.2\bin/executable compilerVersion1.2/compilerVersion /configuration /plugin /plugins /build but it doesn't work 'cause javac 1.2 can't handle the source argument meanwhile maven add automatically this argument when executing the compilation. Thanks in advance. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2]How to compile with JDK 1.2
The executable must be linked to javac.exe. I do not try but the official help says: project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork compilerVersion1.3/compilerVersion executableC:/Program Files/Java/jdk1.3.1_18/bin/javac/executable !-- A portable way using environment variables executable${JAVA_1_3_HOME}/bin/javac/executable -- /configuration /plugin /plugins /build ... /project google search - maven-compiler-plugin result: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carlos Sanchez Sent: dinsdag 9 mei 2006 18:17 To: Maven Users List Subject: Re: [M2]How to compile with JDK 1.2 Can you file a jira issue at http://jira.codehaus.org/browse/PLX under plexus-compiler component? I'm sure nobody tried 1.2 JDK On 5/9/06, Roald Bankras [EMAIL PROTECTED] wrote: Java 1.4 is the minimum required version for use with maven 2. So I don't think it's going to work. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Tung Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 11:06 AM To: users@maven.apache.org Subject: [M2]How to compile with JDK 1.2 Hi everybody, I want to compile my source files with an external jdk1.2 : I've tried this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork executableC:\jdk1.2.2\bin/executable compilerVersion1.2/compilerVersion /configuration /plugin /plugins /build but it doesn't work 'cause javac 1.2 can't handle the source argument meanwhile maven add automatically this argument when executing the compilation. Thanks in advance. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 - 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] This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Errors in pom´s on ibiblio concurren, stax
On Tue, 2006-05-09 at 15:45 +0200, Jens Zastrow wrote: http://www.ibiblio.org/maven2/stax/stax/1.1.2-dev/stax-1.1.2-dev.pom Has an dependency to xmlbeans-jsr173-api dependency groupIdxmlbeans/groupId artifactIdxmlbeans-jsr173-api/artifactId version2.0-dev/version /dependency There is no such on ibiblio, see http://www.mail-archive.com/user@mojo.codehaus.org/msg00010.html You may use this repository http://julien.dubois.free.fr/maven2/ Sincerely, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] starteam release goal error
I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh
Re: Downloading poms
On Tue, 2006-05-09 at 22:25 +1200, Simon Kitching wrote: Even if your process is just doing a copy, a pom file is a fairly simple xml file. I'm sure your automated process could be enhanced to generate one. Thanks for the detailed response Simon. Your answers make sense, but I'm still disappointed that Maven doesn't handle the missing pom situation better. As you suggested, these auto-generated poms will basically be brain-dead, and will provide no useful information. If that's the case, then why-oh-why does Maven require them at all? I'd much rather spend a few minutes fixing Maven to make it stop trying to download pom files when it already has the jars, then write code to auto-generate useless poms, and make sure that it gets plugged in everywhere necessary. I'll probably do this and submit it as a patch, unless someone can explain to me the virtues of having all of these empty poms floating around. --Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AND/OR Conditional Profile
Hi All Is that possible to activate profile based on conditional Like shown below i want to actiate QA-Prof profile, if my operating system is solaris AND build.env has the value of Qa ?? profile idQA-Prof/id activation os namesolaris/name familyunix/family /os property namebuild.env/name valueQa/value /property /activation Any one done this? any sample? Thanks, Raghu
RE: [m2] starteam release goal error
I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] starteam release goal error
It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trying to run goal site
Hello, The output you see is from running [m2] with the -X option. I ran the package goal (with -X) and the same output is produced. Regards, Douglas WF Acheson On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote: I'm not sure where these dependencies are coming from, esp poi 1.1 is a very old release, so you might want to run mvn -X package to see what is bringing in poi 1.1 since it appears to be a transitive dependency. But here's poi, latest appears to be 2.5.1: http://www.ibiblio.org/maven2/poi/poi/ Not sure about easymockcontainer. Doesn't appear to exist in ibiblio. Check with the easymock project website/email list. Wayne On 5/9/06, Douglas WF Acheson [EMAIL PROTECTED] wrote: Hello, I am trying to run the goal site for my project, and I am running into problems. Specifically, unable to find required dependencies, here is the output : 1) easymock:easymockcontainer:jar:1.0.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=easymock -DartifactId=easymockcontainer \ -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) drools:drools-core:jar:2.1 4) easymock:easymockcontainer:jar:1.0.1 2) poi:poi:jar:1.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=poi -DartifactId=poi \ -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) mycompany:myproject:jar:5.0 2) drools:drools-decisiontables:jar:2.1 3) poi:poi:jar:1.1 If these artifacts do not exist, how can I continue? I tried looking for easymockcontainer on the web, but could not find it. Signed confused :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to place developer/contributor phone numbers?
Should it just go under developerproperty/property/developer and if so, how can I make use of this? Ideally the site goal output would also spit out the phone #. I realize this isn't a big deal for an open source project, but in a corporate environment it may really help. Thanks, -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 *** This email may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it. Internet email is not private, secure, or reliable. No member of the HSBC Group is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of the HSBC Group. *** Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel par toute personne autre que le destinataire désigné est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci. La transmission de courriel par Internet ne constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions relatives au contenu ou à la transmission de ce courriel. L'auteur de ce courriel est seul responsable des opinions émises dans ce courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas endossées par aucun membre du Groupe HSBC. ***
[m2] dependency scope and jetty
I have a web app that I run in jetty using jetty6:run. The problem is that I need hsqldb for the database. How do I specify the dependency so that it won't get packaged? If i use 'provided' then it isn't in the classpath when jetty launches. On an unrelated note, where can you find a list of all the scopes? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Errors in pom´s on ibiblio concurren, stax
You shouldn't use other repositories that change poms http://jroller.com/page/carlossg?entry=beware_of_unofficial_maven_repositories On 5/9/06, Martin Vysny [EMAIL PROTECTED] wrote: On Tue, 2006-05-09 at 15:45 +0200, Jens Zastrow wrote: http://www.ibiblio.org/maven2/stax/stax/1.1.2-dev/stax-1.1.2-dev.pom Has an dependency to xmlbeans-jsr173-api dependency groupIdxmlbeans/groupId artifactIdxmlbeans-jsr173-api/artifactId version2.0-dev/version /dependency There is no such on ibiblio, see http://www.mail-archive.com/user@mojo.codehaus.org/msg00010.html You may use this repository http://julien.dubois.free.fr/maven2/ Sincerely, Martin - 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]
Project stuck in building state
I've got a process stuck in the building state, and nothing I seem to do will bring it out. I know from Process Explorer that the build process itself is long dead, and in the startup logs, I see this mysterious message: 33079 [WrapperSimpleAppMain] INFO org.apache.maven.continuum.Continuum - Fix project state for project 45:system-cache-jetstream:1.1.0-SNAPSHOT 36032 [WrapperSimpleAppMain] INFO org.apache.maven.continuum.Continuum - Can't fix the project state. Any suggestions? --Matthew Beermann __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Project stuck in building state
I had the same problem and even when I shut down all the possibles JAVA process from the server I couldn't change the building state. I had to remove the project and added again. If there's is other way I would like to know. Also I had to erase the project writing the URL for it because the delete button is disable (because of the building state). My project got stuck in testing (it was my fault that it got stuck) and I clicked build accidentally when it wasn't ready
RE: [m2] starteam release goal error
Your suspicion seems to be right; beta-3 does not support starteam yet, only cvs and svn. Do you have a 2.0-beta-4-SNAPSHOT.jar I could install? If not how do I get this project to build and install? -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 1:25 PM To: Maven Users List Subject: Re: [m2] starteam release goal error It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] starteam release goal error
snapshot already deployed at snapshot repo, just enter the plugin version in the pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Your suspicion seems to be right; beta-3 does not support starteam yet, only cvs and svn. Do you have a 2.0-beta-4-SNAPSHOT.jar I could install? If not how do I get this project to build and install? -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 1:25 PM To: Maven Users List Subject: Re: [m2] starteam release goal error It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - 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]
Manifest.Mf
Is there a way to add properties folder to Manifest.mf classpath entry when building using maven? Thx, sanjay
RE: [m2] starteam release goal error
I got the following error when I pasted the dependency into my pom. [ERROR] BUILD ERROR [INFO] - [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-release-plugin Version: 2.0-beta-4-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 2:46 PM To: Maven Users List Subject: Re: [m2] starteam release goal error snapshot already deployed at snapshot repo, just enter the plugin version in the pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Your suspicion seems to be right; beta-3 does not support starteam yet, only cvs and svn. Do you have a 2.0-beta-4-SNAPSHOT.jar I could install? If not how do I get this project to build and install? -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 1:25 PM To: Maven Users List Subject: Re: [m2] starteam release goal error It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2.0.x] Any way to give hints to change the order of repos for downloads per artifact?
Hi, Problem Description --- I have a few repositories some of which are for snapshots and others for release jars. Right now downloads will hit each server for each artifact when the artifact is only on one of these servers. This slows down the build and it also makes for a lot of noise on the console. Furthermore I think it needlessly pumps out a lot of [WARNING] messages which the user can be spared. Possible Solution If there was a way to optionally label a dependency with a preferred repository, then maven could bump that repository to the head of the list while trying to download the artifact. This way a pom can be fine tuned to reduce the unnecessary lookups for artifacts at repositories that definitely don't host the artifact. Any thoughts? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2.0.x] Any way to give hints to change the order of repos for downloads per artifact?
Reduce your dependency on SNAPSHOTs. They lead to non-deterministic builds. Use the explicit versions generated when you deploy a snapshot if you are not updating the snapshot often. Maven should only query for new SNAPSHOTs once per day AFAIK. -Original Message- From: Alex Karasulu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 2:00 PM To: Maven Users List Subject: [m2.0.x] Any way to give hints to change the order of repos for downloads per artifact? Hi, Problem Description --- I have a few repositories some of which are for snapshots and others for release jars. Right now downloads will hit each server for each artifact when the artifact is only on one of these servers. This slows down the build and it also makes for a lot of noise on the console. Furthermore I think it needlessly pumps out a lot of [WARNING] messages which the user can be spared. Possible Solution If there was a way to optionally label a dependency with a preferred repository, then maven could bump that repository to the head of the list while trying to download the artifact. This way a pom can be fine tuned to reduce the unnecessary lookups for artifacts at repositories that definitely don't host the artifact. Any thoughts? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] starteam release goal error
Check out http://maven.apache.org/guides/development/guide-testing-development-plu gins.html -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 14:57 To: Maven Users List Subject: RE: [m2] starteam release goal error I got the following error when I pasted the dependency into my pom. [ERROR] BUILD ERROR [INFO] - [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-release-plugin Version: 2.0-beta-4-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 2:46 PM To: Maven Users List Subject: Re: [m2] starteam release goal error snapshot already deployed at snapshot repo, just enter the plugin version in the pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Your suspicion seems to be right; beta-3 does not support starteam yet, only cvs and svn. Do you have a 2.0-beta-4-SNAPSHOT.jar I could install? If not how do I get this project to build and install? -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 1:25 PM To: Maven Users List Subject: Re: [m2] starteam release goal error It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] starteam release goal error
Thanks, that gets the snapshot plugin going... -dh -Original Message- From: Allison, Bob [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 3:10 PM To: Maven Users List Subject: RE: [m2] starteam release goal error Check out http://maven.apache.org/guides/development/guide-testing-development-plu gins.html -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 14:57 To: Maven Users List Subject: RE: [m2] starteam release goal error I got the following error when I pasted the dependency into my pom. [ERROR] BUILD ERROR [INFO] - [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-release-plugin Version: 2.0-beta-4-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 2:46 PM To: Maven Users List Subject: Re: [m2] starteam release goal error snapshot already deployed at snapshot repo, just enter the plugin version in the pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Your suspicion seems to be right; beta-3 does not support starteam yet, only cvs and svn. Do you have a 2.0-beta-4-SNAPSHOT.jar I could install? If not how do I get this project to build and install? -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 1:25 PM To: Maven Users List Subject: Re: [m2] starteam release goal error It is possible that beta-3 does not support starteam yet, one way to findout is to inspect beta-3's pom.xml to see it has starteam provider as dependency any how, beta-4 is about to be released. You can help with testing by placing build plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-4-SNAPSHOT/version /plugin /plugins /build in your root pom. -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: I see I have maven-release-plugin 2.0-beta-3 in my user-dir repository. Is that what I should have? By the way, I was doing a dryRun when I got this error. -dh -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 12:52 PM To: Maven Users List Subject: Re: [m2] starteam release goal error I just run a release:perform using the latest snapshot of release plugin against starteam, it ran fine. what version of release plugin do you have? -D On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: Using 2.0.4 running release:prepare goal I get the following error. Embedded error: Can't load the scm provider. No such provider: 'starteam' I have my scm specified in my project's pom file. I have the starteam command line exe in my path and starteam works with Continuum. Why do I get this error running maven2 on the command line? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. - 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: Trying to run goal site
Okay so I got passed my errors of missing dependencies (which are not really used) by mucking with the poms (not the best way, but it worked so I can move on). Now I get a NPE when running the site goal, which is incl'd below. How do I know what the arguments are that are needed for this goal or plugin (not sure of terminology). [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] [INFO] Generate Continuous Integration report. [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 [INFO] Generate Dependencies report. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.renderBody(DependenciesReport.java:286) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65) at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) 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.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.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at
Re: Trying to run goal site
Using any system scoped dependencies? Wayne On 5/9/06, Douglas WF Acheson [EMAIL PROTECTED] wrote: Okay so I got passed my errors of missing dependencies (which are not really used) by mucking with the poms (not the best way, but it worked so I can move on). Now I get a NPE when running the site goal, which is incl'd below. How do I know what the arguments are that are needed for this goal or plugin (not sure of terminology). [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] [INFO] Generate Continuous Integration report. [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 [INFO] Generate Dependencies report. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.renderBody(DependenciesReport.java:286) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65) at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) 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.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
Re: Trying to run goal site
To be honest not sure what that means, but if I where to assume (with my limited knowledge of m2) the only scope I identified was in dependencies and those where compile) I will include my pom.xml (btw the parent pom only has modelVersion atm) ... project modelVersion4.0.0/modelVersion groupIdmycompany/groupId artifactIdmypoject/artifactId packagingjar/packaging version0.1/version descriptiontbd/description !-- Define where to find the required artifacts (and only look there). -- repositories repository idcentral/id nameInternal Mirror of Central Repository/name urlmavenproxy/url /repository /repositories !-- Define the defalut parent POM for all our builds. -- parent groupIdmycompany/groupId artifactIdour/artifactId version1.0/version /parent !-- Describe how this build works. -- build resources resource directorysrc/main/resources/directory filteringfalse/filtering includes include**/gantt/gui/images/**/include /includes /resource /resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.4/source target1.4/target /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId /plugin !-- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId version2.0-alpha-1/version /plugin -- /plugins /build dependencies !-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -- dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version1.2.4/version scopecompile/scope /dependency !-- DEFINE THE ACEGI SECURITY DEPENDENCIES -- dependency groupIdacegisecurity/groupId artifactIdacegi-security/artifactId version0.7.0/version scopecompile/scope exclusions exclusion artifactIdspring-core/artifactId groupIdspringframework/groupId /exclusion /exclusions /dependency !-- DEFINE THE CGLIB DEPENDENCIES -- dependency groupIdcglib/groupId artifactIdcglib/artifactId version2.0.2/version scopecompile/scope /dependency !-- DEFINE THE DROOLS DEPENDENCIES -- dependency groupIddrools/groupId artifactIddrools-decisiontables/artifactId version2.1/version scopecompile/scope exclusions exclusion artifactIdpoi/artifactId groupIdpoi/groupId /exclusion /exclusions /dependency !-- DEFINE THE HIBERNATE DEPENDENCIES -- dependency groupIdnet.sf.hibernate/groupId artifactIdhibernate/artifactId version2.1.6/version scopecompile/scope /dependency !-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -- dependency groupIdcommons-chain/groupId artifactIdcommons-chain/artifactId version1.0/version scopecompile/scope /dependency dependency groupIdcommons-digester/groupId artifactIdcommons-digester/artifactId version1.7/version
Re: Trying to run goal site
On 5/9/06, Douglas WF Acheson [EMAIL PROTECTED] wrote: Okay so I got passed my errors of missing dependencies (which are not really used) by mucking with the poms (not the best way, but it worked so I can move on). Now I get a NPE when running the site goal, which is incl'd below. How do I know what the arguments are that are needed for this goal or plugin (not sure of terminology). I saw something like that recently when I tried to use an older site plugin to track down a problem. Try 'mvn -U site' to make sure you're using the latest of everything. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trying to run goal site
Don't see any scopesystem/scope dependencies there so that doesn't seem to be it... I'm not convinced you're running the latest version of site plugin (and others). Run mvn -U site to ensure you're all updated. If that doesn't work, perhaps you can add the Snapshot repo to your pom, and force an update with mvn -U site, to make sure your problem isn't already resolved in a not-yet-released version of the site plugin? This will help you get the Snapshot repos added to your pom: http://maven.apache.org/guides/development/guide-testing-development-plugins.html Wayne On 5/9/06, Douglas WF Acheson [EMAIL PROTECTED] wrote: To be honest not sure what that means, but if I where to assume (with my limited knowledge of m2) the only scope I identified was in dependencies and those where compile) I will include my pom.xml (btw the parent pom only has modelVersion atm) ... project modelVersion4.0.0/modelVersion groupIdmycompany/groupId artifactIdmypoject/artifactId packagingjar/packaging version0.1/version descriptiontbd/description !-- Define where to find the required artifacts (and only look there). -- repositories repository idcentral/id nameInternal Mirror of Central Repository/name urlmavenproxy/url /repository /repositories !-- Define the defalut parent POM for all our builds. -- parent groupIdmycompany/groupId artifactIdour/artifactId version1.0/version /parent !-- Describe how this build works. -- build resources resource directorysrc/main/resources/directory filteringfalse/filtering includes include**/gantt/gui/images/**/include /includes /resource /resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.4/source target1.4/target /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId /plugin !-- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId version2.0-alpha-1/version /plugin -- /plugins /build dependencies !-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -- dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version1.2.4/version scopecompile/scope /dependency !-- DEFINE THE ACEGI SECURITY DEPENDENCIES -- dependency groupIdacegisecurity/groupId artifactIdacegi-security/artifactId version0.7.0/version scopecompile/scope exclusions exclusion artifactIdspring-core/artifactId groupIdspringframework/groupId /exclusion /exclusions /dependency !-- DEFINE THE CGLIB DEPENDENCIES -- dependency groupIdcglib/groupId artifactIdcglib/artifactId version2.0.2/version scopecompile/scope /dependency !-- DEFINE THE DROOLS DEPENDENCIES -- dependency groupIddrools/groupId artifactIddrools-decisiontables/artifactId version2.1/version scopecompile/scope exclusions exclusion artifactIdpoi/artifactId groupIdpoi/groupId /exclusion /exclusions /dependency !-- DEFINE THE HIBERNATE DEPENDENCIES -- dependency
Why can't continuum find my local m2 repositories?
When I setup my internal m2 repositories I followed the advice of an online m2 review which suggested it is best to have the following internal repositories. internal internal_snapshots external_free external_non_free Not knowing any better, I followed this advice. For all of our developed artifacts we deploy to internal internal_snapshots as this is specified in the distributionManagement section of each artifact's pom file. When we have to deploy external artifacts because they are not found on ibibilo I deploy to external_free external_non_free as is appropriate on the command line. I seem to be able to build from the maven command line okay but when I build the same project (artifact) in continuum it says it can't find artifacts that I put in external_free (probably external_non_free also). Now this sort of makes sense because how is it supposed to know about these repositories? Maven knows because I have them specified in the servers section of its settings.xml file. Does continuum know about this file? If not, all it would know are the repositories in the distributionManagement section of the pom; and these don't know about the external repositories. What is the right way to do this? Should I combine internal external? How does continuum know where to look for repositories besides ibibilo? -dh
Re: Assembly - how to
I tried that but it doesn't work: I tried in the pom: ?xml version=1.0 encoding=UTF-8?project modelVersion4.0.0/modelVersion groupIdcom.synarc/groupId artifactIdidt_sqa/artifactId packagingpom/packaging ... I don't quite understad why, from a pom mvn doesn't let me rebuild an application. Thanks, Pierre On 5/8/06, dan tran [EMAIL PROTECTED] wrote: On 5/8/06, Pierre Monestie [EMAIL PROTECTED] wrote: Hi, I did know about this mini-guide. My problem comes from the fact that I want to be able to rebuild an assembly:directory even if I don't have the source code. I'm kind of looking for a way to build my application out of a single pom.xml given that I have uploaded all necessary artifacts to my repository. I guess the assembly doesn't do it as it expect compiled classes in the target directory. set your packaging to pom Also I'm looking for a way to unpack my main artifact, which the assembly plugin doesn't seem to be able to do. Could an ant task solve my problem? In particular for a pom, extract the artifact from the repository as well as it's dependencies and assemble them in a particular directory? Thanks in advance, Pierre On 5/8/06, Edwin Punzalan [EMAIL PROTECTED] wrote: Hi. Have you seen this page: http://maven.apache.org/guides/mini/guide-assemblies.html The WARNING you saw maybe due to the assembly not having anything to put into the jar. A correct assembly file would have at lease one dependencySet or one fileSet Pierre Monestie wrote: Hello, I got 2 problems with the assembly plugin and was wondering if you guys could help me out: 1st: From an empty directory I try to assemble my application out of the pom.xml and an application.xml file. I've previously uploaded to my repository all the artifacts necessary to bundle my application. The dependants artifacts come nicely in my target/app/ directory however for my main artifact I get: [WARNING] JAR will be empty - no content was marked for inclusion! and that particular jar is empty. I was under the impression I could assemble an application out of what is in my local repository/local cache without having to recompile 2st: Assuming 1st is created correclty I would like to have a way to postprocess my main artifact after assembly, namely I would like to unjar it because, for my final application, I included in it config information that need to be edited. I know I asked this already but I really would want to do this. I suppose in summary I'm looking for a way to assemble an application out of artifacts already precompiled and in a somewhat flexible way. The assembly doesn't seem to 'cut it' for me. Thanks in advance, Pierre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] site generation - tests run twice
What's the easiest way to make 'mvn site' goal run tests just once? If cobertura is among reporting plugins, tests are run twice. Thanks, Szczepan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
central repository search tools
Hi, Just came across these sites. They can be used to search ibiblio in a more maven friendly way than you can with google. http://www.mvnregistry.com http://mvnrepository.com Regards, Marcel Schutte __ 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: [m2.0.x] Any way to give hints to change the order of repos for downloads per artifact?
Mike Perham wrote: Reduce your dependency on SNAPSHOTs. They lead to non-deterministic builds. Use the explicit versions generated when you deploy a snapshot if you are not updating the snapshot often. BTW problem still occurs on fresh builds (clean local repo) if there no SNAPSHOTs. -Original Message- From: Alex Karasulu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 2:00 PM To: Maven Users List Subject: [m2.0.x] Any way to give hints to change the order of repos for downloads per artifact? Hi, Problem Description --- I have a few repositories some of which are for snapshots and others for release jars. Right now downloads will hit each server for each artifact when the artifact is only on one of these servers. This slows down the build and it also makes for a lot of noise on the console. Furthermore I think it needlessly pumps out a lot of [WARNING] messages which the user can be spared. Possible Solution If there was a way to optionally label a dependency with a preferred repository, then maven could bump that repository to the head of the list while trying to download the artifact. This way a pom can be fine tuned to reduce the unnecessary lookups for artifacts at repositories that definitely don't host the artifact. Any thoughts? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Full StAX repository?
I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. I've found stax/stax and stax/stax-api, but pulling in those two leaves xmlbeans/xmlbeans-jsr173-api unavailable (its target directory has poms, but no JARs). Has anyone found a public impl. of the streaming APIs? Thanks, Adam Winer -- View this message in context: http://www.nabble.com/Full-StAX-repository--t1587642.html#a4308710 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Full StAX repository?
I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. You want an impl or the API's? For Celtix and Tuscany, we use stax/stax-api for the API jars and then woodstox/wstx-asl for the stax implementation. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] site generation - tests run twice
Might be related to: http://jira.codehaus.org/browse/MSUREFIREREP-6 Wayne On 5/9/06, Szczepan Faber [EMAIL PROTECTED] wrote: What's the easiest way to make 'mvn site' goal run tests just once? If cobertura is among reporting plugins, tests are run twice. Thanks, Szczepan - 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: Full StAX repository?
Yes, I also suggest woodstox. Wayne On 5/9/06, Daniel Kulp [EMAIL PROTECTED] wrote: I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. You want an impl or the API's? For Celtix and Tuscany, we use stax/stax-api for the API jars and then woodstox/wstx-asl for the stax implementation. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [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: Full StAX repository?
1.2.0_rc2-dev of stax has the dependencies fixed On 5/9/06, Daniel Kulp [EMAIL PROTECTED] wrote: I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. You want an impl or the API's? For Celtix and Tuscany, we use stax/stax-api for the API jars and then woodstox/wstx-asl for the stax implementation. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Full StAX repository?
Carlos, Any chance of getting the stax-api/1.0.1 stuff fixed? The directory doesn't have a pom in it. It works in that maven will download it and use it, but the problem is that it ALWAYS tries to download a pom for it so it ALWAYS hits ibiblio. A simple copy of the 1.0 pom with the version number updated would suffice. Thanks! Dan On Tuesday 09 May 2006 17:20, Carlos Sanchez wrote: 1.2.0_rc2-dev of stax has the dependencies fixed On 5/9/06, Daniel Kulp [EMAIL PROTECTED] wrote: I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. You want an impl or the API's? For Celtix and Tuscany, we use stax/stax-api for the API jars and then woodstox/wstx-asl for the stax implementation. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - 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] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2.0.4] release:perform failure
I get the following error when running the release:perform task. I had already run the release.prepare -DdryRun=true and had no errors or warnings. I am using 2.0-beta-4-snapshot of the maven.release.plugin which supports the starteam scm. [INFO] Checking out the project to perform the release ... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] No SCM URL was provided to perform the release from I have my scm configured in my pom as follows which seems okay to me. scm connectionscm:starteam:username:[EMAIL PROTECTED]:49201:/Components/xri te-commons//connection developerConnectionscm:starteam:username:[EMAIL PROTECTED]:49201:/Compo nents/xrite-commons//developerConnection /scm After running release.prepare -DdryRun=true and resolving any errors/warnings I then run release:perform and get the above error. How can it say I have no scm URL? Is there anything else I need to do to run the release:perform task? What am I doing wrong? Maven should know how to apply labels to starteam given the url above right? Is there a bug in the maven.release.plugin beta plugin? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Full StAX repository?
This is best handled as a JIRA bug report in component MVN. Feel free to download the 1.0 pom and modify, then attach to the bug report. Wayne On 5/9/06, Daniel Kulp [EMAIL PROTECTED] wrote: Carlos, Any chance of getting the stax-api/1.0.1 stuff fixed? The directory doesn't have a pom in it. It works in that maven will download it and use it, but the problem is that it ALWAYS tries to download a pom for it so it ALWAYS hits ibiblio. A simple copy of the 1.0 pom with the version number updated would suffice. Thanks! Dan On Tuesday 09 May 2006 17:20, Carlos Sanchez wrote: 1.2.0_rc2-dev of stax has the dependencies fixed On 5/9/06, Daniel Kulp [EMAIL PROTECTED] wrote: I need a Maven repository with a full StAX (JSR 173, javax.xml.stream) implementation. You want an impl or the API's? For Celtix and Tuscany, we use stax/stax-api for the API jars and then woodstox/wstx-asl for the stax implementation. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] - 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] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [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: organizationUrl with ','
With the latest version of the site plugin, 2.0-SNAPSHOT, it works correctly for me. On 5/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, my organization has ',' in their URL: http://www.europe.nokia.com/nokia/0,,64463,00.html when I try to enter that in the pom and generate the site, the team overview does not pick up the complete URL, but only the part after the last ',' - is there a chance to get around it? Even enclosing it in a CDATA does not do the trick. Andreas Ebbert-Karroum Senior Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-94123838 Heltorfer Straße 1, 40472 Düsseldorf, Germany This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Two new Sun jars available in Maven repos (Thanks Carlos)
1.1 is final. http://java.sun.com/products/javabeans/jaf/downloads/index.html On 5/4/06, Thorsten Heit [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Wayne, Just wanted to post and let everyone know that Carlos Sanchez has recently uploaded two new Sun jars into the Maven repos. This was not discussed on the User or Dev list, nor did I see any relevant JIRA emails, so I thought I'd send this notification to the Users list myself. Great to hear that, thank you! :-) But: According to http://java.sun.com/products/javabeans/jaf/index.jsp JAF-1.1 is only an early access release; the final release will be available in early 2006 and will be included in J2SE 6.0 and J2EE 5 when they are released... Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEWcUiQvObkgCcDe0RApLlAKD338aKFKXlxXlihljw3fhaXQug+QCfbTnY 5sEHjjWvGAFErCtM73MuLi8= =VQnC -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why can't continuum find my local m2 repositories?
Well depend of where continuum is running. Continuum uses the $M2_HOME$/conf/settings.xml file (or the user's one if there is one). On 5/9/06, Dave Hoffer [EMAIL PROTECTED] wrote: When I setup my internal m2 repositories I followed the advice of an online m2 review which suggested it is best to have the following internal repositories. internal internal_snapshots external_free external_non_free Not knowing any better, I followed this advice. For all of our developed artifacts we deploy to internal internal_snapshots as this is specified in the distributionManagement section of each artifact's pom file. When we have to deploy external artifacts because they are not found on ibibilo I deploy to external_free external_non_free as is appropriate on the command line. I seem to be able to build from the maven command line okay but when I build the same project (artifact) in continuum it says it can't find artifacts that I put in external_free (probably external_non_free also). Now this sort of makes sense because how is it supposed to know about these repositories? Maven knows because I have them specified in the servers section of its settings.xml file. Does continuum know about this file? If not, all it would know are the repositories in the distributionManagement section of the pom; and these don't know about the external repositories. What is the right way to do this? Should I combine internal external? How does continuum know where to look for repositories besides ibibilo? -dh
[m2] Help with PXE build
Howdy! I was wondering if any of the experts out here could lend a hand to a fellow open-source project. We've been converting our build system from Ant to Maven2 recently and we're just a few yards short of making it a touchdown. It's a fairly large and complex project, consisting of 38 sub-projects (ouch!). The problem seems to be related to (internal) artifact resolution within the larger project. The symptom is the following: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) pxe:pxe-xcontrib-sp-misc:jar:1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=pxe -DartifactId=pxe-xcontrib-sp-misc \ -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) pxe:standalone-distro:pom:1.0-SNAPSHOT 2) pxe:pxe-xcontrib-sp-misc:jar:1.0-SNAPSHOT -- 1 required artifact is missing. We've looked into this pretty hard, double-checked everything and so far this error has stomped 3 of our developers. We just can't figure out why this dependency isn't resolved correctly. It's there, it's a simple .jar file produced by a child project of the main project but it doesn't seem to be properly built when doing mvn package install. The project may be checked out by doing: (assuming you have Subversion 1.1+installed) svn co svn://pxe.intalio.org/pxe/trunk/pxe pxe You can also browse the repository using FishEye at: http://svn.intalio.org/viewrep/PXE-svn/trunk/pxe I've posted the output log of mvn -X package install online if you want to review what happens on my machine: http://pxe.intalio.org/public/mvn.log Any help or pointers from the experts would be greatly appreciated! cheers, alex
Re: [m2] dependency scope and jetty
Hi Dan, Try using a dependency for the plugin instead: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty6-plugin/artifactId configuration ... /configuration dependencies dependency groupId /groupId artifactId /artifactId version /version /dependency /dependencies /plugin On the scopes, the only source of info I know about is: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html cheers Jan Dan Adams wrote: I have a web app that I run in jetty using jetty6:run. The problem is that I need hsqldb for the database. How do I specify the dependency so that it won't get packaged? If i use 'provided' then it isn't in the classpath when jetty launches. On an unrelated note, where can you find a list of all the scopes? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] download sources to local repo
Thank you for your reply. I had to add both - the source and the normal jar dependency plus I had to add classifiersources/classifier to the source dependency - instead of the type element. With the type element, Maven complained about not finding the pom for the sources jar... But now its working, Michael -- View this message in context: http://www.nabble.com/-m2-download-sources-to-local-repo-t1577673.html#a4313663 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : [m2.0.4] release:perform failure
Have a look http://jira.codehaus.org/browse/MRELEASE-103 The solution is simple. - Olivier -Message d'origine- De : Dave Hoffer [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 mai 2006 23:43 À : Maven Users List Objet : [m2.0.4] release:perform failure I get the following error when running the release:perform task. I had already run the release.prepare -DdryRun=true and had no errors or warnings. I am using 2.0-beta-4-snapshot of the maven.release.plugin which supports the starteam scm. [INFO] Checking out the project to perform the release ... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] No SCM URL was provided to perform the release from I have my scm configured in my pom as follows which seems okay to me. scm connectionscm:starteam:username:[EMAIL PROTECTED]:49201:/Components/xri te-commons//connection developerConnectionscm:starteam:username:[EMAIL PROTECTED]:49201:/Compo nents/xrite-commons//developerConnection /scm After running release.prepare -DdryRun=true and resolving any errors/warnings I then run release:perform and get the above error. How can it say I have no scm URL? Is there anything else I need to do to run the release:perform task? What am I doing wrong? Maven should know how to apply labels to starteam given the url above right? Is there a bug in the maven.release.plugin beta plugin? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]