Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Nicolas Chalumeau
post an issue at http://jira.codehaus.org/browse/MEV for it

Nicolas

2005/9/28, Jose Gonzalez Gomez [EMAIL PROTECTED]:
 Hi there,

 I'm trying to use Spring / Maven / Eclipse in one of my projects with
 no success. I have included the following dependency in my pom:

 dependency
   groupIdspringframework/groupId
   artifactIdspring/artifactId
   version1.2.5/version
 /dependency

 When I try to generate the Eclipse project (m2 eclipse:eclipse) I only
 get spring-1.2.5.jar added to the project classpath, so whenever I try
 to launch my application it fails due to missing spring dependencies.
 I've taken a look at ibiblio.org/maven2, and all the spring poms seem
 to include no dependency information, so... am I doing anything wrong
 or should I include all the Spring dependencies manually? Are the
 Spring poms incorrect? If this is the case, is it normal to have
 incorrect poms with missing dependencies in the ibiblio repository?

 Thanks in advance, best regards
 Jose

 -
 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]



Fwd: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Nicolas Chalumeau
-- Forwarded message --
From: Jose Gonzalez Gomez [EMAIL PROTECTED]
Date: 28 sept. 2005 19:12
Subject: Re: [M2] Using Spring with Maven / Eclipse
To: Nicolas Chalumeau [EMAIL PROTECTED]


http://jira.codehaus.org/browse/MEV-98

Meanwhile, anybody has a list of spring dependencies to include them manually?

2005/9/28, Nicolas Chalumeau [EMAIL PROTECTED]:
 post an issue at http://jira.codehaus.org/browse/MEV for it

 Nicolas

 2005/9/28, Jose Gonzalez Gomez [EMAIL PROTECTED]:
  Hi there,
 
  I'm trying to use Spring / Maven / Eclipse in one of my projects with
  no success. I have included the following dependency in my pom:
 
  dependency
groupIdspringframework/groupId
artifactIdspring/artifactId
version1.2.5/version
  /dependency
 
  When I try to generate the Eclipse project (m2 eclipse:eclipse) I only
  get spring-1.2.5.jar added to the project classpath, so whenever I try
  to launch my application it fails due to missing spring dependencies.
  I've taken a look at ibiblio.org/maven2, and all the spring poms seem
  to include no dependency information, so... am I doing anything wrong
  or should I include all the Spring dependencies manually? Are the
  Spring poms incorrect? If this is the case, is it normal to have
  incorrect poms with missing dependencies in the ibiblio repository?
 
  Thanks in advance, best regards
  Jose
 
  -
  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]



Re: xdoclet and ejb

2005-09-23 Thread Nicolas Chalumeau
there is 2 plugin for this :
http://maven.apache.org/reference/plugins/jar/
http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html

2005/9/23, Edgar Poce [EMAIL PROTECTED]:
 hi

  I'm working in a project and I'd like to build not only the jar but
 also to run xdoclet, is there any plugin that performs both tasks?

 thanks in advance,
 edgar

 -
 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]



Fwd: How to include my application.xml and unversioned artifacts

2005-07-27 Thread Nicolas Chalumeau
-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: 27 juil. 2005 12:46
Subject: Re: How to include my application.xml and unversioned artifacts
To: [EMAIL PROTECTED]


Hi
I think i've found the reason why my application.xml is not being included
in the ear. In the plugin .jelly there is this condition...

util:available file=${maven.ear.src}/META-INF/application.xml

Now in my ear module the META-INF folder is directly under the project
folder and i've not overriden the value of the property  maven.ear.src..
Therefore it looks for the availability of the file in the location
'myEarProject/src/application' and not finding it there skips the following
instructions to copy it in the resulting ear.

Now the question is...
Is the condition correct?
Should it not be like.

util:available file=${maven.earappxml

Any comment welcom.

Thanks and Regards
Bhaskar Pathak
Software Engineer
Xansa India Ltd


Whilst this email has been checked for all known viruses, recipients
should undertake their own virus checking as Xansa will not accept any
liability whatsoever.

This email and any files transmitted with it are confidential and
protected by client privilege.  It is solely for the use of the
intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.

Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
 Xansa, Registered Office: 420 Thames Valley Park Drive,
 Thames Valley Park, Reading, RG6 1PU, UK.
 Registered in England No.1000954.
 t  +44 (0)8702 416181
 w  www.xansa.com

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



Fwd: How to include my application.xml and unversioned artifacts

2005-07-27 Thread Nicolas Chalumeau
Bhaskar can you send your message directly to the list (I forward them
to) because your comment about util:available
file=${maven.earappxml test seems to be an issue.

Nicolas

-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: 27 juil. 2005 13:00
Subject: Re: How to include my application.xml and unversioned artifacts
To: [EMAIL PROTECTED]


Hi,
This is in continuation to my last mail.

If i override the 'maven.ear.src' propert in the 'project.property' file
and make it ${basedir}, the build process will later on include everything
that is in the basedirectory in the resulting ear. This is not what is
needed in my case. Because the basediectory includes the 'project.xml' and
the 'project.properties' files as well.

Thanks and regards
Bhaskar pathak
Software Engineer
Xansa India Ltd.





Whilst this email has been checked for all known viruses, recipients
should undertake their own virus checking as Xansa will not accept any
liability whatsoever.

This email and any files transmitted with it are confidential and
protected by client privilege.  It is solely for the use of the
intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.

Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
 Xansa, Registered Office: 420 Thames Valley Park Drive,
 Thames Valley Park, Reading, RG6 1PU, UK.
 Registered in England No.1000954.
 t  +44 (0)8702 416181
 w  www.xansa.com

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



Re: How to include my application.xml and unversioned artifacts

2005-07-26 Thread Nicolas Chalumeau
2005/7/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 being new to maven i've started by creating one 'project.xml' per module
 without inheritence. My project consists of one ejeb module, one web module
 and two java modules. after generating all the articats individually from
 command prompt i'm trying to build the ear. However i'm facing a couple of
 problems. I'm using maven1.0.2. My problems are...
 
 1. I'm not able to include my own application.xml in the ear no matter
 what. Maven generates a message that though it is copying 'applcation .xml'
 in the ear folder but it will ignore this file when installing.

tell maven not to genarate it with the maven.ear.appxml.generate=false
properties
The application.xml location is indicate with maven.ear.appxml

Nicolas

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



Re: name of final jar file

2005-07-21 Thread Nicolas Chalumeau
You can use maven.jar.final.name to redefine the jar name

Nicolas

2005/7/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Hi,
 
 As you know, Maven appends the version with the name of the final JAR
 during building.  We need to get rid of the version part and have the JARS
 retain their original name.
 Any suggestions with example?
 
 Arun
 
 
 
 -
 ***
  This E-mail is confidential. It may also be legally privileged. If you
  are not the addressee you may not copy, forward, disclose or use any
  part of it. If you have received this message in error, please delete
  it and all copies from your system and notify the sender immediately
  by return E-mail.
 
  Internet communications cannot be guaranteed to be timely, secure,
  error or virus-free. The sender does not accept liability for any
  errors or omissions.
 ***
 


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



Re: [M1] Clover license problem

2005-07-21 Thread Nicolas Chalumeau
In your HOME/.maven/cache search the version of maven-clover-plugin.
If your maven version is the 1.0.2 the maven plugin version for clover
is 1.6 (that don't support external licence). I am at 99% sure that
you need to update the version of maven-clover-plugin to 1.9+. You can
find it here : http://maven.apache.org/reference/plugins/clover/downloads.html
Remove the old in your cache and MAVEN_HOME/plugin and copy the new in
MAVEN_HOME/plugin

2005/7/21, Michael Owen [EMAIL PROTECTED]:
 Hi,
 
 I have this dependency:
 
 dependency
 groupIdclover/groupId
 artifactIdclover-ant/artifactId
 version1.3.1/version
 typejar/type
 properties
 eclipse.dependencytrue/eclipse.dependency
 /properties
 /dependency


It is in your pom ? There is no need to add the dependancies of a
maven plugin in your pom as the plugin add the correct version him
self. You can remove this deps.

Nicolas

 which uses clover 1.3.1 clover-ant jar. For the maven-junit-report-plugin I
 have:
 
 reports
 reportmaven-junit-report-plugin/report
 reportmaven-clover-plugin/report
 reportmaven-jxr-plugin/report
 /reports
 
 only. Have do I make sure I'm using right version etc. ie. what do I need to
 change.?
 
 Many thanks for your reply,
 
 Mike
 
 brbrbrFrom: Nicolas Chalumeau
 [EMAIL PROTECTED]brReply-To: Nicolas Chalumeau
 [EMAIL PROTECTED]brTo: Maven Users List
 users@maven.apache.orgbrSubject: Re: [M1] Clover license
 problembrDate: Thu, 21 Jul 2005 14:29:33 +0200brbrWhat is
 your maven-clover-plugin version? According to the changebrreport this
 has been fixed with 1.9.brbrNicolasbrbr2005/7/21,
 Michael Owen [EMAIL PROTECTED]:br  Hi,br
 br  I'm having trouble getting Clover to work with Maven
 1.0.2.br br  In my project.xml I have (almong other
 standard stuff):br br  reportsbr
 
 reportmaven-junit-report-plugin/reportbr 
 reportmaven-clover-plugin/reportbr 
   reportmaven-jxr-plugin/reportbr 
 /reportsbr br  ..br  ..br
 br dependenciesbr br 
 dependencybr 
 groupIdclover/groupIdbr 
 artifactIdclover-ant/artifactIdbr 
 version1.3.1/versionbr 
 typejar/typebr 
 propertiesbr  lt
 ;eclipse.dependencytrue/eclipse.dependencybr 
 /propertiesbr  /dependencybr
 br /dependenciesbr br 
 ..br  ..br br  I then have in
 project.properties:br br  maven.clover.license.path=C:/
 [snip] (etc etc.) ...br 
 /lib/clover/licenses/clover.licensebr br  (with correct
 path in :)  )br br  when I then do maven
 site I get:br br  [javac] Compiling 42 source
 files to C:\build\clover\classesbr  [javac] Clover Version
 1.3_01, built on July 09 2004br  [javac] loaded from:
 C:\Documents andbr  Settings\owenm\.maven\repository\clovebr
  r\jars\clover-ant-1.3_01.jarbr br  BUILD
 FAILEDbr  File.. C:\Documents andbr 
 Settings\owenm\.maven\cache\maven-java-plugin-1.5\plbr 
 ugin.jellybr  Element... ant:javacbr  Line..
 63br  Column 48br  Invalid or missing
 Licensebr  Total time: 11 secondsbr  Finished at: Thu
 Jul 21 13:03:58 BST 2005br br br  I've noticed
 that it is using clover-ant-1.3_01.jar and not 1.3.1 as I havebr 
 asked, and is downloading and using clover-30day-eval-1.0.license instead
 ofbr  the license I have specified. I guess this is the reason why
 the error isbr  happening, but how can I force it to use the right
 jar file if that is thebr  reason, or the right license?br
 br br  Cheers,br br 
 Mikebr br br br 
 -br
  To unsubscribe, e-mail: [EMAIL PROTECTED]br 
 For additional commands, e-mail: [EMAIL PROTECTED]br
 br
 brbr-brTo
 unsubscribe, e-mail: [EMAIL PROTECTED]brFor
 additional commands, e-mail: [EMAIL PROTECTED]brbr
 
 


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



Re: Still struggling with J2EE project

2005-07-08 Thread Nicolas Chalumeau
There was a talk about it sometime ago.

Take a look at the article and book section:
http://maven.apache.org/reference/articles.html
You will find some good exemple here.I personnaly use the Vincent
proposal at work
(http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf) and it fit
my need.

Nicolas 

2005/7/8, Colin Chalmers [EMAIL PROTECTED]:
 Hi all,
 
 I was hoping to score a bit by showing how one can achieve more (than
 Ant) in less time. However my Demo keeps getting postponed as I
 basically can't show a working demo :-((
 
 I've been using Maven on several projects with good results. They have
 however been predominately web/simple jar based projects. Now I've
 inherited a project with six EJB's being deployed as an EAR file. I'm
 using Maven 1.0.2
 
 I'd greatly appreciate some tips (dir structure/project.xml) from users
 of EJB/EAR plugins.
 
 I can't seem to get my head round where src for EJB's should(nt) go and
 how it's all fitting together. Are others writing pre-goals to do extra
 work? ie seperating EJB code from base code?
 
 I appreciate any help.
 
 Colin
 
 -
 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]



Re: [m2] error downloading resources:resources

2005-06-16 Thread Nicolas Chalumeau
I remember to have discuss about it but it was probably on the common list...
The resources:resources is an internal test artifact that the
commons-configuration use to execute some test. I thought it was fixed
!

I fix it in my local repo by change its scope to test.

Nicolas

2005/6/16, Brett Porter [EMAIL PROTECTED]:
 Thankyou. We will fix the commons-configuration data.
 
 You can also edit it in your local repository (eg
 ~/.m2/repository/commons-configuration/commons-configuration/1.1/commons-configuration-1.1.pom)
 to comment out the reosurces dependency.
 
 In the next release, you could also add an exclusion to the dependency.
 
 - Brett
 
 
 On 6/16/05, Anil Arora [EMAIL PROTECTED] wrote:
  I'm getting the following error when I try to run any goal using maven.
 
 
 
 
  [INFO]
  
  
 
  [INFO] Building interlace.util
 
  [INFO]
  
  
 
  [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local
  repository
 
  [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local
  repository
 
  [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from
  local repository
 
  [INFO] [resources:resources]
 
  Downloading:
  http://repo1.maven.org/maven2/resources/resources/1.0/resources-1.0.pom
 
  [WARNING] Unable to get resource from repository
  http://repo1.maven.org/maven2
 
  [INFO]
  
  
 
  [INFO] BUILD FAILURE
 
  [INFO]
  
  
 
  [INFO] Main Error:
 
Unable to download the artifact from any repository
 
resources:resources:1.0:pom
 
 
 
  from the specified remote repositories:
 
http://repo1.maven.org/maven2
 
 
 
  Root error:
 
Unable to download the artifact from any repository
 
  [INFO]
  
  
 
  [INFO] Total time: 2 seconds
 
  [INFO] Finished at: Wed Jun 15 14:24:40 PDT 2005
 
  [INFO] Final Memory: 1M/2M
 
  [INFO]
  
  
 
 
 
 
 
  It appears to be an issue when I have the commons-configuration
  dependency in my pom file.
 
 
 
  dependency
 
groupIdcommons-configuration/groupId
 
artifactIdcommons-configuration/artifactId
 
version1.1/version
 
  /dependency
 
 
 
  If I comment this out, it works past this, but fails since I need this
  to compile.
 
 
 
 
 
 
 
 
 -
 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]



Re: [m2] JUnit test using files, with multiple modules

2005-06-15 Thread Nicolas Chalumeau
2 solutions I think :
1/ use the resources in the pom to locate your file in the test classpath
2/ use the basedir system properties to find the test file. I did not
use this solution but using maven 1 with multiproject I needed to add
${basedir}/myResources to don't have the same problem that's probably
the same thing in m2

Nicolas

2005/6/15, Tournié Jean-Michel [EMAIL PROTECTED]:
 Hello all,
 
 I have a problem using m2, when I execute a JUnit test who loads a
 configuration file, in a multiple modules project.
 
 My project structure is :
 
 my-app
 
   +- pom.xml
 
   +- my-module1
 
  +- pom.xml
 
  +- src
 
  +- config-test
 
  +- my-file.txt - This file is load by test classes, by name
 config-test/my-file.txt
 
 When I run the command m2 test from my-module1 directory, tests are OK.
 
 When I run the command m2 test from my-app directory, tests FAILED
 because test classes don't found config-test/my-file.txt. The base dir is
 my-app, not my-app/my-module1.
 
 How can I solve my problem?
 
 Thanks,
 
 Jean-Michel
 


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



Re: Maven-test question

2005-06-14 Thread Nicolas Chalumeau
It look like an invalide unitTestSourceDirectory path in your project.xml

Nicolas

2005/6/14, Simon McClenahan [EMAIL PROTECTED]:
 I am trying to use Maven 1 to manage an existing project(s), from within
 Eclipse plug-in Mevenide and/or the command line.
 
 When using the goal jar:jar , I get the following debug output for
 test:test. I can run the Junit tests just fine in Eclipse, but running
 Maven from Eclipse or the command line gives me failed unit tests. One
 thing I've noticed as I write this is that my Java package starts with
 testing.* , whereas this output shows java.testing.*
 
 When I do maven test:ui, I can run the tests successfully as well.
 
 test:test:
 [taskdef] [DEBUG] Class
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from
 parent loader
 [taskdef] [DEBUG]  +User task: junit
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
 [DEBUG] Found /C:/Documents and
 Settings/smcclenahan/.maven/repository/junit/jars/junit-3.8.1.jar
 [DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
 1.0.2/lib/ant-1.5.3-1.jar
 [DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
 1.0.2/lib/ant-optional-1.5.3-1.jar
 [junit] [DEBUG] fileset: Setup scanner in dir
 C:\projects\online\trunk\PatientCompass\src\test with patternSet{
 includes: [**/*Test.java] excludes: [**/*AbstractTestCase.java] }
 [junit] [VERBOSE] Using System properties
 {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition,
 sun.boot.library.path=C:\j2sdk1.4\jre\bin, java.vm.version=1.4.2_06-b03,
 java.vm.vendor=Sun Microsystems Inc.,
 java.vendor.url=http://java.sun.com/, path.separator=;,
 java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io,
 user.country=US, sun.os.patch.level=Service Pack 2,
 java.vm.specification.name=Java Virtual Machine Specification,
 user.dir=C:\projects\online\trunk\PatientCompass,
 java.runtime.version=1.4.2_06-b03, forehead.conf.file=C:\Program
 Files\Apache Software Foundation\Maven 1.0.2\bin\forehead.conf,
 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment,
 basedir=C:\projects\online\trunk\PatientCompass,
 java.endorsed.dirs=C:\j2sdk1.4\lib\endorsed;C:\Program Files\Apache
 Software Foundation\Maven 1.0.2\lib\endorsed, os.arch=x86,
 java.io.tmpdir=C:\Temp\, line.separator=
 , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=,
 maven.repo.remote=file:///localhost/projects/online/trunk,http://public.
 planetmirror.com/pub/maven/,http://www.ibiblio.org/maven/,
 os.name=Windows XP, sun.java2d.fontpath=,
 tools.jar=C:\j2sdk1.4\lib\tools.jar,
 java.library.path=C:\j2sdk1.4\bin;.;C:\Windows\system32;C:\Windows;C:\Or
 acle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1
 .4.2\bin\client;C:\Program Files\Compaq\Compaq Management
 Agents\Dmi\Win32\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\
 Wbem;C:\Program Files\Subversion\bin;C:\Program
 Files\Symantec\pcAnywhere\;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\b
 in;C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin,
 javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFacto
 ryImpl, maven.home.local=C:\Documents and Settings\smcclenahan/.maven,
 java.specification.name=Java Platform API Specification,
 java.class.version=48.0, maven.repo.local=C:\Documents and
 Settings\smcclenahan/.maven/repository,
 java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFac
 tory, os.version=5.1, user.home=C:\Documents and Settings\smcclenahan,
 user.timezone=GMT, java.awt.printerjob=sun.awt.windows.WPrinterJob,
 java.specification.version=1.4, file.encoding=Cp1252,
 user.name=smcclenahan,
 java.class.path=/c:/eclipse/plugins/org.mevenide.ui_0.4.0/lib/forehead-1
 .0-beta-5.jar, java.vm.specification.version=1.0,
 sun.arch.data.model=32, java.home=C:\j2sdk1.4,
 java.specification.vendor=Sun Microsystems Inc., user.language=en,
 awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode,
 java.version=1.4.2_06, java.ext.dirs=C:\j2sdk1.4\jre\lib\ext,
 sun.boot.class.path=C:\Program Files\Apache Software Foundation\Maven
 1.0.2\lib\endorsed\xerces-2.4.0.jar;C:\Program Files\Apache Software
 Foundation\Maven
 1.0.2\lib\endorsed\xml-apis-1.0.b2.jar;C:\j2sdk1.4\jre\lib\rt.jar;C:\j2s
 dk1.4\jre\lib\i18n.jar;C:\j2sdk1.4\jre\lib\sunrsasign.jar;C:\j2sdk1.4\jr
 e\lib\jsse.jar;C:\j2sdk1.4\jre\lib\jce.jar;C:\j2sdk1.4\jre\lib\charsets.
 jar;C:\j2sdk1.4\jre\classes, java.vendor=Sun Microsystems Inc.,
 javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Document
 BuilderFactoryImpl, maven.home=C:\Program Files\Apache Software
 Foundation\Maven 1.0.2, file.separator=\,
 java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,
 sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle,
 sun.cpu.isalist=pentium i486 i386}
 [junit] [VERBOSE] Implicitly adding C:\Documents and
 Settings\smcclenahan\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Pro
 gram Files\Apache Software Foundation\Maven
 

Re: How to organize shared subprojects?

2005-06-10 Thread Nicolas Chalumeau
Hi Daniele

2005/6/10, Daniele Pizzoni [EMAIL PROTECTED]:
 Suppose I have 2 big projects Big1 and Big2, they both use a little web
 sub-application WA.
 
 I use WA in Big1 and Big2 as a Maven subproject, say WA1 and WA2.
 
 The issue is that WA, WA1 and WA2 are not identical. That is they share
 the same java code but they have different, personalized, jsps.

Create a project for your common src and use it in your webapps WA,
WA1 and WA2 as a dependancy.

Nicolas

 
 Now I looked around on the Net but I didn't find any obvious example on
 how to organize this issue with maven. Should I split WA in two pieces
 (common and local) or should I somehow override some of the jsps in
 Big1 and Big2?
 
 Using subversion, is worth using the svn external link feature?
 
 Thank for your help, any advice or link will be greatly appreciated.
 
 Dan
 --
 Daniele Pizzoni [EMAIL PROTECTED]
 Metaware S.p.A.
 
 -
 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]



Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Nicolas Chalumeau
In the http://maven.apache.org/maven2/maven1.html# page it is said :

Improved SNAPSHOT handling  - Snapshots are now checked for updates
only once per day by default - though can be configured to be once per
build, on a particular interval, or never. A command line option can
force a check - making it more like updating from an SCM.

I didn't try but I think its the -U command line option

Nicolas

2005/6/10, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Hi Brett,
 
 These are the steps:
 
 1. Developer A update the snapshot in his local machine  and put it in
 central repository.
 2. When Developer B run  m2 ant:ant he should get the latest snapshot into
 Developer B local re updated by A. But its not happening since Developer B
 local repository has previous version of snapshot (same file names jar,pom
 etc in the artifact).
 
 Maven is printing message saying  There is no update
 
 Am I missing anyting wehen I  install snapshot. Do I need to genarate any
 time stamp any where.
 
 Thanks,
 Pratapam.
 
 -
 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]



Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Nicolas Chalumeau
oups!!

You can do this in the settings.xml with the
settingsprofilesprofilerepositoriesrepositorysnapshotPolicy/
element

http://maven.apache.org/maven2/maven-settings/settings.html#class_Repository

2005/6/10, Nicolas Chalumeau [EMAIL PROTECTED]:
 In the http://maven.apache.org/maven2/maven1.html# page it is said :
 
 Improved SNAPSHOT handling  - Snapshots are now checked for updates
 only once per day by default - though can be configured to be once per
 build, on a particular interval, or never. A command line option can
 force a check - making it more like updating from an SCM.
 
 I didn't try but I think its the -U command line option
 
 Nicolas
 
 2005/6/10, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  Hi Brett,
 
  These are the steps:
 
  1. Developer A update the snapshot in his local machine  and put it in
  central repository.
  2. When Developer B run  m2 ant:ant he should get the latest snapshot into
  Developer B local re updated by A. But its not happening since Developer B
  local repository has previous version of snapshot (same file names jar,pom
  etc in the artifact).
 
  Maven is printing message saying  There is no update
 
  Am I missing anyting wehen I  install snapshot. Do I need to genarate any
  time stamp any where.
 
  Thanks,
  Pratapam.
 
  
  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]



Re: M2 EJB basics

2005-06-09 Thread Nicolas Chalumeau
Hi Nathan

2005/6/9, Nathan Sowatskey (nsowatsk) [EMAIL PROTECTED]:
 Hi
 
 It may be that I too much of a newbie to Maven to be considering M2, but I
 am trying anyway :-)
 
 In the example below I have some EJB code that won't compile as it can't
 find the EJB jars.
 
 What I can't see is how to set the location of the EJB jars though. If this
 were Maven 1.x I would use properties as part of the solution, but for M2 I
 just don't know where to start.
 
 I half suspect that I need to create a dependency, but to what and where and
 how I don't know.

You have the solution here : you need to add a j2ee-XX.jar dependency
in your pom for this project. But as it will not be on ibiblio you
need to download and install it in your m2 repository manually.

 
 If someone wants to tell me that M2 is not ready for newbies, that's fine
 and I will go look at 1.x. If someone can help me get this to work though,
 then I will persevere and maybe help make M2 a better thing.

We all are newbies in M2 ;-) (only the great dev team is not...)

