RE: changes pdf

2004-11-23 Thread Stéphane Nicoll
Arnaud,

Thanks for the tip but the plugin generates an empty PDF :( (So table of 
content with only one item, changes but nothing else). My changes has been 
generated and I have a changes-report.html in the target/docs directory.

Any idea?

Regards,
Stéphane

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 11:17 PM
To: 'Maven Users List'
Subject: RE: changes  pdf


Hello St=E9phane,

You can generate a pdf for your changes with somethink like that:

In your maven.xml :

goal name=3Dchanges:pdf
  j:set var=3Dmaven.pdf.navigationFile = value=3Dnavigation-changes.xml/
  j:set var=3Dmaven.pdf.pdfName = value=3D${pom.artifactId}-changes.pdf /
  attainGoal name=3Dpdf/
/goal

In your ${basedir}/xdocs/navigation-changes.xml :

?xml version=3D1.0 encoding=3DISO-8859-1?
project name=3DXXX
  body
menu name=3DChanges href=3D/changes-report.html/
  /body
/project

But I have no idea on how to do it for a given release.

Arnaud




 -Message d'origine-
 De=A0: St=E9phane Nicoll [mailto:[EMAIL PROTECTED]
 Envoy=E9=A0: vendredi 19 novembre 2004 12:32
 =C0=A0: Maven Users List
 Objet=A0: changes  pdf
=20
 Hello list,
=20
 I would like to create a PDF document of the generated changes. Is it 
=
possible easily? Can I also
 specify the version I want? (typically generate a PDF for version =
3.4.5 for instance).
=20
 Thanks,
 St=E9phane
=20
 St=E9phane Nicoll
 Business Solutions Builders
 Place de l'Universit=E9 25/10
 B-1348 Louvain-La-Neuve
=20


-
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: [ANN] Java Application Plugin (javaapp) 1.3 released

2004-11-23 Thread Jörg Schaible
Geoffrey wrote on Monday, November 22, 2004 6:39 PM:

 Hi,
 
 This looks like an interesting plugin, but I don't understand
 on which level to use it in a multiproject. Use it on the
 parent level or create a seperate module to create the final
 executable jar? 

No, use it in a subproject (was not possible with last release). It has the 
same functional scope as the uberjar plugin. 

 Are there any open source projects that use this plugin to
 create their executable jar? Do any of those use it in
 combination with the distribution or NSIS plugin?

Honestly, I don't know.

- Jörg

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



Re: Put 30 legacy jars in a Maven repository?

2004-11-23 Thread Konstantin Priblouda

--- M. Sean Gilligan [EMAIL PROTECTED]
wrote:

 Hi,
 
 I have about 30 jars that came from different places
 that I'm using in a complex built that we are
 migrating to maven.  What I'd like to do is build a
 list/database/xml-doc that lists the 30 jars by
 pathname, gives a groupId, artifactId, and version
 for each, then have a maven.xml goal that uploads
 them all to my private maven repository.
 
 I would rather not create 30 maven subproject
 directories with POMs in them.
 
 What is the best way to do this?

Not sure whether this is the best aproach, but
recently
I learned about project:
http://sourceforge.net/projects/maven-proxy-war/

which claims to be nice local maven repository with
fancy GUI and proxy capabilities...

Maybe it has something  for you?

regards,



=
[ Konstantin Pribluda ( ko5tik ) ]
... Sucht gerade nach neuen Projekt oder Festanstelung
Plugins for xdoclet-2 are released. check it out at:
http://www.sourceforge.net/projects/xdoclet-plugins/
[ http://www.pribluda.de ]

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

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



Re: changes pdf

2004-11-23 Thread Arnaud HERITIER
And if you put this in your navigation-pdf.xml :

?xml version=1.0 encoding=ISO-8859-1?
project name=X
  titleX/title
  body
menu name=X
  item name=Changes href=/changes-report.html/
/menu
  /body
/project

There's perhaps a problem with the menu.

Arnaud

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



Maven-Proxy (was: Put 30 legacy jars in a Maven repository?)

2004-11-23 Thread Jörg Schaible
Hi Konstantin,

Konstantin Priblouda wrote on Tuesday, November 23, 2004 10:01 AM:

 Not sure whether this is the best aproach, but
 recently
 I learned about project:
 http://sourceforge.net/projects/maven-proxy-war/
 
 which claims to be nice local maven repository with
 fancy GUI and proxy capabilities...
 
 Maybe it has something  for you?

how is it really different from Joe's Maven-proxy 
(http://maven-proxy.codehaus.org)

- Jörg

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



RE: changes pdf

2004-11-23 Thread Stéphane Nicoll
Indeed, it's working now.

Thanks!
Stéphane

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 23, 2004 9:53 AM
To: Maven Users List
Subject: Re: changes  pdf


And if you put this in your navigation-pdf.xml :

?xml version=1.0 encoding=ISO-8859-1?
project name=X
  titleX/title
  body
menu name=X
  item name=Changes href=/changes-report.html/
/menu
  /body
/project

There's perhaps a problem with the menu.

Arnaud

-
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-Proxy (was: Put 30 legacy jars in a Maven repository?)

2004-11-23 Thread Konstantin Priblouda

--- Jörg Schaible [EMAIL PROTECTED]
wrote:

 Hi Konstantin,
 
 Konstantin Priblouda wrote on Tuesday, November 23,
 2004 10:01 AM:
 
  Not sure whether this is the best aproach, but
  recently
  I learned about project:
  http://sourceforge.net/projects/maven-proxy-war/
  
  which claims to be nice local maven repository
 with
  fancy GUI and proxy capabilities...
  
  Maybe it has something  for you?
 
 how is it really different from Joe's Maven-proxy
 (http://maven-proxy.codehaus.org)

No Idea... It's just one fellow from xdoclet-plugins
who started this work. I'll point him to this
direction...

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
... Sucht gerade nach neuen Projekt oder Festanstelung
Plugins for xdoclet-2 are released. check it out at:
http://www.sourceforge.net/projects/xdoclet-plugins/
[ http://www.pribluda.de ]



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



Re: [ANN] Java Application Plugin (javaapp) 1.3 released

2004-11-23 Thread Siegfried Goeschl
Hi Geoffry,
I use the old javaapp plugin to generate a single JAR for NSIS and 
various EXE wrapper but I'm currently not using the NSIS plugin since I 
didn't know about it  :-)

But with a little bit of luck I do know more next week
+) upgrading to version 1.3
+) toying aronud with the NSIS plugin
Siegfried Goeschl
Jörg Schaible wrote:
Geoffrey wrote on Monday, November 22, 2004 6:39 PM:
 

Hi,
This looks like an interesting plugin, but I don't understand
on which level to use it in a multiproject. Use it on the
parent level or create a seperate module to create the final
executable jar? 
   

No, use it in a subproject (was not possible with last release). It has the same functional scope as the uberjar plugin. 

 

Are there any open source projects that use this plugin to
create their executable jar? Do any of those use it in
combination with the distribution or NSIS plugin?
   

Honestly, I don't know.
- Jörg
-
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-Proxy (was: Put 30 legacy jars in a Maven repository?)

2004-11-23 Thread Martin van den Bemt
On Tue, 2004-11-23 at 10:40, Jörg Schaible wrote:
 Hi Konstantin,
 
 Konstantin Priblouda wrote on Tuesday, November 23, 2004 10:01 AM:
 
  Not sure whether this is the best aproach, but
  recently
  I learned about project:
  http://sourceforge.net/projects/maven-proxy-war/
  
  which claims to be nice local maven repository with
  fancy GUI and proxy capabilities...
  
  Maybe it has something  for you?
 
 how is it really different from Joe's Maven-proxy 
 (http://maven-proxy.codehaus.org)

The one from codehaus corrupts a lot of jars (never used the other)...
Still have to file an issue for it though :)

Mvgr,
Martin

 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Mvgr,
Martin


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



RE: Maven-Proxy (was: Put 30 legacy jars in a Maven repository?)

2004-11-23 Thread Jörg Schaible
Martin van den Bemt wrote on Tuesday, November 23, 2004 12:08 PM:
 
 how is it really different from Joe's Maven-proxy
 (http://maven-proxy.codehaus.org)
 
 The one from codehaus corrupts a lot of jars (never used the
 other)... Still have to file an issue for it though :)

Hmm. I do use it in production now for more than 6 months and never had such an 
issue ... what do you mean by corrupts though ?

- Jörg

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



Bug or conceptual limitation?

2004-11-23 Thread Oliver Noelle
I don't know if the following behaviour is intended or a bug.

If it is a bug and you want me to file a bug report, please let me know 
in which project I should file it in jira.


Assume the following setting:

For a project x we produce with a custom goal two artifacts
1. x.dll
2. x.model (for example some model of the component x)
and deploy both to the repository.

Another project needs both these artifacts, and thus states in its pom:

dependency
  groupIdy/groupId
  artifactIdx/artifactId
  typedll/type
  version0.1/version
/dependency
dependency
  groupIdy/groupId
  artifactIdx/artifactId
  typemodel/type
  version0.1/version
/dependency


In maven-1.0 (I have not tested 1.0.1 yet), the second dependency is 
completely ignored, eg.
1. it will NOT be downloaded from central repository
2. some jelly code such as

  j:forEach items=${pom.dependencies} var=dep
  ant:echo${dep.artifact}/ant:echo
  /j:forEach

will NOT produce any output for the second dependency.


= Question 1: Is this a known limitation of the maven pom concept to 
allow only one artifact with a given groupId/artifactId combination or a 
bug?

= Question 2: If bug: Does anyone know whether maven-1.0.1 fixes this?

= Question 3: If limitation: any proposals for a workaround?

Thanks,

Oliver


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



Firewall problem

2004-11-23 Thread Oleg Taranenko
Hi, all

I try to use Maven behind the firewall.

maven -Dpackage=delirium genapp

And recieve error

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

Attempting to download commons-jelly-tags-interaction-20030211.143817.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-interaction-20030211.143817.jar]:
 java.net.NoRouteToHostException: No route to host: connect
WARNING: Failed to download commons-jelly-tags-interaction-20030211.143817.jar.
Total time: 56 seconds
Finished at: Tue Nov 23 15:02:49 MSK 2004


I know parmeters of my proxy, but I do not know what change in Maven
settings. Who can help?



thanx in advance

-- 
yours
Oleg Taranenko
E-mail: mailto:[EMAIL PROTECTED]



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



Re: Bug or conceptual limitation?

2004-11-23 Thread Brett Porter
search the archives for more information (typically it refers to
tlds). Fixed in 1.1. The JIRA roadmap for 1.1 will have it listed.
(1.0.1 does not contain the fix, it is not backwards compatible).

- Brett


On Tue, 23 Nov 2004 12:08:01 +0100, Oliver Noelle
[EMAIL PROTECTED] wrote:
 I don't know if the following behaviour is intended or a bug.
 
 If it is a bug and you want me to file a bug report, please let me know
 in which project I should file it in jira.
 
 Assume the following setting:
 
 For a project x we produce with a custom goal two artifacts
 1. x.dll
 2. x.model (for example some model of the component x)
 and deploy both to the repository.
 
 Another project needs both these artifacts, and thus states in its pom:
 
 dependency
   groupIdy/groupId
   artifactIdx/artifactId
   typedll/type
   version0.1/version
 /dependency
 dependency
   groupIdy/groupId
   artifactIdx/artifactId
   typemodel/type
   version0.1/version
 /dependency
 
 In maven-1.0 (I have not tested 1.0.1 yet), the second dependency is
 completely ignored, eg.
 1. it will NOT be downloaded from central repository
 2. some jelly code such as
 
   j:forEach items=${pom.dependencies} var=dep
   ant:echo${dep.artifact}/ant:echo
   /j:forEach
 
 will NOT produce any output for the second dependency.
 
 = Question 1: Is this a known limitation of the maven pom concept to
 allow only one artifact with a given groupId/artifactId combination or a
 bug?
 
 = Question 2: If bug: Does anyone know whether maven-1.0.1 fixes this?
 
 = Question 3: If limitation: any proposals for a workaround?
 
 Thanks,
 
 Oliver
 
 -
 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: Firewall problem

2004-11-23 Thread jmutonho






Add these to your build.properties
maven.proxy.host=YOUR PROXY
maven.proxy.port=YOUR PROXY LISTENING PORT

Jeff

Registered Linux user number 366042




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

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



Dynamically modifing the ressources

2004-11-23 Thread Charles-Alexandre Sabourdin
Hi,
I feel that this must have been discuss somewhere but I could not figure it 
out.
The basic idea is to have 2 directory /src/conf/projetA /src/conf/projetB. I 
would like to set maven goals to use a specific directory.
I llok aroud and found :
[echo] $ {pom.build.resources}:
[[dir = /home/sabourdin/Documents/projet/exemplebean/src/conf/projetA]]
but I did not find how to modify this propertie :(

-- 
Charles-Alexandre
SABOURDIN
-

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



Re: maven.jar.includes could not work?

2004-11-23 Thread Eric Giguere
Hello
I think that the support for the include property in the jar plugin was 
lost during a merge for version 1.6 of the plugin, its a feature I've 
submitted earlier and it got lost.

Check in the plugin.jelly file  around the use of the jar tag, you 
should see in the jar:jar goal:
   ant:jar
 jarfile=${maven.build.dir}/${maven.final.name}.jar
 basedir=${maven.build.dest}
 index=${maven.jar.index}
 compress=${maven.jar.compress}
 excludes=${maven.jar.excludes}

Replace this by:
   ant:jar
 jarfile=${maven.build.dir}/${maven.final.name}.jar
 basedir=${maven.build.dest}
 index=${maven.jar.index}
 compress=${maven.jar.compress}
 excludes=${maven.jar.excludes}
 includes=${maven.jar.includes}
This will fix the problem.
Hope it helps
Eric.
Adrian Tarau wrote:
Hmmm, it doesn't work.
I use it like this: in a postGoal jar:jar I want to call again the jar:jar goal 
with some properties changed to create another jar. For that I must changed 
maven.jar.includes and maven.jar.excludes to put a different classes in this 
second jar.
postGoal name=jar:jar
   j:if test=${jar_second_loop != 'true'}
   j:set var=oldMavenFinalName value=${maven.final.name} /
   j:set var=maven.final.name 
value=${pom.artifactId}-j2ee-${pom.currentVersion}/
   echoBuilding J2EE Notification JAR: ${maven.final.name}/echo
   attainGoal name=j2ee-jar:prepare-jar-filters/
   j:set var=jar_second_loop value=true/
   attainGoal name=jar:jar/
   j:set var=maven.final.name value=${oldMavenFinalName}/
   /j:if
   /postGoal
and 

goal name=j2ee-jar:prepare-jar-filters
   maven:set plugin=maven-jar-plugin property=maven.jar.includes 
value=${notification.j2ee.includes}/
   j:set var=maven.jar.excludes value=${oldJarExcludes}/
   /goal

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 22, 2004 5:25 PM
To: Maven Users List
Subject: Re: maven.jar.includes could not work?

Depending on when you are calling that, you may need to use
maven:set plugin=maven-jar-plugin property=maven.jar.includes
value=com/xxx/yyy/** /
- Brett
On Mon, 22 Nov 2004 17:21:46 -0500, Adrian Tarau
[EMAIL PROTECTED] wrote:
 

Hi,
I want to change maven.jar.includes from build.xml and I set the include 
pattern but the jar doesn't have any class inside(only the manifest).
The pattern is j:set var=maven.jar.includes value=com/xxx/yyy/**/
Thanks.
   

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




RE: maven.jar.includes could not work?

2004-11-23 Thread Adrian Tarau

No, the jar plugin is ok, the maven.jar.incluse is set latter.
The problem was that I set when building the main jar the explude path, and 
when I tried to set the filters for the second jar, the exclude path cannot be 
set with jelly:set only with maven:set.

Now it works :) Thanks for help.

-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 23, 2004 9:27 AM
To: Maven Users List
Subject: Re: maven.jar.includes could not work?

Hello
I think that the support for the include property in the jar plugin was 
lost during a merge for version 1.6 of the plugin, its a feature I've 
submitted earlier and it got lost.

Check in the plugin.jelly file  around the use of the jar tag, you 
should see in the jar:jar goal:
ant:jar
  jarfile=${maven.build.dir}/${maven.final.name}.jar
  basedir=${maven.build.dest}
  index=${maven.jar.index}
  compress=${maven.jar.compress}
  excludes=${maven.jar.excludes}

Replace this by:
ant:jar
  jarfile=${maven.build.dir}/${maven.final.name}.jar
  basedir=${maven.build.dest}
  index=${maven.jar.index}
  compress=${maven.jar.compress}
  excludes=${maven.jar.excludes}
  includes=${maven.jar.includes}

This will fix the problem.

Hope it helps
Eric.

 
Adrian Tarau wrote:

Hmmm, it doesn't work.

I use it like this: in a postGoal jar:jar I want to call again the jar:jar 
goal with some properties changed to create another jar. For that I must 
changed maven.jar.includes and maven.jar.excludes to put a different classes 
in this second jar.

postGoal name=jar:jar
j:if test=${jar_second_loop != 'true'}
j:set var=oldMavenFinalName value=${maven.final.name} /
j:set var=maven.final.name 
 value=${pom.artifactId}-j2ee-${pom.currentVersion}/
echoBuilding J2EE Notification JAR: ${maven.final.name}/echo
attainGoal name=j2ee-jar:prepare-jar-filters/
j:set var=jar_second_loop value=true/
attainGoal name=jar:jar/
j:set var=maven.final.name value=${oldMavenFinalName}/
/j:if
/postGoal

and 

goal name=j2ee-jar:prepare-jar-filters
maven:set plugin=maven-jar-plugin property=maven.jar.includes 
 value=${notification.j2ee.includes}/
j:set var=maven.jar.excludes value=${oldJarExcludes}/
/goal



-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 22, 2004 5:25 PM
To: Maven Users List
Subject: Re: maven.jar.includes could not work?

Depending on when you are calling that, you may need to use

maven:set plugin=maven-jar-plugin property=maven.jar.includes
value=com/xxx/yyy/** /

- Brett


On Mon, 22 Nov 2004 17:21:46 -0500, Adrian Tarau
[EMAIL PROTECTED] wrote:
  

Hi,

I want to change maven.jar.includes from build.xml and I set the include 
pattern but the jar doesn't have any class inside(only the manifest).

The pattern is j:set var=maven.jar.includes value=com/xxx/yyy/**/

Thanks.





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


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


  



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



Re: Firewall problem

2004-11-23 Thread Julien Kirch
Hi
all details here :
http://maven.apache.org/reference/user-guide.html#Using_Proxies
notes :
* Perhaps renaming this section to using a firewall or something like 
that would be a good thing
* typo in the faq.fml line 285
-a href=./reference/user-guide.html#Using ProxiesUser 
Guide/a for more details.
+   a href=./reference/user-guide.html#Using_ProxiesUser 
Guide/a for more details.
patch could be submited

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


problem *not* forking unit tests

2004-11-23 Thread Micah Craig
Hi,
   I just upgraded from rc1 to 1.0.1, and suddenly, I can't run JUnit
tests un-forked (maven.junit.fork=no).  Failure output is below.  Could
this be some sort of mangled classpath issue left over from the upgrade,
or is something more sinister afoot.  Thanks,
   -micah
BUILD FAILED
File.. C:\Documents and
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Element... junit
Line.. 133
Column 41
java.lang.NoClassDefFoundError
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[test:test] -- C:\Documents and
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:133:41:
junit java.lang.NoClassDefFoundError
   at com.werken.werkz.Goal.fire(Goal.java:646)
   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
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
   at org.apache.maven.cli.App.doMain(App.java:488)
   at org.apache.maven.cli.App.main(App.java:1239)
   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)
org.apache.commons.jelly.JellyTagException: C:\Documents and
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:133:41:
junit java.lang.NoClassDefFoundError
   at
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:702)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
   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(MavenGoalTag.java:79)
   at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(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.Goal.attainPrecursors(Goal.java:488)
   at com.werken.werkz.Goal.attain(Goal.java:573)
   at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
   at org.apache.maven.cli.App.doMain(App.java:488)
   at org.apache.maven.cli.App.main(App.java:1239)
$
   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.NoClassDefFoundError
   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.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:257)
   at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:219)
   at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:822)
   at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
   at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
   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)
   ... 21 more
