Re: Problems with jar signing

2008-11-27 Thread Wayne Fay
On Wed, Nov 26, 2008 at 11:39 PM, Costin Caraivan [EMAIL PROTECTED] wrote: Project packaging is zip So, zip it is :) Is it simply your assumption, or are your certain that the jar:sign mojo has the ability to deal with zips? Wayne

Deploymen in Websphere via maven

2008-11-27 Thread Markus Jostock
Hi Would anyone happen to have a good example of how to use maven in order to deploy a generated WAR file in a (possibly remote) instance of IBM Websphere 7.0 ? (cargo-plugin or somenthing else) Any help would be welcome, since the IBM's wsadmin tool is not really a good solution ...

Problem with Maven, Continuum and Archiva

2008-11-27 Thread Alexander Vaysberg
Hi all, I have a Problem with deploy. I have the Error: [INFO] Installing [INFO] Error retrieving previous build number for artifact ... Couldn't get file ... The error does not come always. On the next build it work fine. I have a Archiva for management of the repositories. I have in Archiva

Re: Problems with jar signing

2008-11-27 Thread Costin Caraivan
If you had read my first mail, you would have noticed that I'm making a jar and I'm putting it in a zip. And I want to sign the jar, not the zip file. Regards, Costin. Wayne Fay wrote: On Wed, Nov 26, 2008 at 11:39 PM, Costin Caraivan [EMAIL PROTECTED] wrote: Project packaging is zip

Dynamic dependencies

2008-11-27 Thread John Coleman
Is it possible to have a dependency that is dynamic, for example we first look for a project specific version of a dependenyc, and if this is not found, then the global version of the dependency is taken. The use case is where a dependency project has been specialised for a client, and a

Re: Dynamic dependencies

2008-11-27 Thread Jeff MAURY
You should use Maven profiles to get a specialized build for your specialized customer case. Regards Jeff On Thu, Nov 27, 2008 at 10:04 AM, John Coleman [EMAIL PROTECTED]wrote: Is it possible to have a dependency that is dynamic, for example we first look for a project specific version of a

Re: archetype-catalog.xml location - archetype:crawl versus archetype:generate

2008-11-27 Thread Brett Randall
Thanks Raphaël. Your comments and the Jira issue make it clear. Regards Brett On Thu, Nov 27, 2008 at 6:28 PM, Raphaël Piéroni [EMAIL PROTECTED]wrote: This problem is known. http://jira.codehaus.org/browse/ARCHETYPE-142 the crawl goal is intended to create a catalog for a remote repository

Re: Problem with Maven, Continuum and Archiva

