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
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
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 =
/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
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
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
*
/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
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,
. 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
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
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
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
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
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
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
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
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
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.
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.
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.
Easy:
I added the following plugin:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration
webResources
webResource
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)
Hello,
Here is what I get:
[INFO] Scanning for projects...
[INFO]
[INFO] Building CdR
[INFO]task-segment: [install]
[INFO]
[INFO]
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
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]
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
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
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
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
/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
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
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]
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
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
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!!
/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
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;
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
activeProfilecalyonprofile/activeProfile
/activeProfiles
/settings
Can anyone help please?
Thanks in advance,
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
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,
thanks manu.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
45 matches
Mail list logo