Root cause
java.lang.NoClassDefFoundError
   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.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:257)
   at

Re: problem *not* forking unit tests

2004-11-23 Thread Julien Kirch
Hi Micah
I think the test forking law is thou shall fork, not forking is a real 
classpath mess between maven and project classpath (and caused your 
problem), I don't think not forking is ever a good idea.

Julien
Micah Craig wrote:
Hi,
   I just upgraded from rc1 to 1.0.1, and suddenly, I can't run JUnit
tests un-forked (maven.junit.fork=no).  Failure output is below.  Could
this be some sort of mangled classpath issue left over from the upgrade,
or is something more sinister afoot.  Thanks,
   -micah

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


RE: problem *not* forking unit tests

2004-11-23 Thread Ryan Sonnek
this question comes up so frequently, and the answer is always, Junit
tests should be forked.  Can someone PLEASE change the default behavior
of the test plugin to fork unless it's overridden?  It would save on the
constent confusion in this area.

-Original Message-
From: Julien Kirch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 3:21 PM
To: Maven Users List
Subject: Re: problem *not* forking unit tests


Hi Micah

I think the test forking law is thou shall fork, not forking is a real

classpath mess between maven and project classpath (and caused your 
problem), I don't think not forking is ever a good idea.

Julien


Micah Craig wrote:

 Hi,
