Newbie: maven and xdoclet without the xdoclet-plugin - No results

2005-04-08 Thread Louis Burroughs
I was running the xdoclet plugin for maven and was having trouble with 
error messages telling me that I had files in more than one fileset.  So I 
decided to scale back and take a working ant script and incorporate it 
into my maven.xml.  The script runs to completion and tells me that the 
build passed, but nothing is created.  I pasted the verbose output from 
maven below and you can see where Ant is loading classes and appears to be 
ready to execute the task, it then terminates without generating the files 
or giving an error.  Anybody point me in the right direction?  Thanks!

PS - I have also posted this to the xdoclet user list.





 +---+

|-|
| R U N N I N G W E B D O C L E T |
|_|

 +---+

Taskdef.















Timestamp...



Webdoclet..

Fileset..


Deployment Descriptor

XMI files..

Exit webdoclet.





webdoclet_goal:
[echo] 
 +---+
 
[echo] |-|
[echo] | R U N N I N G W E B D O C L E T |
[echo] |_|
[echo] 
 +---+
 
[taskdef] [DEBUG] Finding class xdoclet.modules.web.WebDocletTask
[taskdef] [DEBUG] Finding class xdoclet.DocletTask
[taskdef] [DEBUG] Finding class xjavadoc.ant.XJavadocTask
[taskdef] [DEBUG] Class org.apache.tools.ant.Task loaded from parent 
loader
[taskdef] [DEBUG] Class xjavadoc.ant.XJavadocTask loaded from ant 
loader
[taskdef] [DEBUG] Class org.apache.tools.ant.DynamicConfigurator 
loaded from parent loader
[taskdef] [DEBUG] Class xdoclet.DocletTask loaded from ant loader
[taskdef] [DEBUG] Class xdoclet.modules.web.WebDocletTask loaded from 
ant loader
[taskdef] [DEBUG] Class java.lang.Throwable loaded from parent loader
[taskdef] [DEBUG] Class java.lang.OutOfMemoryError loaded from parent 
loader
[taskdef] [DEBUG] Class java.util.Map loaded from parent loader
[taskdef] [DEBUG] Class org.apache.tools.ant.types.AbstractFileSet 
loaded from parent loader
[taskdef] [DEBUG] Class org.apache.tools.ant.types.FileSet loaded from 
parent loader
[taskdef] [DEBUG] Finding class xjavadoc.SourceSet
[taskdef] [DEBUG] Class java.lang.Object loaded from parent loader
[taskdef] [DEBUG] Class java.io.Serializable loaded from parent loader
[taskdef] [DEBUG] Class xjavadoc.SourceSet loaded from ant loader
[taskdef] [DEBUG] Class org.apache.tools.ant.BuildException loaded 
from parent loader
[taskdef] [DEBUG] Class java.lang.ClassNotFoundException loaded from 
parent loader
[taskdef] [DEBUG] Class java.lang.NoClassDefFoundError loaded from 
parent loader
[taskdef] [DEBUG] Class java.util.List loaded from parent loader
[taskdef] [DEBUG] Class java.lang.InstantiationException loaded from 
parent loader
[taskdef] [DEBUG] Class java.lang.IllegalAccessException loaded from 
parent loader
[taskdef] [DEBUG] Finding class xdoclet.SubTask
[taskdef] [DEBUG] Finding class xdoclet.DocletSupport
[taskdef] [DEBUG] Class xdoclet.DocletSupport loaded from ant loader
[taskdef] [DEBUG] Class xdoclet.SubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.TemplateSubTask
[taskdef] [DEBUG] Class xdoclet.TemplateSubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.XmlSubTask
[taskdef] [DEBUG] Class xdoclet.XmlSubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.XDocletException
[taskdef] [DEBUG] Finding class xdoclet.template.TemplateException
[taskdef] [DEBUG] Class java.lang.Exception loaded from parent loader
[taskdef] [DEBUG] Class xdoclet.template.TemplateException loaded from 
ant loader
[taskdef] [DEBUG] Class xdoclet.XDocletException loaded from ant 
loader
[taskdef] [DEBUG] Class java.lang.ClassCastException loaded from 
parent loader
[taskdef] [DEBUG]  +User task: webdoclet 
xdocle

Generating application.xml and WebSphere specific deployment descriptors - redux

2005-04-07 Thread Louis Burroughs
I have been trying to create an EAR file that has the application.xml (the
normal generated file has the correct dependecies, but lacks security
info) and the WebSphere specific .xmi files generated for it using the
xdoclet plugin.  Unfortunately, I can't find much outside of the realm of
ejbdoclet when it comes to documentation for the xdoclet plugin.  Would it
be easier / smarter to use the underlying ant tasks instead of trying the
plugin?  Is anyone else deploying to WebSphere willing to share their
solution?


Thanks!
Louis M. Burroughs III, OCTO


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



Generating application.xml and WebSphere specific deployment descriptors

2005-04-06 Thread Louis Burroughs
I have been trying to create an EAR file that has the application.xml (the 
normal generated file has the correct dependecies, but lacks security 
info) and the WebSphere specific .xmi files generated for it using the 
xdoclet plugin.  Unfortunately, I can't find much outside of the realm of 
ejbdoclet when it comes to documentation for the xdoclet plugin.  Would it 
be easier / smarter to use the underlying ant tasks instead of trying the 
plugin?  Is anyone else deploying to WebSphere willing to share their 
solution?


Thanks!
Louis M. Burroughs III, OCTO


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



Re: maven and xdoclet and a Long coercion exception

2005-04-04 Thread Louis Burroughs
I get this exception during the webdoclet goal.  Any pointers on what I 
should be looking to fix?  Properties and applicable goal are at the 
bottom.