Nicolas,

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



Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nicolas Chalumeau
There is not actually any xdoclet plugin for M2.

2005/6/9, Nathan Sowatskey (nsowatsk) [EMAIL PROTECTED]:
 Hi all
 
 Plodding progress. Now that I get the code compiled (see passim), I need to
 use xdoclet to generate my interfaces and deployment descriptors.
 
 A similar subject on the list referred to:
 
 http://maven.apache.org/maven2/plugins/maven-ejb-plugin/ejb-mojo.html
 
 But there seems to be a checksum mismatch on all of the versions of that
 plugin.
 
 And I have also found:
 
 http://www.ibiblio.org/maven2/maven-xdoclet2-plugin/maven-xdoclet2-plugin/

This is not a M2 plugin but a Maven 1.X plugin for XDoclet2.
I plan to do one to execute XDoclet2 plugin but i did not find the
time for and probably can't for the next 2 mouth

Nicolas

 
 But I can't see any examples of usage or guidance.
 
 Has anyone got any ideas here please?
 
 Many thanks
 
 Nathan
 
 --
 Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - Desk
 +44-208-824-4259 - Mobile +44-7740-449794 - AIM id
 NathanCisco - [EMAIL PROTECTED]
 
 -
 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]



Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nicolas Chalumeau
2005/6/9, Kenney Westerhof [EMAIL PROTECTED]:
 On Thu, 9 Jun 2005, Nathan Sowatskey wrote:
 
 Hi there,
 
 I'm currently working on an xdoclet plugin for m2.
 It's an unofficial plugin, and I plan to donate it to either maven
 or the xdoclet team. As soon as it's alpha ready I'll announce it
 here.

Cool !! I wanted to do it so I don't have to. I have opened an issue for this :
http://jira.codehaus.org/browse/XDP-60

We have talk about it in the list and the best place in xdoclet2
plugin repository.

 
 Btw, the xdoclet plugins in ibibilio/maven2 are just the m1 plugins.
 I'll get into trouble there since my plugin is named
 'maven-xdoclet-plugin' (Maybe i'll version it 2.0-SNAPSHOT, although
 this is a plugin written from scratch :)).

As the xdoclet 2 project name is XDoclet2 why don't use
maven-xdoclet2-plugin with an 1.06SNAPSHOT version

 
 Greetings,
 
 Kenney

Thank

Nicolas

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



Re: [Mavenbook.org] What content would you like to see?

2005-06-07 Thread Nicolas Chalumeau
Hi Vincent

2005/6/7, Vincent Massol [EMAIL PROTECTED]:
 Hi there,
 
 Tim O'Brien and I have started a web site called http://www.mavenbook.org.
 

I just take a quick look, it seems (and is) a good idea.

 One of its goal is to advertise the Maven: A Developer's Notebook that we
 have written for O'Reilly. However the other goal is to publish other
 information about Maven. ATM we have 3 types of information there:
 
 - News about the book and more generally news about Maven appearances Tim
 and I will be giving. We are happy to broaden this for any presentation that
 anyone may give about Maven. But we'll need your help for this so that we
 know when it happens.
 
 - Tips and tricks about Maven. Tim and I are regularly publishing but again
 if you have a good tip that you'd like to post, contact me and I'll give you
 direct access to the wiki (yes, it's a wiki under the hood. Cool, no? ;-)).

A really good thing but there's must be a good categorisation of the
tips. ie common error, plugin dev tips.But i don't think that specific
plugin tips should be here. The better tips is where to find the good
information source

 
 - Announcements. Maven releases and Maven plugings announcements
 
 I'm curious to know if you find those 3 categories interesting or not. For
 example, I'm not sure the announcements category is useful. What do you
 think?

I have the same point of view as you. More the official maven site IS
the good place for annoucement. A web page that list the last
version/annoucement of the plugin could be a good thing in the maven
site for people that are not on the mailling list.

 
 Also are there are any other category of information you'd like to see
 there. The idea is not to duplicate the resources that you see on the main
 maven web site. It's more oriented towards news than towards information or
 resources (this should be added on the main maven site).
 

A big propaganda page and feed back from compagny/user Things like :
- how to make my development director choose to use maven.
- What maven change in my every day job?
- How to make my developer use maven when they say that there's IDE
compile there java code and they don't need more?
- Why maven make that I code better ?

I have some responce of this question that i have used but having some
other point of view could be a good and interresting thing to read.

If you have write this book like the JUnit one I now this kind of
information can be found in this one but having them online could be a
good thing for the communauty

Nicolas

 Thanks a lot
 -Vincent
 
 -
 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]



Re: Maven 1.0.2 Proxy Problem

2005-06-02 Thread Nicolas Chalumeau
Hi Michael

2005/6/2, Michael [EMAIL PROTECTED]:
 Thanks for the tip.  I looked at using maven-proxy but was afraid of
 the 0.1 release number.  What has your experience been using it?  Is
 it ready for a production development environment?
 

Here is my feed back. There is absolutly no problem in using
maven-proxy for a production development environment. More over it
hide the fact you can use mirror or multiple remote repository.

Nicolas

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



Re: EAR multiproject sample

2005-06-01 Thread Nicolas Chalumeau
Look in the article section http://maven.apache.org/reference/articles.html
Particulary to the Vincent pdf :
http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf

Nicolas

2005/6/1, Manos Batsis [EMAIL PROTECTED]:
 
 Hello,
 
 I know i may be asking too much, but i tried googling for a sample J2EE
 EAR project based on multiproject, but couldn't find any. Can someone
 please give me a head start here?
 
 MAnos
 
 -
 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]



Re: Site generation on UNIX: problem with accents in POM

2005-05-31 Thread Nicolas Chalumeau
I don't check it in the POM as my compagny have no accent in its
name/descrition. But you can try to add this property in your
project.properties file :

maven.docs.outputencoding = ISO-8859-1

Nicolas,

2005/5/31, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
 
 Hi guys,
 
 I have a problem with accents in my POM, which is written and declared
 ISO-8859-1.
 For instance, the name of my company is PSA Peugoet Citroën. When Maven
 generates the site, the footer of each page is (c) 2005, PSA
 Peugeot-Citro?n (- this is copied from the page source).
 
 This problem occurs only when the project is built on UNIX (not on Windows)
 and only for the POM (xdocs files containing accents are OK).
 
 Does anyone know where that comes from?
 
 Thanks in advance,
 
 Best Regards / Cordialement,
 Fabrice BELLINGARD
 DINQ/DSIN/INSI/EATE/IDVS/AIDV
 (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
 
 -
 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]



Re: Task list of // TODO comments

2005-05-27 Thread Nicolas Chalumeau
Good luck and all my admiration expression if you provide the velocity
patch for this...

It will be really really hard as : 
- this kind of comment can be every where (ie not in a class / method
/ attribut comment)
- $class.getTags(aTag) will not work are they are not regular javadoc
comment ie @aTagThing
- a velocity way don't seem easily implementable so you will much
search this tag with an other method. In this case you need to merge
the 2 differants report

And for me this type of tag are development mark if in need to make
them to be in a report I use the regular @todo stuff. But yes an
@fixme could be usefull to report known bug

Nicolas,

2005/5/27, Mark Hobson [EMAIL PROTECTED]:
 +1
 
 Customisable tags in a similar vein to eclipse would be great - e.g.
 TODO:, FIXME:, etc.
 
 On 5/27/05, Arik Kfir [EMAIL PROTECTED] wrote:
  +1
 
  - Original Message -
  From: Wim Deblauwe [EMAIL PROTECTED]
  To: Maven Users List users@maven.apache.org
  Sent: Friday, May 27, 2005 10:59 AM
  Subject: Re: Task list of // TODO comments
 
 
  I would be interested in this too. IntelliJ uses the same.
 
  regards,
 
  Wim
 
  2005/5/27, [EMAIL PROTECTED] [EMAIL PROTECTED]:
  
  
   Hi guys,
  
   I wanted to know if someone has already written a task list plugin that
   work for // TODO comments, as Eclipse uses this kind of task tag in the
   Java code.
  
   Tanks  Best regards,
   Fabrice
  
   -
   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]
 
 
  -
  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]
 


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



Re: /lib directory is overflooded

2005-05-27 Thread Nicolas Chalumeau
use war.bundletrue/war.bundle to specify witch dependancies you
want to incluse in the war.
http://maven.apache.org/reference/plugins/war/

2005/5/27, Igor Deruga [EMAIL PROTECTED]:
 Dear members!
 
 I have a project that contains several modules. One module is a .war.
 Other are .jars that end in common/lib directory. My war-file depends on
 one jar file, so I expect it (and only it) to appear in WEB-INF/lib
 directory of my war-module. But after the build,
 myproj/mywar/target/mywar/WEB-INF/lib contains ALL jars that my project
 consists of and ALL jars that my other modules depend on. Why is that?

It seems to be normal but I probably didn't understand

Nicolas,

 
 Sincerely
 Igor Deruga.
 
 -
 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]



Re: Problem in using Tomcat Web Server on a Linux OS as the Central repository

2005-05-25 Thread Nicolas Chalumeau
Can you try with the -X option to have more info on the exact error (404...)?
Personnaly i do exactly the same thing and have no problem (i add a
WEB-INF/web.xml too)

Nicolas

On 5/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Graham,
 
 Thanks for your immediate response.
 
 I had created the same structure as you had specified.
 
 I had installed Tomcat in /home/wynmgm/jakarta-tomcat-4.1.31/
 
 And I placed the jar file - commons-digester under
 /home/wynmgm/jakarta-tomcat-4.1.31/webapps/maven/commons-digester/jars.
 
 I started the Tomcat server and had build the Maven project and got the
 below mentioned error.
 
 Regards,
 Deepa
 
 -Original Message-
 From: Graham King [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 25, 2005 2:50 PM
 To: Maven Users List
 Subject: Re: Problem in using Tomcat Web Server on a Linux OS as the
 Central repository
 
   Deepa,
 
   The directory structure is groupId/jars/artifactId-version.jar
 
   So you need to copy your commons-digester to
 
   maven/commons-digester/jars/commons-digester-1.5.jar
 
   then maven should be able to find it.
 
   Graham.
 
 [EMAIL PROTECTED] wrote:
  Hi,
 
 
 
 
 
  I had used the Tomcat Web Server on a Linux OS as the Central
 repository
  for downloading the dependent jar files. I had created a directory by
  name maven under webapps folder of tomcat and placed the dependent
 jar
  files in it with the same structure that Maven proposes. And used the
  property maven.repo.remote=http://10.145.92.29:8081/maven in the
  build.properties file.
 
 
 
 
 
  I had got the following error:
 
 
  __  __
 
  |  \/  |__ _Apache__ ___
 
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
 
 
 
 
  Attempting to download commons-digester-1.5.jar.
 
  WARNING: Failed to download commons-digester-1.5.jar.
 
  The build cannot continue because of the following unsatisfied
  dependency:
 
 
 
 
  commons-digester-1.5.jar
 
 
 
 
  Total time: 2 seconds
 
  Finished at: Wed May 25 14:24:55 IST 2005
 
 
 
 
  Is there any way through which I can download the dependent jar files
  from a Web Server?
 
 
 
 
  Regards,
 
  Deepa
 
 
 
 
 
 
 
  Confidentiality Notice
 
 
  The information contained in this electronic message and any
 attachments to this message are intended
  for the exclusive use of the addressee(s) and may contain confidential
 or privileged information. If
  you are not the intended recipient, please notify the sender at Wipro
 or [EMAIL PROTECTED] immediately
  and destroy all copies of this message and any attachments.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 Confidentiality Notice
 
 The information contained in this electronic message and any attachments to 
 this message are intended
 for the exclusive use of the addressee(s) and may contain confidential or 
 privileged information. If
 you are not the intended recipient, please notify the sender at Wipro or 
 [EMAIL PROTECTED] immediately
 and destroy all copies of this message and any attachments.
 
 -
 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]



