Re: M2Eclipse Plugin Seems can't resolve workspace dependency during build

2009-02-10 Thread Yves Dessertine
Maven2 was unable to find http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom In short, your artifact with : groupId com.ocpsoft artifactId ocpsoft-base version 1.0.0 doesn't exist in maven's public repository (if you try accessing the URL in the error message,

Re: [ANN] - SCM Changelog Maven Plugin 1.1 Released

2009-02-10 Thread Rémy Sanlaville
Congrats, keep up the good work! Thanks Stevo. We hope that our plugin One new feature suggestion - support for filtering subtasks (at least when jira is issue tracker), e.g. through optional excludeSubtasks attribute of filter configuration element. Are you sure that it is for our

Running ALL tests and fail at the END

2009-02-10 Thread Peter Meier
In my Maven project I have several modules which all have tests. If I run the tests and one module fails, then the execution is cancelled. But I want that the tests of ALL modules are executed and then at the end I want a notification that some tests have failed. I have tried it with setting the

Re: How to manage your artifact versions

2009-02-10 Thread Stephane Nicoll
On Mon, Feb 9, 2009 at 5:46 PM, Avihaimar avihai...@yahoo.com wrote: Hey, My application is composite from a lot of artifacts. If i set my artifact version to be snapshot than each time a developer will build the ear on his machine maven will download a newer version from the remote

CI checkout on floating tag, then using maven-scm-plugin to update pom.xml to latest?

2009-02-10 Thread De Smet Ringo
Hello, I am trying to use Hudson to perform automated software releases based on a floating CVS tag. When developers move the floating tag on the sources, they indicate that the tagged code can go in a next build. Hudson then checks out the code and executes a release:prepare. Problem now is

Re: Running ALL tests and fail at the END

2009-02-10 Thread Stefan Seidel
mvn test --fail-at-end or mvn test -fae mvn -h also helps regards, Stefan On Tue, 10 Feb 2009 01:35:48 -0800 (PST) Peter Meier blackicec...@gmx.net wrote: In my Maven project I have several modules which all have tests. If I run the tests and one module fails, then the execution is

Doesn't suppress box around APT text

2009-02-10 Thread Czollli
Hello, according to the APT format a text like this: Some text should look without box around in the html, but there is a box around... I tried the sample in the format description but the result is the same. Does it work for anybody? Or it can be a bug? Thanks a lot! Czollli --

Re: Running ALL tests and fail at the END

2009-02-10 Thread Peter Meier
Great! Thanks for the hint, that really helped! Stefan Seidel wrote: mvn test --fail-at-end or mvn test -fae mvn -h also helps regards, Stefan -- View this message in context: http://www.nabble.com/Running-ALL-tests-and-fail-at-the-END-tp21930359p21931545.html Sent from the

Re: Doesn't suppress box around APT text

2009-02-10 Thread TM
I can confirm your observation, i.e., it doesn't work for me either (using Maven 2.0.9 and site plugin 2.0-beta-7). But I havn't checked if there is already an issue about that in JIRA. -- Thorsten Czollli wrote: Hello, according to the APT format a text like this: Some text

RE: Does maven not use VERSION while detecting circular dependencies?

2009-02-10 Thread Brian E. Fox
- Geoffrey This is too limiting IMO. Sahoo Why? You can't have multiple versions of the same jar on the classpath, so allowing these circular dependencies to take version into consideration just pushes the problem futher down the stack.

Mavenium browser specification

2009-02-10 Thread kukudas
hi, is it possible to set up the mavenium plugin that the testsuits will be run in more than one browser ? For example my configuration now is like this: plugin groupIdcom.agilepirates/groupId artifactIdmavenium/artifactId version0.1/version executions execution goals goallaunch-selenium/goal

RE: Resolved Version Weirdness

2009-02-10 Thread Brian E. Fox
Sounds to me like a classic case of not specifying your direct dependencies. Some other pom changed and introduced a transitive change breaking something you actually depend on. Run mvn dependency:analyze on your projects, if it says you are missing direct dependencies, you should fix them.

How to build maven project using Maven Ant Tasks?

2009-02-10 Thread Vikas Khengare
Hi Friends, I want to build maven project using Maven Ant Tasks. As posted in http://www.nabble.com/Ant-Task---Build-maven-pom.xml-td17657445.html#a17657445 ; can I just build maven project using ant tasks? I have project xyz which has myprojects/xyz/pom.xml file and I can build this

Request for release of maven-eclipse-plugin 2.6

2009-02-10 Thread Martin Jäger
Hi together The last release of maven-eclipse-plugin is from April 2008 and as I see in Jira version 2.6 is complete (taskfree). Who may I ask for a release, I'm waiting for the fix for: http://jira.codehaus.org/browse/MECLIPSE-111 Thanks a lot Martin

Maven 2.0.9 - Upgrade Hints/Conflicts with other tools?

2009-02-10 Thread David Bruley
Hello, I work for a company that is fairly new to Maven and open source in general. We are currently using Maven 2.0.5 with Continuum for our continuous build server and Artifactory for our internal artifact repository. We need to upgrade to Maven 2.0.9, but this is the first time we have

Re: Maven 2.0.9 - Upgrade Hints/Conflicts with other tools?

2009-02-10 Thread Mick Knutson
Hudson is another viable option: https://hudson.dev.java.net/ --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN:

Release plugin question

2009-02-10 Thread Gunnar.Bostrom
Hi, I use maven 2.0.9 and do releases with the release plug-in. Everything works fine but I would like to prevent release:perform from generating a source jar and javadoc jar file. The plug-in also installs the generated jars it in our local repository. Is it away to prevent this? Thanks, Gunnar

How to list the maven final output without executing the actual build process

2009-02-10 Thread Atul . Bhingarde
We have a process that creates the maven artifact in the development stage. Later for the packaging and/or direct deployment we want to refer to the same output (but without recreating the artifact.). How can I do that with maven ? for example maven (actual build process) creates the output as

Re: Release plugin question

2009-02-10 Thread Kalle Korhonen
Use releaseProfile=false (see documentation at http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html), you can add it in the pom as part of release plugin's configuration. Kalle On Tue, Feb 10, 2009 at 7:17 AM, gunnar.bost...@tieto.com wrote: Hi, I use maven 2.0.9 and do

Problems with maven-kogo-plugin

2009-02-10 Thread maven_noob
I'Hi there - I'm trying to get this plug in to work when installing one of my projects. This is the message I am getting when trying to do an mvn install: [INFO]task-segment: [install] [INFO] [INFO] artifact

Re: How can the checkstyle plugin be configured to fail the build?

2009-02-10 Thread teja007
nitinaggarwal wrote: Hi I am facing a similiar issue in my project. But additionally i want the a checkstyle file FC-CheckStyle.xml customized to my project be invoked in order to find out if there are checkstyle errors . how do i do that? Additionally can some one tell me how

RE: Problems with maven-kogo-plugin

2009-02-10 Thread Sean Hennessy
transcription error perhaps? maven-kodo vs maven-kogo -Original Message- From: maven_noob [mailto:kristianfra...@gmail.com] Sent: Tuesday, February 10, 2009 7:33 AM To: users@maven.apache.org Subject: Problems with maven-kogo-plugin I'Hi there - I'm trying to get this plug in to work

Re: Problems with maven-kogo-plugin

2009-02-10 Thread Nick Stolwijk
I see a Sourceforge project [1] which haven't been updated for quite a while (2005) and a codehaus project [2], which also seems a bit dead. (Correct me if I'm wrong) It seems the Sourceforge project is still a maven 1 plugin and the codehaus project didn't got any further than an alpha version.