Caught exception evaluating: 
[EMAIL PROTECTED] Re
ason: java.lang.Exception: Long coercion exception
java.lang.Exception: Long coercion exception
at 
org.apache.commons.jexl.util.Coercion.coerceLong(Coercion.java:140)
at 
org.apache.commons.jexl.parser.ASTSubtractNode.value(ASTSubtractNode.
java:118)
at 
org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java
(Compiled Code))
at 
org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java(C
ompiled Code))
at 
org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(Jexl
Expression.java(Compiled Code))
at 
org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expres
sionSupportLocal.evaluate(JexlExpressionFactory.java(Compiled Code))
at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse
(ExpressionSupport.java(Inlined Compiled Code))
at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsStrin
g(ExpressionSupport.java(Compiled Code))
at 
org.apache.commons.jelly.expression.CompositeExpression.evaluateAsStr
ing(CompositeExpression.java(Compiled Code))
at 
org.apache.commons.jelly.expression.CompositeExpression.evaluate(Comp
ositeExpression.java:346)
at 
org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContex
t.java(Compiled Code))
at 
org.apache.maven.jelly.JellyPropsHandler.getProperty(JellyPropsHandle
r.java(Inlined Compiled Code))
at 
org.apache.maven.jelly.JellyPropsHandler.getProperties(JellyPropsHand
ler.java(Compiled Code))
at org.apache.commons.grant.GrantProject.getProperties(Unknown 
Source)
at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:86)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at 
com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
at com.werken.werkz.Goal.fire(Goal.java:616)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(M

Re: Maven moving .properties files

2005-01-10 Thread Louis Burroughs
OK, removing them from the  section did stop my .properties 
from being copied to the root directory.  Now they are not being copied 
over at all.  Is there a way with the current war builder plugin to have 
these files moved with their directory structure intact?


Louis M. Burroughs III, OCTO




Brett Porter <[EMAIL PROTECTED]>
01/08/2005 05:56 AM
Please respond to "Maven Users List"




 
To: Maven Users List 
cc: 
bcc: 
Subject:Re: Maven moving .properties files


This occurs if they are added to  section in project.xml.
If you remove them from that, then they should not be copied.

- Brett


On Fri, 7 Jan 2005 18:03:40 -0500, Louis Burroughs
<[EMAIL PROTECTED]> wrote:
> When I build my war file.  Maven takes my properties files from their
> directory and places them at the root classfile directory
> (../WEB-INF/classes).  Is there any way to stop (modify) this behavior?
>
> Thanks,
> Louis M. Burroughs III, OCTO
>

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




Maven moving .properties files

2005-01-07 Thread Louis Burroughs
When I build my war file.  Maven takes my properties files from their 
directory and places them at the root classfile directory 
(../WEB-INF/classes).  Is there any way to stop (modify) this behavior?

Thanks,
Louis M. Burroughs III, OCTO

Re: Was5 remote deployments

2005-01-05 Thread Louis Burroughs
The Maven/build side is building an ear, and executing was5:run-script.  I 
need to know if I need a local WebSphere install in order to execute 
was5:run-script, or if there is a way to attain this goal on a remote 
server.  When I tried to run was5:run-script with a different host than 
the maven host, it looked locally for a was_home and bombed out when it 
couldn't find one.

Should I :

1. Run Maven on my DeploymentManager box in order for it to execute 
scripts using the was5:run-script goal against a cluster?

2. Run Maven on a box that has a whole or partial WebSphere install so I 
can use wsadmin to connect to my Deployment Manager, yada,yada,yada?

3. Run Maven on it's own server and somehow execute was5:run-script 
against the DeploymentManager server? If so, how do I get the was5 plugin 
to look for was_home on the DeploymentManager, not the maven box?

Louis M. Burroughs III, OCTO





Dion Gillard <[EMAIL PROTECTED]>
01/04/2005 10:04 PM
Please respond to "Maven Users List"




 
To: Maven Users List 
cc: 
bcc: 
Subject:Re: Was5 remote deployments


On Tue, 4 Jan 2005 14:31:22 -0500, Louis Burroughs
<[EMAIL PROTECTED]> wrote:
> I am trying to set up a build process with Maven running on one 
box(build
> box) talking to a Websphere DeploymentManager box that runs a jacl 
script
> to deploy my application to a cluster.
>
> Do I need to install a full blown instance of Websphere on my build box 
or
> can I pick and choose certain libraries to get wsadmin running?

So the maven/build side is simply running wsadmin?

If so, it's a websphere question rather than a Maven one.

>From what I know, installing an application remotely is not correctly
supported by was5.1 using wsadmin.

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

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




Was5 remote deployments

2005-01-04 Thread Louis Burroughs
I am trying to set up a build process with Maven running on one box(build 
box) talking to a Websphere DeploymentManager box that runs a jacl script 
to deploy my application to a cluster. 

Do I need to install a full blown instance of Websphere on my build box or 
can I pick and choose certain libraries to get wsadmin running?


Louis M. Burroughs III, OCTO

Verbose plug-in execution

2004-11-15 Thread Louis Burroughs
Is there any way to get verbose plugin execution information if a plugin 
doesn't specify a verbose option and doesn't have many "echo" statements. 
Maybe something through jelly that outputs execution statements?

Thanks,
Louis M. Burroughs III, OCTO

RE: Problem with Reactor build order

2004-11-12 Thread Louis Burroughs
My top level project.xml has

Project
Project Name


The ear
ProjectEar
Project Ear Name

The war
war1
war name


When I use this dependency:
${pom.groupId}
war1
SNAPSHOT

The reactor build order is wrong

When I use this dependency:
war1
war1
SNAPSHOT

it builds in the right order,  but the ear builder can't find

war1-SNAPSHOT.war



Louis M. Burroughs III, OCTO




"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 12:59 PM
Please respond to "Maven Users List"




 
To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with Reactor build order



What is the groupId specified in your shared project.xml?

If you want to make everything really generic, just make your dependency 
in your
EAR project to be:

${pom.groupId}
war1
SNAPSHOT


That should do the trick.

T


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 12:36 PM
To: Maven Users List
Subject: RE: Problem with Reactor build order


I changed my subprojects to use artifactId instead of id.
war1
war1 Project

When I use this dependency:

${pom.groupId}
war1
SNAPSHOT

Reactor still won't build in the right order.

When I use this dependency:

war1
war1
SNAPSHOT

Builds in the right order,  but the ear builder can't find

war1-SNAPSHOT.war

because it's in the repository under war1/war1/  instead of project/war1

Louis M. Burroughs III





"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 11:27 AM
Please respond to "Maven Users List"





To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with Reactor build order



Right, if you use , then the groupId and artifactId are the value of
...

If you take the approach I took, using  in each of the
sub-projects,
then your first example would work.

T

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 11:23 AM
To: Maven Users List
Subject: RE: Problem with Reactor build order


What I have found so far is that when I went from trying to group all of 
my
artifacts under one group Id to their own group Id then reactor picked up 
the
build order correctly, but when the ear was building now it couldn't find 
the war
files in the repository.  I tried messing around with the id's in the 
poms, but
that caused the code in my war file not to compile.

Before:
${pom.groupId}
war1 ${pom.currentVersion}

After:
war1
war1
SNAPSHOT






"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 10:25 AM
Please respond to "Maven Users List"





To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with Reactor build order



I have actually put  tags in my sub-projects rather than 
... This
seems to work out much better than  for me.

T

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 10:01 AM
To: Maven Users List
Subject: Re: Problem with Reactor build order


The only potential issue I see in my project.xml is that my top level id
is the
same as my ear name.

Top

IPM
Initiative Performance Measurement
2.2-Release

Ear
${basedir}/../project.xml
Project
IPM

War1
${basedir}/../project.xml
ProjectTest
Connectivity Test Project

War2
${basedir}/../project.xml
ProjectWeb
IPM web application



Louis M. Burroughs III, OCTO




Jeffrey Mutonho <[EMAIL PROTECTED]>
11/12/2004 09:47 AM
Please respond to "Maven Users List"





To: Maven Users List <[EMAIL PROTECTED]>
cc:
bcc:
Subject:Re: Problem with Reactor build order


Hmmm...when I had a similar problem of a messed build order , it was 
because a
"copy and paste" error in one of my project.xml files .I had the same

"blah_blah"
blah blah

in the project.xml files for  two different projects.I had copied and 
pasted from
one project.xml file to the other and forgot to change values for the  
and
 fields

jeff mutonho



On Fri, 12 Nov 2004 09:39:23 -0500, Louis Burroughs 
<[EMAIL PROTECTED]>
wrote:
> 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:
>
> 
> 
>
>
>
>
>
>  

RE: Problem with Reactor build order

2004-11-12 Thread Louis Burroughs
I changed my subprojects to use artifactId instead of id. 
war1
war1 Project

When I use this dependency:

${pom.groupId}
war1
SNAPSHOT

Reactor still won't build in the right order.

When I use this dependency:

war1
war1
SNAPSHOT

Builds in the right order,  but the ear builder can't find 

war1-SNAPSHOT.war

because it's in the repository under war1/war1/  instead of project/war1

Louis M. Burroughs III





"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 11:27 AM
Please respond to "Maven Users List"




 
To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with Reactor build order



Right, if you use , then the groupId and artifactId are the value of 
...

If you take the approach I took, using  in each of the 
sub-projects,
then your first example would work.

T

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 11:23 AM
To: Maven Users List
Subject: RE: Problem with Reactor build order


What I have found so far is that when I went from trying to group all of
my artifacts under one group Id to their own group Id then reactor picked
up the build order correctly, but when the ear was building now it
couldn't find the war files in the repository.  I tried messing around
with the id's in the poms, but that caused the code in my war file not to
compile.

Before:
${pom.groupId}
war1
${pom.currentVersion}

After:
war1
war1
SNAPSHOT






"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 10:25 AM
Please respond to "Maven Users List"





To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with Reactor build order



I have actually put  tags in my sub-projects rather than
...
This seems to work out much better than  for me.

T

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 10:01 AM
To: Maven Users List
Subject: Re: Problem with Reactor build order


The only potential issue I see in my project.xml is that my top level id 
is the
same as my ear name.

Top

IPM
Initiative Performance Measurement
2.2-Release

Ear
${basedir}/../project.xml
Project
IPM

War1
${basedir}/../project.xml
ProjectTest
Connectivity Test Project

War2
${basedir}/../project.xml
ProjectWeb
IPM web application



Louis M. Burroughs III, OCTO




Jeffrey Mutonho <[EMAIL PROTECTED]>
11/12/2004 09:47 AM
Please respond to "Maven Users List"





To: Maven Users List <[EMAIL PROTECTED]>
cc:
bcc:
Subject:Re: Problem with Reactor build order


Hmmm...when I had a similar problem of a messed build order , it was
because a
"copy and paste" error in one of my project.xml files .I had the same

"blah_blah"
blah blah

in the project.xml files for  two different projects.I had copied and
pasted from
one project.xml file to the other and forgot to change values for the 
and
 fields

jeff mutonho



On Fri, 12 Nov 2004 09:39:23 -0500, Louis Burroughs
<[EMAIL PROTECTED]>
wrote:
> 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:
>
> 
> 
>
>
>
>
>
>Checkout from CVS..
>
>
>
>
>Cleanup...
>
>
> 
>
> ear project maven.xml:
>
> 
>
>
>
>
>Do something else..
>
> 
>
> war projects maven.xml (There are 2 but they both look the same):
>
> 
>
>
>
> 
>
> ear project project.xml dependencies:
>
>
>Other dependencies
>
>${pom.groupId}
>war1
>${pom.currentVersion}
>war
>
>true
> war1
>
>
>
>${pom.groupId}
>war2
>${pom.currentVersion}

RE: Problem with Reactor build order

2004-11-12 Thread Louis Burroughs
What I have found so far is that when I went from trying to group all of 
my artifacts under one group Id to their own group Id then reactor picked 
up the build order correctly, but when the ear was building now it 
couldn't find the war files in the repository.  I tried messing around 
with the id's in the poms, but that caused the code in my war file not to 
compile.

Before:
${pom.groupId}
war1
${pom.currentVersion}

After:
war1
war1
SNAPSHOT
 





"Poppe, Troy" <[EMAIL PROTECTED]>
11/12/2004 10:25 AM
Please respond to "Maven Users List"




 
To: "'Maven Users List'" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with Reactor build order



I have actually put  tags in my sub-projects rather than 
...
This seems to work out much better than  for me.

T

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 10:01 AM
To: Maven Users List
Subject: Re: Problem with Reactor build order


The only potential issue I see in my project.xml is that my top level id
is the same as my ear name.

Top

IPM
Initiative Performance Measurement
2.2-Release

Ear
${basedir}/../project.xml
Project
IPM

War1
${basedir}/../project.xml
ProjectTest
Connectivity Test Project

War2
${basedir}/../project.xml
ProjectWeb
IPM web application



Louis M. Burroughs III, OCTO




Jeffrey Mutonho <[EMAIL PROTECTED]>
11/12/2004 09:47 AM
Please respond to "Maven Users List"





To: Maven Users List <[EMAIL PROTECTED]>
cc:
bcc:
Subject:Re: Problem with Reactor build order


Hmmm...when I had a similar problem of a messed build order , it was 
because a
"copy and paste" error in one of my project.xml files .I had the same

"blah_blah"
blah blah

in the project.xml files for  two different projects.I had copied and 
pasted from
one project.xml file to the other and forgot to change values for the  
and
 fields

jeff mutonho



On Fri, 12 Nov 2004 09:39:23 -0500, Louis Burroughs 
<[EMAIL PROTECTED]>
wrote:
> 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:
>
> 
> 
>
>
>
>
>
>Checkout from CVS..
>
>
>
>
>Cleanup...
>
>
> 
>
> ear project maven.xml:
>
> 
>
>
>
>
>Do something else..
>
> 
>
> war projects maven.xml (There are 2 but they both look the same):
>
> 
>
>
>
> 
>
> ear project project.xml dependencies:
>
>
>Other dependencies
>
>${pom.groupId}
>war1
>${pom.currentVersion}
>war
>
>true
> war1
>
>
>
>${pom.groupId}
>war2
>${pom.currentVersion}
>war
>
>true
> war2
>
>
>
>
> 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]




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