Re: Problem in using Tomcat Web Server on a Linux OS as the Central repository

2005-05-25 Thread Nicolas Chalumeau
Cool,

I send it to the list too as it can be usefull to someone

Nicolas

On 5/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 Nicolas,
 
 Thanks for the web.xml file. I had placed the file in WEB-INF of
 maven. Now, I am able to successfully download the dependencies from the
 Maven Central repository (Tomcat Web Server).
 
 Thanks  Regards,
 Deepa
 
 -Original Message-
 From: Nicolas Chalumeau [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 25, 2005 5:08 PM
 To: Deepa Muthukumar (WT01 - Technology,Media,TransportationServices)
 Subject: Re: Problem in using Tomcat Web Server on a Linux OS as the
 Central repository
 
 On 5/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
 
  I am new to J2EE.
  Can I get a copy of the web.xml file?
 
 Here is the content (really simple) :
 
 ?xml version=1.0 ?
 
 !DOCTYPE web-app
 PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
 http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
 
 web-app
 
   !-- Your servlet definitions go here  --
 
   welcome-file-list
 welcome-fileindex.html/welcome-file
   /welcome-file-list
 
 /web-app
 
  Should this file be placed
  under/home/wynmgm/jakarta-tomcat-4.1.31/webapps/WEB_INF.
 
 Yes
 
 Nicolas
 
 Confidentiality Notice
 The information contained in this electronic
 message and any attachments to this message are
 intended for the exclusive use of the addressee(s)
 and may contain confidential or privileged information.
 If you are not the intended recipient, please notify
 the sender at Wipro or [EMAIL PROTECTED] immediately
 and destroy all copies of this message and any attachments.


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



Re: run continuum as webapp

2005-05-25 Thread Nicolas Chalumeau
The deployed war is in C:\continuum-1.0-alpha-1\apps\continuum.
You probably can use it to generate a war

Nicolas

On 5/25/05, Christian Schlaefcke [EMAIL PROTECTED] wrote:
 Hi Folks,
 
 because I cannot find a war file I wonder if it´s possible to run
 continuum as a webapp in an application server environment?
 
 Thanks  Regards,
 
 Chris
 
 -
 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]



Re: release-plugin - deprecated?

2005-05-24 Thread Nicolas Chalumeau
On 5/24/05, Maciej Zywno [EMAIL PROTECTED] wrote:
 Hi,
 
 I wanted to use the release plugin. I can see that it is deprecated.
 What plugin is the successor of it?

The scm plugin have some useful goal in your case :
http://maven.apache.org/reference/plugins/scm/releasing.html

Nicolas

 
 Regards,
 Maciek
 
 -
 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]



Re: [m2] how to control the plugin execution order

2005-05-23 Thread Nicolas Chalumeau
Hi Anatol

I's actually just a project in my todo list but I will do it as I need
it ;-). I let you know when it will be ready. Do you want I open an
issue for this (xdoclet2 project or xdoclet2 plugin project ?)

Nicolas

On 5/23/05, Anatol Pomozov [EMAIL PROTECTED] wrote:
  PS: if my M2 XDoclet2 plugin research interrest the maven or the
  XDoclet2 teams I will be happy to contribute
 
 We are (xdoclet2 team) glad to hear it. If you think that your plugin
 ready for cruise please create new ticket
 http://jira.codehaus.org/browse/XDOCLET and attach sources to them.
 
 --
 anatol
 
 -
 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]



Re: Assembly and deploy

2005-05-23 Thread Nicolas Chalumeau
I thing m2 assembly:assembly will do the job

Nicolas,

On 5/23/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote:
 How can I tell assembly plugin to upload the assembly file in remote
 repository (similar to what deploy pluging is doing, using
 distributionManagement)?
 
 
 If you are not an intended recipient of this e-mail, please notify the 
 sender, delete it and do not read, act upon, print, disclose, copy, retain or 
 redistribute it. Click here for important additional terms relating to this 
 e-mail. http://www.ml.com/email_terms/
 
 


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



Re: Location of non-distributed resource files

2005-05-21 Thread Nicolas Chalumeau
Very Interresting discution.

In fact I'm having same problem. I think they are multiple resources
file nature (like the dependancies) :
1/ Plugin resources (xdocs, checkstyle definition) : here they are
every thing ie ./checkstyle.xml, $HOME/.maven/..., /xdocs (I like the
m2 approach : xdocs under the src dir)
2/ Runtime resources : xdoclet velocity redefinition for example...
3/ Resource to include in the classpath : I use /src/resources/ojb,
/src/resources/spring... to categorise them by nature. I like this way
in M1 but I don't find how to do it in M2 (in fact I don't search)
4/ Resource to include in a specific dir : web resource like generate
struts-config.xml, deployment files, .bat or .sh script to start an
application...
5/ And of course tests resource that can be all the type before.

I really think there is a need of convention here. In my case I use
the /src/main/resources for the 1/ (not allways like for checkstyle),
2/, 3/,4/... I don't like it : the resources nature is too differant
but I am probably to strict with directory layout of a project ;-)

I'd like to have the other feelling about this...

Nicolas

On 5/21/05, Brett Porter [EMAIL PROTECTED] wrote:
 I do remember seeing it and forgetting to answer :)
 
 Personally, I would opt for src/main/xdoclet in this case (ie,
 src/main/plugin-name).
 
 Anyone else have any thoughts? I think this would be a good thing to
 include in the standards.
 
 - Brett
 
 On 5/21/05, Charles Daniels [EMAIL PROTECTED] wrote:
  Hi All,
 
  I thought I posted this question to the list a couple of days ago, but
  I haven't seen it appear anywhere, so I am resending. Please forgive
  me if this is a duplicate posting.
 
  I'm following the latest conventions for project layout and I am
  wondering if there is a convention for separating resources based on
  whether or not they are to be distributed/deployed.
 
  For example, if I understand the convention correctly, files such as
  properties files that are to be included in a jar file should reside
  under src/main/resources (perhaps with the appropriate package
  directory structure).
 
  However, what about other resources that are NOT to be included in
  the distribution. Are such resources also supposed to be placed
  under src/main/resources?
 
  For example, I am using the xdoclet plugin to generate my web.xml
  file. The plugin allows me to specify files to be merged into the
  resulting web.xml file. One example is servlets.xml, where I can
  specify third-party servlets to list in web.xml in addition to the
  servlets from my own code base. Obviously servlets.xml is used by the
  xdoclet plugin only for generating web.xml and servlets.xml will never
  be distributed. Therefore, would I still put servlets.xml somewhere
  under src/main/resources (perhaps under src/main/resources/xdoclet),
  or is there a better place for such resources?
 
  Thanks,
  Chuck
 
  -
  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]
 


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



[m2] how to control the plugin execution order

2005-05-20 Thread Nicolas Chalumeau
I want to develop a mojo plugin for my project. The goal is to
generate java file from generated java file ie I use modello to
generate my class file but I want to generate interface for this
classes probably with XDoclet2 (GUI component will implement this
interface and extends JFrame for example).
So I want to know how to control the plugin execution in M2? The reply
will may be simple like the same order as in the pom... but I want to
check before star the plugin dev

Nicolas,

PS: if my M2 XDoclet2 plugin research interrest the maven or the
XDoclet2 teams I will be happy to contribute

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



Re: How to gracefully stop the M(1) current set of queued processes

2005-05-18 Thread Nicolas Chalumeau
Simple solution :
ctrl c

Nicolas,

On 5/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have written a set of goals to deploy to our server our configuration.
 The process requires a set of properties to be defined that are used to
 customize the deployment descriptors.  If a required property is missing, I
 want to stop the Maven build process.  I haven't found a gracefull way to do
 this.  Can someone describe a procedure to shutdown the entire process down.
 
 Thank you,
 Bud Curtis
 
 -
 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]



[m2] ignore some report

2005-05-17 Thread Nicolas Chalumeau
I have a site module that contain no src java file?

The main project have no report and the list of report to generate are
only in the module sub project.

In all the module I have : 

  reports
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
  /plugin
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
  /plugin
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
  /plugin
/plugins
  /reports

Even if the site pom I include or not the following section :
  reports
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
  /plugin
/plugins
  /reports

The pmd plugin try to generate its repport and fail

[INFO] [site:site]
[INFO] Generate pmd report.
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error during site generation
at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:181)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(DefaultLifecycleExecutor.java:169)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:90)
at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
Caused by: java.lang.IllegalStateException: basedir
c:\TEMP\ts2-pm\refactoring\ts2-pm-site\src\main\java does not exist
at 
org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:539)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1312)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1281)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1275)
at 
org.apache.maven.plugin.pmd.PmdReport.getFilesToProcess(PmdReport.java:180)
at org.apache.maven.plugin.pmd.PmdReport.execute(PmdReport.java:105)
at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:66)
at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:146)
... 14 more

Is it some inherance issue ? And how to ignore some report in specific modules?

Nicolas

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



[m2] bug in eclipse:eclipse

2005-05-14 Thread Nicolas Chalumeau
I find a bug in the eclipse pluggin and want to file it to jira but
where MNG or to the eclipse plugin one?

the bug is the the generate file are note portable like in the M1 plugin
path=C:/Documents and Settings/Nicolas/.m2/repository/...
the path is hard coded

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



Re: Unsatisfied dependencies

2005-05-12 Thread Nicolas Chalumeau
 
 The error message I get is as follows:
 
 
 The build cannot continue because of the following unsatisfied dependencies:
 
 commons-jelly-tags-antlr-20030211.143720.jar
 antlr-2.7.2.jar
 
 
 The command I'm running is as follows:
 
 maven -p project.xml -Dmaven.mode.online=false
 -Dmaven.repo.local=h:\.maven\repository java:compile
 

Normal if you use maven.mode.online=false : How maven can download
anything if you don't give it an internet acces ;-).

If the reason is that you are behind a firewall try maven proxy or
configure you proxy with the corect port, host, user, password

An other thing -p project.xml option is not necessary as project.xml
is the default value

Nicolas 

 I've checked my repository and can confirm the jar files do not exist there!
 
 I've manually downloaded the antlr-2.7.2 jar file (so far so good), but
 cannot find commons-jelly-tags-antlr-20030211.143720.jar at
 http://ibiblio.org/maven/commons-jelly/jars/.
 
 QUESTION: How do I get round this problem - I would like to work offline,
 and I am happy to get jar files from ibiblio.
 
 QUESTION: And another is where does it specify this
 commons-jelly-tags-antlr-20030211.143720.jar dependency?
 
 Regards
 
 Simon
 
  Simon Richardson
  Technology
  Tel: 020 7574 8838
  E Mail: [EMAIL PROTECTED]
 
  HBOS Treasury Services plc
  33 Old Broad Street
  London
  EC2N 1HZ
 
 
 MMS hbosplc.com made the following annotations.
 --
 For more information on HBOS Treasury Services, please visit 
 http://www.HBOSTS.com
 
 Or for details of our online FX  Deposit services, please go to 
 http://www.HBOSdeal.com
 
 HBOS Treasury Services plc is part of the HBOS Group, which also includes 
 Halifax plc and Bank of Scotland.
 Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 
 2692890. Registered in England.
 Authorised and regulated by the Financial Services Authority.
 
 The information contained in this message is confidential and is intended for 
 the addressee only. If you have received this message in error or there are 
 any problems please notify the originator immediately. The unauthorised use, 
 disclosure, copying or alteration of this message is strictly forbidden. This 
 mail and any attachments have been scanned for viruses prior to leaving the 
 HBOS Treasury Services plc network. HBOS Treasury Services plc will not be 
 liable for direct, special, indirect or consequential damages arising from 
 alteration of the contents of this message by a third party or as a result of 
 any virus being passed on.
 
 HBOS Treasury Services plc reserves the right to monitor and record e-mail 
 messages sent to and from this address for the purposes of investigating or 
 detecting any unauthorised use of its system and ensuring its effective 
 operation.
 ==
 
 -
 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]



[m2] site and modules design question

2005-04-29 Thread Nicolas Chalumeau
I have a classical layout :
/root
|--/module1
|--/module2
|--/user-site

moduleX will have some dev doc and report (clover, junit...) and
user-site provide only doc for the user.

I think first having a /root/src/site/xdoc/navigation.xml that make
the link to the module deployed doc, it will work with m2 but not with
m1 as the /root/project.xml is ignored in multiproject goal.

I want to generate a single site (that contains all the module docs
and user doc) by invocking in the root project m2 site (in the
future) or maven multiproject:site (now) and have the same result.

Is there's some best practice about it ?

Nicolas,

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



Re: [m2] Multiproject Dependecies

2005-04-27 Thread Nicolas Chalumeau
Personnaly I use eclipse with my multiprojects. I define 1 project per
subproject (as most the other developer in it allways work on only a
part and I manage all of them).

In fact, in my case I don't see any need to use a multiproject
structure directly in eclipse (i really like command line with cygwin
as the direction make the choise to use windows as a dev os). And
using a same project for all of them seem dangerous in the
interdependancies declaration in the sub pom.

Nicolas

On 4/27/05, J. Matthew Pryor [EMAIL PROTECTED] wrote:
 Well I can't vote twice ;-) but I'd love to hear any comments about how to
 work with eclipse.
 
 Come on some of you maven developers guys secretly use eclipse sometimes
 right ?
 
 Thanks,
 jmp
 
  -Original Message-
  From: Ryan Sonnek [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 27, 2005 7:37 AM
  To: Maven Users List
  Subject: Re: [m2] Multiproject  Dependecies
 
  I'm stuck with the same usecase (flat project layout).  I
  filed this as jira issue as
  http://jira.codehaus.org/browse/MNG-359 since I have not seen
  anymore info on the mailing list.
 
 
  Brett Porter wrote:
 
  You are (mostly) correct. The ordering is currently by dependencies,
  then alphabetical. It should be in the following order:
  - dependencies
  - parent relationships
  - module ordering
  
  We haven't noticed, as we consider the best practice to be that the
  parent you extend is always the directory one level up.
  
  Nevertheless, I will file this in JIRA.
  
  - Brett
 
  What is the suggested best practice for those of us who
  have to live with eclipse's insistence of flat directory
  structure, but also want to continue to use multiproject.
 
  This was easy to do in M1
 
  Thanks for any suggestions (and any JIRA issues I can vote on ;-)
 
  Matthew
 
 
 -
 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]



Réf. : Re: Enterprise Build Presentation sample

2005-04-14 Thread Nicolas . CHALUMEAU
I don't know if it is what you want to know but multiproject use a pattern 
to locate subproject

maven.multiproject.includes = **/project.xml
maven.multiproject.excludes = project.xml
maven.multiproject.basedir=${basedir}

This config will match all the subproject in any sub folder. That the one 
I use (and my projects structure is like the one describe in the pdf)

Nicolas,

PS: you can use a list of pattern too : 
maven.multiproject.includes = 
modules/**/project.xml,application/**/project.xml
maven.multiproject.excludes = project.xml,application/temp/**/project.xml


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



[M2] use maven-proxy ?

2005-04-13 Thread Nicolas Chalumeau
We use for maven 1 the maven-proxy between our server repo and
ibiblio. I try to find the way to do the same with m2 (I maybe doesn't
look on the good place). Is it possible ?

Nicolas,

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



[Maven 2] [commons-configuration] dependencies problems

2005-04-13 Thread Nicolas Chalumeau
For commons-configuration I find that some deps of the maven 2 pom have problems
dependency
  groupIdcommons-logging/groupId
  artifactIdcommons-logging-api/artifactId
  version1.0.4/version
/dependency
If you use commons-logging as the artifactId the pom isn't here

dependency
  groupIdresources/groupId
  artifactIdresources/artifactId
  version1.0/version
/dependency
Is it commons-resources ? there is only a 0.1-dev version on
http://www.ibiblio.org/maven2

And a transitive dependency jdbc:jdbc:jar:2.0 isn't in the repository
(license problem ? where can I found it ?) but I don't know from who
it come from

Nicolas

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



Re: multiproject

2005-04-06 Thread Nicolas Chalumeau
You need to use SNAPSHOT version to force maven to resolve the build order

Nicolas

On Apr 6, 2005 3:14 PM, Kenney Westerhof [EMAIL PROTECTED] wrote:
 On Wed, 6 Apr 2005, Bahaa Nasrallah wrote:
 
 Looks like you have a dependency on A somewhere.
 Anyway, building C which depends on B (you probably have A specified there
 as a dependency) won't work unless B is installed in the local
 repository. So run maven jar:install instead.
 
  Thanks,
  i have added the version and defined the currentVersion and still have
  the same problem:
  (Attempting to downlaod A-1.0.jar ...)
  Just to let you know that the property maven.jar.override = on
  becuase the jar files resides on local directory.
  any suggestions will be welcomed...
 
  Thanks in advance,
  Bahaa
 
 
  On Apr 6, 2005 1:30 PM, John Taylor [EMAIL PROTECTED] wrote:
   (or alternatively, that you didn't define a currentVersion)
  
   John Taylor wrote:
  
Hi Bahaa - it looks like you haven't defined the version of the jar
file that you're dependent on.
Regards,
John
   
Bahaa Nasrallah wrote:
   
Thanks Christian,
I have problem, when i run maven i get (Attempting to downlaod A-.jar
Error retrieving artifact from
[http://www.ibiblio.org/maven/A/jars/A-.jars)
   
A.jar should be created during the build and not before it!
do you have any suggestions?
   
Thanks in advance
   
   
On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
   
   
Hi,
   
this is easy with maven. To do that, you must define a reactor and
dependencies in each project descriptor depends on the pom source
of the other project source results:
   
A:  dependency
groupId${pom.groupId}/groupId
artifactIdB/artifactId
version${pom.currentVersion}/version
typejar/type
  /dependency
   
  dependency
groupId${pom.groupId}/groupId
artifactIdC/artifactId
version${pom.currentVersion}/version
typejar/type
  /dependency
   
When you use it, the reactor checks each dependency in the project
descriptors (A,B,C) and determines the build order dynamicly. For
better understanding of these concepts you should read:
   
http://www.theserverside.com/articles/article.tss?l=MavenMagic
   
Bye,
Chrisitan
   
   
   
   
Hi,
I have a main project A that depends on subprojects B and C.
A needs B and C as jar dependencies to be built so B and C must be
compiled and jared and then to compile A.
how can i perform that order with multiproject goal? how can i refer
to B and C as depndencies in the project.xml of A ?
which properties to set?
   
thanks in advance,
Bahaa
   
   
BG-PHOENICS GMBH
IT-EW / DS
Thurnithistr.16
30519 Hannover
Telefon: 0511-987-1248
   
mailto: [EMAIL PROTECTED]
   
   
   
   
-
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]
   
   
  
   -
   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]
 
 
 --
 Kenney Westerhof
 http://www.neonics.com
 GPG public key: http://www.gods.nl/~forge/kenneyw.key
 
 -
 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]



