Ear application.xml

2009-02-27 Thread JC Walmetz

Hi,

I use Maven ear plugin to generate an ear. This ear is used in jboss5. My
EAR application is huge and contains a lot of jars. Application.xml file is
difficult to maintain.

I have an EJB module that has a lot of transitive dependencies. I'd like to
list all that transitive dependencies in the application.xml file as java
module. 

Ear plugin add jars in the EAR. To add the EJB module ine the
application.xml I have 
ejbModule
groupIdcom.foo/groupId
artifactIdejbservice/artifactId
/ejbModule

This configuration adds the module in the application.xml but not all its
transitive dependencies. Is there a solution to add automatically all
transitive dependencies in the applpication.xml ?

Previously I was using the JBoss 4.2.3, I have move to JBoss 5. With JBoss
4.2.3, I was adding the transitive dependencies in the classpath of the
manifest.mf of the ejb module and I just need to declare to ejb module in
the application.xml ... unfortunatelly it does not works anymore with
JBoss5. In JBoss 5, it works only if I removed the claaspath in manifest.mf
and adds all the lib in application.xml as java module. 

Does someone have the same issue ?

Thks


-- 
View this message in context: 
http://www.nabble.com/Ear---application.xml-tp22243464p22243464.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread JC Walmetz

I have a module with a packaging pom. Purpose of this module is to produce a
zip assembly and to deploy in the local repo (with mvn install) or in one of
my archiva repo (mvn deploy). 

zip is produced during the package phase. Unfortunately, in the install
phase zip is not copied into the local repo. 

Is it possible to configure the assembly plugin in order that the zip
produced will be deployed in repo during install or deploy ??

Regards
-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-a-zip-produce-with-the-assempbly-plugin---tf4882049s177.html#a13971688
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread JC Walmetz

So simple. I missed that in the doc.  Thanks

Antonio Petrelli-3 wrote:
 
 2007/11/27, Wendy Smoak [EMAIL PROTECTED]:

 On Nov 27, 2007 7:18 AM, JC Walmetz [EMAIL PROTECTED] wrote:

  Is it possible to configure the assembly plugin in order that the zip
  produced will be deployed in repo during install or deploy ??

 I think you want the 'attached' goal.  See Building an Assembly as
 part of the Build Lifecycle here:
 http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
 
 
 
 As an addition to what Wendy wrote, see a working example at Tiles (look
 at
 the release profile):
 http://svn.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml
 
 Antonio
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-a-zip-produce-with-the-assempbly-plugin---tf4882049s177.html#a13972127
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Properties pom.xml

2007-08-24 Thread JC Walmetz

My project uses a lot of properties. I use those properties both for
filtering resources and inside the pom.xml as argument for plugin. Problem
is that I have to duplicate my props definition.

I have tried several solution, none of them works.

1- Use filters:
build
filters
filterfilter.properties/filter
/filters 
/build
In that case properties are not know in the pom.xml. As I use it for my
plugin configuration it does not works.

2- Use properties
project
properties
   
ldap.keystore${jboss.server.home.dir}/conf/my.keystoreldap.keystore
ldap.password.saltps/ldap.password.salt
 ...
In that case I'd like that ${jboss.server.home.dir} will not be replace as
it is not a defined properties. Maven replace not set properties by null.
Consequently the value becomes 
ldap.keystore=null/conf/my.keystore
Moreover adding all the props in the pom.xml makes the pom very hard to
read.

Is there a syntax to say to maven not trying to interpret ${...} because it
is a part of the property value ?

Is it possible to import a properties file in the pom.xml ?



-- 
View this message in context: 
http://www.nabble.com/Propertiespom.xml-tf4324308s177.html#a12314910
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Patch plugin and filter

2007-08-23 Thread JC Walmetz

It would be great to be able to filter patches before applying patch with the
patch plugin (plugin such as resources manages this filter). It looks like
it is not supported yet.