Re: Problem with Reactor build order

2004-11-12 Thread Louis Burroughs
The only potential issue I see in my project.xml is that my top level id 
is the same as my ear name.

Top 

IPM
Initiative Performance Measurement
2.2-Release

Ear
${basedir}/../project.xml
Project
IPM

War1
${basedir}/../project.xml
ProjectTest
Connectivity Test Project

War2
${basedir}/../project.xml
ProjectWeb
IPM web application



Louis M. Burroughs III, OCTO




Jeffrey Mutonho <[EMAIL PROTECTED]>
11/12/2004 09:47 AM
Please respond to "Maven Users List"




 
To: Maven Users List <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:Re: Problem with Reactor build order


Hmmm...when I had a similar problem of a messed build order , it was
because a "copy and paste" error in one of my project.xml files .I had
the same

"blah_blah"
blah blah

in the project.xml files for  two different projects.I had copied and
pasted from one project.xml file to the other and forgot to change
values for the  and  fields

jeff mutonho



On Fri, 12 Nov 2004 09:39:23 -0500, Louis Burroughs
<[EMAIL PROTECTED]> wrote:
> 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:
>
> 
> 
>
>
>
>
>
>Checkout from CVS..
>
>
>
>
>Cleanup...
>
>
> 
>
> ear project maven.xml:
>
> 
>
>
>
>
>Do something else..
>
> 
>
> war projects maven.xml (There are 2 but they both look the same):
>
> 
>
>
>
> 
>
> ear project project.xml dependencies:
>
>
>Other dependencies
>
>${pom.groupId}
>war1
>${pom.currentVersion}
>war
>
>true
> war1
>
>
>
>${pom.groupId}
>war2
>${pom.currentVersion}
>war
>
>true
> war2
>
>
>
>
> 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]