Re: maven-cruisecontrol-plugin

2005-04-05 Thread Nicolas Chalumeau
I think that your maven.scm.cvs.root property is not set... Is the
value of repository  connection and developerConnection are valid ?

Nicolas,

On Apr 5, 2005 10:38 AM, Stephen Gray [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I have maven running cruisecontrol but Im getting the following error: BUILD
 FAILED
 [exec] File..
 /home/stephen/.maven/cache/maven-scm-plugin-1.4.1/plugin.jelly
 [exec] Element... ant:cvs
 [exec] Line.. 258
 [exec] Column 9
 [exec] cvs exited with error code 1
 [exec] Command line was [Executing 'cvs' with arguments:
 [exec] '-d:local:/home/cvs'
 [exec] '-q'
 [exec] 'update'
 [exec] '-Pd'
 [exec]
 [exec] The ' characters around the executable and arguments are
 [exec] not part of the command.
 
 scm:cvs-update-project:
 [exec] [cvs] Using cvs passfile: /home/stephen/.cvspass
 [exec] [cvs] cvs update: CVSROOT must be an absolute pathname (not
 `ignored')
 [exec] [cvs] cvs update: when using local access method.
 [exec] [cvs] cvs [update aborted]: Bad CVSROOT: `:local:ignored'.
 
 I have the following in my project.xml file
 scm:cvs:local:ignored:/home/cvs:devbase. This works fine when generating the
 changelog reports on the maven site. Any ideas would be greatly appreciated?
 Thanks
 
 -
 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]



Re: Targeting multiple appservers

2005-03-31 Thread Nicolas Chalumeau
I imagine you can ask Vincent if there was evolution since 2003 (he
read this list so he can aswer...)

In fact it his an elegant solution as you can produce one artifact per
ear (it is the maven politic too) for each server kind/environement.
The specific goes in application and you reuse module (jar/war/...)
who are généric by definition.

It is the structure I use in my compagny and using multiproject with
it make that our maven.xml his very small.

Nicolas,


On Thu, 31 Mar 2005 12:45:50 +0200, Georg Köster [EMAIL PROTECTED] wrote:
 Thanks Nicolas! I imagined this easier than that, taken into
 consideration that the article dated from 2003 I hoped that something
 orthogonal to projects had been introduced to manage portability...
 
 Georg
 
 Nicolas Chalumeau wrote:
  One good this is to have in-container tests : look at cactus
  (jakarat.apache.org/cactus), it allow you to run the test in multiple
  server.
 
  A great pdf talk about a possible structuration (it's not the unique
  one) : http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf
 
  Nicolas,
 
  On Wed, 30 Mar 2005 17:16:04 +0200, Georg Köster [EMAIL PROTECTED] wrote:
 
 Hello!
 
 First of all I want to thank this community for this wonderful tool.
 Declaration of the dependencies and standardization is necessary to
 manage ever growing complexity.
 
 Common problems occur when multiple application servers (or even
 multiple releases of a single appserver) are targeted:
   - jars coming with the server change/are added/move (for example
 servlet-api.jar of jboss)
   - deployment descriptors need to be adapted and xdoclet parameterized
 accordingly
 
 The question arising is: how can maven help under these conditions? Do I
 really need to have special versions of the project.xml for every server?
 I saw some previous threads on the subject:
 
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=105380442001158w=2
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=108594807801677w=2
 
 But answers where not very promising/absent.
 Has the situation changed?
 Are there any experiences?
 
 Thanks in advance!
 
 Georg Köster
 
 -
 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]
 
 
 -
 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]



Re: Dependencies for HtmlUnit

2005-03-31 Thread Nicolas Chalumeau
For the dependancies a good thing is to look in the pom of this
project : http://www.ibiblio.org/maven/htmlunit/poms/

Nicolas,

On Thu, 31 Mar 2005 04:42:15 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hi all,
 I am just trying to get a maven project running which uses htmlunit.
 I just need to know, which dependencies I need to include into my
 project, when I want to run JUnit testcases which are implemented by
 htmlunit.
 After adding a couple of dependencies I am getting the
 exception below - I guess I am still missing something.
 BTW: Is there any easy way to find out all dependencies I need to include?
 Yours
 Stefan
 
 Testcase: testIndexPage(dcs.rechnungen.webapp.TestIndexPage): Caused an ERROR
 null
 org.apache.xerces.xni.XNIException
   at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1860)
   at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:789)
   at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
   at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at 
 com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:332)
   at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:257)
   at 
 com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:115)
   at 
 com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:84)
   at 
 com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:694)
   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361)
   at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400)
   at dcs.rechnungen.webapp.TestIndexPage.testIndexPage(TestIndexPage.java:27)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
 __
 Switch to Netscape Internet Service.
 As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
 
 Netscape. Just the Net You Need.
 
 New! Netscape Toolbar for Internet Explorer
 Search from anywhere on the Web and block those annoying pop-ups.
 Download now at http://channels.netscape.com/ns/search/install.jsp
 
 -
 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]



Re: Targeting multiple appservers

2005-03-30 Thread Nicolas Chalumeau
One good this is to have in-container tests : look at cactus
(jakarat.apache.org/cactus), it allow you to run the test in multiple
server.

A great pdf talk about a possible structuration (it's not the unique
one) : http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf

Nicolas,

On Wed, 30 Mar 2005 17:16:04 +0200, Georg Köster [EMAIL PROTECTED] wrote:
 Hello!
 
 First of all I want to thank this community for this wonderful tool.
 Declaration of the dependencies and standardization is necessary to
 manage ever growing complexity.
 
 Common problems occur when multiple application servers (or even
 multiple releases of a single appserver) are targeted:
   - jars coming with the server change/are added/move (for example
 servlet-api.jar of jboss)
   - deployment descriptors need to be adapted and xdoclet parameterized
 accordingly
 
 The question arising is: how can maven help under these conditions? Do I
 really need to have special versions of the project.xml for every server?
 I saw some previous threads on the subject:
 
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=105380442001158w=2
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=108594807801677w=2
 
 But answers where not very promising/absent.
 Has the situation changed?
 Are there any experiences?
 
 Thanks in advance!
 
 Georg Köster
 
 -
 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]



Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Nicolas Chalumeau
All old plugin in jelly will be suported.
As far I know the trouble will be with all the goal you have in your
maven.xml as (I am maybe wrong) this file not be use in M2

Nicolas

On Thu, 24 Mar 2005 08:39:49 -0500, Steve Molloy [EMAIL PROTECTED] wrote:
 Huh... Exactly how much trouble are we talking about to switch custom
 plugins and such??? Is Jelly replaced? And if so, with what and why?
 Does it mean all the custom stuff I'm currently implementing will be
 thrown out if I upgrade to 2.x when it comes out? I'd like my stuff to
 be in production for more than a couple of months...
 
 Steve
 
 On Thu, 2005-24-03 at 19:05 +1100, Brett Porter wrote:
 
  Vincent has pretty well summed it up. I will try to clarify the document.
 
  Though the basic concepts are the same, Maven 2.x is really quite
  different, and it will require some work to move a project over to it.
  How much depends on how heavily you customise your Maven 1.x project -
  if you stick to the defaults and don't use Jelly, then it should be
  quite simple.
 
  Maven 1.x will still be developed until Maven 2.x is production ready
  (which is not going to be until later this year).
 
  - Brett
 
 
  On Thu, 24 Mar 2005 08:44:12 +0100, Vincent Massol [EMAIL PROTECTED] 
  wrote:
   Hi Sejo,
  
   I'd personally go ahead with Maven 1.0.2. There should be a Maven 1.1
   version before this summer too with several components from Maven2
   backported. I believe the Maven2 team will make it as easy as possible for
   existing Maven users to switch to Maven2.
  
   Most of the Maven1 concepts will stay but will be implemented differently
   (new POM version for example).
  
   I'll let the Maven2 team comment further on details.
  
   -Vincent
  
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: jeudi 24 mars 2005 08:22
To: Maven Users List
Subject: maven roadmap - should i stay or should i go
   
Hi all,
   
In a project I am currently working on - which is just about to start 
with
the construction phase -  we are considering to use maven. I have been
encountering maven in previous projects as well and based on these
experiences i was quite sure I will use it on many others as well.
   
However when i see the new roadmap description on maven site :
   
Maven 2.0 is a complete rewrite. It will not be backwards 
compatible
with any of the Maven 1.x releases,
   
i am having doubts on what exactly should we do right now.
   
To take off with the current release (1.0.2) and wait for a complete
rewrite of our build scripts? How complete will that rewrite actually
have to be? All what the explanation in the roadmap leaves us with is a
bit of hope that  attempts will be made to stay backward compatible in 
the
new 2.0 release. What about the conceptual approach, how many things 
can
we expect to be different, new or completely dissapear  (multiproject,
repository, ...goals)?
   
Could someone point me to a document/person that can give a bit more of
vision/explanation concerning these issues? What would  you suggest to a
project that is just about to jump into maven?
   
Thanks.
   
-Sejo
   
   
  
   -
   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]
 
 


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



Re: multiproject deps

2005-03-22 Thread Nicolas Chalumeau
A best structure should be :

- root project (multiproject)
   - project A - ear
   - project A.1 - ejbs
   - project A.2 - webapps (war)
   - project A.3 - webservices (war)

And then use X.X-SNAPSHOT as version number. In that case the
dependancies order will be resolve with multiproject.

Nicolas,

On Tue, 22 Mar 2005 11:46:34 +0100, Lukasz Bajorski [EMAIL PROTECTED] wrote:
 Hi All,
 
 I've got following project structure:
 - project A - ear (multiproject)
   - project A.1 - ejbs
   - project A.2 - webapps (war)
   - project A.3 - webservices (war)
 
 I put dependencies on A.1, 2 and 3 in pom for project A (ear). When I
 run maven for project A (multiproject), it obviously breaks due to
 unsatisfied dependency.
 
 What do I do to build subprojects (which create the necessary
 artifacts in local repo) before the main project using multiproject
 approach? I used preGoal for multiproject:site, but apparently project
 dependencies are resolved before maven.xml is processed ;)
 
 --
 Lukasz Bajorski
 tel. +48 508 609 414   GG: 3318146
 www.jroller.com/page/benjie
 
 -
 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]



Re: Multiproject plugin

2005-03-17 Thread Nicolas Chalumeau
You maybe can try something like :
${pom.getPluginContext('maven-multiproject-plugin').getVariable('multiprojects')}

I know it work to acces to the plugin's properties but for an internal
one I never try.

An other way could be to do the same as multiproject ie :

maven:reactor
basedir=${maven.strutsmodule.basedir}
banner=Gathering project list
includes=${maven.strutsmodule.includes}
excludes=${maven.strutsmodule.excludes}
postProcessing=true
collectOnly=true
collectionVar=projects
ignoreFailures=${maven.strutsmodule.ignoreFailures}
/

(Note : it is a copy paste from one of my own plugin so use the
multiproject properties instead ok this one)

in projects var you will have the project list

Nicolas,

On Thu, 17 Mar 2005 11:37:08 +0100, Vincent Massol [EMAIL PROTECTED] wrote:
 
  -Original Message-
  From: Deblauwe, Wim [mailto:[EMAIL PROTECTED]
  Sent: jeudi 17 mars 2005 11:33
  To: 'Maven Users List'
  Subject: RE: Multiproject plugin
 
  Does not seem to work :(
 
 Sorry I don't have time to debug this for you. You need to help yourself
 here. Here are some pointers:
 
 - read the Multiproject's plugin.jelly
 - check the Dashboard plugin's plugin.jelly. It does what you want to do.
 
 
  I'm doing this:
goal name=modules:nightlybuild
attainGoal name=multiproject:projects-init/
ant:echoDone builing projects:/ant:echo
j:forEach var=reactorProject items=${multiprojects}
ant:echoProject:
  ${reactorProject.artifactId}/ant:echo
/j:forEach
ant:echoFailed projects:/ant:echo
j:forEach var=failedProject items=${failedProjects}
ant:echo${failedProject.artifactId}/ant:echo
/j:forEach
 
/goal
 
  But I get this:
 
  [echo] Done builing projects:
  [echo] Failed projects:
 
  regards,
 
  Wim
  PS: I'm calling multiproject:projects-init here for testing, normally I
  call
  multiproject ofcourse
 
 You shouldn't but that won't change. Have a look at the plugin.jelly as I've
 suggested and you'll see that the multiproject goal calls the
 multiproject:projects-init one.
 
 -Vincent
 
 
  -Original Message-
  From: Vincent Massol [mailto:[EMAIL PROTECTED]
  Sent: donderdag 17 maart 2005 11:27
  To: 'Maven Users List'
  Subject: RE: Multiproject plugin
 
 
 
 
   -Original Message-
   From: Deblauwe, Wim [mailto:[EMAIL PROTECTED]
   Sent: jeudi 17 mars 2005 11:24
   To: Maven Users List (E-mail)
   Subject: Multiproject plugin
  
   Hi,
  
   I'm currently using the maven:reactor directly but I would like to use
   the
   multiproject plugin, because it seems more convenient. And I also like a
   website that gives me an overview of all build modules. However with
   maven:reactor I had access in the postprocessing to ${reactorProjects}
   and
   ${failedProjects}. I use these variables to build up a mail stating
  which
   projects are successfully build and which are failed.
  
   I seems that with using the multiproject plugin, these are not filled in
   anymore.
 
  They are... :-) Look at multiproject plugin.jelly source code (a very good
  tip BTW if you want to understand a plugin) and you'll see:
 
maven:reactor
  basedir=${maven.multiproject.basedir}
  banner=Gathering project list
  includes=${maven.multiproject.includes}
  excludes=${maven.multiproject.excludes}
  postProcessing=true
  collectOnly=true
  collectionVar=multiprojects
  ignoreFailures=${maven.multiproject.ignoreFailures}
 
  Thus you can access the project list using the multiprojects variable
  ${multiprojects}. The failedProjects variable is created internally by the
  reactor so you should also be able to access it directly as before.
 
  -Vincent
 
  
   regards,
  
   Wim
  
  
   Ing. Wim Deblauwe
   Software Development Engineer
  
   BarcoView - Medical Imaging Systems
   President Kennedypark 35
   B-8500 Kortrijk, Belgium
   Tel. +32 56 233 985 Fax +32 56 233 457
   www.barco.com http://www.barco.com/
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  
  
   - - - - - - - DISCLAIMER- - - - - - - -
   Unless indicated otherwise, the information contained in this message is
   privileged and confidential, and is intended only for the use of the
   addressee(s) named above and others who have been specifically
  authorized
   to
   receive it. If you are not the intended recipient, you are hereby
  notified
   that any dissemination, distribution or copying of this message and/or
   attachments is strictly prohibited. The company accepts no liability for
   any
   damage caused by any virus transmitted by this email. Furthermore, the
   company does not warrant a proper and complete transmission of this
   information, nor does it accept liablility for any delays. If you have
   received this 

Re: [ANN] Maven book and Maven Quiz

2005-03-10 Thread Nicolas Chalumeau
Hi Vincent


On Thu, 10 Mar 2005 10:50:31 +0100, Gisbert Amm [EMAIL PROTECTED] wrote:
 Vincent Massol wrote:
  Hi everyone,
 
  Here it is, it's now official! I'm currently writing a Maven book for
  O'Reilly with Tim O'Brien. I can't say much more at this point in time
  except that it'll be available sometime this summer.

Cool ! You know I allready like your junit book. So I think this one
will be a maven reference book to. I will wait a lot to read it...
Make good job pease ;-)

 
  I've also written 2 Maven quizzes
  (http://javablackbelt.com/jbb/WikiPage.do?action=viewpage=Maven) for
  JavaBlackBelt.com. If you want to see if your Maven knowledge is up to the
  par, go and take them! And let me know your comments. If you register on the
  site you can even propose new questions!
 
 Great! One remark: Question eight of the nightmare quiz seems to be
 broken:

Same remark

Nicolas,

 
 
 Question 8
 Question Type   SingleChoiceQuestion
 Question Statement  How do you test the 'my.property' Maven property for
 null in Jelly?
 Your Answer(s)
 # Possible Answer(s)
 #
 #
 #
 Correct Answers
 Is Answer Correct   false
 
 
 My answer was the correct one ... (don't want to break the secret here)
 
 Regards,
 Gisbert Amm
 
 -
 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]



Re: commons-jelly-tags-ant-1.1-SNAPSHOT.jar - cannot be found

2005-03-10 Thread Nicolas Chalumeau
You will find it here http://cvs.apache.org/repository/commons-jelly/jars/

Nicolas,

On Thu, 10 Mar 2005 14:37:00 +0100, Maciej Zywno [EMAIL PROTECTED] wrote:
 Hi,
 
 Please, could anyone send this library to me? I cannot build maven
 because this library cannot be downloaded neither automatically by
 maven nor by me manually (google does not say anything). Is this
 library present anywhere? I would not like to have to download this
 library sources and jar it manually :/
 
 Regards,
 Maciek
 
 -
 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]



Add Vicent Massol pdf to the article section (Re: breaking a PROJECT up into multiple Maven Projects)

2005-03-04 Thread Nicolas Chalumeau
Yet an other reference to this great pdf. So I think it could be a
good thing to add it in the misc/articles section in the website.
What is the other user vote for this ?

Nicolas,

On Fri, 4 Mar 2005 00:14:06 +0100, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 You can read this :
 
 http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf
 
 Arnaud


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



iutest properties

2005-03-04 Thread Nicolas . CHALUMEAU
In the doc of the test plugin I see the maven.iutest.* properties for the 
integration test but I don't see any 
reference of this properties in the plugin.jelly of this plugin.
So Is this fonctionnallity is enable or not ?

Nicolas,


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



Re: [Vote] to release maven-plugin-plugin ;-)

2005-02-23 Thread Nicolas Chalumeau
Is there now a way to generate plugin in maven.plugin.user.dir instead
of  MAVEN_HOME/plugin? I remember discust about this on the mailling
list but don't find issue in jira!


On Tue, 22 Feb 2005 14:37:54 -0800, dan tran [EMAIL PROTECTED] wrote:
 maven-plugin-plugin has added ton of features like the
 usefull remote-deploy + others.
 
 Can we release it? ;-)
 
 Just want to ask ;-)
 
 -D
 
 -
 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]



