Re: Archetype:create broken?

2008-05-29 Thread nodje
mvn archetype:generate produce the same error. Could it have something to do with the velocity-1.5.pom that it doesn't find? nodje wrote: Sorry didn't pay attention to that. But the result is exactly the same with generate anyway. Looks like you don't have the problem, so it's probably a

Re: Forcing site plugin version

2008-05-29 Thread Tim Kettler
Hi, just add this to your pom: pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-7/version /plugin /plugins /pluginManagement 2.0-beta-7 isn't released yet, so you will

Re: Maven in Netbeans

2008-05-29 Thread theunsgis
HI Thanks this help. I still get the problem though , and i did upgrade to the latest maven 3.1.2, Can you tel me what this means : Result of cmd.exe /X /C C:\Program Files\Java\jdk1.6.0_05\bin\java.exe -classpath E:\Java Projects\Geotools Trunk 2.5\demo\example\target\classes;C:\Documents

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
Hello, maybe related to http://jira.codehaus.org/browse/MEVENIDE-640 this issue? Milos On 5/29/08, theunsgis [EMAIL PROTECTED] wrote: HI Thanks this help. I still get the problem though , and i did upgrade to the latest maven 3.1.2, Can you tel me what this means : Result of

Re: Maven in Netbeans

2008-05-29 Thread theunsgis
HI I think you are right. I created a bat file with the whole cmd string copied from NB. When i run it , it tries to display the command and end with The input line is too long. I also do run it on a Win XP OS. Is there some way of getting arround this? Thanks Milos Kleint wrote: Hello,

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
I haven't figured that out yet. working on it. putting your local repository in C:/r could give you some air to breathe, but in general it's a failure on my part that I haven't seen this coming.. I'll have to come up with some different way of running projects I guess.. or a workaround of sorts.

What goals are available by defaut?

2008-05-29 Thread darren smith
Hello, Am very new to maven. I'd like to know what goals are available for my firm-provided installation of maven. I've searched the web and come up with mvn -g but that doesn't seem to work on my version of maven (2.0.6). So, is there a simple way to find out what goals my maven installation

Re: Maven in Netbeans

2008-05-29 Thread theunsgis
HI Thanks for the reply What is the correct setting for Execute Goals in the maven projects properties version 3.1.2? Min is process-classes org.codehaus.mojo:exec-maven-plugin:1.1:exec at the moment. Thanks Theuns Milos Kleint wrote: I haven't figured that out yet. working on it. putting

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
that's it, that's the default AFAIK. however obviously it doens't work in some scenarios. Milos theunsgis wrote: HI Thanks for the reply What is the correct setting for Execute Goals in the maven projects properties version 3.1.2? Min is process-classes

Re: Maven in Netbeans

2008-05-29 Thread theunsgis
HOw do i move the local repository to c:\ ? mkleint-3 wrote: that's it, that's the default AFAIK. however obviously it doens't work in some scenarios. Milos theunsgis wrote: HI Thanks for the reply What is the correct setting for Execute Goals in the maven projects properties

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
in your user directory ~/.m2 you either have a settings.xml file or you create one (easiest way is to have a project opened in netbeans and right click the projects Project Files subnode.) there set the localRepositoryc:/r/localRepository element. and move your existing repository from

Re: What goals are available by defaut?

2008-05-29 Thread Tim Kettler
Hi, unlike with maven1 there are no bundled plugins distributed with maven2, everything is downloaded on demand. The plugins developed by the maven team are listed here [1] and another huge collection of plugins is developed by the mojo project on codehaus.org [2]. If you're searching a

Re: Ваше письмо удалено за спам

2008-05-29 Thread Marat Radchenko
This is a message from spam filter. It treated this message as spam and replied to us that it was filtered. On 5/29/08, Martin [EMAIL PROTECTED] wrote: Could you translate to English ..not everyone on this list speaks russian спасибо! - Original Message - From: Marat Radchenko

Q4E and m2eclipse