Problem with Reactor build order

2004-11-12 Thread Louis Burroughs
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:








Checkout from CVS..




Cleanup...




ear project maven.xml:






Do something else..




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








ear project project.xml dependencies:


Other dependencies

${pom.groupId}
war1
${pom.currentVersion}
war

true

war1



${pom.groupId}
war2
${pom.currentVersion}
war

true

war2





Reactor output:

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














Louis M. Burroughs III, OCTO

RE: Problem with was5 plugin victory (kindof)

2004-11-11 Thread Louis Burroughs
After editing the plugin.properties file to use user instead of username 
for each of the tasks.  I still ended up changing the soap.client.props 
file to add a username and password.  I think there is a way of passing in 
the username and password, but I have not yet found it.  The was5 plugin 
is working for me now with this configuration.


Thanks,
Louis M. Burroughs III





Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 02:11 PM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: "Maven Users List" <[EMAIL PROTECTED]>
bcc: 
Subject:RE: Problem with was5 plugin


The javadoc for the ListApplications class shows the property user



While the plugin specifies username












After changing the plugin property to user. I got back to my first error
of the authentication failure.



Louis M. Burroughs III, OCTO




Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 01:52 PM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc: "Maven Users List" <[EMAIL PROTECTED]>
bcc:
Subject:RE: Problem with was5 plugin