I just upgraded from rc1 to 1.0.1, and suddenly, I can't run JUnit
 tests un-forked (maven.junit.fork=no).  Failure output is below.
Could
 this be some sort of mangled classpath issue left over from the
upgrade,
 or is something more sinister afoot.  Thanks,

-micah



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


smime.p7s
Description: S/MIME cryptographic signature


problem *not* forking unit tests

2004-11-23 Thread micah craig
Hi,
   I just upgraded from rc1 to 1.0.1, and suddenly, I can't run JUnit 
tests un-forked (maven.junit.fork=no).  Failure output is below.  Could 
this be some sort of mangled classpath issue left over from the upgrade, 
or is something more sinister afoot.  Thanks,

   -micah
BUILD FAILED
File.. C:\Documents and 
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Element... junit
Line.. 133
Column 41
java.lang.NoClassDefFoundError
com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
[test:test] -- C:\Documents and 
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:133:41: 
junit java.lang.NoClassDefFoundError
   at com.werken.werkz.Goal.fire(Goal.java:646)
   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 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
   at org.apache.maven.cli.App.doMain(App.java:488)
   at org.apache.maven.cli.App.main(App.java:1239)
   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)
org.apache.commons.jelly.JellyTagException: C:\Documents and 
Settings\mcraig\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:133:41: 
junit java.lang.NoClassDefFoundError
   at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:702)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
   at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
   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(MavenGoalTag.java:79)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(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.Goal.attainPrecursors(Goal.java:488)
   at com.werken.werkz.Goal.attain(Goal.java:573)
   at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
   at org.apache.maven.cli.App.doMain(App.java:488)
   at org.apache.maven.cli.App.main(App.java:1239)
$
   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.NoClassDefFoundError
   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.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:257)
   at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:219)
   at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:822)
   at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
   at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
   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)
   ... 21 more