2008-05-29 Thread Rémy Sanlaville
Hi, We are working to choose an eclipse plugin : Q4E vs m2eclipse - The Eclipse IAM project proposal (based on Q4E) has been recently approved by the Eclipse Foundation (cf. http://code.google.com/p/q4e/) - m2eclipse has been recently reviewed (cf.

Re: Q4E and m2eclipse

2008-05-29 Thread nicolas de loof
I tested both plugins, and reported some issues to m2eclipse that have been fixed in 0.9.4. I just quickly tested q4e but features are *very* similar I'm ok for competition, but as both plugins expect to get approved in eclipse foundation, I thing they must consider merging efforts for some core

Re: Maven in Netbeans

2008-05-29 Thread Daniele De Francesco
Hi, I experienced a similar problem while running on win2003 server edition, because the classpath made the command line exceeded 2000 characters which is the limit in that OS cmdXP AFAIK should not have the same problem because it's cmd limit is 8000 char long...anyway workaround suggested

Re: Q4E and m2eclipse

2008-05-29 Thread Brett Porter
2008/5/29 Rémy Sanlaville [EMAIL PROTECTED]: Do you have some news about it ? Both were approved (http://blogs.exist.com/bporter/2008/05/20/eclipse-and-maven-iam-and-m2e-complete-creation-review/) 2008/5/29 nicolas de loof [EMAIL PROTECTED]: In a perfect world, both plugin community should

A problem about deploying project.

2008-05-29 Thread youhaodeyi
I want to deploy my project to a Host by FTP. I set the distributionManagement and run the command mvn deploy. This is my pom file: modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest/artifactId version1.0-SNAPSHOT/version ... distributionManagement

Integration testing via profile fails in 2.0.9

2008-05-29 Thread maxmil
I'm not a maven expert so maybe i'm doing something wrong but if not i may have found a bug. I configure integration testing via a build profile as follows: profile iditest/id activation property nameitest/name /property /activation build plugins

Maven and organization of source tree in SCM toolset

2008-05-29 Thread Bracewell, Robert
Hi, I am trying to get an understanding of how users are using the Maven toolset with SCM tools such as Perforce to handle branching strategies. Does anyone know of any such white papers or further reading or be willing to share current practices? Do users tend to use a dense hierarchical

RE: A problem about deploying project.

2008-05-29 Thread nicklist
Could you give a more detailed error description by running the command with the -e (exceptions) or even -X (debug) parameters? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl -Original Message- From: youhaodeyi

Re: Integration testing via profile fails in 2.0.9

2008-05-29 Thread maxmil
It seems to be something related to the 2.4.2 version of the surefire plugin. If i use the 2.0.9 release but force the surefire plugin to use the 2.3 version of the surefire plugin then the test resources are copied correctly. plugin groupIdorg.apache.maven.plugins/groupId

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
Good to hear that. still there's a fixed limit to the workaround. When you add a few more dependencies, you reach the top again. :( Milos On Thu, May 29, 2008 at 12:49 PM, theunsgis [EMAIL PROTECTED] wrote: Your suggestion worked!!! Many Thanks Milos Kleint wrote: in your user

Re: Maven in Netbeans

2008-05-29 Thread theunsgis
Your suggestion worked!!! Many Thanks Milos Kleint wrote: in your user directory ~/.m2 you either have a settings.xml file or you create one (easiest way is to have a project opened in netbeans and right click the projects Project Files subnode.) there set the

Re: Maven and organization of source tree in SCM toolset

2008-05-29 Thread Michael McCallum
branch by artifact when necessary but I have found that the use of ranges and api artifacts has almost completely removed the need for traditional branching. By defining the ranges in the deployables you get a consistent deliverable and can have parallel development and patching without

RE: A problem about deploying project.

2008-05-29 Thread youhaodeyi
Yes, this is the detailed message: [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

Re: What goals are available by defaut?

2008-05-29 Thread Martin
Hi Darren open up pom.xml and search for every instance of goal HTH Martin - Original Message - From: darren smith [EMAIL PROTECTED] To: users@maven.apache.org Sent: Thursday, May 29, 2008 3:33 AM Subject: What goals are available by defaut? Hello, Am very new to maven. I'd like

RE: Maven and organization of source tree in SCM toolset

2008-05-29 Thread Bracewell, Robert
This is roughly what I seem to be moving towards. Over the past couple of days I have been converting a hierarchical project into an approach similar to what you listed to get a feel for things I have: trunk/ /area1 - all dev code located under such /group1 /artifact1 /artifact2

Problem Regarding junit test classes load , taking wrong classpath

2008-05-29 Thread Saurabh Agarwal
Hi , I have some junit testcase but i guess maven is considering the wrong class path for file and is trying to load classes with name *test.java.x.y.z *However* *my classes are in package *x.y.z **hence I am getting java.lang.ClassNotFoundException*java.lang.ClassNotFoundException: * * Can

Re: A problem about deploying project.

2008-05-29 Thread Martin
ftp://3.36.231.203/ ftp is the protocol 3.3.36.23.203 is the host / is the folder are you sure you want to retrieve from root / instead of a real folder? Martin - Original Message - From: youhaodeyi [EMAIL PROTECTED] To: users@maven.apache.org Sent: Thursday, May 29, 2008 5:35 AM

Re: Multi Module Projects - manifest question

2008-05-29 Thread Martin
Hi Chris- Have you looked at configuring the manifest-entries in the maven war plugin http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html Martin - Original Message - From: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Thursday, May

Re: Maven and organization of source tree in SCM toolset

2008-05-29 Thread Michael McCallum
On Thu, 29 May 2008 23:52:35 Bracewell, Robert wrote: This is roughly what I seem to be moving towards. Over the past couple of days I have been converting a hierarchical project into an approach similar to what you listed to get a feel for things One key thing is that my pom hierachy looks

[ANN] Maven Doxia Integration Tools 1.0 Released

2008-05-29 Thread Vincent Siveton
The Maven team is pleased to announce the release of the Maven Doxia Integration Tools, version 1.0. It is a collection of tools to help the integration of Doxia in Maven plugins. http://maven.apache.org/shared/maven-doxia-tools You can specify the version in your project's dependency

RE: Forcing site plugin version

2008-05-29 Thread Lalor, Brian
-Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 2:53 AM To: Maven Users List Subject: Re: Forcing site plugin version Hi, just add this to your pom: pluginManagement plugins plugin

Re: A problem about deploying project.

2008-05-29 Thread youhaodeyi
I have set the default folder for FTP users. Do I need to specify the folder again? mgainty wrote: ftp://3.36.231.203/ ftp is the protocol 3.3.36.23.203 is the host / is the folder are you sure you want to retrieve from root / instead of a real folder? Martin - Original Message

RE: What goals are available by defaut?

2008-05-29 Thread Brian E. Fox
Best to start from the beginning: http://www.sonatype.com/book -Original Message- From: darren smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 3:34 AM To: users@maven.apache.org Subject: What goals are available by defaut? Hello, Am very new to maven. I'd like to know

RE: Forcing site plugin version

2008-05-29 Thread Brian E. Fox
yes -Original Message- From: Lalor, Brian [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 9:07 AM To: Maven Users List Subject: RE: Forcing site plugin version -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 2:53 AM To:

Re: Forcing site plugin version

2008-05-29 Thread Tim Kettler
Correct, project/build/pluginManagement. Lalor, Brian schrieb: -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 2:53 AM To: Maven Users List Subject: Re: Forcing site plugin version Hi, just add this to your pom: pluginManagement

RE: Forcing site plugin version

2008-05-29 Thread anne.gerodolle
Hi, I think you may also use the deployed snapshot version, so you don't have to build yourself the plugin : version2.0-beta-7-SNAPSHOT/version Regards, Anne -Message d'origine- De : Tim Kettler [mailto:[EMAIL PROTECTED] Envoyé : jeudi 29 mai 2008 15:55 À : Maven Users List Objet : Re:

Re: [m2] How to generate Download report using Maven 2

2008-05-29 Thread mburger
mburger wrote: In Maven 1 it was possible to add a download report to the generated site (maven.xdoc.distributionUrl). I cannot found any information about this feature in the documentation of Maven 2. Is this feature missing? Any news about this topic? Do you create your download

advanced exclude pattern for Skinny Wars

2008-05-29 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html In this approach, all libs in WEB-INF/lib are exluded by applying following pattern configuration:

Maven CVS checkout/comple examples

2008-05-29 Thread King, Leon C
Guys, I'm a newbie to maven and I'm in the process of migrating from ant. Can anyone proved me an example of how to define a pom that checks out code from a cvs repository, gathers all the dependencies, and builds.??? I've yet to find one.. Thanks, Leon

Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html In this approach, all libs in WEB-INF/lib are exluded by applying following pattern configuration:

To set a value written in a different file in the pom.xml, at runtime

2008-05-29 Thread Shikha.Somani
Hello, I need to set a particular value in a tag in pom.xml at runtime. I tried to set the value through the MavenProject object but that value is not accessed by other tags at runtime. I have written the following code. /** * @parameter default-value=${project} * @required */

how to separate Unit Tests from Integration-Tests with JUnit 4.x?

2008-05-29 Thread torsten . reinhard
Hi, Actually, we have mixed JUnit Testcases in our modules - some of them can be run standalone with no database connection or any other environment, others need environment. I now want to separate those tests into different categories, but I don´t want to - manually create a

Re: how to separate Unit Tests from Integration-Tests with JUnit 4.x?

2008-05-29 Thread Kalle Korhonen
Standard answer is with naming convention, see http://www.mail-archive.com/users@maven.apache.org/msg81355.html. Kalle On Thu, May 29, 2008 at 7:54 AM, [EMAIL PROTECTED] wrote: Hi, Actually, we have mixed JUnit Testcases in our modules - some of them can be run standalone with no database

[ANN] Maven PMD Plugin 2.4 released

2008-05-29 Thread Daniel Kulp
The Maven team is pleased to announce the release of the Maven PMD Plugin, version 2.4 This plugin is used to check java sources for potential programming problems like possible bugs, dead code, suboptimal code, etc... http://maven.apache.org/plugins/maven-pmd-plugin/ You can specify the

Re: advanced exclude pattern for Skinny Wars

2008-05-29 Thread Wayne Fay
Is this a question? Or a suggestion for an improvement in the documentation somehow? Or something else entirely? Its just not clear to me. ;-) Wayne On 5/29/08, Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote: Hello, in der Maven documentation is an article about a workaround for

[ANN] Maven Shade Plugin 1.1 released

2008-05-29 Thread Daniel Kulp
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.1 This plugin provides the capability to package the artifact in a uber- jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies.

Re: advanced exclude pattern for Skinny Wars

2008-05-29 Thread Wayne Fay
Oh, I see this was a mistake, you weren't done with the email... Nevermind! On 5/29/08, Wayne Fay [EMAIL PROTECTED] wrote: Is this a question? Or a suggestion for an improvement in the documentation somehow? Or something else entirely? Its just not clear to me. ;-) Wayne On 5/29/08,

Re: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Wayne Fay
I think the best way to achieve this would be by simply configuring the scope of the various dependencies. Thus your Struts libraries would be compile scope and the utility libraries would be provided. Then you will need to include the utility libs in the EAR module (as dependencies) as well so

Re: [m2] How to generate Download report using Maven 2

2008-05-29 Thread mburger
mburger wrote: In Maven 1 it was possible to add a download report to the generated site (maven.xdoc.distributionUrl). I cannot found any information about this feature in the documentation of Maven 2. Is this feature missing? Any news about this topic? Do you create your download

Re: Problem Regarding junit test classes load , taking wrong classpath

2008-05-29 Thread Wayne Fay
Please provide more details about how your project is laid out etc. By default, Maven expects that your Java files go in src/main/java and the Java test files are in src/test/java. If you have configured things differently in the pom.xml, then this may not be accurate. What classes exactly are

How to better manage cascading releases

2008-05-29 Thread CDickson
We have migrated all of our internal code to Maven now. We have many separate top-level projects and many of these projects are multi-module projects. We have done a good job of moving common code elements out to their own project so they can easily be reused. Generally speaking from a basic

eclipse plugin classpath and .svn directories

2008-05-29 Thread Terry Bell
Is there any way to tell eclipse:eclipse to add excluding tags to the .classpath to get it to ignore the .svn (**/.svn/)? I have a workspace with hundreds of small projects, and when I rebuild the eclipse classpaths, I have to set them all individually within eclipse. Conversely, if

AW: Advanced exclude pattern for Skinny Wars for RAD / WAS

2008-05-29 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello, sorry, for the confusion..outlook automatically send my draft..;-} back to my problem. Unfortunately, your approach doesn't work with RAD 7.0 / Websphere 6.1, since RAD's J2EE Dependency configuration for the WAR project relies on the Manifest file in WEB-INF/lib. If I set the Provided

Re: eclipse plugin classpath and .svn directories

2008-05-29 Thread Martin
1)In Eclipse click on the project you wish to update 2)right click Profile and select the profile (default is called profile) once in profile 5th icon from right should have 3 right arrows 3)click on that 5th icon 4)look for checkbox and check on 'Filter checked launched configuration types'