Re: Problems with maven-kogo-plugin

2009-02-10 Thread maven_noob
Nick Stolwijk-4 wrote: I see a Sourceforge project [1] which haven't been updated for quite a while (2005) and a codehaus project [2], which also seems a bit dead. (Correct me if I'm wrong) It seems the Sourceforge project is still a maven 1 plugin and the codehaus project didn't got

eclipse:eclipse - no .project for POM packaging?

2009-02-10 Thread David C. Hicks
Is there a way to force the maven-eclipse-plugin to produce .project files for modules that are packaging=pom? I didn't see anything in the docs that indicated it would work, but I thought I'd ask. (We've got an integration-test module that really doesn't need to produce an artifact.)

Re: Aggregator pom fails, but modules work

2009-02-10 Thread klimane
I'm not quite sure what you mean by abusing 'src' and 'test'. At any rate, yes, I get the same problem if I rename the sub-projects dir1 and dir2. Also, I had a look at the shitty-maven-plugin, and it looks like it will require a directory re-structure, since it expects the tests to be under

Re: Maven 2.0.9 - Upgrade Hints/Conflicts with other tools?

2009-02-10 Thread Stephen Connolly
The first thing I would do is lock down all the versions of plugins in all your builds Then you can try with the newer version of maven, and once that is working, try updating the plugin versions. If you have not locked down your plugin versions, your build is not reproducible and you need to