2008-11-27 Thread Nick Stolwijk
Could you try your build with the -e or even -X option to give us some more information about which file is missing? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg [EMAIL

Re: Ignore errors from exec-maven-plugin

2008-11-27 Thread Eric Rotick
It's quite simple really. You create a shell script which always returns an exit status of zero and then call the binary application within that. On Wed, Nov 26, 2008 at 10:49 AM, Eric Rotick [EMAIL PROTECTED] wrote: Hi All, I'm having a problem getting the exec-maven-plugin to support my

Re: interfaces only jar

2008-11-27 Thread Brett Porter
You can use the jar plugin to create the separate JAR and do the includes/excludes yourself, but the dependencies will not be optional as they'll share a single POM. Separating the projects is a better practice and clearer what is intended all round. Eclipse integration is intelligent

Database locked running site

2008-11-27 Thread Eric Rotick
I've cracked this problem but I though I'd let others know to try and avoid them falling into the same trap. I was having a problem running site whereby the database used in the test section was locked by another user. The test involves setting up a fresh database environment for which I use the

Re: surefire doens't record failure when exception thrown during .SpringJUnit4ClassRunner.invokeTestMethod

2008-11-27 Thread Antony Stubbs
Yes, so interestingly http://jira.springframework.org/browse/SPR-5145 - downgrading to junit 4.4 fixes the class not found, and subsequently surefire reports the test failure correctly it seems. Antony Stubbs wrote: I get the report that [ERROR] BUILD FAILURE [INFO]

Re: Ignore errors from exec-maven-plugin

2008-11-27 Thread Dan Tran
it seems to reasonable to support ignoreOnError. Pleaes file an Jira with a patch which will get approve quicker if there are interests On Thu, Nov 27, 2008 at 3:07 AM, Eric Rotick [EMAIL PROTECTED] wrote: It's quite simple really. You create a shell script which always returns an exit status

[maven-war-plugin] attachClasses and classesClassifier doesn't do anything?

2008-11-27 Thread konkere
using version 2.1-alpha-1 (tested on 2.0.2 also). used the same configuration as described in FAQ of the plugin, when i do mvn install only the war is installed but not the jar with classes. also classesClassifier seem to have no effect on the jar generated with archiveClasses. maybe there's

surefire doens't record failure when exception thrown during .SpringJUnit4ClassRunner.invokeTestMethod

2008-11-27 Thread Antony Stubbs
I get the report that [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. Please refer to /Users/.../target/surefire-reports for the individual test results. but the surefire report file is completely empty.

Re: Deploymen in Websphere via maven

2008-11-27 Thread Gabriele Columbro
Cargo JSR88 support has not yet been released. This issue http://jira.codehaus.org/browse/CARGO-147 seems to suggest (see last comment) that the WS 6.1 support can be achieved trough the patches attached to the other JSR88 related deployment issue ( http://jira.codehaus.org/browse/CARGO-146).

AW: Deploymen in Websphere via maven

2008-11-27 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
there is a was6-plugin available that uses wsadmin under the hood. K -Ursprüngliche Nachricht- Von: Markus Jostock [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. November 2008 10:05 An: users@maven.apache.org Betreff: Deploymen in Websphere via maven Hi Would anyone happen to have

interfaces only jar

2008-11-27 Thread edward eric pedersson
Hi I have one eclipse project but I would like to assemble two separate jars for distribution - one with just the interfaces and the other with just the concrete classes. And hopefully the pom dependencies will be taken care of magically but that is not that important. Is there an assembly plugin

Re: Partial Archetype and Sub-Modules

2008-11-27 Thread Felipe Kamakura
Raphaël, I understood your explanation, but I don't know yet how do I create a Partial Archetype based in one of my project's module? Suppose I have a main archetype here with basic modules: - myapp - myapp-ear - myapp-core - myapp-core-client What I want is to be able to Enhance this

Re: Problems with jar signing

2008-11-27 Thread Costin Caraivan
I'll rephrase the question: can I sign a jar using Maven, if that jar is not the final package of the project? 0. Compile some .java files - compile phase of the artifact build. 1. Jar the resulting classes - compile phase of the artifact build. 2. Sign the jar - compile phase of the artifact

Sharing static config data between jar and war project

2008-11-27 Thread pieter claassen
I have a web project that connects to a db network server that I wrote. Currently, the db server makes use of configuration data in my web source tree and is just a sub package in my web project so it runs fine from within eclipse (all dependencies are there and so is the src for the war) 1.

RE: maven antrun plugin

2008-11-27 Thread Cristian3210
Hi Praveen, Thanks for the reply. I don't want to add a new task to the process, just something to be executed with the compile phase. I saw the link that you referred in your reply and it's pretty much what I am doing (the basic idea). All I am trying to do, for start, is to display some

Re: maven antrun plugin

2008-11-27 Thread Haim Ashkenazi
On Thu, Nov 27, 2008 at 5:44 PM, Cristian3210 [EMAIL PROTECTED] wrote: Hi Praveen, Thanks for the reply. I don't want to add a new task to the process, just something to be executed with the compile phase. I saw the link that you referred in your reply and it's pretty much what I am doing

Re: maven antrun plugin

2008-11-27 Thread Cristian3210
Hi Haim, I've tried with goal set to run in pom file and still same issue. Thanks, Cristian -- View this message in context: http://n2.nabble.com/maven-antrun-plugin-tp1583057p1585772.html Sent from the maven users mailing list archive at Nabble.com.

Re: maven antrun plugin

2008-11-27 Thread Haim Ashkenazi
On Thu, Nov 27, 2008 at 6:27 PM, Cristian3210 [EMAIL PROTECTED] wrote: Hi Haim, I've tried with goal set to run in pom file and still same issue. When you've set the goal to be run and you run: # mvn compile what's the error you get? Bye -- Haim

Re: maven antrun plugin

2008-11-27 Thread Cristian3210
Hi Haim, I'm getting no error actually just the logs that the compilation was successfully: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building generatedWarFile [INFO]

Re: maven antrun plugin

2008-11-27 Thread Haim Ashkenazi
Hi OK, I've found the problem. Your ant plugin is defined in the PluginManagement section and bound to a lifecycle phase. that means that you have to call it also from a plugins section in order to take affect. just move the definition of the plugin to a plugins section and it'll work. a working

Re: maven antrun plugin

2008-11-27 Thread Cristian3210
It works, thanks alot. Cristian Haim Ashkenazi wrote: Hi OK, I've found the problem. Your ant plugin is defined in the PluginManagement section and bound to a lifecycle phase. that means that you have to call it also from a plugins section in order to take affect. just move the

maven-surefire-plugin excludes too many tests?

2008-11-27 Thread Kristof Vanbecelaere
Hello, I have a surefire configuration like this plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration excludes exclude**/integration/selenium/**/*Test.java/exclude

maven-surefire-plugin configuration for unit/integration tests

2008-11-27 Thread Kristof Vanbecelaere
Hello, I found this interesting blog: http://weblogs.java.net/blog/johnsmart/archive/2008/06/unit_tests_are.html Unfortunately, I failed to make it work. When running mvn integration-test all unit tests get to run before running the integration tests, which is not really the aim. The idea

Re: maven-surefire-plugin configuration for unit/integration tests

2008-11-27 Thread Stephen Connolly
2008/11/27 Kristof Vanbecelaere [EMAIL PROTECTED] Hello, I found this interesting blog: http://weblogs.java.net/blog/johnsmart/archive/2008/06/unit_tests_are.html Unfortunately, I failed to make it work. When running mvn integration-test all unit tests get to run before running the

Re: maven-surefire-plugin configuration for unit/integration tests

2008-11-27 Thread Barrie Treloar
Unfortunately, I failed to make it work. When running mvn integration-test all unit tests get to run before running the integration tests, which is not really the aim. The idea really is to be able to either run unit tests or integration tests but not both at the same time. Any ideas why this

Manifest report?

2008-11-27 Thread Walid jo Gedeon
Hello all, Anyone knows of a 'manifest report' or plugin? Which basically shows the contents of the Manifest.mf of an artifact in a somewhat formatted way... Thanks! w PS: I'm currently using antrun for that, the outcome is okay but not well integrated with the rest of the site :-|

Re: maven-surefire-plugin configuration for unit/integration tests

2008-11-27 Thread John Stoneham
And if you really just want to run integration tests pull these out into their own module which contains no unit tests. Hand-running the integration-test goal will also work well, if there's just one. Or a profile would work nicely. - John