Root cause
java.lang.NoClassDefFoundError
   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.tools.ant.taskdefs.optional.junit.JUnitTestRunner.init(JUnitTestRunner.java:257)
   at 

Problems with site:deploy goal

2004-11-23 Thread Matheus Leite
Hi people,

I have a Maven setup with 2 Windows machines; one builds my project
and sends the generated site to the other using the site:deploy goal

However when running site:deploy, it hangs after unpacking the .tar
file at the remote machine. The last lines outputted are:

[exec] tar: style/maven-base.css: time stamp 2004-11-23 18:15:53 is 5 s in t
he future
[exec] tar: style/maven-classic.css: time stamp 2004-11-23 18:15:53 is 5 s i
n the future
[exec] tar: style/maven-theme.css: time stamp 2004-11-23 18:15:53 is 5 s in
the future
[exec] tar: style/print.css: time stamp 2004-11-23 18:15:53 is 5 s in the fu
ture
[exec] tar: team-list.html: time stamp 2004-11-23 18:16:00 is 12 s in the fu
ture

However, doing by hand the exact command sent out by the jelly script
(pasted below), I get no problems.

ssh -l foo my.host.bar 'cd
/cygdrive/c/progra~1/apache~1/apache2/htdocs/projects;
gunzip my-project-1.0-site.tar.gz;tar xUvf
my-project-1.0-site.tar;chmod -R g+u * .;rm
mindsatwork-commons-1.0-site.tar