I'd like to filter the patches dir before applying patches (I need to
replace some version in patches). Is it possible to filter files that are
not in a resources dir ? I do not find any plugin for that.
-- 
View this message in context: 
http://www.nabble.com/Patch-plugin-and-filter-tf4318430s177.html#a12296584
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



copy-dependecies sources

2007-04-18 Thread JC Walmetz

I use the copy dependency plugin to copy dependencies of my project to a
directory. I'd like to copy jars and sources. By default the dependency
plugin just copy jars.

I found a solution to copy sources:
mvn install -Dclassifier=sources -DexcludeArtifactIds  

Unfortunately I have several jars without sources. It is quite long to list
the list of those dependencies (including transitive dependencies). 

Is there another way to copy source dependencies with ignoring dependecy
wtihout sources ?

An option like failOnMissingSourceArtifact will be great.
-- 
View this message in context: 
http://www.nabble.com/copy-dependecies---sources-tf3599434s177.html#a10053803
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to run unit-test with different JRE

2007-03-22 Thread JC Walmetz

I had the same problem. I have use the dependency:unpack plugin.
http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9040309

I develop with jdk 1.5 and to execute tests with jdk 1.6 I unpack jar of
tests

Sean Qiu wrote:
 
 Thanks.
 
 But it only tell the plugin where the new classlib is, what about the
 java.exe or vm?
 
 2007/3/22, Wendy Smoak [EMAIL PROTECTED]:
 On 3/21/07, Sean Qiu [EMAIL PROTECTED] wrote:

  Using the surefire plugin, is it invoke java from PATH directory?
  So if i want to run the unit test with different JRE, what i should do
  is just change path property to my new jre?
 
  Or i should add some configuration to tell the surefire plugin where
  the java is ?

 This might help...
 http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions

 --
 Wendy

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -- 
 Sean Qiu
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-run-unit-test-with-different-JRE-tf3445090s177.html#a9621014
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] PVCS SCM

2007-03-13 Thread JC Walmetz

I have added the plugin in JIRA. 

If you try it, just keep me inform. 

Gregory Kick-2 wrote:
 
 That would be very great.  I think the bug you're talking about is at
 http://jira.codehaus.org/browse/SCM-34
 
 On 3/7/07, JC Walmetz [EMAIL PROTECTED] wrote:

 I'm afraid the donation of a plugin by serena is in a bad way. Few month
 ago
 we ask to Serena if it was planned. Their answer was NO. It looks it
 somewhere in a wish list. Maybe if you are a Serena Customer you can
 contact
 their support.

 In JIRA there is a startup for a PVCS plugin (just the checkout from what
 I
 remember). I have implement some more task but that's not tested. I'll
 try
 to find the bug in JIRA and to add my plugins. I use it to release my
 projects with the release plugin.

 Gregory Kick-2 wrote:
 
  A while back there was some talk of a PVCS integration being donated.
  Did anything ever come of that?  Has anyone successfully used maven
  with pvcs?
 
  Thanks,
 
  --
  Gregory Kick
  [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/PVCS-SCM-tf3353835s177.html#a9339363
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -- 
 Gregory Kick
 [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/PVCS-SCM-tf3353835s177.html#a9462735
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] How to get project version in an xdoc

2007-03-06 Thread JC Walmetz

I have found a solution in a previous thread:

http://www.nabble.com/-M2--Insert-variables-in-xdoc-apt-files-tf1956665s177.html#a5371135

That fix my problem


JC Walmetz wrote:
 
 Im writting a XDoc document that will be used by the site plugin. In this
 document I need to write the version of the project.
 
 I have tried to write ${project.version} but when the site is generated,
 it is not replaced by the project version.
 
 Is it possible to get the project version in an Xdoc used by the site
 plugin ?
 
   
 -
  Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
 questions ! Profitez des connaissances, des opinions et des expériences
 des internautes sur Yahoo! Questions/Réponses.
 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-project-version-in-an-xdoc-tf3354200s177.html#a9335686
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] PVCS SCM

2007-03-06 Thread JC Walmetz

