Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
Hi, I am working on a project made up of a lot of other projects. It is set up ,for example, as follows: moduleA moduleB moduleD parent moduleE moduleF ... moduleX As shown, the parent is within the child modules. I know this may seem unusual but that is how it is and I have to work with it that

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread Ron Wheeler
You did not say what your problem is. Do you get what you want? Ron On 18/02/2013 6:37 AM, dgabriel wrote: Hi, I am working on a project made up of a lot of other projects. It is set up ,for example, as follows: moduleA moduleB moduleD parent moduleE moduleF ... moduleX As shown, the parent

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
I want to use the Assembly plugin to create a zip file containing a folder that holds all of the unpacked dependencies from the children projects. The code I posted is what I have been trying but it does not work. I'd like someone to help me out if they can. -- View this message in context:

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread David Pratt
I suspect what he was asking is for you to explain how it's not working. Sent from my iPhone On Feb 18, 2013, at 8:03 AM, dgabriel darren.gabr...@citi.com wrote: I want to use the Assembly plugin to create a zip file containing a folder that holds all of the unpacked dependencies from the

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
When I try to build the project via cmd - mvn clean install, I get the build error 'Cannot create resource output directory' so I cannot even get it to build. The code is something similar I've used in single module projects which work fine. It is this multi project one that is now giving me the

Hi, all. I wanna use maven to perform c/cpp unit test.

2013-02-18 Thread Joe Zhang
Which plugin shall I use? I have googled that with the key as maven, cpp and unit test. But it always show sth about Jenkins... Thank U - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread Ron Wheeler
You may want to try a little research with Google. http://stackoverflow.com/questions/10923944/maven-resources-plugin-error-using-copy-resources-goal-resources-outputdire is one possible cause but without any more info, it is hard to help you. You might also post the error message that you are

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
Thanks Ron. I have however been researching this quite a bit but can't seem to find whatever it is I need. What I meant was that I can create my directory containing the dependencies in a single module project but not a multi-module one. Before I could simply set up the assembly.xml in the

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread Ron Wheeler
You have a very specific error that does not appear to have anything to do with the number of modules. What directory can you not create? Does the path make sense? The error messages are not usually random. It refers to a specific problem that you need to fix. Ron On 18/02/2013 10:30 AM,

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
binaries outputDirectorylibrary/projectDependencies/outputDirectory unpackfalse/unpack /binaries That is the code I have to create my output directory. It is within the moduleSet tag. That is what cannot be created it seems. Is it even possible to do what I am trying to

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread Ron Wheeler
On 18/02/2013 10:53 AM, dgabriel wrote: binaries outputDirectorylibrary/projectDependencies/outputDirectory unpackfalse/unpack /binaries That is the code I have to create my output directory. It is within the moduleSet tag. That is what cannot be created it seems.

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread dgabriel
I do not know, that is my problem. My assembly.xml is obviously setup wrong and I am trying to get some help to fix it from someone that know something about using the Maven Assembly plugin with a multi-module project -- View this message in context:

Re: Maven Assembly - put multi-module dependencies into one zip

2013-02-18 Thread Ron Wheeler
You need to answer my questions about why the directory can not be created and start to do some work on that problem. It probably has nothing to do with multi- or single modules. Did you check out the possible reason that I mentioned earlier? What did you find? You are not posting anything

Maven eating compiler errors?

2013-02-18 Thread Paul Bourke
Hi, I'm having trouble where Maven is not showing compiler errors as one would expect. Take the following: ``` # Create a basic 'hello world' project $ mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Re: Maven eating compiler errors?

2013-02-18 Thread Anders Hammar
If you use version 3.0 of maven-compiler-plugin it should give you better info if you use JDK 1.6+. You need to pin down the version of the plugin in the pom. /Anders On Mon, Feb 18, 2013 at 11:18 PM, Paul Bourke pauldbou...@gmail.com wrote: Hi, I'm having trouble where Maven is not showing

Re: Maven eating compiler errors?

2013-02-18 Thread Paul Bourke
Ah, sorry, I meant to include version info in my original mail. $ mvn --version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_13, vendor: Oracle Corporation Java home: /usr/lib/jvm/jdk1.7.0_13/jre Default locale: en_IE, platform encoding: UTF-8 OS name: linux, version:

Re: Maven eating compiler errors?

2013-02-18 Thread Paul Bourke
Ok I understand what you mean now. Adding the stanza listed at http://maven.apache.org/plugins/maven-compiler-plugin/usage.html has given me better output: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project my-app: Compilation

Effect of skipSource?

2013-02-18 Thread Paul Ackersviller
I'm a complete newbie with maven, so could be completely off base, but my problem is the following. We have a .war file that people have been building with eclipse, and I'm trying to pacakge the same thing using just maven. The .war created this way doesn't work however, and the only difference

Re: Effect of skipSource?

2013-02-18 Thread Olivier Lamy
http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html#skipSource So if your build attach a jar containing sources this will be skipped. (no sources jar will be produce) 2013/2/18 Paul Ackersviller p...@freeshell.org: I'm a complete newbie with maven, so could be completely off

Cpp unit test

2013-02-18 Thread Joe Zhang
Hi all, how to make cpp unit test with maven Thanksgiving! - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Escaping Velocity constructs in Markdown document during site generation?

2013-02-18 Thread Laird Nelson
I'm using the Markdown Doxia plugin to author my site documentation in Markdown. The particular page of content I'm using has a .vm suffix on it because I also filter in Maven pom properties. This combination of things turns out to need escaping all over the place. For example, one way of doing

Re: Escaping Velocity constructs in Markdown document during site generation?

2013-02-18 Thread Laird Nelson
A concrete example which I've found impossible in a .vm-suffixed Markdown source file in src/site/markdown, which otherwise renders fine: Hello; this is [a link I'd like to have work properly][1] [1]: some/path/to/Class.html#someMethod(String) The ( and the ) do not render in the final link.