Is it possible to customize maven-war-plugin so JARs aren't put in src/main/webapp/WEB-INF/lib when using war:inplace?

2007-09-17 Thread mraible
Is it possible to customize maven-war-plugin so JARs aren't put in src/main/webapp/WEB-INF/lib when using war:inplace? I'd like to stop JARs from getting put in this directory (if I remove it, jetty:run still works fine), as well as exclude some files from src/main/resources (because Jetty picks

Re: Is it possible to customize maven-war-plugin so JARs aren't put in src/main/webapp/WEB-INF/lib when using war:inplace?

2007-09-18 Thread mraible
/executions I'm using maven-war-plugin version 2.0.2. Thanks, Matt Tim Kettler wrote: Hi, warSourceExcludesWEB-INF/lib/*.jar,...,.../warSourceExcludes [1] -Tim [1] http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html mraible schrieb: Is it possible

Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
Any idea what could be causing this? I get it when running mvn eclipse:eclipse on a modular project. I'm on OS X with JDK 5. [INFO] [ERROR] FATAL ERROR [INFO]

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
minutes free I can see about getting past that error. But I have yet to get to your problem, it seems. Wayne On 9/20/07, mraible [EMAIL PROTECTED] wrote: Any idea what could be causing this? I get it when running mvn eclipse:eclipse on a modular project. I'm on OS X with JDK 5. [INFO

Re: Issue with maven-eclipse-plugin 2.4: java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil

2007-09-20 Thread mraible
, mraible [EMAIL PROTECTED] wrote: You can use -Ph2 to use H2 instead of MySQL. You can also run with -Dmaven.test.skip=true to bypass all the connecting to the database and downloading of Tomcat to run Cargo/WebTest tests. Matt Wayne Fay wrote: I couldn't even get the first step to work

Re: running hibernate3 plugin with jpaconfiguration

2007-09-24 Thread mraible
It works in AppFuse - maybe it'd help to look at our configuration. Archetype creation commands @ http://appfuse.org/display/APF/AppFuse+QuickStart Change from Hibernate to JPA: http://appfuse.org/display/APF/Using+JPA#UsingJPA-setup HTH, Matt thebugslayer wrote: Hi, Can someone please

Code Coverage Plugins with Maven 2

2007-09-24 Thread mraible
AFAICT, the cobertura-maven-plugin (versions 2.0 and 2.1) doesn't work and neither does the emma-maven-plugin in Mojo's sandbox. Has anyone had any luck with either of these plugins? Is there an open source code-coverage plugin that works with Maven 2? I know about Clover, but that's not open

RE: Code Coverage Plugins with Maven 2

2007-09-24 Thread mraible
/artifactId /plugin Regards, Iker -Original Message- From: mraible [mailto:[EMAIL PROTECTED] Sent: Monday, September 24, 2007 9:57 AM To: users@maven.apache.org Subject: Code Coverage Plugins with Maven 2 AFAICT, the cobertura-maven-plugin (versions 2.0 and 2.1

RE: Code Coverage Plugins with Maven 2

2007-09-24 Thread mraible
goals goalcompile/goal /goals /execution /executions /plugin Any ideas how to make the two play nicely together? Matt mraible wrote: This is what I'm using. However, it reports 0% coverage. Maybe

RE: Code Coverage Plugins with Maven 2

2007-09-24 Thread mraible
It looks like this is a known issue in the aspectj-maven-plugin. http://jira.codehaus.org/browse/MOJO-456 Looks like we're using the latest version, so I guess I need to add a new execution with a configuration to do weaveMainSourceFolder=false. Matt mraible wrote: Hmmm, it looks like

RE: Code Coverage Plugins with Maven 2

2007-09-24 Thread mraible
This didn't work. AFAICT, the Cobertura and AspectJ plugin can't be activated at the same time if you want Cobertura reports to work. Matt mraible wrote: It looks like this is a known issue in the aspectj-maven-plugin. http://jira.codehaus.org/browse/MOJO-456 Looks like we're using

Re: Converting AppFuse to a Maven 2 Project

2006-08-09 Thread mraible
I started working on the Maven 2 conversion last night. I'm currently using Carlos's nested recommendation. Here's a screenshot of the current structure: http://raibledesigns.com/repository/images/appfuse2-structure.png Using this structure, I get errors stating that the data and web parent

Re: Converting AppFuse to a Maven 2 Project

2006-08-18 Thread mraible
While this looks like an ideal solution, it doesn't appear to work as I'd like. Since I have 4 web/war projects implementing the same thing, it'd be nice to put common files (i.e. filters, listeners) in a common project and have that one overlay the other war projects. Eventually, I'm hoping

Re: Does anyone know how to use the maven DBUnit plugin?

2006-08-24 Thread mraible
Ray Tsang wrote: i'm using dbunit ant task to load initial data.. i have something like the following in profiles section of the pom.xml. it will execute when `mvn -DloadData=true` profile iddbunit-load-data/id activation property nameloadData/name

Re: [m2] DBUnit plugin form m2?

2006-08-24 Thread mraible
Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-08-24 Thread mraible
Paul Kuykendall wrote: Jose, I found this in a blog somewhere (I didn't bookmark it, just copied it into a tips and tricks email I sent myself at work). I still ran into problems with the hibernate3-maven-plugin complaining it couldn't resolve a dependency somewhere down the line to

Using archetype:create to generate an archetype from an existing project

2006-10-08 Thread mraible
I'm trying to use the archetype plugin to create an archetype from an existing project. From the following issue, I'm not quite sure if this functionality exists or not: http://jira.codehaus.org/browse/ARCHETYPE-31 When I try to run archetype:create against Equinox

Re: Using archetype:create to generate an archetype from an existing pro

2006-10-08 Thread mraible
Wayne Fay wrote: Matt, I don't believe this functionality has been implemented in any released plugins. IIUC, you're looking for the archetype plugin to look at your project and turn it into an archetype, which you can later use to create future projects/modules, right? Use your

Issues with calling mvn from Ant on Linux

2006-10-08 Thread mraible
I have the following macrodef in Ant to run mvn to create project files. It works fine on Windows XP and OS X, but on Linux it spits out [exec] Result: 1. Any ideas on how to make this work on Linux? Thanks, Matt macrodef name=projectfiles attribute name=dir/ sequential

Re: Issues with calling mvn from Ant on Linux

2006-10-08 Thread mraible
I've tried both and I get the same result. In the example below (mvn.sh), I tried creating a symlink to mvn. Matt Alexandre Russel-2 wrote: On Monday 09 October 2006 04:56, mraible wrote: I have the following macrodef in Ant to run mvn to create project files. It works fine on Windows

Re: How to native properties files with maven2

2006-11-01 Thread mraible
Is this plugin available in a public repository? Is there an easier way to do this that doesn't require tools.jar on the classpath? This was awful easy to do with Ant - seems like Maven 2 complicates things here. Thanks, Matt Jakub Pawlowicz wrote: Hi, One way to process your

Re: dbunit plugin - how to consolidate and not run when skipping tests

2006-11-03 Thread mraible
an Ant-based AppFuse project to Maven 2. Matt thomasvdv wrote: Matt, Where is this dbunit hosted? I couldn't find it under http://snapshots.repository.codehaus.org/ Cheers, Thomas On 11/1/06, mraible [EMAIL PROTECTED] wrote: I have the following configuration for the dbunit

How do I include base tests classes in main JAR

2006-11-18 Thread mraible
We're experiencing the following issue in AppFuse's migration to Maven 2: http://issues.appfuse.org/browse/APF-478 For each artifact we're creating, we'd like to include the BaseTestCase class from that project's test module. It looks like other folks are interested in doing this as well:

Can't find maven-plugin-tools-api

2006-12-13 Thread mraible
Any idea why the maven-plugin-tools-api is hosted in Mergere's repo and not in central? I just started getting the following error today: Downloading: http://repo.mergere.com/maven2/org/apache/maven/maven-plugin-tools- api/2.0/maven-plugin-tools-api-2.0.pom [INFO]

Is rsync with central repo still possible?

2006-12-22 Thread mraible
Rsyncing with ibiblio used to be possible using the following: rsync -v -t -l -r ftp.ibiblio.org::maven2 . However, now that the Maven repo has moved to Contegix, this command no longer seems to work. Now I get the following on OS X: @ERROR: Unknown module 'maven2' rsync: connection

Is there a publicly-available native2ascii plugin for Maven 2?

2006-12-29 Thread mraible
I've done a fair bit of research and it seems there's two ways to do native2ascii processing with Maven 2: 1. Use the Ant tasks (quite verbose). 2. Write a plugin. AFAICT, the only plugin that exists is at: http://www.jakubpawlowicz.com/blog/2006/03/19/maven_native2ascii_plugin/ It looks like

Re: Is there a publicly-available native2ascii plugin for Maven 2?

2006-12-29 Thread mraible
? Wayne On 12/29/06, mraible [EMAIL PROTECTED] wrote: I've done a fair bit of research and it seems there's two ways to do native2ascii processing with Maven 2: 1. Use the Ant tasks (quite verbose). 2. Write a plugin. AFAICT, the only plugin that exists is at: http

Overriding properties in a dependency's pom.xml

2007-01-04 Thread mraible
I have a project that has dao.frameworkhibernate/dao.framework defined as a property in the root pom.xml. In a service project, that property is used as follows: dependency groupId${pom.groupId}/groupId artifactIdappfuse-${dao.framework}/artifactId

Re: Overriding properties in a dependency's pom.xml

2007-01-04 Thread mraible
in that properties are immutable? If so, can I hook into the lifecycle sooner and set this dao.framework property from the local pom.xml? Thanks, Matt mraible wrote: I have a project that has dao.frameworkhibernate/dao.framework defined as a property in the root pom.xml. In a service project

What's the best way to specify versions for Maven Plugins?

2007-01-22 Thread mraible
What's the best way to specify versions for Maven Plugins. In the AppFuse project, we're distributing archetypes that have plugins pre-defined in the pom.xml files. Should we: 1. Have no version 2. Use the latest version in the Maven repo 3. Use versionLATEST/version 4. Use

Re: Overriding properties in a dependency's pom.xml

2007-01-28 Thread mraible
I've entered an enhancement request for this at: http://jira.codehaus.org/browse/MNG-2757 Maven Developers: how hard would it be to allow property overriding? It seems like a natural thing to want to do. Thanks, Matt Larry Meadors-2 wrote: On 1/4/07, mraible [EMAIL PROTECTED] wrote

Re: native2ascii-maven-plugin is now in mojo's sandbox

2007-01-30 Thread mraible
Thanks Dan - this is just what I needed! :-D How would I configure this plugin to process multiple files? Here's how I did it with Ant: native2ascii src=web/WEB-INF/classes dest=${build.dir}/web/classes includes=ApplicationResources_zh*.properties encoding=UTF-8/

Re: native2ascii-maven-plugin is now in mojo's sandbox

2007-02-01 Thread mraible
) com.sun:tools:jar:dummy -- 1 required artifact is missing. for artifact: org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-beta-1-20070109.041736-1 mraible wrote: Thanks Dan - this is just what I needed! :-D How would I configure this plugin to process multiple files

Is it possible to do string replacement in an archetype?

2007-02-03 Thread mraible
I'd have the following in the pom.xml of an archetype: jdbc.url![CDATA[jdbc:mysql://localhost/${artifactId}?createDatabaseIfNotExist=trueamp;useUnicode=trueamp;characterEncoding=utf-8]]/jdbc.url If users use a dash in their artifactId, this will fail on most databases. Is there a String

Testing archetypes with Ant

2007-02-03 Thread mraible
I've figured out a way to test archetypes with Ant, but it's not quite as clean as I'd like. In my archetypes directory, I have a common-test.xml[1] file that gets called from the archetype using the antrun-plugin: The following works: plugin

Re: Is it possible to do string replacement in an archetype?

2007-02-03 Thread mraible
) method jdbc.url![CDATA[jdbc:mysql://localhost/${artifactId.replace('-','_')} ?createDatabaseIfNotExist=trueamp;useUnicode=trueamp;characterEncoding=utf-8]]/jdbc.url I don't know if it works. Regards, Raphaël 2007/2/3, mraible [EMAIL PROTECTED]: I'd have the following in the pom.xml

Re: Testing archetypes with Ant

2007-02-03 Thread mraible
] [exec] [INFO] Error executing ant tasks [exec] Embedded error: The following error occurred while executing this line: [exec] /Users/mraible/Work/appfuse-2.0/archetypes/appfuse-basic-spring/target/basicspring/src/test/resources/web

Re: Testing archetypes with Ant

2007-02-05 Thread mraible
I finally got everything working, but I'm also experiencing a strange side effect. The common-test.xml[1] script is called from each archetype's pom.xml: profiles profile idintegration-test/id activation property

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread mraible
Here's how we do this in AppFuse: plugin artifactIdmaven-war-plugin/artifactId version2.0.2/version executions execution idskinny-war/id goals

Selenium, profiles and executing certain browsers on certain OSs

2007-03-06 Thread mraible
I'm using the salenese Ant task to run some Selenium tests in my project. I want tests to run in Firefox on all platforms, and Firefox and IE when running on Windows. I've got everything working using the XML below, but it's quite verbose. Is there a way to simplify, or is this the recommended

Re: [m2] Selenium, profiles and executing certain browsers on certain OSs

2007-03-06 Thread mraible
... then use the profiles to set those property values. Eric On 3/6/07, mraible [EMAIL PROTECTED] wrote: I'm using the salenese Ant task to run some Selenium tests in my project. I want tests to run in Firefox on all platforms, and Firefox and IE when running on Windows. I've got everything

Is it possible to have application-specific properties in settings.xml?

2007-03-07 Thread mraible
I have a number of properties for database settings in my root pom.xml: !-- Database settings -- dbunit.dataTypeFactoryNameorg.dbunit.dataset.datatype.DefaultDataTypeFactory/dbunit.dataTypeFactoryName dbunit.operation.typeCLEAN_INSERT/dbunit.operation.type

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-12 Thread mraible
Since there's been no answers to this question, I'll assume the answer is No, it's not possible to use settings.xml to have application-specific properties. Matt mraible wrote: I have a number of properties for database settings in my root pom.xml: !-- Database settings

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-12 Thread mraible
properties, etc. I'm pretty sure this is a common pattern across Ant users. Wayne On 3/12/07, mraible [EMAIL PROTECTED] wrote: Since there's been no answers to this question, I'll assume the answer is No, it's not possible to use settings.xml to have application-specific properties. Matt

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-12 Thread mraible
/guides/introduction/introduction-to-profiles.html Wayne On 3/12/07, mraible [EMAIL PROTECTED] wrote: Don't worry - I am doing things The Maven Way with properties in the root pom.xml. However, for this particular application, I need to override a property in settings.xml (I'm on a Mac

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-12 Thread mraible
. I'm not sure if this would solve all your problems, though, as it would require you to copy this profile.xml file to multiple locations in your SCM and potentially keep them all in-sync. Wayne On 3/12/07, mraible [EMAIL PROTECTED] wrote: I've read this page quite a few times and the answer

Re: [m2] Color logging?

2007-03-13 Thread mraible
Bump... has the status of this changed? When I google for Maven color logging, it seems like it might exist, but I can't tell for sure. Thanks, Matt Matt Raible-3 wrote: Is it possible to configure Maven so it spits out color logging like Ant does? FWIW: export ANT_ARGS='-logger

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
move the contents of profiles.xml to ~/.m2/settings.xml, everything works fine, but I'm back to my same problem where this is a global property override, and I'm only looking to override for this one project. Any ideas why this happens? Thanks, Matt mraible wrote: Thanks for the tip - I

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
side (??). I will go ahead and send the zip directly to you Matt as I know attachments generally don't get passed through this mailing list... But please reply to this email (on list) so we can keep the conversation public, if you don't mind. Wayne On 3/13/07, mraible [EMAIL PROTECTED

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
... But please reply to this email (on list) so we can keep the conversation public, if you don't mind. Wayne On 3/13/07, mraible [EMAIL PROTECTED] wrote: I'm seeing some strange behavior with this. I've added a profiles.xml in the root of my project. Its contents are: profiles profile

Re: [m2] Color logging?

2007-03-14 Thread mraible
. The impl I have supports both ANSI and HTML right now. Andy On 13 Mar 2007, at 15:26, mraible wrote: Bump... has the status of this changed? When I google for Maven color logging, it seems like it might exist, but I can't tell for sure. Thanks, Matt Matt Raible-3 wrote

Re: Overriding properties in a dependency's pom.xml

2007-03-14 Thread mraible
locked down in Maven's core? This feature is essential to the AppFuse project if we want to allow multiple persistent frameworks for users. Requiring folks to use a -D parameter (or modifying MAVEN_OPTS) is quite unmaintainable. Thanks, Matt mraible wrote: I've entered an enhancement request

RE: Code Coverage Plugins with Maven 2

2007-11-24 Thread mraible
I've created an issue for this in MOJO's JIRA. If this is the wrong location, please let me know. http://jira.codehaus.org/browse/MOJO-954 Matt mraible wrote: This didn't work. AFAICT, the Cobertura and AspectJ plugin can't be activated at the same time if you want Cobertura reports

Re: Packaging up images

2007-03-27 Thread mraible
/plugin /plugins /build /profile Thanks, Matt dan tran wrote: zip and deploy? if so, use assembly:attached On 3/27/07, mraible [EMAIL PROTECTED] wrote: I'm currently migrating an ASP-based site to Maven and Subversion. The previous site didn't use

Packaging up images

2007-03-27 Thread mraible
I'm currently migrating an ASP-based site to Maven and Subversion. The previous site didn't use any source control, so the images directory is quite large (1 GB). I can exclude/include this directory easily enough with the maven-war-plugin and profiles, but I'm wondering what's the best way to

Re: Packaging up images

2007-03-27 Thread mraible
is correct. Thanks, Matt dan tran wrote: You need to create an assemlby file and configure it to zip up your directory. There is plenty examples at assembly-plugin's site. -D On 3/27/07, mraible [EMAIL PROTECTED] wrote: Here's what I came up with using the maven-antrun-plugin

Using the assembly plugin to package up WARs and ZIPs

2007-03-27 Thread mraible
I'm trying to use the assembly plugin to package up WARs from a bunch of sub-projects. My goal is to get a target/release.zip after running mvn package from the top-level directory. I have this working when I run mvn package assembly:assembly, but I'd like to make it work for mvn package of my

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread mraible
into the lifecycle to build the release zip. Thanks, Matt mraible wrote: I'm trying to use the assembly plugin to package up WARs from a bunch of sub-projects. My goal is to get a target/release.zip after running mvn package from the top-level directory. I have this working when I run mvn

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-28 Thread mraible
you create the other one that contains the wars, etc. Does that make sense? -john On 3/28/07, mraible [EMAIL PROTECTED] wrote: I've managed to get my WARs and ZIPs into the same release ZIP using the following assembly descriptor. However, I'd like to combine the two zips

Powered by M2 - is it possible to add to the list?

2007-03-28 Thread mraible
Is it possible to add Equinox (used in Maestro) and AppFuse to the Powered by M2 list? http://maven.apache.org/powered-by-m2.html Thanks! Matt -- View this message in context: http://www.nabble.com/Powered-by-M2---is-it-possible-to-add-to-the-list--tf3482768s177.html#a9721921 Sent from the

Re: Powered by M2 - is it possible to add to the list?

2007-03-28 Thread mraible
, or is there a Mergere URL we can add? Does anyone know? BTW, I've added http://appfuse.org to the list. -john On 3/28/07, mraible [EMAIL PROTECTED] wrote: Is it possible to add Equinox (used in Maestro) and AppFuse to the Powered by M2 list? http://maven.apache.org/powered-by-m2.html

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-29 Thread mraible
John Casey wrote: On 3/28/07, mraible [EMAIL PROTECTED] wrote: Are you saying I should have two assemblies; one that creates a zip from the static content and one that takes the output from that and bundles it with the WARs? That sounds reasonable. I'm still wondering how I can

Re: Using the assembly plugin to package up WARs and ZIPs

2007-03-29 Thread mraible
On 3/29/07, mraible [EMAIL PROTECTED] wrote: John Casey wrote: On 3/28/07, mraible [EMAIL PROTECTED] wrote: Are you saying I should have two assemblies; one that creates a zip from the static content and one that takes the output from that and bundles it with the WARs

Is it possible to suppress the Velocity warnings when using archetype:create?

2007-04-04 Thread mraible
Is it possible to suppress the Velocity warnings when using archetype:create? When users (most of them new to Maven) create a new project with AppFuse, they often think it fails. I can see why - here's the output when creating a new project: Listening for transport dt_socket at address: 5005

Is it possible to suppress the Velocity warnings when using archetype:create?

2007-04-04 Thread mraible
Is it possible to suppress the Velocity warnings when using archetype:create? When users (most of them new to Maven) create a new project with AppFuse, they often think it fails. I can see why - here's the output when creating a new project: Listening for transport dt_socket at address: 5005

Re: [m2] Color logging?

2007-04-08 Thread mraible
Andy, Do you have an update on this? Thanks, Matt Andrew Williams-5 wrote: I will try to put instructions on a website somewhere this week. Andy On 14 Mar 2007, at 16:15, mraible wrote: I agree that the logging output needs to be fixed. In particular, I'd love to see mvn

Getting releases automatically rsynched to central

2007-04-17 Thread mraible
I'd like to see about getting AppFuse releases automatically synched to Maven's central repo. How do I go about doing this. The FAQ[1] says ask this on dev@, but I was scared off by the big yellow banner[2] that said post questions to [EMAIL PROTECTED] ;-) I'm prepared to post releases to a

Maven Embedder Example?

2007-05-07 Thread mraible
Does anyone have a Maven Embedder example that runs archetype:create? I'd like to create an archetype, run a plugin and verify that files are created in the new project. I could run the archetype creation and plugin with Ant, but that doesn't seem to be a very good way to test the code

Re: Maven Embedder Example?

2007-05-07 Thread mraible
); } mraible wrote: Does anyone have a Maven Embedder example that runs archetype:create? I'd like to create an archetype, run a plugin and verify that files are created in the new project. I could run the archetype creation and plugin with Ant, but that doesn't seem to be a very good way to test

Using Ant to test Maven Plugins

2007-05-31 Thread mraible
I'm using Ant to test a Maven Plugin (as well as archetypes). I tried using Maven Embedder, but was unable to get it to execute some of my extension plugins with version 2.0.4. Now I'm having issues getting Ant to fail properly when executing Maven fails. I'm sure this is probably more of an

Is it possible to configure the maven-jar-plugin to use a prefix for classes?

2008-04-25 Thread mraible
Is it possible to configure the maven-jar-plugin to use a prefix for classes? I want to put them in a directory other than the root. Thanks, Matt -- View this message in context:

Is it possible to automatically append -DperformRelease=true to mvn deploy

2008-05-09 Thread mraible
Hello, When I deploy to my company's repository, I want to include artifact javadocs and sources. The easiest way I've found to do this is to use mvn deploy -DperformRelease=true. Is there anyway to automate the passing of the flag so I can do mvn deploy and it has the same effect as mvn deploy

Is it possible to add files to an archetype from other directories?

2009-04-24 Thread mraible
I'd like to hand-craft an archetype that consists of a single pom.xml and pulls it's sources from other modules/directories in my project. Is that possible? In case anyone needs a more detailed explanation why, here goes... I'm working on AppFuse, which contains many different archetypes and

Re: Is it possible to add files to an archetype from other directories?

2009-04-27 Thread mraible
wrote: On Fri, Apr 24, 2009 at 4:24 AM, mraible m...@raibledesigns.com wrote: I'd like to hand-craft an archetype that consists of a single pom.xml and pulls it's sources from other modules/directories in my project. Is that possible? That seems to go against the grain of Maven. Does

RE: Is it possible to add files to an archetype from other directories?

2009-04-27 Thread mraible
, Matt Grant Rettke wrote: On Fri, Apr 24, 2009 at 4:24 AM, mraible m...@raibledesigns.com wrote: I'd like to hand-craft an archetype that consists of a single pom.xml and pulls it's sources from other modules/directories in my project. Is that possible? That seems to go

Issues with archetype:create-from-project

2009-04-28 Thread mraible
I've been using archetype:create-from-project to create archetypes and have noticed some issues: 1. The generated archetype has a version of 1.0-SNAPSHOT. I want the archetype's version to be the same as my project. 2. When I have an empty property (e.g. jdbc.password/jdbc.password), it's

archetype:create-from-project works locally, but not in Bamboo

2009-04-30 Thread mraible
Any idea why Bamboo would be spitting out the following message? Apr-2009 09:58:27 install-core: 29-Apr-2009 09:58:27[mkdir] Created dir: /opt/​j2ee/​domains/ appfuse.org/​builds/​webapps/​atlassian-bamboo/​ data/​data-1.2/​xml-data/ build-dir/​APF-TRUNK/​archetypes/​

Running Tests in Parallel doesn't generate surefire-reports

2010-04-16 Thread mraible
When I add the parallelclasses/parallel element to my surefire-plugin configuration, JUnit reports aren't generated in target/surefire-reports. Any idea how to fix? I've modeled my setup after the following blog post, without the fine print or Spring changes.

Upgrading maven-embedder from 2.0.4 to 3.0.2

2011-02-10 Thread mraible
I'm trying to upgrade the dependencies of the appfuse-maven-plugin to use the latest Maven dependencies to solve an issue with using Maven 3. http://issues.appfuse.org/browse/APF-1220 However, when I upgrade to maven-embedder 3.0.2, there's a couple classes missing: MavenEmbedder and

Re: Upgrading maven-embedder from 2.0.4 to 3.0.2

2011-03-03 Thread mraible
This seems somewhat complicated - isn't there an easier way? Of the top 10 reasons to use Maven, #4 is it's easier to embed. http://www.sonatype.com/people/2011/02/top-ten-reasons-to-move-to-maven-3/ -- View this message in context:

Re: Upgrading maven-embedder from 2.0.4 to 3.0.2

2011-03-07 Thread mraible
Any recommendations for developing an embedded Maven that will work for both 2.x and 3.x users? My current setup works for 2.x users, but if I upgrade to a new way for 3.x, I'm afraid it'll break 2.x support. -- View this message in context:

Re: Upgrading maven-embedder from 2.0.4 to 3.0.2

2011-03-29 Thread mraible
olamy wrote: Hello Matt. This doesn't exists anymore in 3.0.x. So for the maven3 integration in Hudson/Jenkins, I have build a quot;kindquot; of embedder which you can use at least for read projects. It should work to read projects and resolve dependencies. You can have a look at the