Please, anyone can help me out?

Matheus

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



SAXParseException

2004-11-23 Thread Chris Huisman
I get the following error when running eclipse maven external tools like 
clean and dist.  Things run fine when I perform the operations from the 
command line.  What's going on here?  I don't have any characters before 
the header of the project.xml file or before the first line of the 
project.properties files.  (I am using eclipse Version: 3.1.0 Build id: 
200409240800)

thanks chris.
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1527)
   at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
   at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
   at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
   at org.apache.maven.cli.App.doMain(App.java:475)
   at org.apache.maven.cli.App.main(App.java:1239)
   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)
org.apache.maven.MavenException: Error parsing project.xml 
'D:\chuisman\dev\hotdog\project.properties'
   at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
   at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
   at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
   at org.apache.maven.cli.App.doMain(App.java:475)
   at org.apache.maven.cli.App.main(App.java:1239)
   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)
--- Nested Exception ---
org.xml.sax.SAXParseException: Content is not allowed in prolog.
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1527)
   at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
   at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
   at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
   at org.apache.maven.cli.App.doMain(App.java:475)
   at org.apache.maven.cli.App.main(App.java:1239)
   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)

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


Re: SAXParseException

2004-11-23 Thread Dion Gillard
On Tue, 23 Nov 2004 15:38:43 -0700, Chris Huisman [EMAIL PROTECTED] wrote:
 I get the following error when running eclipse maven external tools like
 clean and dist.  Things run fine when I perform the operations from the
 command line.  What's going on here?  I don't have any characters before
 the header of the project.xml file or before the first line of the
 project.properties files.  (I am using eclipse Version: 3.1.0 Build id:
 200409240800)
 
 thanks chris.
 
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
 
 Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