I have gotten a little closer to connecting to the appserver by passing in

-Dmaven.was5.listApps.username=username
-Dmaven.was5.listApps.password=password
was5:listApps

Instead of the more generic 'script' The error I get now is:

[wasListApps] [ERROR] If one of userid or password is specified, both
attrib
utes must be specified.

I looked through the plugin.xml to the underlying task



but I can't find the source for wsanttasks.  For whatever reason it thinks
that it is getting either a username or password, but not both.  I have
tried supplying the properties from the command line, the properties file
and setting them inside the goal with the same result.

Louis M. Burroughs III






Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 11:23 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


I am running the plugin against WAS 5.0.2 on AIX.

The wsadmin script takes a username and password argument, but I don't
know if the plugin is using the

-Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password

arguments that I have passed in.  The only guidance I have seen on this is
to turn off global security, but I don't know if that's a valid solution.


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 11:12 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


I don't think you can use the plugin with wsad.

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 15:23
To: Maven Users List
Subject: Re: Problem with was5 plugin


When I run was5:listApps with the following command

maven -Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password was5:listApps


The was5 plugin is trying to execute wsadmin but I am getting the
following errors:



was5:listApps:
[wasListApps] WASX7246E: Cannot establish "SOAP" connection to host
"localho
st" because of an authentication failure. Ensure that user and password
are corr
ect on the command line or in a properties file.
[wasListApps] Exception message (if any): "ADMN0022E: Access denied
for the
getProcessType operation on Server MBean due to insufficient or empty
credential
s."
[wasListApps] WASX7213I: This scripting client is not connected to a

server
process; please refer to the log file
/opt/websphere/appserver/logs/wsadmin.trac
eout for additional information.
[wasListApps] WASX7022E: Problem running command "$AdminApp list" --

excepti
on information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The
applicat
ion management service is not running. Application management commands
will not
run.


I am using the username and password I use to log into the was admin
console.

Louis M. Burroughs III, OCTO




Mark van Holsteijn <[EMAIL PROTECTED]>
11/11/2004 09:19 AM


To: [EMAIL PROTECTED]
cc:
bcc:
Subject:Re: Problem with was5 plugin


Let's hear it!

Louis Burroughs wrote:

Thanks!  You have allowed me to move on to new and more interesting
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>11/11/2004 09:06 AM
Please respond to "Maven Users List"





To: 'Maven Users List' <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5
pluginhttp://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JA
VAHOME