I'm afraid the donation of a plugin by serena is in a bad way. Few month ago
we ask to Serena if it was planned. Their answer was NO. It looks it
somewhere in a wish list. Maybe if you are a Serena Customer you can contact
their support. 

In JIRA there is a startup for a PVCS plugin (just the checkout from what I
remember). I have implement some more task but that's not tested. I'll try
to find the bug in JIRA and to add my plugins. I use it to release my
projects with the release plugin.

Gregory Kick-2 wrote:
 
 A while back there was some talk of a PVCS integration being donated.
 Did anything ever come of that?  Has anyone successfully used maven
 with pvcs?
 
 Thanks,
 
 -- 
 Gregory Kick
 [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/PVCS-SCM-tf3353835s177.html#a9339363
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to add jar to test classpath in a plugin ?

2007-03-01 Thread JC Walmetz

With sthe system scope it is possible to specify a jar in the dependencies. I
try to write a plugin that adds all the jars contains in a directory to the
test classpath. (I can not add jars in the pom dependencies because those
jars are installed by another plugin).

How can I add dependencies to MavenProject in a plugin ?

-- 
View this message in context: 
http://www.nabble.com/How-to-add-jar-to-test-classpath-in-a-plugin---tf3329228s177.html#a9257071
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Compile with one JDK and tests with several

2007-02-19 Thread JC Walmetz

What I'd like to do is to execute tests in  1.5 and 1.6. Changing the rt.jar
is not enough. By the past we had trouble with bugs in JDK. Just changing
the rt.jar is not enough. We really need to use another JDK.

What I'd like to do is during the dev to use JDK 1.5, to release with the
JDK 1.5 and then to perform tests using the jar created during the release.

It means that for the release, tests uses the classes compile in the compile
phase. When tested in JDK, I'd like to use the jar for sources deploy in my
repository.

To do that I have tried several solutions:
1- Generate a jar for sources and tests. Unfortunatelly, I have not been
able to configure surefire plugin to search for JUnit tests in a Jar. It
looks like the plugin searches only tests in the test directory.
2- Write another project just for tests. It uses tests sources and recompile
it (no very convenient solution in the SCM). Problem with that solution is
that I have to write for each module two projects (one for the dev and
another for the tests in JDK 1.6).
3-Try to use profile: I do not want to recompile sources. With profile I
have not been able to disable generation of jar. 

None of this solution looks really friendly.


Wayne Fay wrote:
 
 This is discussed now and then on this list with various approaches
 posted, so search the Archives.
 
 Also, this is discussed in the Wiki:
 http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions
 
 I have to imagine you could utilize various configurations in multiple
 profiles to achieve your goals without a lot of trouble.
 
 Wayne
 
 On 2/15/07, JC Walmetz [EMAIL PROTECTED] wrote:

 I need to compile and deploy my sources in JDK1.4. Tests are executed
 with
 JDK 1.4.

 Now I'd like to run all the tests without recompiling sources (I'd like
 to
 recompile only tests) I'd like to test my jars compile with JDK1.4 with
 other JDK (1.5 and 1.6).

 The only solution I found is to create another project for tests in
 JDK1.5
 and to play with my SCM to create alias over test sources. That's
 definitively a bad solution. A lot of code of the pom.xml is duplicated
 and
 I have to maintain the alias in the SCM.

 Do you have a better solution ?


 --
 View this message in context:
 http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a8990300
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9038690
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Compile with one JDK and tests with several

2007-02-19 Thread JC Walmetz

Problem of using multiple server is that you rebuild the jar. Consequently
you do not test the jar compile in jdk 1.5 in Jdk 1.6.

I really like to test the jar build with jdk1.5 in jdk 1.6


