Filtering issues with maven and assemblies...

2014-03-13 Thread Julien Martin
Hello, I am having issues with maven filtering. My resources are not filtered... I want to generate a jar with dependencies with custom filtering. Can anyone please help? Here is my configuration (*pom.xml* and *assembly.xml*): *Resources:* resources resource

Using filtered resources with the maven assembly plugin and the jar-with-dependencies descriptorRef

2014-03-04 Thread Julien Martin
Hello, I am trying to filter resources before they are fed to the maven assembly plugin (with a jar-with-dependencies) to no avail. Here are the relevant portions of my POM.xml: ... resources resource directorysrc/main/resources/directory

Our maven config causes a NullPointerException in our test case...

2013-06-07 Thread Julien Martin
Hello, We have the following test case: package pack; import java.nio.charset.Charset;import java.util.Iterator;import java.util.Set; public class TestCase { public static void main(String[] args) { Set set = Charset.availableCharsets().keySet(); for (Iterator iterator =

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Julien Martin
/activeProfile /activeProfiles /settings I am sure I am missing something in the settings.xml file... What do you think? Julien. P.S. I am still going to have a look at Nexus in the meantime. 2011/7/19 Barrie Treloar baerr...@gmail.com On Sun, Jul 17, 2011 at 7:21 PM, Julien Martin bal

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Julien Martin
Sure. I am going to set one up. Which repo manager do you recommend? Regards, Julien. 2011/7/19 Barrie Treloar baerr...@gmail.com On Tue, Jul 19, 2011 at 5:23 PM, Julien Martin bal...@gmail.com wrote: Hello Barrie, Thanks for your reply! I removed the white spaces from the directory

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Julien Martin
how it gets set up there. Cheers, Brian On Jul 19, 2011, at 2:36 AM, Julien Martin wrote: up 2011/7/17 Julien Martin bal...@gmail.com Hello Thomas and thank you for the reply, Yes the tests are indeed located there. I was not able to reproduce the bug unfortunately... Does

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Julien Martin
* /dependency sorted the problem! Thank you very much to all of you! Regards, Julien. 2011/7/19 Barrie Treloar baerr...@gmail.com On Tue, Jul 19, 2011 at 11:20 PM, Julien Martin bal...@gmail.com wrote: Hello, I appreciate your help Brian! I changed my POM as follows: *plugin

Aggregation vs Inheritance

2011-07-18 Thread Julien Martin
Hello, I am not sure whether to choose inheritance or aggregation or both for my maven project. I have a domain module which contains entity classes. I have a service module which contains spring services and daos and finally I have a web module . Can anyone provide guidelines please? Regards,

Re: Aggregation vs Inheritance

2011-07-18 Thread Julien Martin
. Both could be combined in the same Maven project. /Anders On Mon, Jul 18, 2011 at 18:52, Julien Martin bal...@gmail.com wrote: Hello, I am not sure whether to choose inheritance or aggregation or both for my maven project. I have a domain module which contains entity classes. I have

Beginner needs help: Maven won't run my tests...

2011-07-16 Thread Julien Martin
Hello, I would like for Maven to run my tests when I issue the following command: mvn test However, despite the presence of a test class named CreateJobPostingTest, maven won't run my tests. Can anyone please help? Here is my test class: public class CreateJobPostingTest { @Test public

Re: Need help with a dependency problem...

2010-11-26 Thread Julien Martin
thanks a lot for your input Andreas and Antonio. 2010/11/26 Andreas M andreas.ch.magnus...@gmail.com Now, I'm no export on annotation processors, but don't you have to have it compiled before you can add it to the compiler arguments? In this, you say to the compiler that it should use the

Re: Problem with annotations processing and maven compiler plugin

2010-11-25 Thread Julien Martin
Thanks Wayne. I'll try that and post here according to the results. J. 2010/11/25 Wayne Fay wayne...@gmail.com typewar/type /dependency /dependencies A dependency of type war means basically nothing to Javac. You're basically just

Re: Problem with annotations processing and maven compiler plugin

2010-11-25 Thread Julien Martin
It works very well. Thanks to both of you! J. 2010/11/25 Julien Martin bal...@gmail.com Thanks Wayne. I'll try that and post here according to the results. J. 2010/11/25 Wayne Fay wayne...@gmail.com typewar/type /dependency

Need help with a dependency problem...

2010-11-25 Thread Julien Martin
Hello, Due to a restructuring in a maven project, I am experiencing problems with the following POM. I have two classes in the maven project below: com.jeanbaptistemartin.annotations.MethodLevelAnnotation (an annotation) com.jeanbaptistemartin.annotations.TestAnnotationsProcessor (my annotation

Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Hello, I am trying for maven to process my annotation processor. Here is what I tried: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.6/source

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Thanks Benson, What do you mean? How do I do that? J. 2010/11/24 Benson Margulies bimargul...@gmail.com A guess: also add it as a dependency to the compiler plugin? On Wed, Nov 24, 2010 at 3:36 PM, Julien Martin bal...@gmail.com wrote: Hello, I am trying for maven to process my

Re: Problem with annotations processing and maven compiler plugin

2010-11-24 Thread Julien Martin
Margulies bimargul...@gmail.com plugin dependencies dependency g/a/v of where your annotation processor is /dependency /dependencies /plugin On Wed, Nov 24, 2010 at 3:43 PM, Julien Martin bal...@gmail.com wrote: Thanks Benson, What do you mean? How do I do

Maven + POM + version + webapp context parameter

2009-01-19 Thread Julien Martin
Hello, I would like to achieve the following: -retrieve the version from a properties file so that I can include it in both the POM and my web.xml (context parameter). Does that make sense? How can I achieve this? Thanks, Julien.

Maven + POM + version + webapp context parameter

2009-01-19 Thread Julien Martin
Hello, I would like to achieve the following: -retrieve the version from a properties file so that I can include it in both the POM and my web.xml (context parameter). Does that make sense? How can I achieve this? Thanks, Julien.

[Beginner needs help] Populating a web.xml context-param from a maven variable?

2009-01-19 Thread Julien Martin
Hello, I would like to achieve the following: -retrieve the version from a properties file so that I can include it in both the POM and my web.xml (context parameter). Is that possible? How can I achieve this? Thanks, Julien.

Re: [Beginner needs help] Populating a web.xml context-param from a maven variable?

2009-01-19 Thread Julien Martin
Easy: I added the following plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources webResource

Copying resources outside of the distribution archive

2008-01-31 Thread Julien Martin
Hello, Say I have the following directory structure for my project: myproject --myresources/foo.sql (located within myproject directory) --src/main/java/etc. And I want to have the resulting directory structure: myyproject -target/executable/ --myproject.jar(located within executable directory)

Big bug in maven-war-plugin??

2007-10-23 Thread Julien Martin
Hello, Here is what I get: [INFO] Scanning for projects... [INFO] [INFO] Building CdR [INFO]task-segment: [install] [INFO] [INFO]

The OpenJPA Enhancer tool exited with a non-null exit code.

2007-10-23 Thread Julien Martin
Hello, I use the following goal: openjpa:enhance and I get this when I try to run the goal from netbeans. The OpenJPA Enhancer tool exited with a non-null exit code. Can anyone please help? It seems maven cannot locate the persitence.xmlfile. This is both a netbeans and maven related problem so I

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
Hello, Here is what I get now that I have changed to org.apache.poi (groupId) and turned on the -e switch: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
Sorry: I had forgotten to include proxy info in my maven settings.xml. J. 2007/8/28, Julien Martin [EMAIL PROTECTED]: Hello, Here is what I get now that I have changed to org.apache.poi (groupId) and turned on the -e switch: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error

Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Hello, Why does this POM includes the sun's jsf jars whereas I never asked for them?? I only want the Myfaces Jars... Can anyone help? How do I know which jars are included in a dependency? Thanks in advance, Julien Martin. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http

How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Hello all, How do I get Maven to include persistence.xml into a web app?? Any clue welcome! Julien. Here is my POM: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0

Re: Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Thanks Jorg, Your advice was very useful!!! J. 2007/8/28, Jörg Schaible [EMAIL PROTECTED]: Julien Martin wrote on Tuesday, August 28, 2007 10:23 AM: Hello, Why does this POM includes the sun's jsf jars whereas I never asked for them?? I only want the Myfaces Jars... Can anyone help

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
/org/apache/poi/poi/3.0.1-FINAL/ and put it on your company's repository 3/ Same as (2) but simply copy the content to your local repository. This is a very simple way to make sure your pom.xml is correct. Hoping I helped a colleague :) Arnaud -Original Message- From: Julien Martin

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
it will put all files in the resources directory into your war file under the WEB-INF/classes directory. Hope this helps. Ben On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote: Hello all, How do I get Maven to include persistence.xml into a web app?? Any clue welcome! Julien. Here is my

Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Hello, I am having problems with Trinidad and Maven. Can anyone please help? Thanks in advance, Julien. I get this from the console: C:\dev\calyonfinancial\ProtideWebmvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
think you can just create /src/main/webapp/META-INF and put it in there. On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote: Thanks Ben, Is there not a way to put it (persistence.xml) into meta-inf instead? Julien. 2007/8/28, ben short [EMAIL PROTECTED]: persistence.xml needs

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
Thanks Tim for you suggestion. I thought I was getting there but apparently the targetPath is COMPLETELY ignored by Maven... Here is where the persistence.xml is copied: the root of the war... Here is my POM for your info. Tis almost identical to your suggestion: project

Re: Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Thank you Tim!!! As a workaround you can just download the pom from central [2] by hand and copy in in your local repository. This worked a charm!!

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread Julien Martin
/plugin /plugins /build /project Additionally you have to put an empty stub in 'src/main/webapp/WEB-INF/web.xml' and in 'src/conf/persistence.xml'. The war-plugin version I use is 2.0.2. -Tim Julien Martin schrieb: Thanks Tim for you suggestion. I thought I was getting

targetPath tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
Hello, Apparently the targetPath tag is COMPLETELY ignored by Maven... The persistence.xml is copied at the root of the war... Can anyone please help? Julien. Here is my POM: code: -- project xmlns=http://maven.apache.org/POM/4.0.0;

Re: targetPath tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote: Hello, Apparently the targetPath tag is COMPLETELY ignored by Maven... The persistence.xml is copied at the root of the war... Can anyone please help? Julien. Here is my POM: code

Failing to add a POI dependency

2007-08-27 Thread Julien Martin
activeProfilecalyonprofile/activeProfile /activeProfiles /settings Can anyone help please? Thanks in advance, Julien Martin.

Re: Failing to add a POI dependency

2007-08-27 Thread Julien Martin
Thanks but it is not working either with the above groupId... J. 2007/8/27, Dennis Lundberg [EMAIL PROTECTED]: Julien Martin wrote: Hello, I am trying to add a POI (http://poi.apache.org) dependency and I am running into the following problems: C:\dev\calyonfinancial\ProtideWebmvn

Question about the scm plugin

2007-01-25 Thread Julien Martin
Hello, I would like to know whether the use of the scm plugin and especially the use of the cvs goal of the scm plugin requires the presence of the cvs executable on the user machine. Thanks in advance, Julien. - To unsubscribe,

Re: Question about the scm plugin

2007-01-25 Thread Julien Martin
thanks manu. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question about the scm plugin

2007-01-25 Thread Julien Martin
about the scm plugin because we don't use yet a pure java client for cvs Emmanuel Julien Martin a écrit : Hello, I would like to know whether the use of the scm plugin and especially the use of the cvs goal of the scm plugin requires the presence of the cvs executable on the user machine

Using a cvs repository for the sources

2007-01-25 Thread Julien Martin
Hello, I am completely new to maven and would be grateful for some help. I would like for my pom to point to a cvs repository so that: 1. Maven retrieves the sources for my app from distant cvs 2. Maven places the sources into the local repository 3. Maven compiles the sources and places the

You must specify at least one goal. Try 'install'

2007-01-25 Thread Julien Martin
Hello, I have the latest version of maven installed on my machine. (2.0.4) as well as the maven netbeans module installed. When I run mvn initialize I get this: * C:\dev\miscenalleous\rcc-mavenmvn