Are you sure you're selecting a project.xml file?

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

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



Re: SAXParseException

2004-11-23 Thread Chris Huisman
I'm not sure if I'm selecting a project.xml file.  How would I determine 
this?  The external tool call uses the arguments -e -p ${resource_name} 
maven goal (i.e clean, dist, etc). 

I actually think I may have figured it out.  In the eclipse IDE I have 
to have the project.xml file selected before I run the external tool. 

c.
Dion Gillard wrote:
On Tue, 23 Nov 2004 15:38:43 -0700, Chris Huisman [EMAIL PROTECTED] wrote:
 

I get the following error when running eclipse maven external tools like
clean and dist.  Things run fine when I perform the operations from the
command line.  What's going on here?  I don't have any characters before
the header of the project.xml file or before the first line of the
project.properties files.  (I am using eclipse Version: 3.1.0 Build id:
200409240800)
thanks chris.
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
   

Are you sure you're selecting a project.xml file?
 

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


Re: SAXParseException

2004-11-23 Thread Dion Gillard
On Tue, 23 Nov 2004 15:58:49 -0700, Chris Huisman [EMAIL PROTECTED] wrote:
 I'm not sure if I'm selecting a project.xml file.  How would I determine
 this?  The external tool call uses the arguments -e -p ${resource_name}