nicolas de loof-2 wrote:
 
 The wiki page explain a solution I've found to compile for a target 1.3
 Jre
 with using another JRE to support dev tools, like some testing / mock
 tools
 that require java5.
 
 The goal is not to test under various JRE, just to assert the binaries
 will
 not reference methods that do not exist under java1.3 (or other target
 JRE)
 
 To run tests under an alternative JRE, you will have to launch another
 process with target JRE java.exe. This is not supported by surefire now. I
 don't know how difficult it would be to add such a feature, as surefire
 runs
 as a maven plugin and not as a standalone process...
 
 The simpliest way should be to use some continuous integration build
 server
 with various JRE to run tests.
 
 
 2007/2/19, JC Walmetz [EMAIL PROTECTED]:


 What I'd like to do is to execute tests in  1.5 and 1.6. Changing the
 rt.jar
 is not enough. By the past we had trouble with bugs in JDK. Just changing
 the rt.jar is not enough. We really need to use another JDK.

 What I'd like to do is during the dev to use JDK 1.5, to release with the
 JDK 1.5 and then to perform tests using the jar created during the
 release.

 It means that for the release, tests uses the classes compile in the
 compile
 phase. When tested in JDK, I'd like to use the jar for sources deploy in
 my
 repository.

 To do that I have tried several solutions:
 1- Generate a jar for sources and tests. Unfortunatelly, I have not been
 able to configure surefire plugin to search for JUnit tests in a Jar. It
 looks like the plugin searches only tests in the test directory.
 2- Write another project just for tests. It uses tests sources and
 recompile
 it (no very convenient solution in the SCM). Problem with that solution
 is
 that I have to write for each module two projects (one for the dev and
 another for the tests in JDK 1.6).
 3-Try to use profile: I do not want to recompile sources. With profile I
 have not been able to disable generation of jar.

 None of this solution looks really friendly.


 Wayne Fay wrote:
 
  This is discussed now and then on this list with various approaches
  posted, so search the Archives.
 
  Also, this is discussed in the Wiki:
 
 http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions
 
  I have to imagine you could utilize various configurations in multiple
  profiles to achieve your goals without a lot of trouble.
 
  Wayne
 
  On 2/15/07, JC Walmetz [EMAIL PROTECTED] wrote:
 
  I need to compile and deploy my sources in JDK1.4. Tests are executed
  with
  JDK 1.4.
 
  Now I'd like to run all the tests without recompiling sources (I'd
 like
  to
  recompile only tests) I'd like to test my jars compile with JDK1.4
 with
  other JDK (1.5 and 1.6).
 
  The only solution I found is to create another project for tests in
  JDK1.5
  and to play with my SCM to create alias over test sources. That's
  definitively a bad solution. A lot of code of the pom.xml is
 duplicated
  and
  I have to maintain the alias in the SCM.
 
  Do you have a better solution ?
 
 
  --
  View this message in context:
 
 http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a8990300
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9038690
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
The simpliest way should be to use some continuous integration build server
-- 
View this message in context: 
http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9039270
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Compile with one JDK and tests with several

2007-02-19 Thread JC Walmetz

I have tried to do that. In a standard project surefire scans the test
classes directory to search for junit tests. When test cases are in a jar
file I do not find how to parameter surefire plugin to scan test-jar.

How can I parameter surefire to scan a test-jar ?