-Original Message-
From: Louis Burroughs [mailto:[EMAI

RE: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
The javadoc for the ListApplications class shows the property user



While the plugin specifies username


  
  
  
  
  
  
  
  


After changing the plugin property to user. I got back to my first error 
of the authentication failure.



Louis M. Burroughs III, OCTO




Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 01:52 PM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: "Maven Users List" <[EMAIL PROTECTED]>
bcc: 
Subject:RE: Problem with was5 plugin


I have gotten a little closer to connecting to the appserver by passing in

-Dmaven.was5.listApps.username=username
-Dmaven.was5.listApps.password=password
was5:listApps

Instead of the more generic 'script' The error I get now is:

[wasListApps] [ERROR] If one of userid or password is specified, both
attrib
utes must be specified.

I looked through the plugin.xml to the underlying task



but I can't find the source for wsanttasks.  For whatever reason it thinks
that it is getting either a username or password, but not both.  I have
tried supplying the properties from the command line, the properties file
and setting them inside the goal with the same result.

Louis M. Burroughs III






Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 11:23 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


I am running the plugin against WAS 5.0.2 on AIX.

The wsadmin script takes a username and password argument, but I don't
know if the plugin is using the

-Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password

arguments that I have passed in.  The only guidance I have seen on this is
to turn off global security, but I don't know if that's a valid solution.


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 11:12 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


I don't think you can use the plugin with wsad.

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 15:23
To: Maven Users List
Subject: Re: Problem with was5 plugin


When I run was5:listApps with the following command

maven -Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password was5:listApps


The was5 plugin is trying to execute wsadmin but I am getting the
following errors:



was5:listApps:
[wasListApps] WASX7246E: Cannot establish "SOAP" connection to host
"localho
st" because of an authentication failure. Ensure that user and password
are corr
ect on the command line or in a properties file.
[wasListApps] Exception message (if any): "ADMN0022E: Access denied
for the
getProcessType operation on Server MBean due to insufficient or empty
credential
s."
[wasListApps] WASX7213I: This scripting client is not connected to a

server
process; please refer to the log file
/opt/websphere/appserver/logs/wsadmin.trac
eout for additional information.
[wasListApps] WASX7022E: Problem running command "$AdminApp list" --

excepti
on information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The
applicat
ion management service is not running. Application management commands
will not
run.


I am using the username and password I use to log into the was admin
console.

Louis M. Burroughs III, OCTO




Mark van Holsteijn <[EMAIL PROTECTED]>
11/11/2004 09:19 AM


To: [EMAIL PROTECTED]
cc:
bcc:
Subject:Re: Problem with was5 plugin


Let's hear it!

Louis Burroughs wrote:

Thanks!  You have allowed me to move on to new and more interesting
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>11/11/2004 09:06 AM
Please respond to "Maven Users List"





To: 'Maven Users List' <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5
pluginhttp://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JA
VAHOME

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 3:04 PM
To: Maven Users List
Subject: RE: Problem with was5 plugin


JAVA_HOME is set to a runtime environment external to
WebSphere, do I need
to set it to use the jdk provided with WebSphere for the was5
plugin to
run?


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>11/11/2004 03:57 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren

RE: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
I have gotten a little closer to connecting to the appserver by passing in

-Dmaven.was5.listApps.username=username
-Dmaven.was5.listApps.password=password
was5:listApps

Instead of the more generic 'script' The error I get now is:

[wasListApps] [ERROR] If one of userid or password is specified, both 
attrib
utes must be specified.

I looked through the plugin.xml to the underlying task



but I can't find the source for wsanttasks.  For whatever reason it thinks 
that it is getting either a username or password, but not both.  I have 
tried supplying the properties from the command line, the properties file 
and setting them inside the goal with the same result.

Louis M. Burroughs III






Louis Burroughs <[EMAIL PROTECTED]>
11/11/2004 11:23 AM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 plugin


I am running the plugin against WAS 5.0.2 on AIX.

The wsadmin script takes a username and password argument, but I don't
know if the plugin is using the

-Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password

arguments that I have passed in.  The only guidance I have seen on this is
to turn off global security, but I don't know if that's a valid solution.


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 11:12 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


I don't think you can use the plugin with wsad.

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 15:23
To: Maven Users List
Subject: Re: Problem with was5 plugin


When I run was5:listApps with the following command

maven -Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password was5:listApps


The was5 plugin is trying to execute wsadmin but I am getting the
following errors:



was5:listApps:
[wasListApps] WASX7246E: Cannot establish "SOAP" connection to host
"localho
st" because of an authentication failure. Ensure that user and password
are corr
ect on the command line or in a properties file.
[wasListApps] Exception message (if any): "ADMN0022E: Access denied
for the
getProcessType operation on Server MBean due to insufficient or empty
credential
s."
[wasListApps] WASX7213I: This scripting client is not connected to a

server
process; please refer to the log file
/opt/websphere/appserver/logs/wsadmin.trac
eout for additional information.
[wasListApps] WASX7022E: Problem running command "$AdminApp list" --

excepti
on information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The
applicat
ion management service is not running. Application management commands
will not
run.


I am using the username and password I use to log into the was admin
console.

Louis M. Burroughs III, OCTO




Mark van Holsteijn <[EMAIL PROTECTED]>
11/11/2004 09:19 AM


To: [EMAIL PROTECTED]
cc:
bcc:
Subject:Re: Problem with was5 plugin


Let's hear it!

Louis Burroughs wrote:

Thanks!  You have allowed me to move on to new and more interesting
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>11/11/2004 09:06 AM
Please respond to "Maven Users List"





To: 'Maven Users List' <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5
pluginhttp://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JA
VAHOME

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 3:04 PM
To: Maven Users List
Subject: RE: Problem with was5 plugin


JAVA_HOME is set to a runtime environment external to
WebSphere, do I need
to set it to use the jdk provided with WebSphere for the was5
plugin to
run?


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>11/11/2004 03:57 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 21:01
To: Maven Users List
Subject: Problem with was5 plugin


I got this error when trying to invoke a command on the was5
plugin (version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException:
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(Adm

RE: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
I am running the plugin against WAS 5.0.2 on AIX. 

The wsadmin script takes a username and password argument, but I don't 
know if the plugin is using the 

-Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password

arguments that I have passed in.  The only guidance I have seen on this is 
to turn off global security, but I don't know if that's a valid solution.


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 11:12 AM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 plugin


I don't think you can use the plugin with wsad.

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 15:23
To: Maven Users List
Subject: Re: Problem with was5 plugin


When I run was5:listApps with the following command

maven -Dmaven.was5.script.username=username
-Dmaven.was5.script.password=password was5:listApps


The was5 plugin is trying to execute wsadmin but I am getting the
following errors:



was5:listApps:
[wasListApps] WASX7246E: Cannot establish "SOAP" connection to host
"localho
st" because of an authentication failure. Ensure that user and password
are corr
ect on the command line or in a properties file.
[wasListApps] Exception message (if any): "ADMN0022E: Access denied
for the
getProcessType operation on Server MBean due to insufficient or empty
credential
s."
[wasListApps] WASX7213I: This scripting client is not connected to a

server
process; please refer to the log file
/opt/websphere/appserver/logs/wsadmin.trac
eout for additional information.
[wasListApps] WASX7022E: Problem running command "$AdminApp list" --

excepti
on information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The
applicat
ion management service is not running. Application management commands
will not
run.


I am using the username and password I use to log into the was admin
console.

Louis M. Burroughs III, OCTO




Mark van Holsteijn <[EMAIL PROTECTED]>
11/11/2004 09:19 AM


To:     [EMAIL PROTECTED]
cc:
bcc:
Subject:Re: Problem with was5 plugin


Let's hear it!

Louis Burroughs wrote:

Thanks!  You have allowed me to move on to new and more interesting
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>11/11/2004 09:06 AM
Please respond to "Maven Users List"





To: 'Maven Users List' <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5
pluginhttp://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JA
VAHOME

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 3:04 PM
To: Maven Users List
Subject: RE: Problem with was5 plugin


JAVA_HOME is set to a runtime environment external to
WebSphere, do I need
to set it to use the jdk provided with WebSphere for the was5
plugin to
run?


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>11/11/2004 03:57 AM
Please respond to "Maven Users List"





To:     "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 21:01
To: Maven Users List
Subject: Problem with was5 plugin


I got this error when trying to invoke a command on the was5
plugin (version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException:
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(AdminClientFactory.java:273)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.connectToA
dminService(CommonScriptingObject.java:117)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.(Com
monScriptingObject.java:99)
[wasListApps]   at
com.ibm.ws.scripting.AdminControlClient.(AdminC
ontrolClient.java:152)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.createControlClien
t(AbstractShell.java:866)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
java:1495)
[wasListApps]   at
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
5)
[wasListApps]   at java.lang.reflect.Method.invoke(Native
Method)
[wasListApps]   at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
94)





**
**

This email and any files transmitted with it contain
information that may
be
confidential or privileged,

Re: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
When I run was5:listApps with the following command

maven -Dmaven.was5.script.username=username 
-Dmaven.was5.script.password=password was5:listApps


The was5 plugin is trying to execute wsadmin but I am getting the 
following errors:



was5:listApps:
[wasListApps] WASX7246E: Cannot establish "SOAP" connection to host 
"localho
st" because of an authentication failure. Ensure that user and password 
are corr
ect on the command line or in a properties file.
[wasListApps] Exception message (if any): "ADMN0022E: Access denied 
for the
getProcessType operation on Server MBean due to insufficient or empty 
credential
s."
[wasListApps] WASX7213I: This scripting client is not connected to a 
server
process; please refer to the log file 
/opt/websphere/appserver/logs/wsadmin.trac
eout for additional information.
[wasListApps] WASX7022E: Problem running command "$AdminApp list" -- 
excepti
on information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The 
applicat
ion management service is not running. Application management commands 
will not
run.


I am using the username and password I use to log into the was admin 
console. 

Louis M. Burroughs III, OCTO




Mark van Holsteijn <[EMAIL PROTECTED]>
11/11/2004 09:19 AM

 
To: [EMAIL PROTECTED]
cc: 
bcc: 
Subject:Re: Problem with was5 plugin


Let's hear it!

Louis Burroughs wrote:

Thanks!  You have allowed me to move on to new and more interesting 
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>11/11/2004 09:06 AM
Please respond to "Maven Users List"




 
To: 'Maven Users List' <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 
pluginhttp://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JAVAHOME

-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 3:04 PM
To: Maven Users List
Subject: RE: Problem with was5 plugin


JAVA_HOME is set to a runtime environment external to
WebSphere, do I need
to set it to use the jdk provided with WebSphere for the was5
plugin to
run?


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>11/11/2004 03:57 AM
Please respond to "Maven Users List"





To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
bcc:
    Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 21:01
To: Maven Users List
Subject: Problem with was5 plugin


I got this error when trying to invoke a command on the was5
plugin (version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException:
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(AdminClientFactory.java:273)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.connectToA
dminService(CommonScriptingObject.java:117)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.(Com
monScriptingObject.java:99)
[wasListApps]   at
com.ibm.ws.scripting.AdminControlClient.(AdminC
ontrolClient.java:152)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.createControlClien
t(AbstractShell.java:866)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
java:1495)
[wasListApps]   at
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
5)
[wasListApps]   at java.lang.reflect.Method.invoke(Native
Method)
[wasListApps]   at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
94)