Re: abbot plugin problem

2005-02-23 Thread Nicolas . CHALUMEAU
Caused by: java.lang.NoClassDefFoundError: junit/framework/TestListener

Is this class is in your junit jar ?

Nicolas,





Henrard Frédéric [EMAIL PROTECTED]
23/02/2005 11:15
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List users@maven.apache.org
cc : 
Objet : Re: abbot plugin problem


Hi Vincent,

I checked what you asked :

junit-3.8.1.jar file in local repository is apparently not corrupted, I 
can 
open it and extract his content.
 
I tried to remove the cache directory but I have the same problem after 
the 
download. 

Finally, I have checked on another system with Maven 1.0.2 installed but 
It 
still the same thing.


Frédéric

On Wednesday 23 February 2005 10:48, Vincent Massol wrote:
 Hi Frederic,

 It seems that for some strange reason the junit jar does not get put in 
the
 executing CP. Maybe it is corrupted? Could you please verify that the
 junit-3.8.1.jar file in your local repo is valid (try opening it with
 winzip for ex).

 Then delete your Maven cache and try again.

 Also, I'd really recommend upgrading to Maven 1.0.2.

 Thanks
 -Vincent

  -Original Message-
  From: Henrard Frédéric [mailto:[EMAIL PROTECTED]
  Sent: mercredi 23 février 2005 10:36
  To: users@maven.apache.org
  Subject: abbot plugin problem
 
  Hi All,
 
  when I try to execute goal maven abbot, I have this message :
 
  Any ideas?
 
  Cheers,
  Frederic Henrard
 
 
   __  __
 
  |  \/  |__ _Apache__ ___
  |
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0
 
  Initializing Plugins!
  Set plugin source directory to /usr/share/maven/plugins
  Set unpacked plugin directory to /home/fhe/.maven/cache
  Set user plugin directory to /home/fhe/.maven/plugins
  Unpacking maven-nsis-plugin-1.1.jar to directory
  -- /home/fhe/.maven/cache/maven-nsis-plugin-1.1
  expand complete
  Unpacking maven-castor-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-castor-plugin-1.2
  expand complete
  Unpacking maven-jdepend-plugin-1.5.jar to directory
  -- /home/fhe/.maven/cache/maven-jdepend-plugin-1.5
  expand complete
  Unpacking maven-changelog-plugin-1.7.1.jar to directory
  -- /home/fhe/.maven/cache/maven-changelog-plugin-1.7.1
  expand complete
  Unpacking maven-genapp-plugin-2.2.jar to directory
  -- /home/fhe/.maven/cache/maven-genapp-plugin-2.2
  expand complete
  Unpacking maven-jbuilder-plugin-1.5.jar to directory
  -- /home/fhe/.maven/cache/maven-jbuilder-plugin-1.5
  expand complete
  Unpacking maven-jboss-plugin-1.5.jar to directory
  -- /home/fhe/.maven/cache/maven-jboss-plugin-1.5
  expand complete
  Unpacking maven-gump-plugin-1.4.jar to directory
  -- /home/fhe/.maven/cache/maven-gump-plugin-1.4
  expand complete
  Unpacking maven-native-plugin-1.1.jar to directory
  -- /home/fhe/.maven/cache/maven-native-plugin-1.1
  expand complete
  Unpacking maven-antlr-plugin-1.2.1.jar to directory
  -- /home/fhe/.maven/cache/maven-antlr-plugin-1.2.1
  expand complete
  Unpacking maven-webserver-plugin-2.0.jar to directory
  -- /home/fhe/.maven/cache/maven-webserver-plugin-2.0
  expand complete
  Unpacking maven-docbook-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-docbook-plugin-1.2
  expand complete
  Unpacking maven-repository-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-repository-plugin-1.2
  expand complete
  Unpacking maven-rar-plugin-1.0.jar to directory
  -- /home/fhe/.maven/cache/maven-rar-plugin-1.0
  expand complete
  Unpacking maven-vdoclet-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-vdoclet-plugin-1.2
  expand complete
  Unpacking maven-appserver-plugin-2.0.jar to directory
  -- /home/fhe/.maven/cache/maven-appserver-plugin-2.0
  expand complete
  Unpacking maven-tasklist-plugin-2.3.jar to directory
  -- /home/fhe/.maven/cache/maven-tasklist-plugin-2.3
  expand complete
  Unpacking maven-tjdo-plugin-1.0.0.jar to directory
  -- /home/fhe/.maven/cache/maven-tjdo-plugin-1.0.0
  expand complete
  Unpacking maven-ashkelon-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-ashkelon-plugin-1.2
  expand complete
  Unpacking maven-ejb-plugin-1.5.jar to directory
  -- /home/fhe/.maven/cache/maven-ejb-plugin-1.5
  expand complete
  Unpacking maven-struts-plugin-1.3.jar to directory
  -- /home/fhe/.maven/cache/maven-struts-plugin-1.3
  expand complete
  Unpacking maven-junit-doclet-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-junit-doclet-plugin-1.2
  expand complete
  Unpacking maven-multiproject-plugin-1.3.1.jar to directory
  -- /home/fhe/.maven/cache/maven-multiproject-plugin-1.3.1
  expand complete
  Unpacking maven-license-plugin-1.2.jar to directory
  -- /home/fhe/.maven/cache/maven-license-plugin-1.2
  expand complete
  Unpacking maven-jetty-plugin-1.1.jar to directory
  -- /home/fhe/.maven/cache/maven-jetty-plugin-1.1
  expand complete
  Unpacking maven-jdee-plugin-1.1.jar to directory
  -- /home/fhe/.maven/cache/maven-jdee-plugin-1.1
  

Re: abbot plugin problem

2005-02-23 Thread Nicolas Chalumeau
Looking to the log, junit-3.8.1.jar is not in your classpath. Did you
define the unitTestSourceDirectory ? Is maven test:compile works ?

Nicolas,


On Wed, 23 Feb 2005 11:34:17 +0100, Henrard Frederic
[EMAIL PROTECTED] wrote:
 Yes I can find it into the ~/.maven/repository/junit/jars/junit-3.8.1.jar
 file.
 
 Frédéric
 
 On Wednesday 23 February 2005 11:29, [EMAIL PROTECTED]
 wrote:
  Caused by: java.lang.NoClassDefFoundError: junit/framework/TestListener
 
  Is this class is in your junit jar ?
 
  Nicolas,
 
 
 
 
 
  Henrard Frédéric [EMAIL PROTECTED]
  23/02/2005 11:15
  Veuillez répondre à Maven Users List
 
 
  Pour :  Maven Users List users@maven.apache.org
  cc :
  Objet : Re: abbot plugin problem
 
 
  Hi Vincent,
 
  I checked what you asked :
 
  junit-3.8.1.jar file in local repository is apparently not corrupted, I
  can
  open it and extract his content.
 
  I tried to remove the cache directory but I have the same problem after
  the
  download.
 
  Finally, I have checked on another system with Maven 1.0.2 installed but
  It
  still the same thing.
 
 
  Frédéric
 
  On Wednesday 23 February 2005 10:48, Vincent Massol wrote:
   Hi Frederic,
  
   It seems that for some strange reason the junit jar does not get put in
 
  the
 
   executing CP. Maybe it is corrupted? Could you please verify that the
   junit-3.8.1.jar file in your local repo is valid (try opening it with
   winzip for ex).
  
   Then delete your Maven cache and try again.
  
   Also, I'd really recommend upgrading to Maven 1.0.2.
  
   Thanks
   -Vincent
  
-Original Message-
From: Henrard Frédéric [mailto:[EMAIL PROTECTED]
Sent: mercredi 23 février 2005 10:36
To: users@maven.apache.org
Subject: abbot plugin problem
   
Hi All,
   
when I try to execute goal maven abbot, I have this message :
   
Any ideas?
   
Cheers,
Frederic Henrard
   
   
 __  __
   
|  \/  |__ _Apache__ ___
|
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|
|_|  |_\__,_|\_/\___|_||_|  v. 1.0
   
Initializing Plugins!
Set plugin source directory to /usr/share/maven/plugins
Set unpacked plugin directory to /home/fhe/.maven/cache
Set user plugin directory to /home/fhe/.maven/plugins
Unpacking maven-nsis-plugin-1.1.jar to directory
-- /home/fhe/.maven/cache/maven-nsis-plugin-1.1
expand complete
Unpacking maven-castor-plugin-1.2.jar to directory
-- /home/fhe/.maven/cache/maven-castor-plugin-1.2
expand complete
Unpacking maven-jdepend-plugin-1.5.jar to directory
-- /home/fhe/.maven/cache/maven-jdepend-plugin-1.5
expand complete
Unpacking maven-changelog-plugin-1.7.1.jar to directory
-- /home/fhe/.maven/cache/maven-changelog-plugin-1.7.1
expand complete
Unpacking maven-genapp-plugin-2.2.jar to directory
-- /home/fhe/.maven/cache/maven-genapp-plugin-2.2
expand complete
Unpacking maven-jbuilder-plugin-1.5.jar to directory
-- /home/fhe/.maven/cache/maven-jbuilder-plugin-1.5
expand complete
Unpacking maven-jboss-plugin-1.5.jar to directory
-- /home/fhe/.maven/cache/maven-jboss-plugin-1.5
expand complete
Unpacking maven-gump-plugin-1.4.jar to directory
-- /home/fhe/.maven/cache/maven-gump-plugin-1.4
expand complete
Unpacking maven-native-plugin-1.1.jar to directory
-- /home/fhe/.maven/cache/maven-native-plugin-1.1
expand complete
Unpacking maven-antlr-plugin-1.2.1.jar to directory
-- /home/fhe/.maven/cache/maven-antlr-plugin-1.2.1
expand complete
Unpacking maven-webserver-plugin-2.0.jar to directory
-- /home/fhe/.maven/cache/maven-webserver-plugin-2.0
expand complete
Unpacking maven-docbook-plugin-1.2.jar to directory
-- /home/fhe/.maven/cache/maven-docbook-plugin-1.2
expand complete
Unpacking maven-repository-plugin-1.2.jar to directory
-- /home/fhe/.maven/cache/maven-repository-plugin-1.2
expand complete
Unpacking maven-rar-plugin-1.0.jar to directory
-- /home/fhe/.maven/cache/maven-rar-plugin-1.0
expand complete
Unpacking maven-vdoclet-plugin-1.2.jar to directory
-- /home/fhe/.maven/cache/maven-vdoclet-plugin-1.2
expand complete
Unpacking maven-appserver-plugin-2.0.jar to directory
-- /home/fhe/.maven/cache/maven-appserver-plugin-2.0
expand complete
Unpacking maven-tasklist-plugin-2.3.jar to directory
-- /home/fhe/.maven/cache/maven-tasklist-plugin-2.3
expand complete
Unpacking maven-tjdo-plugin-1.0.0.jar to directory
-- /home/fhe/.maven/cache/maven-tjdo-plugin-1.0.0
expand complete
Unpacking maven-ashkelon-plugin-1.2.jar to directory
-- /home/fhe/.maven/cache/maven-ashkelon-plugin-1.2
expand complete
Unpacking maven-ejb-plugin-1.5.jar to directory
-- /home/fhe/.maven/cache/maven-ejb-plugin-1.5
expand complete
Unpacking maven-struts-plugin-1.3.jar to directory
-- 

Re: Glogal Changes and Roadmap documents

2005-02-03 Thread Nicolas Chalumeau
http://maven.apache.org/reference/plugins/changes/
and
http://maven-plugins.sourceforge.net/maven-tasks-plugin/index.html

Are probably the simple solution. No ?

Nicolas,


On Thu, 03 Feb 2005 09:30:24 +0100, Laurent Michenaud
[EMAIL PROTECTED] wrote:
 Hi,
 
 I would like to manage a document that lists the global changes between
 the different
 project versions.
 The global changes would be for example new functionnalities and bug fixes.
 I would like to manage too a roadmap for my project.
 
 I know i can do it with xdocs but i would have preferred some xml files
 that are specially done for that.
 
 I can do by my own but i would like to know if it already exist or not.
 
 -
 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]



Re: Clover license expired?

2005-02-02 Thread Nicolas Chalumeau
You need to use an other version of the clover jar i think (maybe a
free one or not) and look at the
http://maven.apache.org/reference/plugins/clover/faq.html to change it
in your project.

An other solution is to use an other coverage tool like jcoverage (a
maven plugin exist) or emma (don't know if the maven plugin work)

Nicolas,

On Tue, 1 Feb 2005 22:47:33 -, John Taylor [EMAIL PROTECTED] wrote:
 Is anyone else out there having trouble with Clover?  I'm getting an error
 from Maven (1.0.2) telling me that the clover license has expired...sure
 enough, the license file claims to have an expiry date of 30/1/05.
 
 John
 =
 John Taylor
 Astrogrid Java Developer
 http://software.astrogrid.org
 Royal Observatory of Edinburgh
 +44 (0) 131 668 8329
 skype id: johndavidtaylor
 =
 
 -
 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]



Re: Maven and CruiseControl

2005-01-18 Thread Nicolas Chalumeau
Call first the update of your project I your list of goal to attain

schedule interval=30
  maven goal=scm:update-project|clean|test
 projectfile=project.xml
 mavenscript=c:/maven/bin/maven
  /maven
/schedule

Nicolas

On Tue, 18 Jan 2005 08:28:20 -0700, Guy Davis [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm trying to get CruiseControl working for our Maven-controlled build.
 If I set the CC config.xml to call have a maven entry within the
 schedule element with a target of site, then the build happens but the
   checked out tree (via Subversion) isn't updated first.
 
 Is there anyone else using Maven, CruiseControl and Subversion.  I can
 get things going with CruiseControl calling a small Ant script which
 updates the tree, then calls Maven with an exec.  This seems like a bit
 of a hack to me though.  Are there better approaches that don't involve
 using an Ant intermediary?
 
 Thanks,
 Guy
 
 -
 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]



Re: maven and the abbot-plugin (webstart)

2005-01-17 Thread Nicolas Chalumeau
Maybe the plugin test applications can help you :
http://cvs.apache.org/viewcvs.cgi/maven-plugins/abbot/src/plugin-test

Nicolas,

On Mon, 17 Jan 2005 15:35:51 +0100, Christian Netthöfel [EMAIL PROTECTED] 
wrote:
 Hi there,
 
 I'm currently trying to test a webstart-application with abbot. Testing
 the standalone-app worked fine, but now it has been extended to
 webstart. Pro's: only one application needs to be upgraded, con's: I'm
 not able to test it automatically :/
 
 So I googled a bit and found the solution: maven and its abbot-plugin.
 Unfortunately I haven't found an example or tutorial for webstart-test
 where all I have is a jnlp-link.
 
 Perhaps some of you can give me some guidance, I don't know where to
 start. I installed maven but I have no clue what I need from that
 maven-package, what config-files I have to create etc since maven is a
 very huge application.
 
 TIA
 Christian
 
 -
 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]



Re: Dependencies problem

2005-01-07 Thread Nicolas Chalumeau
It is the role of the ejb.bundle property in the pom :
 
   dependency
  idjarid/id
  versionjarversion/version
  properties
ejb.bundlefalse/ejb.bundle
  /properties
/dependency

Look at :
http://maven.apache.org/reference/plugins/ejb/properties.html

Nicolas,

On Fri, 7 Jan 2005 02:04:24 -0800 (PST), Ravi Hegde
[EMAIL PROTECTED] wrote:
 I am building EJB component using Maven. Some xdoclet
 related jars have to be added as dependencies for
 building the EJB project. Strictly speaking, my EJB's
 don't directly depend on these xdoclet jars - they are
 needed just for code generation and nothing else.
 Therefore, my strong feeling is that it is not a good
 idea to add such jars as dependencies in POM. Is there
 any other way to specify such dependencies ? (through
 some classpath or property setting ?)
 
 Cheers :)
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.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]



Re: multiple-platform

2004-12-29 Thread Nicolas Chalumeau
Java is multiplatform or I don't understand what you want to know !

If you have some plateform specific thing you better use 1 subproject
per platform and play with the dependancies to include them in some
project

Nicolas,


On Wed, 29 Dec 2004 11:41:47 +0200, Glasman, AdiX
[EMAIL PROTECTED] wrote:
 Does Maven supports build on multiple-platform and finally collect the
 build artifacts on different platform and forms into one package?
 


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



Re: Automated testing using cactus...

2004-12-29 Thread Nicolas Chalumeau
cactus user list is probably the best location for your question but
you probably want something like :
http://nagoya.apache.org/jira/browse/CACTUS-144
The patch is here

Nicolas,