nicolas de loof-2 wrote:
 
 You should only run tests, not compile the jar, by packaging your tests as
 test-jar and runing them in a portability-test project you can deploy on a
 ci-server with various JRE.
 
 Nico.
 
 
 2007/2/19, JC Walmetz [EMAIL PROTECTED]:


 Problem of using multiple server is that you rebuild the jar.
 Consequently
 you do not test the jar compile in jdk 1.5 in Jdk 1.6.

 I really like to test the jar build with jdk1.5 in jdk 1.6


 nicolas de loof-2 wrote:
 
  The wiki page explain a solution I've found to compile for a target 1.3
  Jre
  with using another JRE to support dev tools, like some testing / mock
  tools
  that require java5.
 
  The goal is not to test under various JRE, just to assert the binaries
  will
  not reference methods that do not exist under java1.3 (or other target
  JRE)
 
  To run tests under an alternative JRE, you will have to launch another
  process with target JRE java.exe. This is not supported by surefire
 now.
 I
  don't know how difficult it would be to add such a feature, as surefire
  runs
  as a maven plugin and not as a standalone process...
 
  The simpliest way should be to use some continuous integration build
  server
  with various JRE to run tests.
 
 
  2007/2/19, JC Walmetz [EMAIL PROTECTED]:
 
 
  What I'd like to do is to execute tests in  1.5 and 1.6. Changing the
  rt.jar
  is not enough. By the past we had trouble with bugs in JDK. Just
 changing
  the rt.jar is not enough. We really need to use another JDK.
 
  What I'd like to do is during the dev to use JDK 1.5, to release with
 the
  JDK 1.5 and then to perform tests using the jar created during the
  release.
 
  It means that for the release, tests uses the classes compile in the
  compile
  phase. When tested in JDK, I'd like to use the jar for sources deploy
 in
  my
  repository.
 
  To do that I have tried several solutions:
  1- Generate a jar for sources and tests. Unfortunatelly, I have not
 been
  able to configure surefire plugin to search for JUnit tests in a Jar.
 It
  looks like the plugin searches only tests in the test directory.
  2- Write another project just for tests. It uses tests sources and
  recompile
  it (no very convenient solution in the SCM). Problem with that
 solution
  is
  that I have to write for each module two projects (one for the dev and
  another for the tests in JDK 1.6).
  3-Try to use profile: I do not want to recompile sources. With profile
 I
  have not been able to disable generation of jar.
 
  None of this solution looks really friendly.
 
 
  Wayne Fay wrote:
  
   This is discussed now and then on this list with various approaches
   posted, so search the Archives.
  
   Also, this is discussed in the Wiki:
  
 
 http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions
  
   I have to imagine you could utilize various configurations in
 multiple
   profiles to achieve your goals without a lot of trouble.
  
   Wayne
  
   On 2/15/07, JC Walmetz [EMAIL PROTECTED] wrote:
  
   I need to compile and deploy my sources in JDK1.4. Tests are
 executed
   with
   JDK 1.4.
  
   Now I'd like to run all the tests without recompiling sources (I'd
  like
   to
   recompile only tests) I'd like to test my jars compile with JDK1.4
  with
   other JDK (1.5 and 1.6).
  
   The only solution I found is to create another project for tests in
   JDK1.5
   and to play with my SCM to create alias over test sources. That's
   definitively a bad solution. A lot of code of the pom.xml is
  duplicated
   and
   I have to maintain the alias in the SCM.
  
   Do you have a better solution ?
  
  
   --
   View this message in context:
  
 
 http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a8990300
   Sent from the Maven - Users mailing list archive at Nabble.com.
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9038690
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 The simpliest way should be to use some continuous integration build
 server
 --
 View this message in context:
 http

Re: jmeter maven plugin

2007-01-05 Thread JC Walmetz

Hi,

Did you find some more information about the JMeter plugin ?

J-C



