Re: I can't add M2 Project

2005-06-27 Thread Trygve Laugstøl
Answers inline.

On Mon, Jun 27, 2005 at 03:20:59PM +0200, Christian Schlaefcke wrote:
 Hi Folks,
 
 I also have a problem depending on this. When I try to get the URL 
 http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml; 
 which is obviously subversion I get this
 snip
 2005-06-27 15:15:52,718 [PoolThread-0] INFO 
 ContinuumProjectBuilder:maven-two-builder - Downloading 
 http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml
 2005-06-27 15:15:52,937 [PoolThread-0] DEBUG ArtifactResolver - 
 Resolving: org.apache.maven.scm:maven-scm:pom:1.0-alpha-2-SNAPSHOT from:
 {localRepository: [local] - 
 file://C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum/local-repository}
 {remoteRepositories: [[central] - http://repo1.maven.org/maven2]}
 2005-06-27 15:15:52,937 [PoolThread-0] INFO 
 ArtifactTransformation:snapshot - maven-scm: checking for updates from 
 central
 2005-
 06-27 15:15:52,937 [PoolThread-0] INFO WagonManager - Retrieving 
 snapshot information for maven-scm 1.0-alpha-2-SNAPSHOT

Notice this line. It's downloading the parent pom with artifact id
maven-scm and version 1.0-alpha-2-SNAPSHOT.
http://ibiblio.org/maven2/org/apache/maven/scm/maven-scm/1.0-alpha-2-SNAPSHOT/maven-scm-1.0-alpha-2-20050610.043511-1.pom

And this that pom you'll see:

  scm
connectionscm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:maven-scm/connection
developerConnectionscm:cvs:ext:[EMAIL 
PROTECTED]:/home/cvs:maven-scm/developerConnection
urlhttp://cvs.apache.org/viewcvs.cgi/maven-scm/url
  /scm

which should explain why it's going to cvs. We'll update this POM asap.

 2005-06-27 15:15:53,890 [PoolThread-0] INFO 
 ArtifactTransformation:snapshot - maven-scm: resolved to version 
 1.0-alpha-2-20050610.043511-1 from repository central
 java.sql.SQLException: Table not found: SEQUENCE_TABLE in statement 
 [SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME=?]
 at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
 /snip
 followed by a long stacktrace and this:
 
 snip
 2005-06-27 15:15:54,984 [PoolThread-0] INFO RDBMS - Creating table 
 SEQUENCE_TABLE
 2005-06-27 15:15:55,140 [PoolThread-0] ERROR VelocityComponent - RHS of 
 #set statement is null. Context will not be modified. screens/Summary.vm 
 [line 1, column 1]
 2005-06-27 15:15:55,187 [Thread-5] INFO ContinuumScm - Checking out 
 project: 'Maven SCM Test', id: '1' to 
 'C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1'.
 cl = cvs -f -d :pserver:[EMAIL PROTECTED]:/home/cvspublic -q 
 checkout -d 1 maven-scm
 2005-06-27 15:15:55,218 [Thread-5] DEBUG CvsCommand:check-out - Working 
 directory: 
 C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
 2005-06-27 15:15:55,218 [Thread-5] DEBUG CvsCommand:check-out - Command 
 line: cvs -f -d :pserver:[EMAIL PROTECTED]:/home/cvspublic -q 
 checkout -d 1 maven-scm
 2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Error while 
 checking out the code for project: 'Maven SCM Test', id: '1' to 
 'C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1'.
 2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Command output: 
 cvs checkout: 
 cwd=C:\Programme\Java\continuum-1.0-alpha-2\apps\continuum\temp 
 ,current=C:\Programme\Java\continuum-1.0-alpha-2\apps\continuum\temp
 cvs server: cannot find module `maven-scm' - ignored
 cvs [checkout aborted]: cannot expand modules
 
 2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Provider message: 
 The cvs command failed.
 /snip
 
 Why is it trying to get it from cvs when it is an svn repository? Looks 
 like it´s redirecting me somehow. What am I missing/doing wrong?
 
 Thanks  Regards,
 
 Christian

--
Trygve


signature.asc
Description: Digital signature


Maven dist for a webapp

2005-06-27 Thread Xavier de Labouret


Hello maven-users,

I would like to use Maven (1.02) for a production environment involving 
mostly Tomcat servers.


My intention was to use the distribution plugin to upload an archive 
with both the docs and the .war file for a webapp. However the
maven dist target packs an archive with a jar file, and i could not 
find a property that would let me build the archive with a war file 
instead of a jar file.


Using maven war:dist is not a good solution for me, because i need to 
provide the docs with the webapp.


Is there a simple way (maven.xml, ...) to build a tar.gz file with a 
.war and the docs? Or should i write my own plugin?


Best thanks

Xavier de Labouret

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



Re: Maven dist for a webapp

2005-06-27 Thread Michael Niemaz

This is exactly what we do here.

To do so, we run maven war goals (multiproject here...) and then copy 
the generated war file(s) through the dist:prepare-bin-filesystem 
postgoal such as:

   !-- copying war files in distrib --
   maven:reactor basedir=${basedir} 
excludes=*/project.xml includes=smartdocument.services/*/project.xml 
postProcessing=true collectOnly=true collectionVar=multiprjs 
ignoreFailures=false /

   j:forEach var=project items=${multiprjs}
   echoCopying 
${project.getContext().getVariable(maven.build.dir)}/${project.getArtifactId()}.war 
to ${maven.dist.bin.assembly.dir}/echo
   copy 
file='${project.getContext().getVariable(maven.build.dir)}/${project.getArtifactId()}.war' 
tofile=${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war /

   /j:forEach

and also don't forget to delete the generated jar file:
   delete file=${maven.dist.bin.assembly.dir}/${maven.final.name}.jar /

As for the docs, same mechanism and still in this postgoal.

HTH,

--mike

Xavier de Labouret wrote:



Hello maven-users,

I would like to use Maven (1.02) for a production environment 
involving mostly Tomcat servers.


My intention was to use the distribution plugin to upload an archive 
with both the docs and the .war file for a webapp. However the
maven dist target packs an archive with a jar file, and i could not 
find a property that would let me build the archive with a war file 
instead of a jar file.


Using maven war:dist is not a good solution for me, because i need to 
provide the docs with the webapp.


Is there a simple way (maven.xml, ...) to build a tar.gz file with a 
.war and the docs? Or should i write my own plugin?


Best thanks

Xavier de Labouret

-
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 2 and JAXB

2005-06-27 Thread Adam Hardy

Geoffrey on 26/06/05 14:23, wrote:

In CVS there is a version of the SF JAXB plugin from for maven 1 that should
work with jaxb of jswdp 1.5.

I would release it in a few hours, just fixing some small issue brett send
me.

Suggesions are welcome :)



You mean you are the keeper of that JAXB plugin?

About six months ago I did a small project that used JAXB and I looked 
at the plugin, but it doesn't allow the use of many of the features of 
JAXB versions after 1.0 or 1.1 (I'm no longer sure).


I implemented several of the JAXB features that I needed. All I remember 
now is that I contacted or tried to contact the plugin keeper, in an 
attempt to share the code. Did you pick up on that?


http://marc.theaimsgroup.com/?l=turbine-maven-userm=111226959922379w=2


Regards
Adam

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



RE: [M-1.0.2] [cactus] [multiproject] Can not cactify in multiproject environnement

2005-06-27 Thread Raphaël Piéroni
Hi Vincent,

Here is the extract  of the multi-project for the cactus part : 


BEGIN 
[echo] Generating the Cactus Unit Tests...
preparing goal: cactus:report
execution chain: [[Goal: name=cactus:report]; precursor=[]]]
dynatag dependencies: [
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-xdoc-plugin-1.9\plugin.jelly
 project = Maven XDoc Plug-in
 script =
[EMAIL PROTECTED];at=33:59], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-pom-plugin-1.4.1\plugin.jelly
 project = Maven POM Plugin
 script =
[EMAIL PROTECTED];at=27:29], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly
 project = Maven Artifact Plugin
 script =
[EMAIL PROTECTED];at=29:4], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
 project = Maven Test Plug-in
 script =
[EMAIL PROTECTED];at=24:60]]
final list of plugins to prepare: []
preparing goal: cactus:test
execution chain: [[Goal: name=cactus:check-plugin-dependencies];
precursor=[]], [Goal: name=cactus:init]; precursor=[[Goal:
name=cactus:check-plugin-dependencies]; precursor=[, [Goal:
name=cactus:test]; precursor=[[Goal: name=cactus:init];
precursor=[[Goal: name=cactus:check-plugin-dependencies];
precursor=[]]]
goal cactus:test has preGoal decorators [
 source =
C:\RPI\CVSLOCAL\project-englober\subproject\war-project\maven.xml
 project = KCP : 05 Web application
 script =
[EMAIL PROTECTED];at=6:24]]
dynatag dependencies: [
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-xdoc-plugin-1.9\plugin.jelly
 project = Maven XDoc Plug-in
 script =
[EMAIL PROTECTED];at=33:59], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-pom-plugin-1.4.1\plugin.jelly
 project = Maven POM Plugin
 script =
[EMAIL PROTECTED];at=27:29], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly
 project = Maven Artifact Plugin
 script =
[EMAIL PROTECTED];at=29:4], 
 source = C:\Documents and
Settings\raphael\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
 project = Maven Test Plug-in
 script =
[EMAIL PROTECTED];at=24:60]]
final list of plugins to prepare: []
Plugin context for maven-war-plugin already initialised for this base
context
Plugin context for maven-ejb-plugin already initialised for this base
context
Plugin context for maven-war-plugin already initialised for this base
context
Plugin context for maven-war-plugin already initialised for this base
context
Plugin context for maven-ejb-plugin already initialised for this base
context
Plugin context for maven-ejb-plugin already initialised for this base
context
cactus:report:
cactus:check-plugin-dependencies:

cactus:init:
Overriding previous definition of reference to cactus.classpath
[DEBUG] Adding reference: cactus.classpath - 
[taskdef] [VERBOSE] Loading definitions from resource cactus.tasks
[taskdef] [DEBUG] Couldn't load ResourceStream for cactus.tasks
[taskdef] Could not load definitions from resource cactus.tasks. It
could not be found.
[taskdef] [DEBUG] Class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from
parent loader
[taskdef] [VERBOSE] Ignoring override for task junit, it is already
defined by the same class.
Overriding previous definition of reference to cactus.scanner.classpath
[DEBUG] Adding reference: cactus.scanner.classpath - 

[SNIP...]

cactifywar
destfile=C:\RPI\CVSLOCAL\project-englober\subproject\war-project/target/kioskcontactplus-cactus.war
version=2.3classes
dir=C:\RPI\CVSLOCAL\project-englober\subproject\war-project/target/test-cactus-classes/classesfilterredirector
mapping=/test/filterRedirector.jsp/filterredirectorclasses
dir=C:\Documents and
Settings\raphael\.maven\cache\cactus-maven-1.7\plugin-resources/jboss3xinclude
if=cactus.home.jboss3x
name=*.properties/include/classeswebinf dir=C:\Documents and
Settings\raphael\.maven\cache\cactus-maven-1.7\plugin-resources/jboss3xinclude
if=cactus.home.jboss3x name=jboss-web.xml/include/webinflib
file=/liblib file=C:\Documents and
Settings\raphael/.maven/repository\httpunit\jars\httpunit-1.6.jar/liblib
file=C:\Documents and
Settings\raphael/.maven/repository\junit\jars\junit-3.8.1.jar/lib/cactifywar
cactus:test-war:
[DEBUG] fileset: Setup scanner in dir
C:\RPI\CVSLOCAL\project-englober\subproject\war-project\target\test-cactus-classes
with patternSet{ includes: [**/*Test*.class] excludes:
[**/All*Test*.class,**/Test*All.class] }
cactus fork=yes failureproperty=cactustests.failure
warfile=C:\RPI\CVSLOCAL\project-englober\subproject\war-project/target/kioskcontactplus-cactus.war
printsummary=withOutAndErr
errorproperty=cactustests.errorclasspathpathelement
path=C:\RPI\CVSLOCAL\project-englober\subproject\war-project/target/classes/pathelementpathelement
location=C:\RPI\CVSLOCAL\project-englober\subproject\war-project/target/test-cactus-classes/pathelement/classpathcontainersetjboss3x
config=default

m2: Getting started...

2005-06-27 Thread Christian Schlaefcke

Hi Folks,

I just tried the getting-started part of m2 and it seems to work. Know I 
wonder what I have to do to get my own projekt get organized under maven.


It seems like the getting-startet part just covers how to retrieve 
existing projects from an existing m2 repository. I found that I have a 
.m2/repository in my homedir, which seems to be my local repository. I 
tried to copy my project with a corresponding pom-file to this location 
and ran:

m2 archetype:create -DgroupId=com.really.my.app -DartifactId=definatelyMyApp

All I get is the dummy application I previously received when running:
m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

So what am I missing, when creating my own repo with my (really) own 
applications? Looks like I am totally on the wrong way :-(


Thanks  Regards,

Christian

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



provided dependency scope

2005-06-27 Thread JWiegman
I'm trying to figure out the correct approach here, and I may have also
stumbled upon a bug...  

I'm using the provided scope for declaring dependencies, and I'm noticing
that these libraries aren't included in the TEST classpath, so none of my
tests compile.  I tried adding the same dependencies again with a test
scope, but it appears a dependency can only be loaded in one scope.  When I
add the dependencies as compile scope, everything works just fine, but
then these huge jar files get put into my distribution jars when I package
them, so that's not the scope I want either.

Does anyone have advice on how to get around this?  Or is it a bug?

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



Unit test report - failure details

2005-06-27 Thread jean-marc . bottin
Hi all,

I am wondering why junit is sometimes able to give the reason of the
failure and sometimes it won't.
For instance in the report generate by JUnit in the failure details part I
will get:

testDuplicateAugb
   
 e 
 x 
 p 
 e 
 c 
 t 
 e 
 d 
 : 
  
 C 
 O 
 M 
 P 
  
 b 
 u 
 t 
 w 
 a 
 s 
 : 
  
 R 
 E 
 J 
 T 
  
 ( 
 T 
 h 
 e 
 r 
 e 
 a 
 s 
 o 
 n 
 ) 
   
 j 
 u 
 n 
 i 
 t 
 . 
 f 
 r 
 a 
 m 
 e 
 w 
 o 
 r 
 k 
 . 
 A 
 s 
 s 
 e 
 r 
 t 
 

Error when running maven-jdepend-report

2005-06-27 Thread Dário Luís Coneglian Oliveros
Hi there.

I just installed maven 1.1 beta 1, but I am having a problem when running the 
jdepend report.
I have no clue what could be the cause, since it was working on 1.0.2.
Please find below the exception I am getting:

Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.Exception: 
size() : null arg
java.lang.Exception: size() : null arg
at 
org.apache.commons.jexl.parser.ASTSizeFunction.value(ASTSizeFunction.java:64)
at org.apache.commons.jexl.parser.ASTEQNode.value(ASTEQNode.java:48)
at 
org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47)
at 
org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
at 
org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71)
at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:44)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)

at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
.
...
.

I would appreciate any help.
Thanks,

Dário



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



RE: provided dependency scope

2005-06-27 Thread Mike Perham
I noticed the same thing.  It's a bug.  See also
http://jira.codehaus.org/browse/MNG-514.

mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 27, 2005 9:08 AM
To: users@maven.apache.org
Subject: provided dependency scope

I'm trying to figure out the correct approach here, and I may have also
stumbled upon a bug...  

I'm using the provided scope for declaring dependencies, and I'm
noticing that these libraries aren't included in the TEST classpath, so
none of my tests compile.  I tried adding the same dependencies again
with a test
scope, but it appears a dependency can only be loaded in one scope.
When I add the dependencies as compile scope, everything works just
fine, but then these huge jar files get put into my distribution jars
when I package them, so that's not the scope I want either.

Does anyone have advice on how to get around this?  Or is it a bug?

-
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: Getting started...

2005-06-27 Thread Yann LE DU
Hi Christian,

An easy way to install your project in the repository
is the install Maven goal.

Change to your Maven project directory and type :
m2 install

This will compile your project then copy the resulting
build (the jar, or whatever) to your .m2/repository
directory.

Regards,

Yann



-- Mail d'origine ---

 De : quot;Christian Schlaefckequot;
[EMAIL PROTECTED]
 A  : quot;Maven Users Listquot;
users@maven.apache.org
 Cc :
 Date   : Mon, 27 Jun 2005 15:51:23 +0200
 Objet  : m2: Getting started...



-Hi Folks,
-
-I just tried the getting-started part of m2 and it
seems to work. Know I
-wonder what I have to do to get my own projekt get
organized under maven.
-
-It seems like the getting-startet part just covers how
to retrieve
-existing projects from an existing m2 repository. I
found that I have a
-.m2/repository in my homedir, which seems to be my
local repository. I
-tried to copy my project with a corresponding pom-file
to this location
-and ran:
-m2 archetype:create -DgroupId=com.really.my.app
-DartifactId=definatelyMyApp
-
-All I get is the dummy application I previously
received when running:
-m2 archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app
-
-So what am I missing, when creating my own repo with
my (really) own 
-applications? Looks like I am totally on the wrong way :-(
-
-Thanks  Regards,
-
-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: I can't add M2 Project

2005-06-27 Thread Emmanuel Venisse
06-27 15:15:52,937 [PoolThread-0] INFO WagonManager - Retrieving 
snapshot information for maven-scm 1.0-alpha-2-SNAPSHOT



Notice this line. It's downloading the parent pom with artifact id
maven-scm and version 1.0-alpha-2-SNAPSHOT.
http://ibiblio.org/maven2/org/apache/maven/scm/maven-scm/1.0-alpha-2-SNAPSHOT/maven-scm-1.0-alpha-2-20050610.043511-1.pom

And this that pom you'll see:

  scm
connectionscm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:maven-scm/connection
developerConnectionscm:cvs:ext:[EMAIL 
PROTECTED]:/home/cvs:maven-scm/developerConnection
urlhttp://cvs.apache.org/viewcvs.cgi/maven-scm/url
  /scm

which should explain why it's going to cvs. We'll update this POM asap.



The pom is fixed.

Emmanuel



increment a value in jelly

2005-06-27 Thread jean-marc . bottin
Hi all,

I'm trying to increment a value in maven.

I tried the follwoing code:

j:set var=inCL value=1/
j:set var=inCL value=${context.getVariable('inCL')}+1/

But this gives me 1+1 as a string. I would like to get the 1+1= 2.
I should convert the string to the int but I don't know how.

Any ideas?

Jean-Marc




This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

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



Cannot evaluate expression exception on jar:install with 1.1-beta-1

2005-06-27 Thread Brian Moseley


using 1.1-beta-1, jar:install generates a Cannot evaluate expression 
exception caused by a NumberFormatException thrown by 
Project.isPomCurrent. project.xml is attached.


ps: this is my first post to the maven list. is more appropriate to send 
these things to the list or to open jira issues?



[EMAIL PROTECTED]:~/work/osaf/commons/struts  maven jar:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

build:start:

java:prepare-filesystem:

java:compile:
[echo] Compiling to /Users/bcm/work/osaf/commons/struts/target/classes

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.

jar:jar:

jar:install:
[echo] Installing...
Uploading to osaf-commons/jars/osaf-commons-struts-0.2.jar:
 (8K)
[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
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.apache.commons.betwixt.expression.MethodExpression.evaluate(MethodExpression.java:96)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:658)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:481)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:643)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:481)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:242)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:162)

at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:217)
	at 
org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.java:135)
	at 
org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.java:57)
	at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInstall(DefaultArtifactDeployer.java:174)
	at 
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.install(DefaultArtifactDeployer.java:143)
	at 
org.apache.maven.artifact.deployer.DeployBean.install(DeployBean.java:160)

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.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:180)
	at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102)

at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
	at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
	at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)

at org.apache.maven.werkz.Goal.fire(Goal.java:656)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
	at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)

at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
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 com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:436)
at java.lang.Integer.parseInt(Integer.java:518)
at org.apache.maven.project.Project.isPomCurrent(Project.java:486)
... 43 more
Uploading to osaf-commons/poms/osaf-commons-struts-0.2.pom:
 (2K)
BUILD SUCCESSFUL
Total time   : 5 seconds
Finished at  : Monday, June 27, 2005 10:40:38 AM PDT
?xml version=1.0 encoding=UTF-8?

!--
   Copyright 2005 

Re: maven 2 and JAXB

2005-06-27 Thread Maven User
How about for Maven 2?

On 6/27/05, Adam Hardy [EMAIL PROTECTED] wrote:
 Geoffrey on 26/06/05 14:23, wrote:
  In CVS there is a version of the SF JAXB plugin from for maven 1 that should
  work with jaxb of jswdp 1.5.
 
  I would release it in a few hours, just fixing some small issue brett send
  me.
 
  Suggesions are welcome :)
 
 
 You mean you are the keeper of that JAXB plugin?
 
 About six months ago I did a small project that used JAXB and I looked
 at the plugin, but it doesn't allow the use of many of the features of
 JAXB versions after 1.0 or 1.1 (I'm no longer sure).
 
 I implemented several of the JAXB features that I needed. All I remember
 now is that I contacted or tried to contact the plugin keeper, in an
 attempt to share the code. Did you pick up on that?
 
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=111226959922379w=2
 
 
 Regards
 Adam
 
 -
 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]



artifact:artifact-install error with 1.1-beta-1

2005-06-27 Thread Brian Moseley


using 1.1-beta-1, artifact:artifact-install fails on 
Dependency.setProperties.



[EMAIL PROTECTED]:~/work/osaf/commons/jackrabbit/importer  maven -D  
maven.test.skip=t

rue jar:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

Attempting to download jackrabbit-0.16.4.1-dev-SNAPSHOT.jar.
build:start:

java:prepare-filesystem:

java:compile:
[echo] Compiling to 
/Users/bcm/work/osaf/commons/jackrabbit/importer/target/classes


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:

jar:jar:

jar:install:
[echo] Installing...
Uploading to osaf-commons/jars/osaf-commons-jackrabbit-0.1.jar:
 (9K)

BUILD FAILED
File.. /Users/bcm/.maven/cache/maven-artifact-plugin-1.5.2/plugin.jelly
Element... artifact:artifact-install
Line.. 62
Column -1
org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
Total time   : 20 seconds
Finished at  : Monday, June 27, 2005 10:53:45 AM PDT

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



possible dependency conflict when executing plugin with 1.1-beta-1

2005-06-27 Thread Brian Moseley


using 1.1-beta-1, i get a NoSuchMethodError for a commons-collections 
class when a jackrabbit class (NodeState) is being initialized.


this doesn't happen when building or testing jackrabbit itself, only 
when i am executing a goal in my maven plugin that uses jackrabbit.


any thoughts on what might be going wrong?

this smells like a dependency conflict, but the only commons-collection 
jar in my maven repository is 3.1.


the full output of maven -X is at this url:

http://leilani.osafoundation.org/~bcm/jackrabbit-plugin-exception.txt

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



Re: artifact:artifact-install error with 1.1-beta-1

2005-06-27 Thread Mark Hobson
See http://jira.codehaus.org/browse/MAVEN-1625

On 27/06/05, Brian Moseley [EMAIL PROTECTED] wrote:
 
 using 1.1-beta-1, artifact:artifact-install fails on
 Dependency.setProperties.
 
 [EMAIL PROTECTED]:~/work/osaf/commons/jackrabbit/importer  maven -D 
 maven.test.skip=t
 rue jar:install
   __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1
 
 Attempting to download jackrabbit-0.16.4.1-dev-SNAPSHOT.jar.
 build:start:
 
 java:prepare-filesystem:
 
 java:compile:
  [echo] Compiling to
 /Users/bcm/work/osaf/commons/jackrabbit/importer/target/classes
 
 java:jar-resources:
 
 test:prepare-filesystem:
 
 test:test-resources:
 
 test:compile:
 
 test:test:
 
 jar:jar:
 
 jar:install:
  [echo] Installing...
 Uploading to osaf-commons/jars/osaf-commons-jackrabbit-0.1.jar:
  (9K)
 
 BUILD FAILED
 File.. /Users/bcm/.maven/cache/maven-artifact-plugin-1.5.2/plugin.jelly
 Element... artifact:artifact-install
 Line.. 62
 Column -1
 org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
 Total time   : 20 seconds
 Finished at  : Monday, June 27, 2005 10:53:45 AM PDT
 
 -
 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: artifact:artifact-install error with 1.1-beta-1

2005-06-27 Thread Brian Moseley

Mark Hobson wrote:

See http://jira.codehaus.org/browse/MAVEN-1625


ah yes. searching jira apparently didn't come up in my brain today. 
thanks for the pointer.



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



urgent: maven stopped generating xdoclet files altogether.

2005-06-27 Thread Mick Knutson
My ejb subproject was generating all teh xdoclet files, now nothing gets 
generated.

Here are my pertinant files:

maxe.xml:

project
 default=ice-dist
 xmlns:j=jelly:core
 xmlns:u=jelly:util

preGoal name=java:compile
attainGoal name=xdoclet:ejbdoclet/
/preGoal

goal name=ice-dist
attainGoal name=ejb:install/
/goal


/project


PROJECTPROPERTIES:
==
maven.multiproject.type=ejb


maven.xdoclet.ejbdoclet.entitybmp.0=false
maven.xdoclet.ejbdoclet.entitycmp.0=true
maven.xdoclet.ejbdoclet.entityfacade.0=true
maven.xdoclet.ejbdoclet.entitypk.0=true
maven.xdoclet.ejbdoclet.homeinterface.0=true
maven.xdoclet.ejbdoclet.localhomeinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true

maven.xdoclet.ejbdoclet.websphere.0=true
maven.xdoclet.ejbdoclet.websphere.0.xmlencoding=UTF-8
maven.xdoclet.ejbdoclet.websphere.0.validateXML=true

#maven.xdoclet.ejbdoclet.weblogic.0=true
#maven.xdoclet.ejbdoclet.weblogic.0.DatabaseType=ORACLE
#maven.xdoclet.ejbdoclet.weblogic.0.Version=8.1
#maven.xdoclet.ejbdoclet.weblogic.0.Createtables=false
#maven.xdoclet.ejbdoclet.weblogic.0.ValidateDbSchemaWith=TableQuery
#maven.xdoclet.ejbdoclet.weblogic.0.xmlencoding=UTF-8
#maven.xdoclet.ejbdoclet.weblogic.0.validateXML=true

maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.fileset.0.sourcedir=${basedir}/src/java

maven.jar.manifest.classpath.add=true
#maven.final.name=${pom.artifactId}

maven.ejb.classpath=.



part of my PROJECT.XML:
=
   build
   resources
   resource
   
directory${maven.xdoclet.ejbdoclet.destDir}/META-INF/directory

   includes
   include*.xml/include
   /includes
   targetPathMETA-INF/targetPath
   /resource
   resource
   directory${maven.xdoclet.ejbdoclet.destDir}/directory
   includes
   include*.xml/include
   /includes
   targetPathMETA-INF/targetPath
   /resource
   /resources
   /build


Part of 1 SLSB in this subproject:
==
/**
* Bean implementation class for Enterprise Bean: PropertiesManagerBean
*
* @ejb.bean name=ConsumerManager
*   display-name=Properties Manager Generator Session Bean
*   type=Stateless
*   view-type=both
*   jndi-name=ejb/com.blackhawk.ff.consumer.impl.PropertiesManager
*   
local-jndi-name=local/com.blackhawk.ff.consumer.impl.ConsumerManagerLocal

*
* @ --jboss.container-configuration name=Standard Stateless SessionBean
*
* @ejb.util generate=physical
*
* @ejb.transaction type=Supports
* @ejb.transaction-type type=Container
*
* @ejb.permission unchecked=true
*
*/
public class ConsumerManagerBean implements javax.ejb.SessionBean{
.








Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



RE: postGoal execution conditions

2005-06-27 Thread Michael Deck
Rod - 
 
Thanks for the idea, but it seems like this is just a work around specific to 
the test goal.  For instance, what if I want to do the same thing for the 
java:compile goal?  There isn't an ignore compile errors properties on the java 
plug-in is there? (please correct me if I am wrong)  So this same solution 
wouldn't work.
 
It seems to me that the goal processing framework should provide some mechanism 
for executing tasks after a goal regardless of it's outcome.  And as I said 
before, the documentation on the Werkz project describes a postGoal as being 
exactly that, so I'm wondering why it doesn't seem to work that way in Maven.  
And, if a postGoal indeed does not execute when the parent goal fails, what is 
the difference between a postGoal and a postAction?
 
Thanks again.
-Mike



From: Rod Coffin [mailto:[EMAIL PROTECTED]
Sent: Sat 6/25/2005 10:57 AM
To: Maven Users List
Subject: Re: postGoal execution conditions



Mike,
 You can accomplish this by setting the maven.test.failure.ignore property
to true in your project.properties and then using the following jelly script
in your maven.xml file:
 project xmlns:j=jelly:core
postGoal name=test:test
echo message=In the postGoal /
j:if test=${maven.test.failure}
echo message=Test failure/
fail message=There were unit test failures/
/j:if
/postGoal
/project
 I hope this helps!
 Rod
 On 6/24/05, Michael Deck [EMAIL PROTECTED] wrote:

 Hello All -

 I am trying to understand exactly how and when postGoals are executed.
 Based on reading the werkz project documentation it seems that a postGoal
 should be executed regardless of the success of failure of the goal upon
 which it acts, but this does not seem to be the case. I've set up a very
 simple example to illustrate.

 First I set up a new maven project using genapp and the default template.
 Then I added a test in AppTest.java that will always fail.

 Now when I call maven test I get a build failed message as expected.

 Next I added the following to maven.xml

 project
 postGoal name=test:test
 echo message=In the postGoal /
 /postGoal
 /project

 Now I would expect to see this message echoed after the junit tests are
 run but this is not the case.

 Is my understanding of postGoals wrong, or am I missing something in the
 implementation? If it is true that a postGoal does not execute if the parent
 goal fails, then is is possible to get maven to execute a goal after running
 tests even if they do fail (e.g. copy some output files to a log
 directory)?

 Any explination would be much appreciated.

 Thanks,
 Mike

 -
 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: maven stopped generating xdoclet files altogether.

2005-06-27 Thread Mick Knutson
I also wanted to state that this was working. The only thing I added was the 
websphere lines (3), and then it stopped generating anything. And now I have 
actually taken the websphere tags out, and it still does not generate 
anything.
I have a demo in the morning for this application to show I can use maven to 
generate our EJB's, and this is definately throwing a span in the works for 
me.


Thanks in advance for your help on this matter...





From: Mick Knutson [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: users@maven.apache.org, xdoclet-user@lists.sourceforge.net
Subject: urgent: maven stopped generating xdoclet files altogether.
Date: Mon, 27 Jun 2005 12:28:34 -0700

My ejb subproject was generating all teh xdoclet files, now nothing gets 
generated.

Here are my pertinant files:

maxe.xml:

project
 default=ice-dist
 xmlns:j=jelly:core
 xmlns:u=jelly:util

preGoal name=java:compile
attainGoal name=xdoclet:ejbdoclet/
/preGoal

goal name=ice-dist
attainGoal name=ejb:install/
/goal


/project


PROJECTPROPERTIES:
==
maven.multiproject.type=ejb


maven.xdoclet.ejbdoclet.entitybmp.0=false
maven.xdoclet.ejbdoclet.entitycmp.0=true
maven.xdoclet.ejbdoclet.entityfacade.0=true
maven.xdoclet.ejbdoclet.entitypk.0=true
maven.xdoclet.ejbdoclet.homeinterface.0=true
maven.xdoclet.ejbdoclet.localhomeinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true

maven.xdoclet.ejbdoclet.websphere.0=true
maven.xdoclet.ejbdoclet.websphere.0.xmlencoding=UTF-8
maven.xdoclet.ejbdoclet.websphere.0.validateXML=true

#maven.xdoclet.ejbdoclet.weblogic.0=true
#maven.xdoclet.ejbdoclet.weblogic.0.DatabaseType=ORACLE
#maven.xdoclet.ejbdoclet.weblogic.0.Version=8.1
#maven.xdoclet.ejbdoclet.weblogic.0.Createtables=false
#maven.xdoclet.ejbdoclet.weblogic.0.ValidateDbSchemaWith=TableQuery
#maven.xdoclet.ejbdoclet.weblogic.0.xmlencoding=UTF-8
#maven.xdoclet.ejbdoclet.weblogic.0.validateXML=true

maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.fileset.0.sourcedir=${basedir}/src/java

maven.jar.manifest.classpath.add=true
#maven.final.name=${pom.artifactId}

maven.ejb.classpath=.



part of my PROJECT.XML:
=
   build
   resources
   resource
   
directory${maven.xdoclet.ejbdoclet.destDir}/META-INF/directory

   includes
   include*.xml/include
   /includes
   targetPathMETA-INF/targetPath
   /resource
   resource
   directory${maven.xdoclet.ejbdoclet.destDir}/directory
   includes
   include*.xml/include
   /includes
   targetPathMETA-INF/targetPath
   /resource
   /resources
   /build


Part of 1 SLSB in this subproject:
==
/**
* Bean implementation class for Enterprise Bean: PropertiesManagerBean
*
* @ejb.bean name=ConsumerManager
*   display-name=Properties Manager Generator Session Bean
*   type=Stateless
*   view-type=both
*   
jndi-name=ejb/com.blackhawk.ff.consumer.impl.PropertiesManager
*   
local-jndi-name=local/com.blackhawk.ff.consumer.impl.ConsumerManagerLocal

*
* @ --jboss.container-configuration name=Standard Stateless SessionBean
*
* @ejb.util generate=physical
*
* @ejb.transaction type=Supports
* @ejb.transaction-type type=Container
*
* @ejb.permission unchecked=true
*
*/
public class ConsumerManagerBean implements javax.ejb.SessionBean{
.








Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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




Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



Clover plugin question - how to use clover1.3.8.jar

2005-06-27 Thread Tim Dyck
Where can I download the maven clover snapshot 1.10 - I need to be able to use 
version 1.3.8 of clover and there is now way for me to use this version - ie 
since one cannot specify what JAR they want to use in the properties file. Any 
help would be greatly appreciated.
Thanks,
Tim.


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



RE: urgent: maven stopped generating xdoclet files altogether.

2005-06-27 Thread Mick Knutson

Here is the output when I run the -X flag:
==

C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subprojectmaven 
-X xdoclet:ejbdoclet

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Initializing Plugins!
Set plugin source directory to C:\Maven_1.0.2\plugins
Set unpacked plugin directory to C:\Documents and 
Settings\mknut01\.maven\cache
Set user plugin directory to C:\Documents and 
Settings\mknut01\.maven\plugins

Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-cruisecontrol-plugin-1.6'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-checkstyle-plugin-2.5'
Loading plugin 'maven-file-activity-plugin-1.5.1'
Loading plugin 'maven-jellydoc-plugin-1.3.1'
Loading plugin 'maven-ear-plugin-1.6'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.2'
Loading plugin 'maven-jar-plugin-1.6.1'
Loading plugin 'maven-developer-activity-plugin-1.5.1'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6.1'
Loading plugin 'maven-javadoc-plugin-1.7'
Loading plugin 'maven-linkcheck-plugin-1.3.4'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.9'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-plugin-plugin-1.5.2'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.2'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.3'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-eclipse-plugin-1.9'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-dashboard-plugin-1.6'
Loading plugin 'maven-scm-plugin-1.4.1'
Loading plugin 'maven-clover-plugin-1.6'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-war-plugin-1.6.1'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.8.1'
Loading plugin 'maven-multiproject-plugin-1.4.1'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-changes-plugin-1.5.1'
Loading plugin 'maven-j2ee-plugin-1.5.1'
Loading plugin 'maven-release-plugin-1.4.1'
Loading plugin 'maven-abbot-plugin-1.1'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-pmd-plugin-1.6'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-xdoclet-plugin-1.2.3'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-axis-plugin-0.7'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.2'
Loading plugin 'maven-hibernate-plugin-1.2'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.2'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-xdoclet2-plugin-1.0-SNAPSHOT'
Loading plugin 'maven-java-plugin-1.5'
Loading plugin 'maven-pdf-plugin-2.2.1'
Loading plugin 'maven-html2xdoc-plugin-1.3.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3.1'
Loading plugin 'maven-jnlp-plugin-1.4.1'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4.1'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: C:\Documents and 
Settings\mknut01\build.properties
Using projectPropertiesFile: 
C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subproject\project.properties
Using projectBuildPropertiesFile: 
C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subproject\build.properties
Using userBuildPropertiesFile: C:\Documents and 
Settings\mknut01\build.properties
Using projectPropertiesFile: 
C:\opt\local\blackhawk\fastforward\project.properties
Using projectBuildPropertiesFile: 
C:\opt\local\blackhawk\fastforward\build.properties
pushing on [EMAIL PROTECTED] over 
[EMAIL PROTECTED] in 
blackhawk:consumerManagerEJB
[DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and 

RE: Clover plugin question - how to use clover1.3.8.jar

2005-06-27 Thread Vincent Massol
Hi Tim,

 -Original Message-
 From: Tim Dyck [mailto:[EMAIL PROTECTED]
 Sent: lundi 27 juin 2005 21:48
 To: users@maven.apache.org
 Subject: Clover plugin question - how to use clover1.3.8.jar
 
 Where can I download the maven clover snapshot 1.10 - I need to be able to
 use version 1.3.8 of clover and there is now way for me to use this
 version - ie since one cannot specify what JAR they want to use in the
 properties file. Any help would be greatly appreciated.

You'll have to build it from SVN trunk. To spare you the trouble I've
uploaded it to:

http://www.apache.org/~vmassol/maven-clover-plugin-1.10-SNAPSHOT.jar

I agree that it'll be nice to have a Maven CI build that automatically
publishes the plugins to the Apache snapshot maven repository...

Thanks
-Vincent


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



[M2] equivalent of maven.test.skip in m2 ?

2005-06-27 Thread c_inconnu3

Hi

Is there an equivalent of maven.test.skip=true option in M2 ?

Thanks

David DIDIER


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



RE: urgent: maven stopped generating xdoclet files altogether. Please help...

2005-06-27 Thread Mick Knutson




From: Mick Knutson [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: users@maven.apache.org, xdoclet-user@lists.sourceforge.net
Subject: RE: urgent: maven stopped generating xdoclet files altogether.
Date: Mon, 27 Jun 2005 13:03:50 -0700

Here is the output when I run the -X flag:
==

C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subprojectmaven 
-X xdoclet:ejbdoclet

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Initializing Plugins!
Set plugin source directory to C:\Maven_1.0.2\plugins
Set unpacked plugin directory to C:\Documents and 
Settings\mknut01\.maven\cache
Set user plugin directory to C:\Documents and 
Settings\mknut01\.maven\plugins

Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-cruisecontrol-plugin-1.6'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-checkstyle-plugin-2.5'
Loading plugin 'maven-file-activity-plugin-1.5.1'
Loading plugin 'maven-jellydoc-plugin-1.3.1'
Loading plugin 'maven-ear-plugin-1.6'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.2'
Loading plugin 'maven-jar-plugin-1.6.1'
Loading plugin 'maven-developer-activity-plugin-1.5.1'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6.1'
Loading plugin 'maven-javadoc-plugin-1.7'
Loading plugin 'maven-linkcheck-plugin-1.3.4'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.9'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-plugin-plugin-1.5.2'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.2'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.3'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-eclipse-plugin-1.9'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-dashboard-plugin-1.6'
Loading plugin 'maven-scm-plugin-1.4.1'
Loading plugin 'maven-clover-plugin-1.6'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-war-plugin-1.6.1'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.8.1'
Loading plugin 'maven-multiproject-plugin-1.4.1'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-changes-plugin-1.5.1'
Loading plugin 'maven-j2ee-plugin-1.5.1'
Loading plugin 'maven-release-plugin-1.4.1'
Loading plugin 'maven-abbot-plugin-1.1'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-pmd-plugin-1.6'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-xdoclet-plugin-1.2.3'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-axis-plugin-0.7'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.2'
Loading plugin 'maven-hibernate-plugin-1.2'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.2'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-xdoclet2-plugin-1.0-SNAPSHOT'
Loading plugin 'maven-java-plugin-1.5'
Loading plugin 'maven-pdf-plugin-2.2.1'
Loading plugin 'maven-html2xdoc-plugin-1.3.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3.1'
Loading plugin 'maven-jnlp-plugin-1.4.1'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4.1'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: C:\Documents and 
Settings\mknut01\build.properties
Using projectPropertiesFile: 
C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subproject\project.properties
Using projectBuildPropertiesFile: 
C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subproject\build.properties
Using userBuildPropertiesFile: C:\Documents and 
Settings\mknut01\build.properties
Using projectPropertiesFile: 
C:\opt\local\blackhawk\fastforward\project.properties

Re: I can't add M2 Project

2005-06-27 Thread Johnny Ruiz

Christian Schlaefcke wrote:


Hi Folks,

I also have a problem depending on this. When I try to get the URL 
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml; 
which is obviously subversion I get this

snip
2005-06-27 15:15:52,718 [PoolThread-0] INFO 
ContinuumProjectBuilder:maven-two-builder - Downloading 
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml
2005-06-27 15:15:52,937 [PoolThread-0] DEBUG ArtifactResolver - 
Resolving: org.apache.maven.scm:maven-scm:pom:1.0-alpha-2-SNAPSHOT from:
{localRepository: [local] - 
file://C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum/local-repository} 


{remoteRepositories: [[central] - http://repo1.maven.org/maven2]}
2005-06-27 15:15:52,937 [PoolThread-0] INFO 
ArtifactTransformation:snapshot - maven-scm: checking for updates from 
central

2005-
06-27 15:15:52,937 [PoolThread-0] INFO WagonManager - Retrieving 
snapshot information for maven-scm 1.0-alpha-2-SNAPSHOT
2005-06-27 15:15:53,890 [PoolThread-0] INFO 
ArtifactTransformation:snapshot - maven-scm: resolved to version 
1.0-alpha-2-20050610.043511-1 from repository central
java.sql.SQLException: Table not found: SEQUENCE_TABLE in statement 
[SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME=?]

at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
/snip
followed by a long stacktrace and this:

snip
2005-06-27 15:15:54,984 [PoolThread-0] INFO RDBMS - Creating table 
SEQUENCE_TABLE
2005-06-27 15:15:55,140 [PoolThread-0] ERROR VelocityComponent - RHS 
of #set statement is null. Context will not be modified. 
screens/Summary.vm [line 1, column 1]
2005-06-27 15:15:55,187 [Thread-5] INFO ContinuumScm - Checking out 
project: 'Maven SCM Test', id: '1' to 
'C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1'.
cl = cvs -f -d :pserver:[EMAIL PROTECTED]:/home/cvspublic -q 
checkout -d 1 maven-scm
2005-06-27 15:15:55,218 [Thread-5] DEBUG CvsCommand:check-out - 
Working directory: 
C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1
2005-06-27 15:15:55,218 [Thread-5] DEBUG CvsCommand:check-out - 
Command line: cvs -f -d 
:pserver:[EMAIL PROTECTED]:/home/cvspublic -q checkout -d 1 
maven-scm
2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Error while 
checking out the code for project: 'Maven SCM Test', id: '1' to 
'C:\Programme\Java\continuum-1.0-alpha-2\bin\..\apps\continuum\temp\1'.
2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Command output: 
cvs checkout: 
cwd=C:\Programme\Java\continuum-1.0-alpha-2\apps\continuum\temp 
,current=C:\Programme\Java\continuum-1.0-alpha-2\apps\continuum\temp

cvs server: cannot find module `maven-scm' - ignored
cvs [checkout aborted]: cannot expand modules

2005-06-27 15:15:57,937 [Thread-5] WARN ContinuumScm - Provider 
message: The cvs command failed.

/snip

Why is it trying to get it from cvs when it is an svn repository? 
Looks like it´s redirecting me somehow. What am I missing/doing wrong?


Thanks  Regards,

Christian


Johnny R. Ruiz III schrieb:


Emmanuel Venisse wrote:


cvs isn't in your path

Emmanuel

Johnny R. Ruiz III wrote:


Trygve Laugstøl wrote:


On Thu, Jun 23, 2005 at 04:17:31PM +0800, Johnny R. Ruiz III wrote:



Hi,

I successfully installed Continuum1.0-alpha-2 in my laptop. I 
launch continuum using a Web Browser and tried to add an M2 project.
The POM that I used was 
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-test/pom.xml. 
There was an error on adding this project. The result is:


org.apache.maven.continuum.scm.ContinuumScmException: Error while 
checking out the project.
at 
org.apache.maven.continuum.scm.DefaultContinuumScm.checkOut(DefaultContinuumScm.java:84) 

at 
org.apache.maven.continuum.scm.queue.CheckOutTaskExecutor.executeTask(CheckOutTaskExecutor.java:80) 

at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:100) 


at java.lang.Thread.run(Thread.java:534)





Are there anything else in the logs?

--
Trygve




Anyone have an idea on the problem?

Thanks a lot -- jruiz






Here's what I got from the log file.
5478 [main] ERROR org.codehaus.plexus.velocity.VelocityComponent - 
VM #text: error : too few arguments to macro. Wanted 2 got 0
5498 [main] INFO 
org.codehaus.plexus.notification.notifier.Notifier:mail - The from 
mailbox is not configured, will use the nag email address from the 
project.
5508 [main] INFO 
org.codehaus.plexus.notification.notifier.Notifier:mail - From 
name: [EMAIL PROTECTED]
5508 [main] INFO org.codehaus.plexus.notification.RecipientSource - 
To override address is not configured, will use the nag email 
address from the project.
5508 [main] INFO 
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project 
- Starting task executor, thread name 'build-project'.
5508 [main] INFO org.codehaus.plexus.PlexusContainer - Loading on 
start [role,roleHint]: 

URGENT: maven stopped generating xdoclet files altogether. Please help...

2005-06-27 Thread Mick Knutson
Ok, can I bribe anyone with a beer now that I have lost an entire weekend 
and Monday on this issue.

Please, please help me someone.





From: Mick Knutson [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: users@maven.apache.org, xdoclet-user@lists.sourceforge.net
Subject: RE: urgent: maven stopped generating xdoclet files altogether. 
Please help...

Date: Mon, 27 Jun 2005 14:59:34 -0700




From: Mick Knutson [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: users@maven.apache.org, xdoclet-user@lists.sourceforge.net
Subject: RE: urgent: maven stopped generating xdoclet files altogether.
Date: Mon, 27 Jun 2005 13:03:50 -0700

Here is the output when I run the -X flag:
==

C:\opt\local\blackhawk\fastforward\consumerManagerBean-ejbjar-subprojectmaven 
-X xdoclet:ejbdoclet

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Initializing Plugins!
Set plugin source directory to C:\Maven_1.0.2\plugins
Set unpacked plugin directory to C:\Documents and 
Settings\mknut01\.maven\cache
Set user plugin directory to C:\Documents and 
Settings\mknut01\.maven\plugins

Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-cruisecontrol-plugin-1.6'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-checkstyle-plugin-2.5'
Loading plugin 'maven-file-activity-plugin-1.5.1'
Loading plugin 'maven-jellydoc-plugin-1.3.1'
Loading plugin 'maven-ear-plugin-1.6'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.2'
Loading plugin 'maven-jar-plugin-1.6.1'
Loading plugin 'maven-developer-activity-plugin-1.5.1'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6.1'
Loading plugin 'maven-javadoc-plugin-1.7'
Loading plugin 'maven-linkcheck-plugin-1.3.4'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.9'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-plugin-plugin-1.5.2'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.2'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.3'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-eclipse-plugin-1.9'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-dashboard-plugin-1.6'
Loading plugin 'maven-scm-plugin-1.4.1'
Loading plugin 'maven-clover-plugin-1.6'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-war-plugin-1.6.1'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.8.1'
Loading plugin 'maven-multiproject-plugin-1.4.1'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-changes-plugin-1.5.1'
Loading plugin 'maven-j2ee-plugin-1.5.1'
Loading plugin 'maven-release-plugin-1.4.1'
Loading plugin 'maven-abbot-plugin-1.1'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-pmd-plugin-1.6'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-xdoclet-plugin-1.2.3'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-axis-plugin-0.7'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.2'
Loading plugin 'maven-hibernate-plugin-1.2'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.2'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-xdoclet2-plugin-1.0-SNAPSHOT'
Loading plugin 'maven-java-plugin-1.5'
Loading plugin 'maven-pdf-plugin-2.2.1'
Loading plugin 'maven-html2xdoc-plugin-1.3.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3.1'
Loading plugin 'maven-jnlp-plugin-1.4.1'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4.1'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: C:\Documents and 
Settings\mknut01\build.properties

Re: [M2] including a test jar in test phase

2005-06-27 Thread Edwin Punzalan

You can try adding testResources in your pom.xml like so:

testResources
 testResource #class_Resource
   directory./path/test.jar/directory
 /testResource
/testResources

where the directory element can be an absolute path or a relative path 
to your pom.xml




c_inconnu3 wrote:


Hi,

I want to test some code which uses data in a jar file. So I have 
created a jar holding data to test against. In M1, I wrote something 
like that :


   preGoal name=test:test
   ja:path id=test.jar
   pathelement location=${maven.test.dest}/test.jar /
   /ja:path
   jm:addPath id=maven.dependency.classpath refid=test.jar /
   /preGoal

Is there any simple solution in M2 ???

Thanks

David DIDIER


-
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: want to put interface declaration for my scheme objects into wsdl?

2005-06-27 Thread Mick Knutson

Can anyone please help me with this?

I get this generated:

public class ConsumerType  implements java.io.Serializable {

But I need wsdl2java to generate this:
public class ConsumerType  implements com.baselogic.consumer.IConsumer, 
java.io.Serializable {






From: Mick Knutson [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: want to put interface declaration for my scheme objects into wsdl?
Date: Sun, 26 Jun 2005 11:37:23 -0700

I want to be able to define a standard set of interfaces for all my scheme 
classes.
Can I somehow add an implements=MySchemeInterface in the complext types 
such as with:


  xsd:complexType name=consumerActivityType 
implements=com.baselogic.MySchemeInterface

   xsd:sequence
xsd:element minOccurs=0 name=lastPinChangeDate 
type=xsd:string/
xsd:element minOccurs=0 name=lastPersonalCodeChangeDate 
type=xsd:string/

   /xsd:sequence
  /xsd:complexType




Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)





Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



Multiproject property overriding.

2005-06-27 Thread Gaurav Kushwaha
Hi have a multiproject and multiple sub projects. I have a property
that is defined in each sub project. But occasionally I want to
override it by changing it only in the master project's
project.properties.
So essentially I have project.version property in each project's
project.properties file. And I want to override that property in all
the projects just by making that change in the master project's
project.properties file.
Is it possible ? I tried doing it. Wasn't able to.
Will appreciate any help.

Thanks,
Gaurav.

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



Re: Multiproject property overriding.

2005-06-27 Thread Edwin Punzalan
Try using the -D option in the command line... that will override all 
properties in all properties file. ;)



Gaurav Kushwaha wrote:


Hi have a multiproject and multiple sub projects. I have a property
that is defined in each sub project. But occasionally I want to
override it by changing it only in the master project's
project.properties.
So essentially I have project.version property in each project's
project.properties file. And I want to override that property in all
the projects just by making that change in the master project's
project.properties file.
Is it possible ? I tried doing it. Wasn't able to.
Will appreciate any help.

Thanks,
Gaurav.

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



running wsdl2java in maven, but instruct not to generate schema files, just defs

2005-06-27 Thread Mick Knutson
I want to have wsdl2java just generate the definitions, not the schema 
files.

I am doing this in maven.
I also needed to modify my schema to match my application, but want to 
continue to generate the definitions as the URLs are changing for testing.



Can anyone help me to configure maven to do this?



Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



scm:tag failing

2005-06-27 Thread Jamie Bisotti
Assuming Subversion looks like the following:

http://svn.server.com/repos_root/
 branches/
 tags/
 trunk/
  foo/

In C:\sandbox\blah, I perform: maven
-Dmaven.scm.url=scm:svn:http://svn.server.com/repos_root/trunk
-Dmaven.scm.checkout.dir=trunk scm:checkout

Then, I switch to C:\sandbox\blah\trunk\foo and perform: maven
-Dmaven.scm.tag=TEST_TAG scm:tag and I get the following error:



C:\sandbox\blah\trunk\foomaven scm:tag -Dmaven.scm.tag=TEST_TAG
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

scm:find-connection:
[echo] Using connection: scm:svn:http://svn.server.com/repos_root/trunk/foo

scm:tag:
[echo] Tagging scm:svn:http://svn.server.com/repos_root/trunk/foo
with TEST_TAG
[INFO] Working directory: C:\sandbox\blah\trunk\foo
[INFO] Command line: svn --username usr --password psw
--non-interactive copy --file
C:\DOCUME~1\JAMESF~1\LOCALS~1\Temp\maven-scm-1309405301.commit .
 http://svn.server.com/repos_root/trunk/tags/TEST_TAG
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repos_root/trunk/tags'
svn: '/repos_root/trunk/tags' path not found


BUILD FAILED
File.. C:\Documents and Settings\James F Bisotti\.maven\cache\maven-scm-plug
in-1.5\plugin.jelly
Element... scm:tag
Line.. 145
Column 194
Error!
Total time: 7 seconds
Finished at: Mon Jun 27 22:16:40 EDT 2005


Question:  Why is it looking for trunk/tags?  'tags' is a peer of
'trunk'; not a child.
-- 
Jamie Bisotti

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



Re: [M2] including a test jar in test phase

2005-06-27 Thread Kenney Westerhof
On Tue, 28 Jun 2005, Edwin Punzalan wrote:

As an addendum: if you use the ClassLoader to get the resources, you
only need the resources in the classpath, not necessarily in a jar. The
resources specified in testResources are copied to target/test-classes
which is on the classpath during testing. So if you use the preferred
way to access resources it should already work.

 You can try adding testResources in your pom.xml like so:

 testResources
   testResource #class_Resource
 directory./path/test.jar/directory
   /testResource
 /testResources

 where the directory element can be an absolute path or a relative path
 to your pom.xml



 c_inconnu3 wrote:

  Hi,
 
  I want to test some code which uses data in a jar file. So I have
  created a jar holding data to test against. In M1, I wrote something
  like that :
 
 preGoal name=test:test
 ja:path id=test.jar
 pathelement location=${maven.test.dest}/test.jar /
 /ja:path
 jm:addPath id=maven.dependency.classpath refid=test.jar /
 /preGoal
 
  Is there any simple solution in M2 ???
 
  Thanks
 
  David DIDIER
 
 
  -
  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]