Re: [ANN] - SCM Changelog Maven Plugin 1.1 Released

2009-02-10 Thread Stevo Slavić
Yes, I was thinking on scmchangelog. With excludeSubtasks set and JIRA as issue tracker, for commits with issue id provided scmchangelog could obtain issue details, check if the issue is a subtask, and based on that decide whether to include issue in or exclude issue from the report. Commits

Re: Maven 2.0.9 - Upgrade Hints/Conflicts with other tools?

2009-02-10 Thread Doug Douglass
FWIW, we setup a second CI system (hudson) in order to run builds with several different future versions of maven to help catch upgrade issues. On Tue, Feb 10, 2009 at 10:31 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: The first thing I would do is lock down all the versions of

Re: Using the release-plugin on a mercurial release branch.

2009-02-10 Thread Sebastien Martel
Bump. Any Mercurial and Maven users here that struggle with the release plugin? What I am doing to get around this isn't pretty and I'd prefer avoid it and fold that feature in the release plugin itself. Essentially, I configured a post-clone hook that triggers a script to update to the

Eclipse Plugin - No .classpath file.

2009-02-10 Thread David C. Hicks
How does the maven-eclipse-pluging know to create .classpath for Eclipse? I've created a custom packaging type for my integration test module to prevent undesirable activity. So, for now, only the compile and resources phases are actually doing anything. Now, when I run eclipse:eclipse on

RE: Maven 2.0.9 - Upgrade Hints/Conflicts with other tools?

2009-02-10 Thread Brian E. Fox
There were changes between 2.0.5 and 2.0.6 that related to the handling of transitive dependencies and dependencyManagment. There is a goal in the dependency plugin to help you prepare your build before you migrate. You definitely want to look at this:

RE: Problems with maven-kogo-plugin

2009-02-10 Thread Brian E. Fox
This was my project and since it got blocked by maven 2.0.2 bugs at the time... I never went back to fixing it. Now that you can fairly easily wrap ant tasks into plugins, I would suggest that approach. The kodo plugin in the sandbox required too much hacking of the ant task code to make it

Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Jason van Zyl
On 10-Feb-09, at 8:47 AM, Lincoln Baxter, III wrote: Hey Yves, thanks for looking in to this. ocpsoft-base hasn't been released yet, but it exists in my workspace. If I'm understanding the M2eclipse plugin correctly, it should be able to detect that I have a project with that

Assembling artifact attachments derived from actual project dependencies [maven-assembly-plugin]

2009-02-10 Thread Pedro Rodriguez
Hi, I added something into the maven-assembly-plugin that I wanted to share. We want to know if you think it make sense and fit in there to discuss and eventually prepare a contribution. The fact is that the maven-dependency-plugin can be already used to accomplish what I need but in a much

Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Lincoln Baxter, III
The version must also match. If you refer to a project and the version doesn't match the version in your workspace then m2eclipse will use normal Maven resolution which is checking your local and then remote versions. Yeah the versions match :) Maven is not m2eclipse. The

Maven Class not found exception

2009-02-10 Thread ashtek
Hey All, I am running my jetty with maven, and I have a dependency in my POM for wicket-contrib-tinymce. Maven downloaded the wicket-contrib-tinymce jar file and I can see it in my repo. Jetty starts up fine as well, but I get a NoClassDefFoundError when I click on a link that contains a page

Re: Maven Class not found exception