Ed Young wrote:
 
 I found a jmeter maven plugin that has been developed and I am
 having some difficulty installing it. I found the wiki here:
 http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin
 
 Are there any more resources on how to install and use this? I'm
 having trouble installing it. (By the way, I posted a similar message
 as this to the jmeter user list. )
 
 1. I followed the instructions but am confused by something: Where do
 I drop the jar and pom files? I have a maven repository, in my
 .m2/repository but normally I install jar dependencies with a mvn
 install:install-file -DgroupId...etc.
 
 2. I downloaded the tarball and ran mvn install. When I did I got:
 C:\Installs\apache\maven-jmeter-pluginmvn install
 mvn install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Maven JMeter Plugin
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [plugin:descriptor]
 [INFO] Using 2 extractors.
 [INFO] Applying extractor for language: java
 [INFO] Extractor for language: java found 1 mojo descriptors.
 [INFO] Applying extractor for language: bsh
 [INFO] Extractor for language: bsh found 0 mojo descriptors.
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 Downloading:
 http://fellagoagain-dr.santamonica.corp.yahoo.com/maven/org/apache/jmeter/jmeter/2.2/jmeter-2.2.pom
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 
 
 Project ID: org.apache.jmeter:jmeter
 
 Reason: Error getting POM for 'org.apache.jmeter:jmeter' from the
 repository: Error transferring file
  org.apache.jmeter:jmeter:pom:2.2
 
 from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  yahoo-music (http://fellagoagain-dr.santamonica.corp.yahoo.com/maven)
 
 Thanks for any pointers.
 
 
 -- 
 Ed
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/jmeter-maven-plugin-tf2862564s177.html#a8178754
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Eclipse EMF/SDO and maven

2006-11-24 Thread JC Walmetz

Hi, 
My app uses eclipse SDO. SDO objects are genrated using eclipse. Is there
some plugins to generare SDO objects in a maven project ?

Suggestions are welcome ?
-- 
View this message in context: 
http://www.nabble.com/Eclipse-EMF-SDO-and-maven-tf2700730s177.html#a7530942
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EAR and eclipse plugin

2006-11-23 Thread JC Walmetz

My project contains an packageear/package module, when I generate my
eclipse projects using the eclipse plugin, the ear module is created in
eclipse as a java project and is marked on error.

Any idea on how to generate a project without error in eclipse for an ear
module ?
-- 
View this message in context: 
http://www.nabble.com/EAR-and-eclipse-plugin-tf2689844s177.html#a7500853
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exclude modules from site

2006-11-22 Thread JC Walmetz

Maybe I can open an issue in JIRA ? It looks like a bug !


JC Walmetz wrote:
 
 Hi,
 
 I've tried several configuration 
 artifactIdmaven-site-plugin/artifactId
configuration
 
 moduleExcludesmoduleExcludetransferobject.sdo.test/moduleExclude/moduleExcludes
   /configuration
 This one is ignored, module is still in the test
 artifactIdmaven-site-plugin/artifactId
configuration
  moduleExcludestransferobject.sdo.test/moduleExcludes
   /configuration
 This one return an error, moduleExcludes is waiting for a Map.
 
 Page
 http://maven.apache.org/plugins/maven-site-plugin/examples/moduleexcludes.html
 looks to be wrong.
 
 Going through plugin source code, it looks like the list of module to
 exclude is send to doxia. I have not been able to find in doxia where
 excluded modules are used ...
 
 Suggetions are welcome 
 
 
 
 
 dawn.angelito wrote:
 
 Hi JC,
 
 Have you tried using moduleExcludes instead? You may refer to:
 http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleExcludes.
 
 Hope this helps.
 
 Dawn
 
 
 JC Walmetz wrote:
 
 I have a pom with several modules. I'd like to exclude some of the
 modules from the site.
 
 I have tried  the excludeModules optin as mentionned in the doc. It
 seems not to works. Modules are still in the generated site.
 build
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-site-plugin/artifactId
 configuration
   excludeModulesfml/excludeModules
 /configuration
   /plugin
 /plugins
   /build
 
 What's wrong in my declaration ? Is it a bug ?
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Exclude-modules-from-site-tf2610656s177.html#a7486791
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Surefire and ClassLoading with URLS SystemClassLoader

2006-11-21 Thread JC Walmetz

Maybe you should try to play with the forkMode. See
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#forkMode.
By default it is once, so a classloader is created for tests. Maybe with
never it would works. I have not tried that one.



Robert Harper-2 wrote:
 
 I've noticed a lot of discussion on ClassLoading with respect to 
 resources, but little on loading classes themselves. Of the following 
 tests, only the test useObjectClassLoader() works in surefire. In normal 
 TestNG  both tests will pass. I've noticed a test using URLClassloader 
 (ie plugin system loading jars) also fails with the same problem. Is 
 there a different URL required for system classloader when running 
 surefire?, or is there a configuration setting I need to get surefire to 
 treat the URLs as it does at the command line? Thanks.
 
 @Test
 public void useObjectClassLoader() throws ClassNotFoundException {
 
 Class type = getClass().getClassLoader().loadClass(
 com.oculus.test.TestObject);
   // works
 Assert.assertEquals(type, TestObject.class);
 }
 
 @Test
 public void useSystemClassLoader() throws ClassNotFoundException {
 
 // thows exeception here
 Class type = ClassLoader.getSystemClassLoader().loadClass(
 com.oculus.test.TestObject);
 
 Assert.assertEquals(type, TestObject.class);
 }
 
 
 Oh and TestObject is in the same package as the tests. Here is the 
 exception:
 
 java.lang.ClassNotFoundException: TestObject
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at com.oculus.test.Runner.useSystemClassLoader(Runner.java:20)
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Surefire-and-ClassLoading-with-URLS-SystemClassLoader-tf2679845s177.html#a7477728
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Changes plugin and TestTrack pro

2006-11-21 Thread JC Walmetz

It looks like changes plugin is able to get information from JIRA. I'd like
to include the same kind of features for TTPro in my site.

Did someone try to connect a kind of changes report plugins with TestTrack
pro ? 
-- 
View this message in context: 
http://www.nabble.com/Changes-plugin-and-TestTrack-pro-tf2670528s177.html#a7446868
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exclude modules from site

2006-11-13 Thread JC Walmetz

Hi,

I've tried several configuration 
artifactIdmaven-site-plugin/artifactId
   configuration

moduleExcludesmoduleExcludetransferobject.sdo.test/moduleExclude/moduleExcludes
  /configuration
This one is ignored, module is still in the test
artifactIdmaven-site-plugin/artifactId
   configuration
 moduleExcludestransferobject.sdo.test/moduleExcludes
  /configuration
This one return an error, moduleExcludes is waiting for a Map.

Page
http://maven.apache.org/plugins/maven-site-plugin/examples/moduleexcludes.html
looks to be wrong.

Going through plugin source code, it looks like the list of module to
exclude is send to doxia. I have not been able to find in doxia where
excluded modules are used ...

Suggetions are welcome 




dawn.angelito wrote:
 
 Hi JC,
 
 Have you tried using moduleExcludes instead? You may refer to:
 http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleExcludes.
 
 Hope this helps.
 
 Dawn
 
 
 JC Walmetz wrote:
 
 I have a pom with several modules. I'd like to exclude some of the
 modules from the site.
 
 I have tried  the excludeModules optin as mentionned in the doc. It seems
 not to works. Modules are still in the generated site.
 build
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-site-plugin/artifactId
 configuration
   excludeModulesfml/excludeModules
 /configuration
   /plugin
 /plugins
   /build
 
 What's wrong in my declaration ? Is it a bug ?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Exclude-modules-from-site-tf2610656s177.html#a7317077
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Exclude modules from site

2006-11-10 Thread JC Walmetz

I have a pom with several modules. I'd like to exclude some of the modules
from the site.

I have tried  the excludeModules optin as mentionned in the doc. It seems
not to works. Modules are still in the generated site.
build
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
configuration
  excludeModulesfml/excludeModules
/configuration
  /plugin
/plugins
  /build

What's wrong in my declaration ? Is it a bug ?
-- 
View this message in context: 
http://www.nabble.com/Exclude-modules-from-site-tf2610656s177.html#a7286361
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Ant-based Mojo and Classpath

2006-11-08 Thread JC Walmetz

Hi,

I have the same problem. Did someone find a solution ?


Wilfred Springer wrote:
 
 Hi all,
 
 I'm trying to implement a plugin based on the mechanism described here
 (http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html)
 and I can't figure out how to add a libraries to the Ant classpath. Does
 anybody have a clue?
 
 Using these properties:
 
 
   * maven.dependency.classpath
   * maven.compile.classpath
   * maven.runtime.classpath
   * maven.test.classpath
   * maven.plugin.classpath
 
 
 doesn't work.
 
 Thanks,
 
 Wilfred
 
 

-- 
View this message in context: 
http://www.nabble.com/Ant-based-Mojo-and-Classpath-tf1813464s177.html#a7241564
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]