**
**

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] additional commands, e-mail: [EMAIL 
PROTECTED]



 

-
To unsub

RE: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
Thanks!  You have allowed me to move on to new and more interesting 
errors.


Louis M. Burroughs III, OCTO




"Bowe, Bastian" <[EMAIL PROTECTED]>
11/11/2004 09:06 AM
Please respond to "Maven Users List"




 
To: 'Maven Users List' <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 plugin


http://maven-plugins.sourceforge.net/maven-was5-plugin/faq.html#JAVAHOME

> -Original Message-
> From: Louis Burroughs [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 11, 2004 3:04 PM
> To: Maven Users List
> Subject: RE: Problem with was5 plugin
>
>
> JAVA_HOME is set to a runtime environment external to
> WebSphere, do I need
> to set it to use the jdk provided with WebSphere for the was5
> plugin to
> run?
>
>
> Louis M. Burroughs III, OCTO
>
>
>
>
> "Oren Berenson" <[EMAIL PROTECTED]>
> 11/11/2004 03:57 AM
> Please respond to "Maven Users List"
>
>
>
>
>
> To: "Maven Users List" <[EMAIL PROTECTED]>
>     cc:
> bcc:
> Subject:RE: Problem with was5 plugin
>
>
> Is your JAVA_HOME set to the ibm jdk?
>
> Oren
>
>
> -Original Message-
> From: Louis Burroughs [mailto:[EMAIL PROTECTED]
> Sent: 10 November 2004 21:01
> To: Maven Users List
> Subject: Problem with was5 plugin
>
>
> I got this error when trying to invoke a command on the was5
> plugin (version 1.2) Any suggestions?
>
> was5:listApps:
>
> [wasListApps] java.lang.reflect.InvocationTargetException:
> java.lang.NoClass
> DefFoundError: com/ibm/jsse/IBMJSSEProvider
> [wasListApps]   at java.lang.Class.forName1(Native Method)
> [wasListApps]   at java.lang.Class.forName(Class.java:142)
> [wasListApps]   at
> com.ibm.websphere.management.AdminClientFactory.creat
> eAdminClient(AdminClientFactory.java:273)
> [wasListApps]   at
> com.ibm.ws.scripting.CommonScriptingObject.connectToA
> dminService(CommonScriptingObject.java:117)
> [wasListApps]   at
> com.ibm.ws.scripting.CommonScriptingObject.(Com
> monScriptingObject.java:99)
> [wasListApps]   at
> com.ibm.ws.scripting.AdminControlClient.(AdminC
> ontrolClient.java:152)
> [wasListApps]   at
> com.ibm.ws.scripting.AbstractShell.createControlClien
> t(AbstractShell.java:866)
> [wasListApps]   at
> com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
> java:1495)
> [wasListApps]   at
> com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
> 5)
> [wasListApps]   at java.lang.reflect.Method.invoke(Native
> Method)
> [wasListApps]   at
> com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
> 94)
>
>
>
>
>
> **
> **
>
> 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]
>
>
>

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