Select a project.xml file by clicking on it in the IDE.

 maven goal (i.e clean, dist, etc).
 
 I actually think I may have figured it out.  In the eclipse IDE I have
 to have the project.xml file selected before I run the external tool.
 
 c.

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

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



maven-artifact plugin, scp

2004-11-23 Thread Kalaveshi, Adrian
Using 'scp' and maven-artifact-plugin-1.4, I'm getting the following
exception:

jar:deploy-snapshot:
[echo] maven.repo.list is set - using artifact deploy mode
Will deploy to 1 repository(ies): library-sm
Deploying to repository: library-sm
java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not
available

I suspect that it has something to do with my environment... but has
anyone else encountered this error?

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



Re: maven-artifact plugin, scp

2004-11-23 Thread Brett Porter
What JDK are you using? (Not just number, but who - eg Sun, Apple, IBM)

- Brett


On Tue, 23 Nov 2004 16:53:46 -0800, Kalaveshi, Adrian
[EMAIL PROTECTED] wrote:
 Using 'scp' and maven-artifact-plugin-1.4, I'm getting the following
 exception:
 
 jar:deploy-snapshot:
 [echo] maven.repo.list is set - using artifact deploy mode
 Will deploy to 1 repository(ies): library-sm
 Deploying to repository: library-sm
 java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not
 available
 
 I suspect that it has something to do with my environment... but has
 anyone else encountered this error?
 
 -
 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-artifact plugin, scp