On Wed, 29 Dec 2004 16:44:49 +0100, Claudius Spellmann
[EMAIL PROTECTED] wrote:
 Hi,
 
 I've got a problem when I try to do automated unit test using cactus as
 a maven plugin.
 Everything works fine when i let the test run as war but it doesn't
 quite work as ear.
 my current maven/cactus configuration looks like this:
 
 The properties file:
 
 maven.repo.remote=http://www.ibiblio.org/maven
 cactus.home.jboss3x=C:\jboss-3.2.5
 cactus.port=80
 cactus.jboss3x.config.name=xxxMyProjectNamexxx
 cactus.halt.on.error=true
 cactus.halt.on.failure=true
 cactus.is.ear=true
 
 
 and in the project xml I added a report entry for cactus:
 
 
   reports
 reportmaven-cactus-plugin/report
 reportmaven-checkstyle-plugin/report
 reportmaven-multiproject-plugin/report
 reportmaven-faq-plugin/report
 reportmaven-junit-report-plugin/report
 reportmaven-pmd-plugin/report
 reportmaven-tasklist-plugin/report
 reportmaven-jxr-plugin/report
 reportmaven-changelog-plugin/report
 reportmaven-javadoc-plugin/report
   /reports
 
 dependency
   groupIdcactus/groupId
   artifactIdcactus-maven/artifactId
   version1.6.1/version
   typeplugin/type
 /dependency
   /dependencies
 
 
 This is the maven output I'll get when running the buildfile
 (surprisingly cactus can't find any testfiles to run but as said before
 when using *.war everything works fine)
 
 
 test:prepare-filesystem:
 
 test:test-resources:
 
 test:compile:
 [echo] No test source files to compile.
 
 test:test:
 [echo] No tests to run.
 
 ejb:ejb:
 [echo] Building ejb novartis-leponex-ejb-1.0-SNAPSHOT
 [jar] Building jar:
 C:\svnroot\novartis-leponex\ejb\target\novartis-leponex-ejb-1.0-SNAPSHOT.jar
 
 ear:load:
 
 [ear] Building ear:
 C:\svnroot\novartis-leponex\ejb\target\novartis-leponex-ejb-cactus.ear
 
 cactus:test-ear:
 [cactus]
 -
 [cactus] Running tests against JBoss 3.2.5
 [cactus]
 -
 [cactus] Shutdown message has been posted to the server.
 [cactus] Server shutdown may take a while - check logfiles for
 completion
 
 [echo] Generating the Checkstyle...
 
 ---
 
 Any ideas ???
 
 thanks in advance
 Claudius
 
 -
 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]



Re: More of multiproject questions

2004-12-15 Thread Nicolas Chalumeau
It is the classic transitive dependancies reponce :
Transitive dependancies will be support in maven2 but they are not
support in maven1.X actually

But one thing you can do is declare this jar in the project.xml that
your PL extends so they don't be in your PL pom directly

Nicolas,


On Wed, 15 Dec 2004 09:19:43 -0500, Aleksandr Shneyderman
[EMAIL PROTECTED] wrote:
 
 I started to think in terms of multiprojects lately and can not
 think of a good way to handle the following situation:
 
 I have business tier (BT) that relies on spring, that in turn
 relies on hibernate to do my ORM stuff. So BT declares the
 dependency on hibernate.
 
 Then I have a web presentation (PL) that depends on BL. It is
 a separate module.
 
 Now when I build my war I am forced to specify that PL depends on
 hibernate since its jars have to be included in the WAR.
 Presentation layer however could care less about hibernate.
 
 Does anyone have any good suggestions on how to configure my
 presentation layer so it does not declare an explicit dependency
 on hibernate? I am only talking about hibernate but I guess
 I can safely generalize here about many other scenarios.
 
 Thanks,
 Alex.
 
 -
 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]



Re: Overriding plugin jars

2004-12-15 Thread Nicolas Chalumeau
Change the version number and use it in your pom. 

Nicolas,


On Wed, 15 Dec 2004 13:14:15 +0100, Jose Gonzalez Gomez
[EMAIL PROTECTED] wrote:
   Hi there,
 
  I have patched a jar that is used by a plugin
 (xdoclet-hibernate-module and maven-xdoclet-plugin). Is there any way
 to tell the xdoclet plugin to get that jar from my local disk instead
 of downloading it from a repository?
 
  I know about jar override, but it seems that only works for project
 dependencies, not for plugin dependencies, am I right?
 
  TIA, best regards
  Jose
 
 -
 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]


Re: Maven and C\CPP development

2004-12-13 Thread Nicolas Chalumeau
native :-)
http://maven.apache.org/reference/plugins/native/


On Mon, 13 Dec 2004 23:30:23 +0200, Graham Leggett [EMAIL PROTECTED] wrote:
 Brett Porter wrote:
 
  There is a native plugin which hopefully will fit your needs. Please
  let us know if it doesn't.
 
 What is the plugin called?
 
 Regards,
 Graham
 --
 
 
 
 -
 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]


Re: Has anyone integrated Jester with Maven? (Plugin or maven.xml)?

2004-12-09 Thread Nicolas Chalumeau
Hi Michael,

It look in Jester feature request and find :
- A maven plugin request :
http://sourceforge.net/tracker/index.php?func=detailaid=968968group_id=23959atid=380054
- An ant task request :
http://sourceforge.net/tracker/index.php?func=detailaid=920569group_id=23959atid=380054

Maybe you can provide patch there to help :-)

Nicolas,


On Thu, 09 Dec 2004 15:42:45 +0100, Siegfried Goeschl
[EMAIL PROTECTED] wrote:
 Hi Michael,
 
 my response is write a a Jester plugin ... :-)
 
 Okay, a little bit more serious:
 
 +) if would recommend a Maven Plugin
 +) since it is ANT-driven you might reuse the ANTie. I use ANT to run
 the Canoo WebTest script (maven-plugins.sourceforge.net) from within the
 plugin. Basically the plugin is a big ANT wrapper giving you the
 convenience of Maven
 +) I don't know where the report is coming from - it seems to be an XML
 file. You can use JSTL or XALAN to create the reports.
 
 Cheers,
 
 Siegfried Goeschl
 
 
 
 
 Michael Mattox wrote:
 
 I've been finding tests that don't test anything in our project, and since
 we started evaluating Clover it's getting worse! ;)  I'd really like to
 incorporate Jester into our daily build but I have no idea how.  They have a
 very simple ANT build file on their website but I don't see how to use this
 with Maven.  I thought I could use the ANT code in the maven.xml but I'm not
 sure how.  I think Jester would be a great addition to the Maven plugin
 suite.  I know the response will be then write the jester plugin, so I'm
 curious what would be involved and if someone has some ideas.
 
 Regards,
 Michael Mattox
 
 
 --
 This E-mail is confidential.  It may also be legally privileged.  If you are
 not the addressee you may not copy, forward, disclose or use any part of it.
 If you have received this message in error, please delete it and all copies
 from your system and notify the sender immediately by return E-mail.
 Internet communications cannot be guaranteed to be timely, secure, error or
 virus-free.  The sender does not accept liability for any errors or 
 omissions.
 
 
 -
 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]
 


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



Re: Snapshot etiquette

2004-12-08 Thread Nicolas Chalumeau
For me the better way to do is the approch 1.5 ;-).

During the development use the X.X-SNAPSHOT and before release the
artifact use the X.X version number. With this way you can use the
power of snapshot dependancies with a version number notion.

Nicolas,


On Tue, 7 Dec 2004 17:42:15 -0500, Bert Lamb [EMAIL PROTECTED] wrote:
 Ok, so I'm trying to get a handle on the right way to do snapshot
 dependencies during development and the perform a release.  In
 reading around the Internet it looks like there are two different
 approaches to snapshots..
 
 Approach 1:
 
 In your POM define your version as SNAPSHOT, and use jar:deploy to
 put your artifact myproj-SNAPSHOT.jar out on the repository.
 
 When it comes time to release then you change your version to your
 real version and then run that one build as your release build and
 put myproj-1.0.jar out on the repository.
 
 Approach 2:
 
 In your POM define your version as the real version that is currently
 in development but use jar:deploy-snapshot to put the artifact in the
 repository (it also puts a timestamped version there as well).
 
 When it comes time to release then you use jar:deploy for that release 
 build.
 
 Do I have these two approaches right?  Which one is the right one?
 Is there a best practice documented somewhere?
 
 Thanks!
 
 -Bert
 
 -
 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]



Re: Using Snapshots.

2004-12-03 Thread Nicolas Chalumeau
On Fri, 3 Dec 2004 10:14:51 -, Roy, Anthony [EMAIL PROTECTED] wrote:
 Hi all,
 
 We have recently started using Maven for our build process on one of the
 projects. The project in question is in a stable state, and I want to
 version it and use the snapshot feature for the future builds. I have been
 building this project as currentVersion0.1/currentVersion. Really I am
 not totally sure of how the SNAPSHOT system works.
 
 Is it sufficient to add a version0.1/version tag within the versions
 block to mark the stable version, and then change the project version to
 currentVersionSNAPSHOT/currentVersion?

You better have to use versionned snapshot during the dev :
currentVersion0.2-SNAPSHOT/currentVersion
And when the 0.2 is stable use the
currentVersion0.2/currentVersion to generate the artifact ...

 
 Does it tie in with the version control system at all - or are the versions
 in the versions block purely a means of recording which stable versions
 are available in the repo?

version element in just an info about the cvs tag for an artifact.
I think you could be insterest by the deploy plugin to automate
release production

Nicolas,

 
 Thanks,
 
 --
 Anthony Roy.
 
 t: 01937 54 (6003)
 e: [EMAIL PROTECTED]
 
 The British Library
 Boston Spa
 Wetherby
 West Yorkshire
 LS23 7BQ
 
 **
 
 Experience the British Library online at www.bl.uk
 
 Help the British Library conserve the world's knowledge. Adopt a Book.
 www.bl.uk/adoptabook
 
 *
 
 The information contained in this e-mail is confidential and may be legally
 privileged. It is intended for the addressee(s) only. If you are not the
 intended recipient, please delete this e-mail and notify the
 [EMAIL PROTECTED] : The contents of this e-mail must not be disclosed or
 copied without the sender's consent.
 
 The statements and opinions expressed in this message are those of the
 author and do not necessarily reflect those of the British Library. The
 British Library does not take any responsibility for the views of the
 author.
 
 *
 
 -
 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]



Re: need some pointers

2004-11-29 Thread Nicolas Chalumeau
 
 Right now I have an Ant script written for each module, and another ant
 script that call those three ant scripts in order to build the project.
 How would I get Maven to do the same thing as my ant scripts?
 

Use the multiproject plugin. The next command do what you want : 
maven multiproject:install
For the doc take a look at
http://maven.apache.org/reference/plugins/multiproject/

 Also, I'm not sure how Maven creates new versions for each new build.
 The versions element in the project descriptor tell us what are the
 previous versions.

I am not sure what you really want to know here.
version element indicate whitch cvs tag you need to use to get a
previous version of the source.
You need to manage curent version number yourself with the currentVersion
currentVersion1.1-SNAPSHOT/currentVersion during the dev
currentVersion1.1/currentVersion the generate the production release

 
 Can anyone help me with my questions?
 
 Thanks a lot,
 
 -Wendy
 
 -
 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]



Re: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
The nagEmailAddress element in the pom is use by CC to send email when
build fail

I don't think you can send an email in a postGoal of test as if there
is test failure the build stop. The solution to don't stop the build
when there are test failure is probably to set the
maven.test.failure.ignore to true and check maven.test.failure value
to send email or not.

Nicolas,


On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott [EMAIL PROTECTED] wrote:
 This may not be the reply you are after, but I personally have found
 CruiseControl extremely useful for this kind of thing.
 
 -Corey
 
 On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar
 
 
 [EMAIL PROTECTED] wrote:
  I want to send a mail if compilation fails.We have a several modules. I am 
  using the technique of module level compilation by the help of maven 
  reactor. If any module fails i want to send mail to the particular module 
  owner. I am only able to send mail if testcase fails. How can is send mail 
  if compilation is failed.
 
 pcm--!
 !
 !--admin
 !--build
 !--user
 !--people
 !-util
 !-web
 
  Any boby plz help in this issue
 
  thanksregards
  praveen
 
 
  -
  Do you Yahoo!?
  Yahoo! Mail - Helps protect you from nasty viruses.
 
 
 -
 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]



Re: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
Brett Porter wrote:

http://wiki.codehaus.org/maven/EmailTestReports
  

I never see this link ! That's the solution I try to explain in my 
precedante mail I think !

I think you will also need to ignore failures.
  

Doesn't maven.test.failure.ignore ignore test failure ?

In the end, I found it better to use cruise control and let it fail
and mail when the tests fail.
  

I am totaly agree with you : a build tool isn't a continious integration 
tool

Nicolas,

- Brett


On Fri, 26 Nov 2004 14:05:14 +0100, Nicolas Chalumeau
[EMAIL PROTECTED] wrote:
  

The nagEmailAddress element in the pom is use by CC to send email when
build fail

I don't think you can send an email in a postGoal of test as if there
is test failure the build stop. The solution to don't stop the build
when there are test failure is probably to set the
maven.test.failure.ignore to true and check maven.test.failure value
to send email or not.

Nicolas,




On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott [EMAIL PROTECTED] wrote:


This may not be the reply you are after, but I personally have found
CruiseControl extremely useful for this kind of thing.

-Corey

On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar


[EMAIL PROTECTED] wrote:
  

I want to send a mail if compilation fails.We have a several modules. I am 
using the technique of module level compilation by the help of maven 
reactor. If any module fails i want to send mail to the particular module 
owner. I am only able to send mail if testcase fails. How can is send mail 
if compilation is failed.

   pcm--!
   !
   !--admin
   !--build
   !--user
   !--people
   !-util
   !-web

Any boby plz help in this issue

thanksregards
praveen


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.



-
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]





-
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]



Re: maven automation of webspher deployment

2004-11-25 Thread Nicolas . CHALUMEAU
Cargo provides a Java API to start/stop and configure Java containers. I think 
it is what you are looking for !

http://cargo.codehaus.org/

Nicolas,





Dion Gillard [EMAIL PROTECTED]
25/11/2004 07:28
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: maven automation of webspher deployment


Have you looked at the plugins on http://maven-plugins.sourceforge.net/


On Wed, 24 Nov 2004 22:26:28 -0800 (PST), rajas kumar
[EMAIL PROTECTED] wrote:
 i need help for maven automation of webspher deployment
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 


-- 
http://www.multitask.com.au/people/dion/

-
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]



Re: Add dynamic dependiences

2004-11-24 Thread Nicolas Chalumeau
On Wed, 24 Nov 2004 11:20:05 -0500, Adrian Tarau

[EMAIL PROTECTED] wrote:
  

Hi,

I want to build an ear, and in the ear I want to put a war or jar which is 
not define in the dependences (it is build in this project).


Why don't define one project per artifact type and use multiproject ? ;-)

It is possible to add it in the dependences so the ear plugin will see it? Or 
I need to write Java code for this?


Yes, if you are sure about the build order add the war / jar in the 
dependancies of the ear i think that the ear.bundle, war.bundle, ... 
will protect you to include them in the war lib.

But the best is probably to have one project per artifact. Maybe you can 
use your base project as a multiproject one and have a directory per 
artifacts with a project.xml with theire own dependancies and point to 
../src/??? for theres sources or resources files

Nicolas,

Nicolas

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



Re: SCM plugin

2004-11-22 Thread Nicolas . CHALUMEAU
Actually the scm plugin only work with cvs

Nicolas,





[EMAIL PROTECTED]
22/11/2004 14:06
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : SCM plugin







Does the scm plugin work with ClearCase?

Jeff

Registered Linux user number 366042




This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking 
Reply) and delete this e-mail.

-
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]



Re: Grouping related projects

2004-11-18 Thread Nicolas . CHALUMEAU
Use the multiproject with a directory structure like
/root
/common-prj1
/common-prj2
...
/common-all

common-prj* are maven.multiproject.type=jar
common-all   is maven.multiproject.type=uberjar and have all the 
common-prj* in his dependancies

On the root dir using maven multiproject:install will build 
common-prj*.jar and the common-all.jar who contains all the common-prj* 
classes

Nicolas,





Duncan Krebs [EMAIL PROTECTED]
18/11/2004 03:34
Veuillez répondre à Maven Users List

 
Pour :  Maven UserList [EMAIL PROTECTED]
cc : 
Objet : Grouping related projects


Hi,
I'm breaking my development down into really small maven projects and I'm 
trying to figure out what the options are if I want to group them 
together. For example, say I have 5 separate projects that all start with 
mycompany.commons that I'd like to distribute as one final versioned jar 
but also want to maintain their own separate versions. Would this mean 
creating a maven project to represent that jar? If that's the case then 
would the five separate project folders be sub directories of the project 
that represents the jar? Or am I totally out of it? thanks. - Duncan





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



Réf. : maven cvs commit goal?

2004-11-18 Thread Nicolas . CHALUMEAU
What you want is the ant:cvs task. Example for checkout in the scm plugin 
it is done with :

ant:cvs command=checkout ${maven.scm.cvs.checkout.flags}
  quiet=${maven.scm.cvs.quiet}
  cvsRsh=${maven.scm.cvs.rsh}
  cvsRoot=${maven.scm.cvs.root}
  dest=${maven.scm.checkout.dir}
  package=${maven.scm.cvs.module}
  tag=${maven.scm.cvs.sticky.tag}
  failonerror=true
  /

Nicolas,




erdem kilic [EMAIL PROTECTED]
18/11/2004 15:59
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : maven cvs commit goal?


Hi,
I want to cvs commit with maven..
is there a goal for this job?

Thank you very much..
Erdem

-
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]



Do scm:perform-release deploy really in the remote repository?

2004-11-17 Thread Nicolas . CHALUMEAU
It is said in the goal doc of the scm plugin that the scm:perform-release 
:
... It then builds a clean version of the code and deploys it to the 
remote repository...

But when I use it all works fine but the artifact is not deploy anywhere 
just in my local repository as the maven.scm.bootstrap.goals=jar:install

What did I have to do to deploy it in the remote repository?

Thanks
Nicolas,

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



Re: Do scm:perform-release deploy really in the remote repository?

2004-11-17 Thread Nicolas . CHALUMEAU
Please ignore this mail when I reread it I realyse that I need to use :
maven.scm.bootstrap.goals=jar:deploy

But there is a problem in the doc here !

Nicolas





[EMAIL PROTECTED]
17/11/2004 12:08
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Do scm:perform-release deploy really in the remote repository?


It is said in the goal doc of the scm plugin that the scm:perform-release 
:
... It then builds a clean version of the code and deploys it to the 
remote repository...

But when I use it all works fine but the artifact is not deploy anywhere 
just in my local repository as the maven.scm.bootstrap.goals=jar:install

