RE: where to place Test support/reusable fixture classes?

2009-01-09 Thread Jeff Jensen
I suggest creating a separate project, e.g. "TestFramework", and place those types of reusable test classes in its src/main/java. Then, the other projects can depend on it for the test scope. -Original Message- From: Giovanni Azua [mailto:brave...@swissonline.ch] Sent: Friday, January 0

Book descriptor seems too complicated

2009-01-09 Thread Trevor Harmon
Hi, My goal is to generate a PDF of an APT file alongside the HTML that gets generated by default when running "mvn site". It appears that writing a book descriptor is the only way to do this. However, the book descriptor mechanism seems way too complicated. It requires me to list explici

Re: Release mavn-scm plugin project

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 1:51 PM, Todd Thiessen wrote: > I have copied the scm plugin to my local repo and want to make some > customizations (I can't submit these back to the public repo yet) but I > am having trouble using the release plugin to release this project and > deploy to our internal Mav

SCM plugin project

2009-01-09 Thread Todd Thiessen
I have downloaded the source for this project have and have a number questions/concerns. Most of the code seems be under the scm directory. ie: http://svn.apache.org/repos/asf/maven/scm There is a POM at the highest level, with an artifact ID of maven-scm, which indicates many sub-directories as

Re: Launching a stand-alone test program

2009-01-09 Thread Kalle Korhonen
Well depending on if you want to use Maven and even bind the execution to a lifecycle or not. Since you said it runs manually and required manual interaction, I keep thinking you want to prepare your environment once and then run it multiple times from the command line. But either way, there's no d

Release mavn-scm plugin project

2009-01-09 Thread Todd Thiessen
I have copied the scm plugin to my local repo and want to make some customizations (I can't submit these back to the public repo yet) but I am having trouble using the release plugin to release this project and deploy to our internal Maven repo.. However, the release fails because of the GpgPlugin

AW: [assembly] reuse of assembly descritors in an assemlby descriptor

2009-01-09 Thread SoftwareEngineering Hauschel
This could be the solution! Thank you very much. I will try it. Fredy -Ursprüngliche Nachricht- Von: Dan Tran [mailto:dant...@gmail.com] Gesendet: Freitag, 9. Januar 2009 19:43 An: Maven Users List Betreff: Re: [assembly] reuse of assembly descritors in an assemlby descriptor would this

Re: Where do general resources go?

2009-01-09 Thread Mick Knutson
Just add them to the root directory then. I would put design docs in /src/site/resources Installer cfg files. This sounds like you need a root project, then module, and an assembly: [root] |-->/src/main/resources/[cfg files] |-->/src/assembly/assemble.xml |-->core-module |-->/src/main/**

where to place Test support/reusable fixture classes?

2009-01-09 Thread Giovanni Azua
Hi, I have a multi module project and in one of the top nodes of the dependency tree I would like to place a Test support class i.e. AbstractHibernateHSQLTestCase extends junit.framework.TestCase This class provides automatic database shutdown of HSQL in memory based test cases to prevent the cr

Where do general resources go?

2009-01-09 Thread Chris
My project has a lot of files that are used for the build or during design, but shouldn't end up in the target directory. For example, we have a directory named /design_docs, installer config files, icons used by the installer, code formatting standards, etc. Some of these files are referenced

Re: [assembly] reuse of assembly descritors in an assemlby descriptor

2009-01-09 Thread Dan Tran
would this work for you? http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-components.html -D On Fri, Jan 9, 2009 at 8:00 AM, SoftwareEngineering Hauschel wrote: > Hey all, > is there a possibility to impoprt assembly descriptors in an assembly > descriptor? > I would

Re: How to compile a plugin and use it in the same project?

2009-01-09 Thread Sahoo
There are some ways to do it, e.g., by configuring extensions, but my sincere suggestion is to separate them to different reactors. Having them in same reactor can lead to updation of the plugin jar in local maven repo while it is opened for reading and that will cause JDK to bomb. RustamAbd w

[assembly] reuse of assembly descritors in an assemlby descriptor

2009-01-09 Thread SoftwareEngineering Hauschel
Hey all, is there a possibility to impoprt assembly descriptors in an assembly descriptor? I would creat a base descriptor and use it in other descriptors. Thanks fredy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.o

Re: required artifact is missing ......

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 8:01 AM, thomas2004 wrote: > I downloaded zip file which contains many jars and I unzip this and deployed > this locally. But I also deploy this to the repository of our company. What commands did you use? > 'local' is not intentional. But I think this should not the probl

How to compile a plugin and use it in the same project?

2009-01-09 Thread RustamAbd
I have the following project structure: parent + my-plugin + my-jar How can I use my-plugin during building of my-jar, without having to install my-plugin first? Simply specifying it as a dependency doesn't work... Please someone help... Rusty -- View this message in context: http://www.nab

Re: Launching a stand-alone test program

2009-01-09 Thread Trevor Harmon
On Jan 7, 2009, at 5:01 PM, Kalle Korhonen wrote: If it's a manually run test application I'd create a separate module for it. You can set the main application as a dependency of this module, then spit out the required classpath with dependency:build-classpath and put the run parameters in

Re: required artifact is missing ......

2009-01-09 Thread thomas2004
Wendy Smoak-3 wrote: > > > It can't find the jaxws-ri-2.1-EA3-SNAPSHOT pom, which is a dependency > of your mq-monitoring-ws webapp. > > My guess is that you installed this in your local repository, and it's > not available in any of the remote repos that your CI server can see. > > The reaso

RE: How to assembly a zip (using maven-asembly-plugin) with two artifacts that have the same groupId, artifactId and type but different version

2009-01-09 Thread Rakesh Arora
Thanks Dan! This works. -Rakesh > -Original Message- > From: Dan Tran [mailto:dant...@gmail.com] > Sent: Friday, January 09, 2009 1:17 AM > To: Maven Users List > Subject: Re: How to assembly a zip (using > maven-asembly-plugin) with two artifacts that have the same > groupId, artifac

Re: required artifact is missing ......

2009-01-09 Thread Wendy Smoak
On Fri, Jan 9, 2009 at 6:45 AM, thomas2004 wrote: > I use mvn to build/compile my multi-project locally and it is successful. > Later I deploy it to the TeamCity and build/compile it again. But htis time > I got error as follow. From the error message one can see one that "1 > required artifact i

Re: How do I add all the jars in a directory in junit test exeicution classpath

2009-01-09 Thread Wendy Smoak
[moved from d...@] On Fri, Jan 9, 2009 at 6:48 AM, Nimbkar, Mandar wrote: > I have few junit test cases to be executed using Maven build. > My test classes require all the jars located a directory (say > %JBOSS_HOME%\server\default\lib dir) in the classpath. How do I add them in > the classpat

Re: required artifact is missing ......

2009-01-09 Thread thomas2004
Here is the screen-shot of my repository. Can you see what is wrong? http://www.nabble.com/file/p21373356/pom.jpg Jaikiran wrote: > > Its' missing this one : local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT > > thomas2004 wrote: >> >> [14:36:57]: Missing: >> [14:36:57]: -- >> [14

Re: required artifact is missing ......

2009-01-09 Thread Jaikiran
Its' missing this one : local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT thomas2004 wrote: > > [14:36:57]: Missing: > [14:36:57]: -- > [14:36:57]: 1) local.sun.java.net:jaxws-ri:pom:2.1-EA3-SNAPSHOT > -- View this message in context: http://www.nabble.com/required-artifact-is-mis

required artifact is missing ......

2009-01-09 Thread thomas2004
Hi all, I use mvn to build/compile my multi-project locally and it is successful. Later I deploy it to the TeamCity and build/compile it again. But htis time I got error as follow. From the error message one can see one that "1 required artifact is missing". But which one is this? *

Artifact getVersion and snapshots

2009-01-09 Thread Simone Gianni
Hi all, I'm writing a Maven plugin in which I'm using Artifact.getVersion on dependencies. When applied to a dependency which is a snapshot, sometimes the returned version is 0.0.1-SNAPSHOT (which is the version declared both in the dependency in the pom and in the version of the artifact pom)

RE: Cleaning local repository

2009-01-09 Thread julian.slonko
Hi, For the sake of real clean build I had also a need to delete my project branch from a local repository. I used maven-clean-plugin: maven-clean-plugin false ${settings.localRepository}/my/project

maven-ear-plugin: Always throws "Embedded error: Unknown artifact type[test-jar]"

2009-01-09 Thread Jaikiran
I am using Maven-2.0.9 in a multi-module project. One of the modules uses the maven-ear-plugin to generate an ear. Here's how it looks like: Parent pom.xml: - http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="h

prompt for required-property with default value in maven-archetype-plugin ?

2009-01-09 Thread amit . x . kataria
In maven-archetype-plugin (2.0-alpha-4 above) can we have a behavior wherein, the default properties are asked from the user, but if user does not provide them (presses enter) default values are taken. e.g. default-value ... will turn as # Define value for property-wit

Re: pde-maven-plugin

2009-01-09 Thread sandraB
oups, sorry for this stupid question, I' just realized that Tycho replaces maven ! sandraB wrote: > > > Hi, > Do I need to install maven 3.0 or the 0.3.0-DEV-1819 works with maven > 2.0.9 too ? > > > > Eugene Kuleshov wrote: >> >> >> baerrach wrote: >>> >>> On Fri, Jan 9, 2009 at 5:50 A

Re: pde-maven-plugin

2009-01-09 Thread sandraB
Hi, Do I need to install maven 3.0 or the 0.3.0-DEV-1819 works with maven 2.0.9 too ? Eugene Kuleshov wrote: > > > baerrach wrote: >> >> On Fri, Jan 9, 2009 at 5:50 AM, Josh Suereth >> wrote: >>> I gotta say, I'm *VERY* excited about Tycho. >> >> I dont want to throw stones because I woul

Re: pde-maven-plugin

2009-01-09 Thread Tomasz Pik
On Fri, Jan 9, 2009 at 2:10 AM, Jason van Zyl wrote: > Pull the latest dev builds, the wiki page is here: > > http://docs.codehaus.org/display/M2ECLIPSE/Tycho+builds > > The sync from apache to central seems to be failing which is why it's > choking on 3.0-alpha-1. Are there plans to release Tych

Re: pde-maven-plugin

2009-01-09 Thread sandraB
OK, I'm going to look this solution. I need a plugin eclipse for eclipse 3.2, 3.3 and 3.4. Could you give me information about the files structure ? I imagine using some modules but I don't have signifiant experience to using it. What do you think of something like that: helloworld_project -- sr

AW: Dynamic dependencies?

2009-01-09 Thread Lewis, Eric
Well, we talked about all the possibilities of doing a PDE build with a consultant (who uses Tycho btw) and then decided that the best approach for us was just to treat the PDE build as black box and build a thin Maven layer around the whole build. We're using m2eclipse, though (for non-PDE proj