2004-11-23 Thread Kalaveshi, Adrian
sun-jdk/1.4.2_04 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 23, 2004 6:09 PM
To: Maven Users List
Subject: Re: maven-artifact plugin, scp

What JDK are you using? (Not just number, but who - eg Sun, Apple, IBM)

- Brett


On Tue, 23 Nov 2004 16:53:46 -0800, Kalaveshi, Adrian
[EMAIL PROTECTED] wrote:
 Using 'scp' and maven-artifact-plugin-1.4, I'm getting the following
 exception:
 
 jar:deploy-snapshot:
 [echo] maven.repo.list is set - using artifact deploy mode Will 
 deploy to 1 repository(ies): library-sm Deploying to repository: 
 library-sm
 java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not 
 available
 
 I suspect that it has something to do with my environment... but has 
 anyone else encountered this error?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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


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



Re: maven-artifact plugin, scp

2004-11-23 Thread Brett Porter
Works for me on Linux, Solaris 8 and Windows.

Given that you work for rsasecurity, any chance you have a non-default
JCE setup in that JDK?

Cheers,
Brett

On Tue, 23 Nov 2004 19:14:00 -0800, Kalaveshi, Adrian
[EMAIL PROTECTED] wrote:
 sun-jdk/1.4.2_04
 
 
 
 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 23, 2004 6:09 PM
 To: Maven Users List
 Subject: Re: maven-artifact plugin, scp
 
 What JDK are you using? (Not just number, but who - eg Sun, Apple, IBM)
 
 - Brett
 
 On Tue, 23 Nov 2004 16:53:46 -0800, Kalaveshi, Adrian
 [EMAIL PROTECTED] wrote:
  Using 'scp' and maven-artifact-plugin-1.4, I'm getting the following
  exception:
 
  jar:deploy-snapshot:
  [echo] maven.repo.list is set - using artifact deploy mode Will
  deploy to 1 repository(ies): library-sm Deploying to repository:
  library-sm
  java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not
  available
 
  I suspect that it has something to do with my environment... but has
  anyone else encountered this error?
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: including dependencies in zip file

2004-11-23 Thread Atluri Satish
Hi

I am not sure, if this post will help you.Anyway, the following
maven.xml snippet copies all the dependency jars files from maven
repository to a folder specified. you can zip them using ANT zip task
for suit your packaging needs.

goal name=copydependencies
  echoCopying Dependent Jars/echo
  mkdir dir=${maven.build.dir}/lib/ /
 deploy:copy-deps todir=${maven.build.dir}/lib/ /

  !-- Create a zip file --
   zip zipfile=${maven.dist.dir}/${maven.final.name}-dependencies.zip
zipfileset dir=${maven.build.dir}/lib/ /
   /zip
/goal

bye
Satish


On Tue, 2 Nov 2004 13:28:41 +0200, Jeffrey Mutonho [EMAIL PROTECTED] wrote:
 Hi guys
 
 We use Maven to build a distribution for one of our webapps.
 Currently we successfully build a zip file containing the webapp .war
 file and many web pages making up the standard maven documentation and
 some reports etc. What we would like to do is to also include in the
 zip file the jar files that the app is dependent on, i.e. those listed
 in the dependencies/ tag in project.xml.  Please advise of an
 elegant way we can accomplish this.  One way of doing this is to
 define a post goal where we manipulate the contents of the zip file,
 but we are trying to avoid having to define the set of jars twice in
 xml, i.e. we want to re-use the dependencies/ set.
 
 jeff mutonho
 
 -
 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]