2009-02-10 Thread Wayne Fay
I am running my jetty with maven, and I have a dependency in my POM for wicket-contrib-tinymce. Maven downloaded the wicket-contrib-tinymce jar file and I can see it in my repo. Jetty starts up fine as well, but I get a NoClassDefFoundError when I click on a link that contains a page that

Dependency can't be resolved...

2009-02-10 Thread Ryan Moquin
I keep getting this error when one of my subprojects builds with Maven 2.1 (the XXX represents a child module of the project): [INFO] [site:attach-descriptor] [WARNING] The dependency: XXX can't be resolved ut has been found in the reactor. This dependency has been excluded from the plugin

Re: Maven Class not found exception

2009-02-10 Thread ashtek
Thanks for replying Wayne. This is my depedency. dependency groupIdorg.wicketstuff/groupId artifactIdwicket-contrib-tinymce/artifactId version1.3-SNAPSHOT/version /dependency I

Re: Request for release of maven-eclipse-plugin 2.6

2009-02-10 Thread Barrie Treloar
On Tue, Feb 10, 2009 at 11:53 PM, Martin Jäger martin.jae...@netcetera.ch wrote: Hi together The last release of maven-eclipse-plugin is from April 2008 and as I see in Jira version 2.6 is complete (taskfree). Who may I ask for a release, I'm waiting for the fix for:

Re: Dependency can't be resolved...

2009-02-10 Thread Ryan Moquin
So there are some more differences, even though my development machine are building the same version of our project, my developer box can build the whole thing successfully, but our build server quits 75% of the way though with a PermGenSpace out of memory error. Also, our build server also

Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-10 Thread Jason van Zyl
On 10-Feb-09, at 5:36 PM, Lincoln Baxter, III wrote: The version must also match. If you refer to a project and the version doesn't match the version in your workspace then m2eclipse will use normal Maven resolution which is checking your local and then remote versions. Yeah the

How can i execute multiple shell command in maven

2009-02-10 Thread Sathyanarayanan Nagarajan
Hi, I have a reqmt to execute start, stop tomcat through its shell script. How can i do this in maven? In Ant, we have exec command and i can configure targets for stop and start.I read through the usage of Exec maven plugin and configured this execution goals

Prevent a build

2009-02-10 Thread Mansour
Hello all, I am having two problems. The first one is I don't want to compile the classes when creating the artifact (jar). I want the source only to be there. Later on, if I need to build a whole program and wrap it in assembly, Then I would like to include only the sources. How can I do this ?

Re: Ant Task - Build maven pom.xml

2009-02-10 Thread vikask
Hi I am also facing same problem. Have anyone found solution? Thanks regards Vikas Tim Kettler wrote: Hi, halsafar schrieb: I am trying to write an ant script to automate some maven tasks and hopefully decide not to rebuild the entire thing if it detects no changes. Just to give

Re: How can i execute multiple shell command in maven

2009-02-10 Thread David C. Hicks
I can't imagine why it would matter if you start and stop Tomcat through its own shell script. If you're doing so for integration testing purposes, you're probably better off using the Cargo plugin to wrap the Tomcat container. However, you can probably configure the Exec plugin to do what

Re: Aggregator pom fails, but modules work

2009-02-10 Thread Merv Green
Apologies if I was a bit brusque. Though I can't think of any reason why, I was speculating that it might involve something insidious about how the compiler or surefire expects the project structure. Different directory names help isolate the problem. Anyhow, you might have an old version of

RE: Resolved Version Weirdness

2009-02-10 Thread Reinhard Nägele
Thanks for the insight, Brian. The culprit might indeed be a test dependency. I'll verify this. I originally checked for missing direct dependencies, but I might have to do that again. Reinhard -Original Message- From: Brian E. Fox [mailto:bri...@reply.infinity.nu] Sent: Tuesday,

Re: Ant Task - Build maven pom.xml

2009-02-10 Thread Hervé BOUTEMY
Hi, I thought Tim's reply didn't need any addition, but it seems that even the documentation is still not clear enough (multiple people did a lot of work on it, though...). Let's try to understand your problem, then improve the doc. Perhaps 2 examples will help us to understand each other. 1.