What did I have to do to deploy it in the remote repository?

Thanks
Nicolas,

-
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]



Re: How should I use SNAPSHOT?

2004-11-17 Thread Nicolas Chalumeau
For your solution see after.
Steve Molloy wrote:
Remove the 1.0- in the dependency, SNAPSHOT means latest, no version...
 

Yes it solve the problem but just a remarque. I use versionned snapshot 
because user can view whitch version is underdevellopement. How a 
project could whitch final version (stable) he can use to replace his 
snapshot dependancies if there is no version in ?

So:
dependency
artifactIdA/artifactId
versionSNAPSHOT/version
/dependency
Steve Molloy
-Original Message-
From: Helck, Christopher [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 12:55 PM
To: Maven Users List
Subject: How should I use SNAPSHOT?

I thought I understood snapshots, but a recent email has confused me all
over again :-).
The post suggested that if I have two projects A and B then I could set
A's POM to have
 currentVersion1.0-SNAPSHOT/currencyVersion
And that B should depend on A with
dependency
artifactIdA/artifactId
version1.0-SNAPSHOT/version
/dependency
 

Don't use jar:install-snapshot : use jar:install it will be better ;-)
When I try this A gets install in my local repository as A-SNAPSHOT.jar,
and B's build fails because it can't fine A-1.0-SNAPSHOT.jar.
Am I doing something wrong? Is this a real feature? Or is it tied to the
SCM plugin? In any case I wish it worked this way...
Thanks.
C. Helck


The information contained in this e-mail is confidential. This e-mail is
intended only for the stated addressee.  If you are not an addressee,
you must not disclose, copy, circulate or in any other way use or rely
on the information contained in this e-mail. if you have received this
e-mail in error, please inform us immediately and delete it and all
copies from your system.
EBS Dealing Resources International Limited. Registered address: 10
Paternoster Square, London EC4M 7DY, United Kingdom. Registered number
2669861.
EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison
Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road,
Building F - Floor 3, Parsippany, NJ 07054, USA.
EBS Dealing Resources Japan Limited, a Japanese Corporation. Address:
Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo
104-0033, Japan.

-
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]


RE: Problem with Reactor build order

2004-11-12 Thread Nicolas . CHALUMEAU
Use SNAPSHOT version will solve it.

Nicolas,





Louis Burroughs [EMAIL PROTECTED]
12/11/2004 15:39
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Problem with Reactor build order


I am having trouble with Reactor changing the build order in my project 
when the dependencies have not changed.  At one point I manged to get my 
two war files built and installed in the local repository, then the ear 
file was built.  After I added more goals, my build order went to fifo 
(first in first out).  The adding of the other goals may be totally 
incidental, but something other than dependency is effecting Reactor's 
processing order and I can't find it can someone help?

My Project Structure:

-top
-ear
-war1
-war2

Top Level maven.xml:

?xml version=1.0?
project default=ipm:build-all xmlns:j=jelly:core 
xmlns:maven=jelly:maven
goal name=ipm:build-all
maven:reactor basedir=${basedir} 
includes=*/project.xml goals=ipm-dist banner=Building 
ignoreFailures=false/
/goal
preGoal name=ipm:build-all

Checkout from CVS..

/preGoal
postGoal name=ipm:build-all

Cleanup...

/postGoal
/project

ear project maven.xml:

project default=ipm-dist xmlns:j=jelly:core 
xmlns:maven=jelly:maven
goal name=ipm-dist
attainGoal name=ear:install /
/goal
goal name=goal2
Do something else..
/goal
/project


war projects maven.xml (There are 2 but they both look the same):

project default=ipm-dist xmlns:m=jelly:maven
goal name=ipm-dist
attainGoal name=war:install/
/goal
/project


ear project project.xml dependencies:

dependencies
Other dependencies
dependency
groupId${pom.groupId}/groupId
artifactIdwar1/artifactId
version${pom.currentVersion}/version
typewar/type
properties
ear.bundletrue/ear.bundle
 ear.appxml.ear.context-rootwar1/ear.appxml.ear.context-root
/properties
/dependency
dependency
groupId${pom.groupId}/groupId
artifactIdwar2/artifactId
version${pom.currentVersion}/version
typewar/type
properties
ear.bundletrue/ear.bundle
 ear.appxml.ear.context-rootwar2/ear.appxml.ear.context-root
/properties
/dependency
/dependencies


Reactor output:

Starting the reactor...
Our processing order:
ear
war1
war2
+
| Building IPM
| Memory: 9M/13M
+














Louis M. Burroughs III, OCTO



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



Réf. : A war dependency

2004-11-04 Thread Nicolas . CHALUMEAU
Use the type element :
dependency
idmy_war/id
version2.0/version
typewar/type
/dependency

Nicolas,





MIDON ALEXIS [EMAIL PROTECTED]
04/11/2004 11:57
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : A war dependency


 
 
Hi,
 
I would like to create a war dependency in my project.xml.
 
This war is created by the war plugin and installed in the following repo
directory : my_war/wars/my_war-2.0.war
 
Unfortunately the dependency mechanism looks for a jar not a war and the
type tag is useless.
 
Meanwhile I altered the war plugin properties so the war is installed in
my_war/jars/my_war-2.0.war and wrote the following dependency to get it 
:
 
dependency
idmy_war/id
version2.0/version
jarmy_war-2.0.war/jar
/dependency 
 
This solution does not satisfy me at all.
 
Could you give the proper solution if exists?
 
Thx in advance for answers
 
Alexis




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



Re: problem with maven

2004-10-21 Thread Nicolas . CHALUMEAU
2) Take a look at : http://wiki.codehaus.org/maven/DirectoryLayout
3) As the log say, you have define the properties  : maven.appserver.version and 
maven.appserver.name in your project.properties file :
maven.appserver.name=[serveur name]
maven.appserver.version=[server version]
4)
 maven jar --- error
Probably missing properties or invalide project structure or error in src 
code ...
 maven site:deploy
 ;) ${user.name} is the value of the property who have the key user.name. It can be 
acces 
by maven from files (build.properties, project.properties) or command line 
(the -D option)
I think you better have a look at the site properties and goal : 
http://maven.apache.org/reference/plugins/site/properties.html

Nicolas,





George A [EMAIL PROTECTED]
21/10/2004 09:39
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED] 
[EMAIL PROTECTED], [EMAIL PROTECTED] 
[EMAIL PROTECTED]
cc : 
Objet : problem with maven


hello friends,
   i am facing obstacles in maven and how to use it . i am very much 
new to it just installed it and want a TDK 2.3 project to run using maven. 
but frankly i am a very tough time with it . i have following querries . 
if anyone would suggest a remedy to few/all of them as they can it would 
be truly of great help to me . and very sorry about being so clueless 
about maven : ( .
 
1) what is equivalent of 'ant' and 'ant init'? ie. how do we create 
application using maven 
? or is it that you create an application in TDK 2.3 and then run it using 
maven ? i have 
successfully created an application in TDK 2.3 usig ant and it is running 
in browser . but 
dont know how to run it in maven.
2) if we can create app using maven how is the directory structure 
supposed to look like ?
3) how to integrate with tomcat ? how to start tomcat from 'within' maven 
?
folloing are the commands i gave and the results
 
maven appserver:init --- error
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 54
Column 31
--
| Plugin Configuration Error |
--
 A required property is missing a value.
 Property name: maven.appserver.name
 Errors must be corrected before using this plugin.
--
so in the plugin.jelly file specified the appserver name to 'tomcat'
maven appserver:init --- error
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 54
Column 31
 
--
 | Plugin Configuration Error |
 
--
  A required property is missing a value.
  Property name: maven.appserver.version
  Errors must be corrected before using this plugin.
 
--
so gave version as '4.1.x' in plugin.jelly
maven appserver:init --- error
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 85
Column 31
 
--
 | Plugin Configuration Error |
 
--
  The specified appserver name is currently not supported.
  Property name: maven.appserver.name
  Property value:
  For supported maven.appserver.name values, please see the help docs.
 
--
finally gave up .

4) in maven home dir i have given following commands

maven jar --- error
maven site:init --- build successful ( do we need to do any changes in 
any file prior to 
this ? if yes i have not done any changes oopps, what to do ? )
maven site:generate --- build successful
maven site:deploy --- error
You must specify a maven username in order
You can either set this property in your ~
or specify one on the command line:
maven -Dmaven.username=${user.name} [goal]
so gave the command  maven -Dmaven.username=${user.name} 
again gave same error
so gave the command  maven -Dmaven.username=george  --- build 
successful
maven site:deploy --- error
finally gave up !!
(huff, puff, pant, pant)
 
any suggestions are most welcome
good bye folks,
george.


-
  Yahoo! Messenger - Communicate instantly...Ping your friends today! 
Download Messenger Now



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



Re: problem with maven

2004-10-21 Thread Nicolas . CHALUMEAU
3) The best is to read the user guide but for the properties :
http://maven.apache.org/reference/user-guide.html#Properties_Processing

plugin.jelly is the plugin code so it is independant of any project / user setting. 
The variable whitch are use by the plugin are redefine in your properties 
files.

4) maven.username can be in a properties file too (the best is in 
$HOME/build.properties) 
so you didn't have to add the -Dmaven.username every time you need it.

Nicolas,





George A [EMAIL PROTECTED]
21/10/2004 10:30
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: problem with maven


2) wow, great suggestion tanks a lot : ) .
3) oh is it that we have to write appserver name and version in 
project.properties(i dont kow where it is : ( ), i was thinking we had to 
make the changes in the plugin.jelly file as the error said ,
 
maven appserver:init 
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 85
Column 31
 
--
 | Plugin Configuration Error |
 
--
  The specified appserver name is currently not supported.
  Property name: maven.appserver.name
  Property value:
  For supported maven.appserver.name values, please see the help docs.
 
--

4) uhh , actually i ran the command 
maven -Dmaven.username=george
for that user name error , but may be my knowledge itself is at a very 
primary level so i am facing these problems , 
 
anyway i appreciate your concern and effort to sort out my problem , sorry 
for taking your time . and thanks a lot : ) 
bye then,
george.

[EMAIL PROTECTED] wrote:
2) Take a look at : http://wiki.codehaus.org/maven/DirectoryLayout
3) As the log say, you have define the properties : 
maven.appserver.version and maven.appserver.name in your 
project.properties file :
maven.appserver.name=[serveur name]
maven.appserver.version=[server version]
4)
 maven jar --- error
Probably missing properties or invalide project structure or error in src 
code ...
 maven site:deploy
;) ${user.name} is the value of the property who have the key user.name. 
It can be acces 
by maven from files (build.properties, project.properties) or command line 

(the -D option)
I think you better have a look at the site properties and goal : 
http://maven.apache.org/reference/plugins/site/properties.html

Nicolas,





George A 
21/10/2004 09:39
Veuillez répondre à Maven Users List


Pour : [EMAIL PROTECTED] 
, [EMAIL PROTECTED] 

cc : 
Objet : problem with maven


hello friends,
i am facing obstacles in maven and how to use it . i am very much 
new to it just installed it and want a TDK 2.3 project to run using maven. 

but frankly i am a very tough time with it . i have following querries . 
if anyone would suggest a remedy to few/all of them as they can it would 
be truly of great help to me . and very sorry about being so clueless 
about maven : ( .

1) what is equivalent of 'ant' and 'ant init'? ie. how do we create 
application using maven 
? or is it that you create an application in TDK 2.3 and then run it using 

maven ? i have 
successfully created an application in TDK 2.3 usig ant and it is running 
in browser . but 
dont know how to run it in maven.
2) if we can create app using maven how is the directory structure 
supposed to look like ?
3) how to integrate with tomcat ? how to start tomcat from 'within' maven 
?
folloing are the commands i gave and the results

maven appserver:init --- error
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 54
Column 31
--
| Plugin Configuration Error |
--
A required property is missing a value.
Property name: maven.appserver.name
Errors must be corrected before using this plugin.
--
so in the plugin.jelly file specified the appserver name to 'tomcat'
maven appserver:init --- error
BUILD FAILED
File.. C:\Documents and 
Settings\vrishalib\.maven\cache\maven-appserver-plugin-2.0\plugin.jelly
Element... ant:fail
Line.. 54
Column 31

--
| Plugin Configuration Error |

--
A required property is missing a value.
Property name: maven.appserver.version
Errors must be corrected before using this plugin.

--
so gave version as '4.1.x' in plugin.jelly
maven 

Re: Unversioned artifacts

2004-10-12 Thread Nicolas . CHALUMEAU
use maven.final.name to force maven to produce artifact with name like 
${maven.final.name}.ear

Nicolas,





Colin Hawkett [EMAIL PROTECTED]
12/10/2004 13:08
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED] [EMAIL PROTECTED]
cc : 
Objet : Unversioned artifacts


Hi,

 

   We are trying to generate artifacts without maven automatically
appending the version number to the end.  For example, when building an
EAR file, we use a pre-existing application.xml and simply direct it to
be included in the META-INF of the ear.  It is not built at build-time,
so to speak.  This configuration file refers to MyWebApp.war, which is
an artifact produced by the maven build - except that maven is
determined to append the version to the end of the war file.

 

The reason we don't want maven to build the application.xml file is that
WebSphere has already put a module id in the application.xml that is
referred to in other WebSphere specific files.  I am assuming that if
this id is not retained in application.xml then the other parts break.

 

I guess there are a number of possible solutions to my problem

 

1.   My understanding of the module id is wrong, and 
everything would
work just fine if maven generated the application.xml, and put version
numbers on everything
2.   I will need to rename the maven artifact after it is 
created to
remove the version number (yuk!)
3.   Maven has a neat way for me to tell it not to append the 
version
number.

 

Am I looking at this right?  Has anyone got any suggestions for this
one?  Thanks,

 

Colin

 

Colin Hawkett

Technical Architect

Morpheus - eBusiness Solutions

Morpheus Limited, Unit 6, The Courtyard, Eastern Road, Bracknell,
Berkshire, RG12 2XB

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Tel: 01344 458188; Fax: 01344 458189

Web:  http://www.morpheus.co.uk/ http://www.morpheus.co.uk

 






This email and any files transmitted with it contain information that may 
be
confidential or privileged, and are intended solely for the use of the
individual or entity to whom they are addressed. If you are not the 
intended
recipient any disclosure, copying, distribution or use of the information 
is
prohibited. If you have received this email in error, please notify me by
return email immediately. Any opinions expressed are those of the author,
not of Morpheus Limited.


This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre.





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



Re: logging in jelly tags

2004-10-12 Thread Nicolas . CHALUMEAU
Hi Nathan,

Use common-loggin like it's done in the artifact-plugin for example :
http://cvs.apache.org/viewcvs.cgi/maven-plugins/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?rev=1.23view=auto

Nicolas,





Nathan Coast [EMAIL PROTECTED]
12/10/2004 16:44
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: logging in jelly tags


sorry, didn't ask my question very well :)

what code do I have to write in the tags class?  typical log4j / 
commons-logging?

Log myLog = LogFactory.getLog(TagClass.class);

myLog.debug(foobar);
myLog.info(whizbang);

or is there some logger I can call directly like the log() method 
available to ant tasks?

cheers
Nathan

Brett Porter wrote:
 correct.
 
 http://cvs.apache.org/viewcvs.cgi/maven/src/conf/log4j.properties?rev=1.17view=markup
 
 
 On Tue, 12 Oct 2004 16:46:44 +0800, Nathan Coast [EMAIL PROTECTED] 
wrote:
 
Hi,

I have a couple of Jelly tag classes, what's the 'correct' way write log
statements in tag classes.  e.g.
1) info - info that is always logged to stdout
2) debug - info that is displayed with maven -X

cheers
Nathan
--
Nathan Coast
Managing Director
codeczar ltd
mobile: (852) 9049 5581
email:  mailto:[EMAIL PROTECTED]
web:http://www.codeczar.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]
 
 
 

-- 
Nathan Coast
Managing Director
codeczar ltd
mobile: (852) 9049 5581
email:  mailto:[EMAIL PROTECTED]
web:http://www.codeczar.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]



Re: Deploying artifacts: 0 byte files

2004-09-28 Thread Nicolas . CHALUMEAU
This sound like my Problem with dependancies where snapshot are download 
with 0K if they are all ready present on my local repo. Unfurtunatlety no 
body answer me. I am curious to see if your -X trace is same as mine :

Getting URL: 
http://arsodev1:8080/maven-repo/arsoe-socle/jars/socle-util-1.2-SNAPSHOT.jar
sending == If-Modified-Since: mer., 15-sept.-04 16:24:26 GMT
(1095265466000)
Received status code: 200
warning: last-modified not specified
0K downloaded
Local timestamp: 1095265466000
Remote timestamp: 0

Nicolas





Carlos Sanchez [EMAIL PROTECTED]
28/09/2004 01:16
Veuillez répondre à Maven Users List

 
Pour :  'Maven Users List' [EMAIL PROTECTED]
cc : 
Objet : RE: Deploying artifacts: 0 byte files


 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 28, 2004 12:38 AM
 To: Maven Users List
 Subject: RE: Deploying artifacts: 0 byte files
 
 
 I should probably elaborate more...
 
 None of the 0-byte files are symlinks. In addition to the 
 original problem, sometimes the build will say that the 
 artifact has been deployed, but when I go to check the 
 repository, it's not there. I can recall at one point it 
 would take us several builds to get the artifact to show up 
 that first time. Now it seems that sometimes the artifact 
 appears, sometimes it doesn't, and sometimes when it does 
 show up, it's 0 bytes. This really causes lots of issues 
 later as other projects try to get the artifact as a 
 dependency only to get a ZipException because of the file size.

That sounds really extrange and it's the first time I hear something like
that

 
 I will try to delete everything as you suggest to see if that 
 fixes anything. Perhaps there's a way to add a postGoal to 
 maven's deployment process to check the file size after it's 
 done to validate that it got there already? Should this be 
 done by maven out of the box?