Re: how to separate Unit Tests from Integration-Tests with JUnit 4.x?

2008-05-29 Thread Paul Davis
Another option is to place the integration tests into a separate module. On Thu, May 29, 2008 at 8:12 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: Standard answer is with naming convention, see http://www.mail-archive.com/users@maven.apache.org/msg81355.html. Kalle On Thu, May 29, 2008 at

Re: Q4E and m2eclipse

2008-05-29 Thread Jason van Zyl
On 29-May-08, at 1:53 AM, nicolas de loof wrote: I tested both plugins, and reported some issues to m2eclipse that have been fixed in 0.9.4. I just quickly tested q4e but features are *very* similar I'm ok for competition, but as both plugins expect to get approved in eclipse foundation, I

[m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Mick Knutson
Just wondering if anyone is using tomcat/cargo on Linux. I have the following CFG on windows, but am now getting time-outs on Linux. Just wondering if it is suppose to work on both? plugin groupIdorg.codehaus.cargo/groupId

Re: eclipse plugin classpath and .svn directories

2008-05-29 Thread simon
On Thu, 2008-05-29 at 08:47 -0700, Terry Bell wrote: Is there any way to tell eclipse:eclipse to add excluding tags to the .classpath to get it to ignore the .svn (**/.svn/)? I have a workspace with hundreds of small projects, and when I rebuild the eclipse classpaths, I have to set

War Plugin Filtering

2008-05-29 Thread Tom Purcell
Hello I am trying to filter values in an XML document that should be placed in the WEB-INF directory of a war. The file is located in the source structure in src/main/webapp/WEB-INF/beans.xml along with web.xml. I've configured the war plugin as follows: plugin

[ANN] Maven Ant Plugin 2.1 Released

2008-05-29 Thread Vincent Siveton
The Maven team is pleased to announce the release of the Maven Ant Plugin, version 2.1 This plugin generates Ant build files for Ant 1.6.2 or above. http://maven.apache.org/plugins/maven-ant-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your

Re: War Plugin Filtering

2008-05-29 Thread Olivier Lamy
Upgrade the war plugin version to last one : 2.1-alpha-1 -- Olivier 2008/5/29 Tom Purcell [EMAIL PROTECTED]: Hello I am trying to filter values in an XML document that should be placed in the WEB-INF directory of a war. The file is located in the source structure in

Re: War Plugin Filtering

2008-05-29 Thread Tom Purcell
Thank you. That was it. olamy wrote: Upgrade the war plugin version to last one : 2.1-alpha-1 -- Olivier 2008/5/29 Tom Purcell [EMAIL PROTECTED]: Hello I am trying to filter values in an XML document that should be placed in the WEB-INF directory of a war. The file is located in

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 1:25 PM, Mick Knutson [EMAIL PROTECTED] wrote: Just wondering if anyone is using tomcat/cargo on Linux. I have the following CFG on windows, but am now getting time-outs on Linux. Just We're using Tomcat 5.5 / Cargo / M2 on Windows and Linux. We do occasionally get a

Re: Archetype:create broken?

2008-05-29 Thread jwcarman
I'm having the same troubles. An archetype that we have used before doesn't work anymore! What's going on? nodje wrote: What's with the archetype:create? I suddenly get this error when trying to create a new project: mvn archetype:create -DgroupId=com.company.commons -DartifactId=xml

Re: How to better manage cascading releases

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 11:42 AM, [EMAIL PROTECTED] wrote: So there seems to be 3 possible conclusions: At least, yeah. - There is any easy way to make these kinds of cascading releases, but we just don't know about it I don't know of one, but if there is, happy to hear it. - There is

Re: War Plugin Filtering

2008-05-29 Thread Martin
doc is available at http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files? so executing this command against the filtering goal called process-resources mvn target -Dfilter.properties = yourPropertyValue process-resources where the parameters for

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Mick Knutson
do you use the zip for both, or the tar.gz? On Thu, May 29, 2008 at 11:15 AM, Geoffrey Wiseman [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 1:25 PM, Mick Knutson [EMAIL PROTECTED] wrote: Just wondering if anyone is using tomcat/cargo on Linux. I have the following CFG on windows,

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 2:34 PM, Mick Knutson [EMAIL PROTECTED] wrote: do you use the zip for both, or the tar.gz? ZIP plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Paul Davis
I use it on Linux and noticed intermittent timeouts (I use continuum for continuous integration). The solution was to store the tomcat zip file locally. I use a variable for the tomcat location (defaults to the remote location). Then in my settings.xml, I have a profile that sets the variable to

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Mick Knutson
What is the datasource information for? I currently have issues with DBUnit on cargo/tomcat, but am using Spring to create my datasource. Wondering if this might fix that...? On Thu, May 29, 2008 at 11:54 AM, Geoffrey Wiseman [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 2:34 PM, Mick

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Mick Knutson
What is the setting for your settings.xml? http:// or file:// On Thu, May 29, 2008 at 11:55 AM, Paul Davis [EMAIL PROTECTED] wrote: I use it on Linux and noticed intermittent timeouts (I use continuum for continuous integration). The solution was to store the tomcat zip file locally. I use

Execute goal after build failure

2008-05-29 Thread Felipe Kamakura
Greetings, Is there a way to execute a plugin goal IF a build fails? My problem is that I Start my Weblogic 10 in the *pre-integration-test*phase and Stop it in the *post-integration-test* phase. But whenever a test of mine fails in the * integration-test* phase, the *post-integration-phase* is

Primary artifact: jar up some files, custom extension

2008-05-29 Thread Michael Prescott
I have a series of projects that have the same, very simple behavior: I want the main artifact to simply jar up the source tree, but to have a custom extension (e.g. .foo instead of .jar or .zip). What's the right way to go about this? Producing a plugin seems like overkill for such a trivial

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 3:54 PM, Mick Knutson [EMAIL PROTECTED] wrote: What is the datasource information for? I currently have issues with DBUnit on cargo/tomcat, but am using Spring to create my datasource. Wondering if this might fix that...? JNDI Datasource; lets us use the container

Re: [m2] Cargo, Tomcat on CentOS/Linux?

2008-05-29 Thread Paul Davis
I'm using file:// in my settings.xml and http:// in for the default in the pom.xml On Thu, May 29, 2008 at 1:04 PM, Mick Knutson [EMAIL PROTECTED] wrote: What is the setting for your settings.xml? http:// or file:// On Thu, May 29, 2008 at 11:55 AM, Paul Davis [EMAIL PROTECTED] wrote: I

maven2 with Junit 4 ignores @Test annotations

2008-05-29 Thread Valluri, Sankar
I am trying to use maven with Junit4 test cases. Eclipse runs these tests just fine but maven doesn't recognize any of these tests. Here is the code import org.junit.Test; import static org.junit.Assert.*; public class AdditionTest { private int x = 1; private int y = 1;

Re: how to separate Unit Tests from Integration-Tests with JUnit 4.x?

2008-05-29 Thread Kalle Korhonen
Hmm yes, but Torsten said that was exactly what he wanted to avoid. In addition to naming conventions for unit integration tests, we use a separate module for our heavier, end-to-end functional tests. Kalle On Thu, May 29, 2008 at 10:06 AM, Paul Davis [EMAIL PROTECTED] wrote: Another option

RE: maven2 with Junit 4 ignores @Test annotations

2008-05-29 Thread Valluri, Sankar
I am trying to use maven with Junit4 test cases. Eclipse runs these tests just fine but maven doesn't recognize any of these tests. Here is the code import org.junit.Test; import static org.junit.Assert.*; public class AdditionTest { private int x = 1; private int y = 1;

Re: How to better manage cascading releases

2008-05-29 Thread Michael McCallum
On Fri, 30 May 2008 03:42:09 [EMAIL PROTECTED] wrote: So there seems to be 3 possible conclusions: - There is any easy way to make these kinds of cascading releases, but we just don't know about it - There is a better way to structure our Maven projects so this doesn't happen in the first

Re: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Chris_Graham
Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 30/05/2008 00:37:53: Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war- plugin/examples/skinny-wars.html In this approach, all libs in

Re: MultiModule checkstyle config

2008-05-29 Thread gommo
Did you ever solve this? I'm having the same problem -- View this message in context: http://www.nabble.com/MultiModule-checkstyle-config-tp9343576p17549363.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 6:34 PM, Valluri, Sankar [EMAIL PROTECTED] wrote: Am I doing anything wrong here? Or anything else needs to be done? Must be, yeah -- I'm using JUnit 4.X tests with @Test annotations under Maven 2, so -- it does work. I'm not seeing anything specific in our POMs to

Re: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Chris_Graham
Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 30/05/2008 00:37:53: Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war- plugin/examples/skinny-wars.html In this approach, all libs in

Re: Multi Module Projects - manifest question

2008-05-29 Thread Chris_Graham
Hi Martin. Yes I did. I had some issues with the EJB jar needing the type of it to be specifially set. ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; xmlns:xsi=

Re: maven2 with Junit 4 ignores @Test annotations

2008-05-29 Thread Martin
Geoffrey- Looks like you'll need TestDecorator class from junit-4.1 http://www.jdocs.com/junit/4.1/junit/extensions/TestDecorator.html Martin - Original Message - From: Geoffrey Wiseman [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Thursday, May 29, 2008 8:57 PM

Re: How to better manage cascading releases

2008-05-29 Thread Geoffrey Wiseman
On Thu, May 29, 2008 at 6:39 PM, Michael McCallum [EMAIL PROTECTED] wrote: release early release often... we don't use snapshot dependencies and release artifacts early. So if you are working on one of the 13 dependent libraries as soon as you - the dev - is happy the change is ready for use

Re: MultiModule checkstyle config

2008-05-29 Thread Chris_Graham
gommo [EMAIL PROTECTED] wrote on 30/05/2008 10:53:48: Did you ever solve this? I'm having the same problem I did, but took a slightly different appoach. It works for me (so far at least): Take this pom: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-29 Thread Kent Närling
Hi! I would like to be able to build a self-sufficient application package from a project into a zip/tar, ie with all dependencies and a prepared scrip to execute it. I have so far tried two approches: A, Using maven-assembly-plugin and creating my own assembly file This has two problems:

To set a value written in a different file in the pom.xml, at runtime

2008-05-29 Thread Shikha.Somani
Hello, I need to set a particular value in a tag in pom.xml at runtime. I tried to set the value through the MavenProject object but that value is not accessed by other tags at runtime. I have written the following code. /** * @parameter default-value=${project} * @required */