AW: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
thanks, actually, I didn't realize that a comma separated list is possible. I think, this should do it. Kuno -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 30. Mai 2008 03:32 An: Maven Users List Betreff: Re: Advanced exclude pattern for

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

2008-05-29 Thread torsten . reinhard
"Kent Närling" <[EMAIL PROTECTED]> 30.05.2008 07:02 Bitte antworten an "Maven Users List" An users@maven.apache.org Kopie Thema Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin? Hi! I would like to be able to build a self-sufficient

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 */

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:

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: http://maven.apache.org/POM/4.0.0"; xmlns:xsi= "http://www.w3.org/2001/XMLSchema-in

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

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" Sent: Thursday, May 29, 2008 8:57 PM Subject: Re: mave

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. http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance";> 4.0.0 au.com.aami aami

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 l

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: 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: 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 l

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 fir

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 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 opti

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: [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]> wrot

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

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

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 ne

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. >

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 Kn

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 th

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 org.codehaus.cargo cargo-maven2-plugin tomcat5x

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 w

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 -Dfilter.properties = process-resources where the parameters for filter.properties locate

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. > - The

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 -DartifactI

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 ge

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. Th

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 > src/main/webapp/

[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 proj

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: org.apache.maven.plugins maven-war-p

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

[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? org.codehaus.cargo cargo-maven2-plugin

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 t

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, 20

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' 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

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 anyon

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 ob

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 ca

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: 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 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 the

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

[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. http://maven.apache.org/

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 f

[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: 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 dat

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 DatabaseTestS

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 */

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: WEB-INF/lib/*.jar Is it pos

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: WEB-INF/lib/*.jar -

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: 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 : 2.0-beta-7-SNAPSHOT Regards, Anne -Message d'origine- De : Tim Kettler [mailto:[EMAIL PROTECTED] Envoyé : jeudi 29 mai 2008 15:55 À : Maven Users List Objet : Re: Forcing site plu

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:

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: 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 wha

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

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: > > > > > org.apache.maven.plugins > mav

[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 configurati

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 l

Re: Multi Module Projects - manifest question

2008-05-29 Thread Martin
Hi Chris- Have you looked at configuring the 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" Sent: Thursday, May 29, 2008 1:57 AM Subject: Multi Mo

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: Sent: Thursday, May 29, 2008 5:35 AM Subject: A problem about

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 an

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

Re: What goals are available by defaut?

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

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 [INFO

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 necessa

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

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 c:/r element. > and

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. org.apache.maven.plugins maven-surefire-plugi

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 [mailto:[EMAIL

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: itest itest org.apache.maven.plugins maven-surefire-plugin

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 structu

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: 4.0.0 test test 1.0-SNAPSHOT ... Local Repository Internal Repository

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 sh

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 is

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 f

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. http://www.jroller.com/eu/entry/maven_integra

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

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 speci

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 c:/r element. and move your existing repository from ~/.m2/repository there. Milos On 5/29/0

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 proje

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 org.codehaus.mojo:exec-maven-plugin:

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. pu

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 installatio

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.

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: > > Hell

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 : > > > Re

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