RE: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
JAVA_HOME is set to a runtime environment external to WebSphere, do I need 
to set it to use the jdk provided with WebSphere for the was5 plugin to 
run?


Louis M. Burroughs III, OCTO




"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 03:57 AM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 21:01
To: Maven Users List
Subject: Problem with was5 plugin


I got this error when trying to invoke a command on the was5 plugin
(version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException:
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(AdminClientFactory.java:273)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.connectToA
dminService(CommonScriptingObject.java:117)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.(Com
monScriptingObject.java:99)
[wasListApps]   at
com.ibm.ws.scripting.AdminControlClient.(AdminC
ontrolClient.java:152)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.createControlClien
t(AbstractShell.java:866)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
java:1495)
[wasListApps]   at
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
5)
[wasListApps]   at java.lang.reflect.Method.invoke(Native
Method)
[wasListApps]   at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
94)







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: Problem with was5 plugin

2004-11-11 Thread Louis Burroughs
yes - java 1.3.1





"Oren Berenson" <[EMAIL PROTECTED]>
11/11/2004 03:57 AM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:RE: Problem with was5 plugin


Is your JAVA_HOME set to the ibm jdk?

Oren


-Original Message-
From: Louis Burroughs [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 21:01
To: Maven Users List
Subject: Problem with was5 plugin


I got this error when trying to invoke a command on the was5 plugin
(version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException:
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(AdminClientFactory.java:273)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.connectToA
dminService(CommonScriptingObject.java:117)
[wasListApps]   at
com.ibm.ws.scripting.CommonScriptingObject.(Com
monScriptingObject.java:99)
[wasListApps]   at
com.ibm.ws.scripting.AdminControlClient.(AdminC
ontrolClient.java:152)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.createControlClien
t(AbstractShell.java:866)
[wasListApps]   at
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
java:1495)
[wasListApps]   at
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
5)
[wasListApps]   at java.lang.reflect.Method.invoke(Native
Method)
[wasListApps]   at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
94)







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]




Problem with was5 plugin

2004-11-10 Thread Louis Burroughs
I got this error when trying to invoke a command on the was5 plugin 
(version 1.2) Any suggestions?

was5:listApps:

[wasListApps] java.lang.reflect.InvocationTargetException: 
java.lang.NoClass
DefFoundError: com/ibm/jsse/IBMJSSEProvider
[wasListApps]   at java.lang.Class.forName1(Native Method)
[wasListApps]   at java.lang.Class.forName(Class.java:142)
[wasListApps]   at 
com.ibm.websphere.management.AdminClientFactory.creat
eAdminClient(AdminClientFactory.java:273)
[wasListApps]   at 
com.ibm.ws.scripting.CommonScriptingObject.connectToA
dminService(CommonScriptingObject.java:117)
[wasListApps]   at 
com.ibm.ws.scripting.CommonScriptingObject.(Com
monScriptingObject.java:99)
[wasListApps]   at 
com.ibm.ws.scripting.AdminControlClient.(AdminC
ontrolClient.java:152)
[wasListApps]   at 
com.ibm.ws.scripting.AbstractShell.createControlClien
t(AbstractShell.java:866)
[wasListApps]   at 
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.
java:1495)
[wasListApps]   at 
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:80
5)
[wasListApps]   at java.lang.reflect.Method.invoke(Native Method)
[wasListApps]   at 
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:
94)



Reactor processing order

2004-11-07 Thread Louis Burroughs
I am tring to build an ear file using Maven.  I have subprojects to build 
2 war files and an ear file.  The ear file has dependencies on the 2 war 
files.  When I execute using reactor, maven executes the subprojects in 
the order it finds them(alphabetically my ear subproject comes first) 
instead of based upon the dependency chain.  Beacuse the subprojects have 
not yet been installed in the repository, the build fails. 

Here is my maven.xml








Can someone explain to me how reactor determines the build order ?

ps- I am not familiar with werkz, I know there's a dependency there, but I 
have no idea whta it is

Thanks
Louis M. Burroughs III

Re: Newbie question

2004-11-04 Thread Louis Burroughs
Nevermind I found Runtime.exec(cmd,envp,dir)

Sorry,






Louis Burroughs <[EMAIL PROTECTED]>
11/04/2004 04:47 PM
Please respond to "Maven Users List"




 
To: "Maven Users List" <[EMAIL PROTECTED]>
cc: 
bcc: 
Subject:Newbie question


I want to pass in the location of the project.xml file to Maven at
runtime.  Is this possible?  I am trying to execute Maven using the java
Runtime.

Thanks,
Louis



Newbie question

2004-11-04 Thread Louis Burroughs
I want to pass in the location of the project.xml file to Maven at 
runtime.  Is this possible?  I am trying to execute Maven using the java 
Runtime. 

Thanks,
Louis