It's being done in next versions.

 
 -wr
 
 
 
 
 
 Carlos Sanchez [EMAIL PROTECTED] on 09/27/2004 04:25:34 PM
 
 Please respond to Maven Users List [EMAIL PROTECTED]
 
 To:'Maven Users List' [EMAIL PROTECTED]
 cc: (bcc: Winston Rast/Jeppesen/TMC)
 
 Subject:RE: Deploying artifacts: 0 byte files
 
 
 (Embedded image moved to file: pic04827.jpg) Hi,
 
 Maybe those snapshots are symlinks created with versions 
 previous to 1.0?
 Try the universal solution: Delete them and deploy again.
 
 Regards
 
 Carlos Sanchez
 A Coruña, Spain
 http://www.jroller.com/page/carlossg/Weblog
 
 Oness Project
 http://oness.sourceforge.net
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 28, 2004 12:20 AM
  To: [EMAIL PROTECTED]
  Subject: Deploying artifacts: 0 byte files
 
  We have an issue with maven's handling of artifact 
 deployment to our 
  remote repository. Sometimes (not always), when a new snapshot 
  artifact is generated it doesn't get completely written to 
 the remote 
  repository. The size is 0 bytes. We are using the scp:// 
 protocol. The 
  origin machine is solaris and the destination box is linux. Anyone 
  have thoughts on this or experienced it before? This has been very 
  problematic in our environment because other team members depend on 
  the snapshot artifact almost as soon as it's generated.
 
  Thanks.
  -wr
 
 
  
 -
  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]
 
 
 
 
 
 


-
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]



Re: urgent , executing goals of parent project and sub projects

2004-09-23 Thread Nicolas . CHALUMEAU
First idea

maven -Dgoal=goal1,goal2 multiproject:goal
or 
maven -Dgoal=all multiproject:goal
where the goal all is define in your module and do attainGoal on all your 
maven.xml goals. Need to have a pre/postGoal in that attain the all goal 
of you main project

Nicolas





ashutosh  kumar [EMAIL PROTECTED]
23/09/2004 10:40
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : urgent , executing goals of parent project and sub projects


  
I have project.xml ,project.properties maven.xml  at top level and also 
project.xml , project.properties,maven.xml   at all module levels. How By 
giving one command all the goals specified in these files can be executed?

Regds

Ashutosh 






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



cruisecontrol:configure

2004-09-22 Thread Nicolas . CHALUMEAU
I use cc 2.1.6 with the the 1.5 plugin. It seem I have a probleme with the 
jsl:template tag. I try by setting the properties 
maven.cruisecontrol.template=cruisecontrol or use it with the default value but there 
is no change 
allways the same message.
I probally forgot to set some properties or don't set them with correct 
value.


[EMAIL PROTECTED] ...maven-struts-module-plugin/]$ maven 
cruisecontrol:configure
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

build:start:

scm:parse-connection:
[echo] Using connection: 
scm:cvs:pserver:[EMAIL 
PROTECTED]:/usr/ngasi/contexts/codeczar/cvs:maven-struts-module-plugin
Using SCM method: cvs
Using CVSROOT: 
:pserver:[EMAIL PROTECTED]:/usr/ngasi/contexts/codeczar/cvs
Using module: maven-struts-module-plugin

BUILD FAILED
File.. C:\Documents and 
Settings\PropriÚtaire\.maven\cache\maven-cruisecontrol-plugin-1.5\plugin.jelly
Element... j:include
Line.. 72
Column 51
file:C:/Documents and 
Settings/PropriÚtaire/.maven/cache/maven-cruisecontrol-plugin-1.5/plugin-resources/cruisecontrol.jsl:30:52:
 

jsl:template
  Property 'match' has no write method
Total time: 4 seconds
Finished at: Wed Sep 22 20:56:03 GMT+01:00 2004

So if some one have any idea ...

I solve it temporary by comment the jsl:template tag in the cruisecontrol.jsl but it 
is a very bad thing

Nicolas

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



Re: unit test fail problem

2004-09-22 Thread Nicolas . CHALUMEAU
You just have test faillure look in target/test-reports/*.txt to get them.
Copy test in src for jar:install works of course in that case your test 
classes are not execute just compile (as it is do when you execute your 
test).

Nicolas





jsona laio [EMAIL PROTECTED]
22/09/2004 10:48
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : unit test fail problem


hi, maven:
when i learn how to use maven, via following the steps
in theserverside.com
(http://www.theserverside.com/articles/article.tss?l=MavenMagic),
i encounter a problem. the test files (unit test) does
not compile. therefore, when i issued command maven
jar:install the unit test failed and has the message
followed: 
==BEG

test:test:
[junit] Running net.sf.maven.j2ee.DemoTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time
elapsed: 0.25 sec
[junit] [ERROR] TEST net.sf.maven.j2ee.DemoTest
FAILED

BUILD FAILED
==END

but if i copy the unit test file to the source file
folder, issuing the command java:compile and
jar:install would work. why it doesn't work, even
though i specify the unitTestSourceDirectory tag in
build section in project.xml? whould anyone can tell
me the reasons?
i appreciate it. sincerely.
jason


==project.xml snip ==BEG
...!-- build section --
 build
 
nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
 
sourceDirectory${basedir}/src/java/sourceDirectory
 
unitTestSourceDirectory${basedir}/test/java/unitTestSourceDirectory
 unitTest
 includes
 include**/*Test.java/include
 /includes
 /unitTest
 resources
 resource
 directory${basedir}/src/conf/directory
 includes
 include*.properties/include
 /includes
 /resource
 /resources
 /build
...
==project.xml snip ==END

env=BEG
maven-1.0
XP
env=END


 
 
 
___ALL-NEW Yahoo! 
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.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]



Re: cruisecontrol:configure

2004-09-22 Thread Nicolas . CHALUMEAU
In the MPCRUISECONTROL or MAVEN jira module ?





Brett Porter [EMAIL PROTECTED]
22/09/2004 12:36
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: cruisecontrol:configure


classpath issue. Please post this to JIRA with maven --info output.

- Brett


On Wed, 22 Sep 2004 10:12:13 +0200,
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I use cc 2.1.6 with the the 1.5 plugin. It seem I have a probleme with 
the
 jsl:template tag. I try by setting the properties 
maven.cruisecontrol.template=cruisecontrol or use it with the default 
value but there is no change
 allways the same message.
 I probally forgot to set some properties or don't set them with correct
 value.
 
 [EMAIL PROTECTED] ...maven-struts-module-plugin/]$ maven
 cruisecontrol:configure
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0
 
 build:start:
 
 scm:parse-connection:
 [echo] Using connection:
 
scm:cvs:pserver:[EMAIL 
PROTECTED]:/usr/ngasi/contexts/codeczar/cvs:maven-struts-module-plugin
 Using SCM method: cvs
 Using CVSROOT:
 :pserver:[EMAIL PROTECTED]:/usr/ngasi/contexts/codeczar/cvs
 Using module: maven-struts-module-plugin
 
 BUILD FAILED
 File.. C:\Documents and
 
Settings\PropriÚtaire\.maven\cache\maven-cruisecontrol-plugin-1.5\plugin.jelly
 Element... j:include
 Line.. 72
 Column 51
 file:C:/Documents and
 
Settings/PropriÚtaire/.maven/cache/maven-cruisecontrol-plugin-1.5/plugin-resources/cruisecontrol.jsl:30:52:
 
 jsl:template
   Property 'match' has no write method
 Total time: 4 seconds
 Finished at: Wed Sep 22 20:56:03 GMT+01:00 2004
 
 So if some one have any idea ...
 
 I solve it temporary by comment the jsl:template tag in the 
cruisecontrol.jsl but it is a very bad thing
 
 Nicolas
 
 -
 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]





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



Re: turning off versioning

2004-09-21 Thread Nicolas . CHALUMEAU
try maven.final.name=MyApplication

Nicolas,





jeff mutonho [EMAIL PROTECTED]
21/09/2004 14:49
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : turning off versioning


If I just want to create a jar that's not versioned as 
MyApplication-x.y.jar  but  only as 
MyApplication.jar , how do I specify that?
 
 
jeff mutonho

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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



Problem with dependancies

2004-09-21 Thread Nicolas . CHALUMEAU
I use 2 repo one at ibiblio and one in my local network (linux machine)
For ibiblio I need to use a proxy but not for the local one.

If the snapshot jar is in my ~/.maven/repository (windows machine) them it 
try to download the snapshot and get a 0K jar. But if the jar is not 
presente then the download is correct.

The -X trace (when I get a 0K jar) is the next.

Getting URL: 
http://arsodev1:8080/maven-repo/arsoe-socle/jars/socle-util-1.2-SNAPSHOT.jar
sending == If-Modified-Since: mer., 15-sept.-04 16:24:26 GMT
(1095265466000)
Received status code: 200
warning: last-modified not specified
0K downloaded
Local timestamp: 1095265466000
Remote timestamp: 0

I don't know how interprete this.

Nicolas,

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



Re: stupid newbie

2004-09-17 Thread Nicolas . CHALUMEAU
sourceDirectory is the path to your java src file. It is relative to your 
project directory (ie where project.xml is).
sourceDirectorysrc/main/java/sourceDirectory

Nicolas,





Ben Anderson [EMAIL PROTECTED]
17/09/2004 14:24
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : stupid newbie


After perusing through maven's website for the thousandth time I've 
decided now
is the time for me to switch from ant.  Unfortunately, I've been unable to
crawl so far, let alone walk.  I don't know if I'm not understanding the
documentation or if it's just lacking.  I also have searched through the
mail-archive (although my preferred marc.theaimsgroup.com does not have 
this
list?)

My initial build should be simple.  I just want to compile and jar up some
source files - that should be simple, right?

Here's my pom:
?xml version=1.0?
project default=jar:jar
  pomVersion3/pomVersion
  groupIdmedamerica/groupId
  artifactIdltc/artifactId
  namemedamerica/name
  currentVersion1/currentVersion

  build
sourceDirectoryMedAmerica_Working/sourceDirectory
  /build

/project

so, then I run:

$ maven jar:jar
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

pomVersion3/pomVersiongroupIdmedamerica/groupIdartifactIdltc/artifactIdnamemedamerica/namecurrentVersion1/currentVersionbuildsourceDirectoryMedAmerica_Working/sourceDirectory/buildbuild:start:

java:prepare-filesystem:

java:compile:
[echo] Compiling to d:\vss\src/target/classes
[echo] No java source files to compile.
resources or todir was null

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
[echo] No test source files to compile.

test:test:
[echo] No tests to run.

BUILD FAILED
File.. D:\Documents and
Settings\banderso\.maven\plugins\maven-jar-plugin-1.5\plugin.jelly
Element... ant:fail
Line.. 42
Column 19
You must define currentVersion in your POM.
Total time: 3 seconds
Finished at: Fri Sep 17 08:19:21 EDT 2004

I'm running this from cygwin, so I can cut and paste, but I get the same 
output
from regular DOS prompt.  Sorry, for the simplicity of this question.  If 
you
can at least point me in the right direction to learning...
TIA,
Ben Anderson


-
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]



Re: Eclipse Plugin

2004-09-09 Thread Nicolas . CHALUMEAU
It is not a real problem if you don't have cactus test.

But you can to install the cactus-maven-plugin :
http://jakarta.apache.org/cactus/integration/maven/installing.html

Nicolas,





Christian Mouttet [EMAIL PROTECTED]
09/09/2004 15:23
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : Eclipse Plugin


Hi,

when I run maven eclipse:generate-classpath I do get this output:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Tag library requested that is not present: 'cactus' in plugin: 
'maven-eclipse-plugin-1.8'
cactus:dependency-handle/cactus:dependency-handlebuild:start:

eclipse:generate-classpath:
[echo] Creating /home/cmouttet/workspace/xyz/.classpath ...
Plugin 'cactus-maven' in project 'xyz' is not available
[echo] Setting default output directory to target/classes
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Thu Sep 09 15:19:32 CEST 2004

The file .classpath is generated correctly. What's going wrong?

-Christian

-
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]



Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread Nicolas . CHALUMEAU
Did you define in your build section something like :
  resources
resource
  directorysrc/main/resources/someresources/directory
  includes
include**/*.xml/include
  /includes
/resource
  /resources
and your xml are in 
src/main/resources/someresources/com/mtk/support/logging

Nicolas





jeff mutonho [EMAIL PROTECTED]
08/09/2004 15:19
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Copying some resources to the same directory of compiled classes


Hi
 
I've got some resources(xml files)  that I wish to be copied to the 
destination directory where my compiled classes are placed eg if the 
classes are in 
/target/classes/com/mtk/support/logging , 
then the xml files must also be copied to the same directory(.ie logging ) 
and not 
/target/classes
 
I've tried specifying  destinationDirectory in the resources element , 
but that doesn't seem to work.
 
 
jeff mutonho

 
-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.



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



Réf. : Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread Nicolas . CHALUMEAU
It is normal :) with the directory value you use that meen 
${basedir}/com/mtk/support/logging/**/*.xml are copy to 
/target/classes/**/*.xml
The dir structure of the file who are include is the same that the dir 
structure after the directory value.

  build
sourceDirectory${basedir}/sourceDirectory
resources
  resource
directory${basedir}/directory
includes
  include**/*.xml/include
/includes
excludes
  exclude**/*.java/exclude
/excludes
  /resource
/resources
  /build


I think you should'nt use ${basedir} but place your xml file in a sub 
directory like ie src/main/resources

Nicolas
 
 
jeff mutnho




jeff mutonho [EMAIL PROTECTED]
08/09/2004 15:56
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: Copying some resources to the same directory of compiled classes


yes i defined the following 
build
 sourceDirectory${basedir}/sourceDirectory
resources
  resource
directory${basedir}/com/mtk/support/logging/directory
includes
includes
  include**/*.xml/include
  /includes
/includes
excludes
   exclude**/*.java/exclude
/excludes
  /resource
/resources
/build
 
but the're being copied to the /target/classes directory and not the 
 
/target/classes/com/mtk/support/logging  , where I want them to be.
 
 
jeff mutnho


[EMAIL PROTECTED] wrote:
Did you define in your build section something like :


src/main/resources/someresources

**/*.xml



and your xml are in 
src/main/resources/someresources/com/mtk/support/logging

Nicolas





jeff mutonho 
08/09/2004 15:19
Veuillez répondre à Maven Users List


Pour : Maven Users List 
cc : 
Objet : Copying some resources to the same directory of compiled classes


Hi

I've got some resources(xml files) that I wish to be copied to the 
destination directory where my compiled classes are placed eg if the 
classes are in 
/target/classes/com/mtk/support/logging , 
then the xml files must also be copied to the same directory(.ie logging ) 

and not 
/target/classes

I've tried specifying in the element , 
but that doesn't seem to work.


jeff mutonho


-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.



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


 
-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!



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



Réf. : suppressing goals

2004-09-03 Thread Nicolas . CHALUMEAU
Why don't you use maven.test.skip=true?

Nicolas,





[EMAIL PROTECTED]
03/09/2004 10:39
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : suppressing goals


I'm sure this will trigger many reponses of don't do that!, but 
anyway...

Is there any way to suppress a pre-requisite goal being called?  The 
reason
I ask is that I've got a couple of projects that have no java source or
tests, but when building something ends up invoking test:test, which in 
turn
invokes 6 prerequisite goals.

Now this doesn't cause any harm - it's more the log clutter and wasted 
time
I'm trying to avoid.

Is there a way to suppress it on a per-project basis?

James



For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.




-
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]



Réf. : includes for jar and war

2004-09-02 Thread Nicolas . CHALUMEAU
I see a simple solution for your problem :
make 2 projects one for the jar that don't include any resources
And one for the war that incule your resource and have your jar project as 
dependancy

http://wiki.codehaus.org/maven/WhyYouCantCreateMultipleArtifactsInOneProject

Nicolas





Charles N. Harvey III [EMAIL PROTECTED]
02/09/2004 16:51
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : includes for jar and war


Hello.
When I create a webapp with my project, I want it to include all
of the files in my src/main/resources directory.  But when I
make a jar out of just the code, I do NOT want those files to
be included.  Is there a way to set this up in the project.xml?
Because when I have this:

resource 
directorysrc/main/resources/directory
excludes
exclude**/*.properties/exclude
exclude**/*.xml/exclude
/excludes
   /resource

The files are not included in either.
But when I do this:

resource 
directorysrc/main/resources/directory
includes
include**/*.properties/include
include**/*.xml/include
/includes
   /resource

The files are included in both.  Is there a way for me to be picky?

Thanks a lot.


Charlie



-
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]



Re: struts module maven plugin

2004-09-01 Thread Nicolas . CHALUMEAU
I just start a similar work. I use multiproject to create a webapp 
structure where the web application could be the maven main project or 
only a sub project and the modules are sub project. This part of my plugin 
should work. 

I plan to add the possibility to use war artifact as struts module, unzip 
them .. as you see. I have an other plugin that do the same thing so it 
will not be really are to adapte it.

The plugin isn't online actually because some fonctionnality are not 
finish ! But I start a sourceforge project for it 
http://sourceforge.net/projects/wmplugins/. I can commit the actual state 
if you when to take a look.

Nicolas, 





Nathan Coast [EMAIL PROTECTED]
01/09/2004 05:25
Veuillez répondre à Maven Users List

 
Pour :  struts-user [EMAIL PROTECTED], Maven Users 
[EMAIL PROTECTED]
cc : 
Objet : struts module maven plugin


Hi,

I'm thinking of developing a maven plugin for struts modules.  I want to 
check that this 
isn't being done by anyone else and to get feedback from the struts / 
maven communities.

The idea came from working on LogWeb http://www.codeczar.com/products/logweb/  When 
producing distros I have to produce a number of builds, including 
instructions on how to 
install each of them within your application.

1) standalone web app
2) module for bundling within struts web application
3) module for bundling within non-struts web application

It then occured to me that this process would be made easier if I split 
the project into two:
1) a web application
2) a struts module
It then followed that a struts module maven plugin would be useful to 
automate the process 
of packaging modules and installing them into web applications.

Some possible advantages of this approach to assembling web-applications:
1) automate process of bundling 3rd party web application modules within 
your web-app - 
e.g logweb, pow2acl etc. etc.
2) reduced build size / deploy time.  If you have a large multi-module 
web-app, during 
development you could split your project into modules compiling  
deploying only the 
modules you're currently working on.

what this plugin could do
1) assemble modules and install them in the repo
2) obtain dependent modules and unzip them into a web-app at assembly time
3) modify web.xml to add module init-param

cheers
Nathan

-
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]



  1   2   >