Re: aspectj in multiproject

2004-08-24 Thread Andreas Guther
I am not so sure about that, but I believe that for having multiple projects
using the same aspects you might need to provide the aspects in a jar file.
Andreas
thorsten maus wrote:
hi there .. 

has anyone made some experiences using the aspectj
plugin in a multiproject... 

1. should i create an additional subproject for the
aspects ?
2. how do i achieve that every subproject is using the
same aspects ?
thanks in advance

__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


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


Re: Sun Binary Dependencies

2004-08-24 Thread Trygve Laugstøl
Geronimo has implementations of a lot of the j2ee specifiactions.

They can be found in http://www.ibiblio.org/maven/geronimo-spec/jars/

--
Trygve

On Tue, Aug 24, 2004 at 12:04:58PM +0100, Ricardo Gladwell wrote:
> Hi All,
> 
> At the moment one of my maven projects depends upon JARs distributed by 
> Sun (e.g. JTA). I'm manually downloading and extracting the ZIPs from 
> Sun and copying the JARs to my local repository. Ideally, I would like 
> some way to automatically download the ZIPs and extract the relevant files.
> 
> I understand there was some discussion about this on the mailing list to 
> create some "scrapper" maven plug-ins to auotmagically do this. What was 
> the outcome and what is the process for supplying these files?
> 
> Kind regards
> -- Ricardo Gladwell
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


signature.asc
Description: Digital signature


Re: Tag library requested that is not present.

2004-08-24 Thread Brett Porter
that line does not indicate an attempt to download a snapshot, and as
mentioned it is just a warning (sorry it is not displayed as such).

If you think the xdoclet plugin is a source of frustration, it is
probably best to tell the developers of it that, and to offer some
constructive criticism. I'm not sure if they hang out here.

Cheers,
Brett

On Tue, 24 Aug 2004 15:02:33 -0700, Nadeem Bitar <[EMAIL PROTECTED]> wrote:
> The xdoclet plugin has been a great source of frustration. Last night i
> opted out and just wrote a goal to do all my xdoclet stuff but the goal
> is now over 200 lines which kind of defeats the purpose of using maven.
> 
> Also what I considered an error was the plugin trying to download the
> snapshot which slows down the build significantly.
> 
> Regards,
> 
> Nadeem
> 
> 
> 
> On ç, 2004-08-24 at 14:14 -0700, matthew.hawthorne wrote:
> > Nadeem Bitar wrote:
> > > I am getting the following error:
> > >
> > > Tag library requested that is not present: 'maven' in plugin: 'maven-
> > > xdoclet-plugin-1.2.2-SNAPSHOT'
> > >
> > > Why is maven trying to download this at the first place, I have not
> > > specified any snapshot dependencies?
> >
> >
> > Also, I wouldn't really call this an error, since the plugin runs fine
> > even though it
> > prints the message every time.
> >
> > -
> > 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: aspectj in multiproject

2004-08-24 Thread thorsten maus
hehe .. 

thanks ... 
makes things easier .. and i do not get nasty
classpath errors .. 

greetings from berlin 

;o)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



RE: aspectj in multiproject

2004-08-24 Thread Carlos Sanchez
Hi,

1. You should create a project for the common things that affect all
projects, one of those things may be the aspects.
2. Use that common project as a dependency in the other ones, read
http://maven.apache.org/reference/plugins/aspectj/
  
groupid
your common jar
jarversion

  true

  

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: thorsten maus [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 24, 2004 11:22 PM
> To: [EMAIL PROTECTED]
> Subject: aspectj in multiproject
> 
> hi there .. 
> 
> has anyone made some experiences using the aspectj plugin in 
> a multiproject... 
> 
> 1. should i create an additional subproject for the aspects ?
> 
> 2. how do i achieve that every subproject is using the same aspects ?
> 
> 
> thanks in advance
> 
> 
>   
> __
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



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



Re: Tag library requested that is not present.

2004-08-24 Thread Nadeem Bitar
The xdoclet plugin has been a great source of frustration. Last night i
opted out and just wrote a goal to do all my xdoclet stuff but the goal
is now over 200 lines which kind of defeats the purpose of using maven.

Also what I considered an error was the plugin trying to download the
snapshot which slows down the build significantly.

Regards,

Nadeem

On ç, 2004-08-24 at 14:14 -0700, matthew.hawthorne wrote:
> Nadeem Bitar wrote:
> > I am getting the following error:
> > 
> > Tag library requested that is not present: 'maven' in plugin: 'maven-
> > xdoclet-plugin-1.2.2-SNAPSHOT'
> > 
> > Why is maven trying to download this at the first place, I have not
> > specified any snapshot dependencies?
> 
> 
> Also, I wouldn't really call this an error, since the plugin runs fine 
> even though it
> prints the message every time.
> 
> -
> 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]



aspectj in multiproject

2004-08-24 Thread thorsten maus
hi there .. 

has anyone made some experiences using the aspectj
plugin in a multiproject... 

1. should i create an additional subproject for the
aspects ?

2. how do i achieve that every subproject is using the
same aspects ?


thanks in advance



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



Re: Tag library requested that is not present.

2004-08-24 Thread matthew.hawthorne
Nadeem Bitar wrote:
I am getting the following error:
Tag library requested that is not present: 'maven' in plugin: 'maven-
xdoclet-plugin-1.2.2-SNAPSHOT'
Why is maven trying to download this at the first place, I have not
specified any snapshot dependencies?

Also, I wouldn't really call this an error, since the plugin runs fine 
even though it
prints the message every time.

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


AW: httpunit plugin

2004-08-24 Thread Rolf Schmidiger
I use the "normal" test plugin. 

But with the following dependencies ;-<



tomcat
jasper-compiler
4.1.30


tomcat
jasper-runtime
4.1.30


httpunit
httpunit
1.5.4
  

jtidy
jtidy
4aug2000r7-dev
jar


rhino
rhino
1.5R4.1


nekohtml
nekohtml
0.8.1
jar
 
Perhaps this helps... 

Cheers 
Rolf

-Ursprüngliche Nachricht-
Von: John Taylor [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 24. August 2004 13:42
An: Maven Users List
Betreff: Re: httpunit plugin

You can just include your httpunit tests in with your other JUnit tests and
they should get compiled and run.
John

- Original Message - 
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 4:30 AM
Subject: Re: httpunit plugin


> compile and execute the httpunit tests. I use the tomcat plugin to deploy
to tomcat.
>
> Brett Porter wrote:
> > I use httpunit in conjunction with Cactus' httpunit integration.
> >
> > I can't think of what a "httpunit plugin" would do. Httpunit doesn't
> > really have any responsibility for starting/stopping/deploying code to
> > a server.
> >
> > What are you trying to do?
> >
> > - Brett
> >
> > On Sat, 21 Aug 2004 09:36:31 +0800, Nathan Coast <[EMAIL PROTECTED]>
wrote:
> >
> >>Hi,
> >>
> >>has anyone used httpunit from maven? is there a plugin somewhere? or
does everyone use cactus?
> >>
> >>cheers
> >>Nathan
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> -
> 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: Tag library requested that is not present.

2004-08-24 Thread Brett Porter
no, it just means that the xdoclet plugin has:
xmlns:maven="maven" in it, but the maven namespace does not exist
(maybe it should be jelly:maven). If xdoc doesn't have any 
tags, then that part should be removed.

The xdoclet plugin is not maintained by the maven developers.

- Brett

On Tue, 24 Aug 2004 02:19:21 -0700, Nadeem Bitar <[EMAIL PROTECTED]> wrote:
> I am getting the following error:
> 
> Tag library requested that is not present: 'maven' in plugin: 'maven-
> xdoclet-plugin-1.2.2-SNAPSHOT'
> 
> Why is maven trying to download this at the first place, I have not
> specified any snapshot dependencies?
> 
> -
> 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: What's wrong with my system?

2004-08-24 Thread Brett Porter
that still sounds like a file permission problem to me. 

- Brett

On Tue, 24 Aug 2004 10:58:26 -0400, Charles N. Harvey III
<[EMAIL PROTECTED]> wrote:
> That works fine.  And when I "jar -xf" that file it extracts.
> But maven can't see it at all.  And I have a really hard time installing
> over it.
> 
> Its ok.  I just changed the version.  Now I just have to go find all
> the places that I used it and change the project.xml.
> 
> Charlie
> 
> John Casey said the following on 8/24/2004 10:52 AM:
> 
> 
> 
> > What specifically do you mean by "corrupt?" Can you execute 'jar tvf'
> > against it, or is it too whacked?
> >
> > Charles N. Harvey III wrote:
> >
> >> I think it was a problem with permissions and the cache.
> >> I ran "maven" as root and it ran.
> >> Then I ran it as "charvey" and it ran fine.
> >>
> >> But I have another problem
> >>
> >> When I run "maven jar:install" for one particular jar, it installs
> >> a corrupt jar.  The jar in target/ is fine.  But the one it installs
> >> in the repository is corrupt.  I have NO idea what could cause this.
> >>
> >> Sorry to be such a bother.  Thanks again.
> >>
> >>
> >> Charlie
> >>
> >>
> >>
> >> John Casey said the following on 8/24/2004 10:45 AM:
> >>
> >>> > /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
> >>>
> >>> Does the /home/charvey/.maven/cache directory exist? You might be
> >>> able to rebuild your plugin cache by deleting this directory, and
> >>> re-running maven...also, off the top of my head, you might have a
> >>> privs problem with ~/.maven
> >>>
> >>> HTH,
> >>> john
> >>>
> >>>
> >>> Charles N. Harvey III wrote:
> >>>
>  Everything I do gets me this error:
> 
>  org.apache.maven.MavenException: Unable to extract plugin:
>  /home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
> at
>  org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941)
> 
> at
>  org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294)
> 
> at
>  org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
> 
> at
>  org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)
> 
> at
>  org.apache.maven.MavenSession.initialize(MavenSession.java:174)
> at org.apache.maven.cli.App.doMain(App.java:473)
> at org.apache.maven.cli.App.main(App.java:1215)
> 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 ---
>  java.io.FileNotFoundException:
>  /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
>  (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.(FileOutputStream.java:179)
> at java.io.FileOutputStream.(FileOutputStream.java:131)
> 
> 
> 
>  But I checked the maven-nsis-plugin-1.1.jar and it has that file.
>  What am I doing wrong?  Why can't I extract anything?  This just
>  started happening and I have no idea why.  If anyone has seen anything
>  like this please let me know.  This even comes up when I run "maven
>  --info".
> 
>  Thanks a lot.
> 
> 
>  Charlie
> 
> 
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> >>>
> >>> 
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>
> >> -
> >> 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 

Re: jar override paths

2004-08-24 Thread Jörg Schaible
Adam Fisk wrote:

> Hi Everyone-
> 
> I'm using the jar override property to use local jars in two projects.
> One project uses the reactor to call the build of the other project.
> The problem is that each project includes a property
> "maven.myproject.jars" specifying the location of the jar files.  In one
> project.properties file, this reads:
> 
> maven.myproject.jars = ../../../../lib/jars
> 
> While in another it reads:
> 
> maven.myproject.jars = ../lib/jars
> 
> I then specify my jar override jars as in the following:
> 
> maven.myproject.myjar = ${maven.lib.jars}/myjar.jar
> 
> One project.xml inherits from the other, inheriting all properties.  As
> a result, only one of these directories works depending on where you
> are.  If I go to one project, I have to uncomment or comment out the
> "maven.myproject.jars" property from the other project.  I've tried
> using the jelly tag to make these paths absolute, but the jar resolution
> and "download" happens before any code in maven.xml is executed, so this
> just doesn't work.  Can I maybe declare the properties somewhere other
> than project.properties?  Any advice would be much appreciated.

Since you mension inheriting, I assume you have a multpproject.
Use ${maven.multiproject.basedir}

- Jörg



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



Re: Sun Binary Dependencies

2004-08-24 Thread David Jencks
You may also wish to investigate whether there are non-sun jars  
available that have more amenable licensing terms.  For instance,  
geronimo has a jta jar.

http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-jta-1.0- 
M1.jar

many thanks,
david jencks
On Aug 24, 2004, at 4:04 AM, Ricardo Gladwell wrote:
Hi All,
At the moment one of my maven projects depends upon JARs distributed  
by Sun (e.g. JTA). I'm manually downloading and extracting the ZIPs  
from Sun and copying the JARs to my local repository. Ideally, I would  
like some way to automatically download the ZIPs and extract the  
relevant files.

I understand there was some discussion about this on the mailing list  
to create some "scrapper" maven plug-ins to auotmagically do this.  
What was the outcome and what is the process for supplying these  
files?

Kind regards
-- Ricardo Gladwell
-
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: Sun Binary Dependencies

2004-08-24 Thread matthew.hawthorne
Carlos Sanchez wrote:
You can extract them to a dir of your project and use jar override, then you
can distribute it with the rest of your files.
A similar option would be to create a separate local repository which is 
checked in
with the rest of your project.

Something like this:
projectRoot/
  lib/
com.sun/
  jars/
mailapi.jar
ejb-2.1.jar
Then, you could instruct people (or maybe write a maven.xml goal) to include
this directory as a "remote" repo
maven.repo.remote=file:/path/to/projectRoot/lib,www.ibiblio.org/maven
The first time that you run it, the jars will be copied from the special 
local repo
to the main one.

This is how I'm doing it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jar override paths

2004-08-24 Thread Adam Fisk
Hi Everyone-
I'm using the jar override property to use local jars in two projects.  
One project uses the reactor to call the build of the other project.  
The problem is that each project includes a property 
"maven.myproject.jars" specifying the location of the jar files.  In one 
project.properties file, this reads:

maven.myproject.jars = ../../../../lib/jars
While in another it reads:
maven.myproject.jars = ../lib/jars
I then specify my jar override jars as in the following:
maven.myproject.myjar = ${maven.lib.jars}/myjar.jar
One project.xml inherits from the other, inheriting all properties.  As 
a result, only one of these directories works depending on where you 
are.  If I go to one project, I have to uncomment or comment out the 
"maven.myproject.jars" property from the other project.  I've tried 
using the jelly tag to make these paths absolute, but the jar resolution 
and "download" happens before any code in maven.xml is executed, so this 
just doesn't work.  Can I maybe declare the properties somewhere other 
than project.properties?  Any advice would be much appreciated.

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


Re: What's wrong with my system?

2004-08-24 Thread Charles N. Harvey III
That works fine.  And when I "jar -xf" that file it extracts.
But maven can't see it at all.  And I have a really hard time installing
over it.
Its ok.  I just changed the version.  Now I just have to go find all
the places that I used it and change the project.xml.
Charlie

John Casey said the following on 8/24/2004 10:52 AM:
What specifically do you mean by "corrupt?" Can you execute 'jar tvf' 
against it, or is it too whacked?

Charles N. Harvey III wrote:
I think it was a problem with permissions and the cache.
I ran "maven" as root and it ran.
Then I ran it as "charvey" and it ran fine.
But I have another problem
When I run "maven jar:install" for one particular jar, it installs
a corrupt jar.  The jar in target/ is fine.  But the one it installs
in the repository is corrupt.  I have NO idea what could cause this.
Sorry to be such a bother.  Thanks again.
Charlie

John Casey said the following on 8/24/2004 10:45 AM:
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
Does the /home/charvey/.maven/cache directory exist? You might be 
able to rebuild your plugin cache by deleting this directory, and 
re-running maven...also, off the top of my head, you might have a 
privs problem with ~/.maven

HTH,
john
Charles N. Harvey III wrote:
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941) 

   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294) 

   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262) 

   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

   at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven 
--info".

Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
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: What's wrong with my system?

2004-08-24 Thread John Casey
What specifically do you mean by "corrupt?" Can you execute 'jar tvf' 
against it, or is it too whacked?

Charles N. Harvey III wrote:
I think it was a problem with permissions and the cache.
I ran "maven" as root and it ran.
Then I ran it as "charvey" and it ran fine.
But I have another problem
When I run "maven jar:install" for one particular jar, it installs
a corrupt jar.  The jar in target/ is fine.  But the one it installs
in the repository is corrupt.  I have NO idea what could cause this.
Sorry to be such a bother.  Thanks again.
Charlie

John Casey said the following on 8/24/2004 10:45 AM:
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
Does the /home/charvey/.maven/cache directory exist? You might be able 
to rebuild your plugin cache by deleting this directory, and 
re-running maven...also, off the top of my head, you might have a 
privs problem with ~/.maven

HTH,
john
Charles N. Harvey III wrote:
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941) 

   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294) 

   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

   at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven 
--info".

Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
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: What's wrong with my system?

2004-08-24 Thread Charles N. Harvey III
Must be a bad sector of the disk or something.  Because if I change
the version number and run "maven jar:install" it installs just fine.
But that one particular file is always corrupt.  How annoying.
Charlie

Charles N. Harvey III said the following on 8/24/2004 10:50 AM:
I think it was a problem with permissions and the cache.
I ran "maven" as root and it ran.
Then I ran it as "charvey" and it ran fine.
But I have another problem
When I run "maven jar:install" for one particular jar, it installs
a corrupt jar.  The jar in target/ is fine.  But the one it installs
in the repository is corrupt.  I have NO idea what could cause this.
Sorry to be such a bother.  Thanks again.
Charlie

John Casey said the following on 8/24/2004 10:45 AM:
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
Does the /home/charvey/.maven/cache directory exist? You might be 
able to rebuild your plugin cache by deleting this directory, and 
re-running maven...also, off the top of my head, you might have a 
privs problem with ~/.maven

HTH,
john
Charles N. Harvey III wrote:
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941) 

   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294) 

   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262) 

   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

   at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven 
--info".

Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
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: Sun Binary Dependencies

2004-08-24 Thread Carlos Sanchez
Hi,

You can extract them to a dir of your project and use jar override, then you
can distribute it with the rest of your files.

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: Ricardo Gladwell [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 24, 2004 1:05 PM
> To: Maven Users List
> Subject: Sun Binary Dependencies
> 
> Hi All,
> 
> At the moment one of my maven projects depends upon JARs 
> distributed by Sun (e.g. JTA). I'm manually downloading and 
> extracting the ZIPs from Sun and copying the JARs to my local 
> repository. Ideally, I would like some way to automatically 
> download the ZIPs and extract the relevant files.
> 
> I understand there was some discussion about this on the 
> mailing list to create some "scrapper" maven plug-ins to 
> auotmagically do this. What was the outcome and what is the 
> process for supplying these files?
> 
> Kind regards
> -- Ricardo Gladwell
> 
> -
> 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: What's wrong with my system?

2004-08-24 Thread Charles N. Harvey III
I think it was a problem with permissions and the cache.
I ran "maven" as root and it ran.
Then I ran it as "charvey" and it ran fine.
But I have another problem
When I run "maven jar:install" for one particular jar, it installs
a corrupt jar.  The jar in target/ is fine.  But the one it installs
in the repository is corrupt.  I have NO idea what could cause this.
Sorry to be such a bother.  Thanks again.
Charlie

John Casey said the following on 8/24/2004 10:45 AM:
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
Does the /home/charvey/.maven/cache directory exist? You might be able 
to rebuild your plugin cache by deleting this directory, and 
re-running maven...also, off the top of my head, you might have a 
privs problem with ~/.maven

HTH,
john
Charles N. Harvey III wrote:
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941) 

   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294) 

   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

   at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven 
--info".

Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: What's wrong with my system?

2004-08-24 Thread John Casey
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
Does the /home/charvey/.maven/cache directory exist? You might be able 
to rebuild your plugin cache by deleting this directory, and re-running 
maven...also, off the top of my head, you might have a privs problem 
with ~/.maven

HTH,
john
Charles N. Harvey III wrote:
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941)
   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294) 

   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

   at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven 
--info".

Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

RE: What's wrong with my system?

2004-08-24 Thread Arnaud HERITIER
Did you try to manually unjar this file to see if it is not corrupted?

Arnaud

> -Message d'origine-
> De : Charles N. Harvey III [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 24 août 2004 16:01
> À : Maven Users List
> Objet : What's wrong with my system?
> 
> Everything I do gets me this error:
> 
> org.apache.maven.MavenException: Unable to extract plugin:
> /home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
> at
> org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941)
> at
> org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294)
> at
> org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
> at
> org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)
> at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
> at org.apache.maven.cli.App.doMain(App.java:473)
> at org.apache.maven.cli.App.main(App.java:1215)
> 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 ---
> java.io.FileNotFoundException:
> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF
> (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.(FileOutputStream.java:179)
> at java.io.FileOutputStream.(FileOutputStream.java:131)
> 
> 
> 
> But I checked the maven-nsis-plugin-1.1.jar and it has that file.
> What am I doing wrong?  Why can't I extract anything?  This just
> started happening and I have no idea why.  If anyone has seen anything
> like this please let me know.  This even comes up when I run "maven --info".
> 
> Thanks a lot.
> 
> 
> Charlie
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> #== gPopper Menu ===#
> Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> Mark message as read:  mailto:rea|[EMAIL PROTECTED]



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



What's wrong with my system?

2004-08-24 Thread Charles N. Harvey III
Everything I do gets me this error:
org.apache.maven.MavenException: Unable to extract plugin: 
/home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
   at 
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941)
   at 
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294)
   at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
   at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)
   at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
   at org.apache.maven.cli.App.doMain(App.java:473)
   at org.apache.maven.cli.App.main(App.java:1215)
   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 ---
java.io.FileNotFoundException: 
/home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF 
(No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:179)
   at java.io.FileOutputStream.(FileOutputStream.java:131)


But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong?  Why can't I extract anything?  This just
started happening and I have no idea why.  If anyone has seen anything
like this please let me know.  This even comes up when I run "maven --info".
Thanks a lot.
Charlie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: httpunit plugin

2004-08-24 Thread John Taylor
You can just include your httpunit tests in with your other JUnit tests and
they should get compiled and run.
John

- Original Message - 
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 4:30 AM
Subject: Re: httpunit plugin


> compile and execute the httpunit tests. I use the tomcat plugin to deploy
to tomcat.
>
> Brett Porter wrote:
> > I use httpunit in conjunction with Cactus' httpunit integration.
> >
> > I can't think of what a "httpunit plugin" would do. Httpunit doesn't
> > really have any responsibility for starting/stopping/deploying code to
> > a server.
> >
> > What are you trying to do?
> >
> > - Brett
> >
> > On Sat, 21 Aug 2004 09:36:31 +0800, Nathan Coast <[EMAIL PROTECTED]>
wrote:
> >
> >>Hi,
> >>
> >>has anyone used httpunit from maven? is there a plugin somewhere? or
does everyone use cactus?
> >>
> >>cheers
> >>Nathan
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> -
> 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]



Sun Binary Dependencies

2004-08-24 Thread Ricardo Gladwell
Hi All,
At the moment one of my maven projects depends upon JARs distributed by 
Sun (e.g. JTA). I'm manually downloading and extracting the ZIPs from 
Sun and copying the JARs to my local repository. Ideally, I would like 
some way to automatically download the ZIPs and extract the relevant files.

I understand there was some discussion about this on the mailing list to 
create some "scrapper" maven plug-ins to auotmagically do this. What was 
the outcome and what is the process for supplying these files?

Kind regards
-- Ricardo Gladwell
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: maven:maven jelly tag

2004-08-24 Thread Jefferson K. French
Thanks, Brett. I thought my -D override wasn't being taken by a goal
in a subproject invoked with maven:maven. Based on your response I
figured I had a bug in my maven.xml. It turns out I had a line in the
subproject that explicitly loaded a property file, thereby overriding
the -D override.

  Jeff

On Tue, 24 Aug 2004, at 15:12:07 [GMT +1000] Brett Porter wrote:

> yes, they should. they are also available from ${systemScope.getProperty('foo')}

> On Mon, 23 Aug 2004 23:38:34 -0500, Jefferson K. French
> <[EMAIL PROTECTED]> wrote:
>> What about properties overridden with -D? Is there any way to get those
>> properties into the root context? Should they be there by default?
>> 
>>   Jeff

-- 
mailto:[EMAIL PROTECTED]



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



Tag library requested that is not present.

2004-08-24 Thread Nadeem Bitar
I am getting the following error:


Tag library requested that is not present: 'maven' in plugin: 'maven-
xdoclet-plugin-1.2.2-SNAPSHOT'

Why is maven trying to download this at the first place, I have not
specified any snapshot dependencies?




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



RE: Plugin install

2004-08-24 Thread Charles Daniels
This has been posted before.  To reiterate, you should execute
plugin:uninstall to remove your existing version of the plugin.  Then run
plugin:install again.  This is necessary if you have added a new goal since
your previous run of plugin:install due to caching.  Once you uninstall then
install again, your new goal(s) should be picked up.

> -Original Message-
> From: Jesper Linvald [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 24, 2004 8:37 AM
> To: Maven Users List
> Subject: Re: Plugin install
>
>
> Hi Shinobu,
>
> yes I read it and I have been developing plugins for months now - the
> thing is that it is sporadic, only sometimes Maven dosent recognize my
> goals...
>
> Jesper Linvald
> MAERSK DATA TRANSPORT
> Tel no.: +45 3911 1891
> e-mail: [EMAIL PROTECTED]
>
>
>
>
> Shinobu Kawai <[EMAIL PROTECTED]>
> 24-08-2004 09:21
> Please respond to
> "Maven Users List" <[EMAIL PROTECTED]>
>
>
> To
> "Maven Users List" <[EMAIL PROTECTED]>
> cc
>
> Subject
> Re: Plugin install
>
>
>
>
>
>
>
> Hi Jesper,
>
> > I use the command "plugin:install-now" after which I expect to be able
> to
> > run my plugin. I try deleting the various cache files, running
> > "plugin:install" etc.
> > In the end maven says that the goal I am trying to run dosent
> existI
>
> > checked the cache folder and the unpacked plugin and the goal is
> there...
> I think it would help if you gave us more information;  Like the
> significant part of your project.xml, plugin.jelly, etc.  And of course,
> the error messages you're getting. ;)
>
> > How is the plugin development cycle...which plugin commands
> should I run
> -
> > where do I go wrong?
> Have you read this page?
> http://maven.apache.org/reference/developers/developer-guide.html
> Have you tried the sample?  Did it work?
> If it did, try evolving the sample into your plugin bits by bits,
> testing each bit.
>
> Best regards,
> -- Shinobu Kawai
>
> --
> Shinobu Kawai <[EMAIL PROTECTED], [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: site:deploy with putty

2004-08-24 Thread Per Abich
I have now solved the problem. I have to have the following line in my
build.properties:

maven.scm.cvs.rsh=plink

The 
maven.ssh.executable=c:/programme/putty/plink
maven.scp.executable=c:/programme/putty/pscp
lines are ignored by site:deploy

Thanks for  your help

Regards

Per Abich

On Tue, 24 Aug 2004 09:37:53 +0200, Christian Mouttet
<[EMAIL PROTECTED]> wrote:
> Per,
> 
> we use Putty no our Windows clients for depolyment to a Linux repository
> machine. This is how it works for us.
> 
> start 'puttygen.exe' to generate public/private keys:
> 
> - 'SSH2 DSA'
> - randomly move your mouse pointer over the window
> - save public and private key
> - add an user on the remote (local repository) machine
> - copy 'Public key for pasting...' (the String starting with 'ssh-dss')
>   in the file '$HOME/.ssh/authorized_keys' on the repository machine
>   ($HOME is the user home dir of the new added user)
> 
> start 'putty.exe' and configure the destination:
> 
> !
> +-- Session
> !   Hostname: 
> !   Protocol: SSH
> \-+ Connection
>   ! Auto-login username: 
>   \-+ SSH
> ! Preferred SSH protocol version: 2
> \-- Auth
> Private key file for authentication: 
> 
> back to
> !
> \-- Session
> Saved Sessions: 
> [Save]!
> 
> Now the connection can be testet by double-clicking the entry in 'saved
> sessions' list box. => login without typing the password.
> 
> It is important that there is an entry in build.properties (lives in
> your home directory) that is *exactly* the same as the saved session.
> Putty uses the configuration instead of directly trying to ssh the
> hostname.
> 
> Hope it helps.
> 
> -Christian
> 
> Am Mo, den 23.08.2004 schrieb Per Abich um 22:35:
> 
> 
> > I have tried to use putty with site:deploy on our local repository,
> > but it alway promps me for a password _after_ I press CTRL-C.
> > dist:deploy works fine using agent authentification & plink/pscp.
> >
> > Does anyone here got experience with this kind of trouble? Or maybe a
> > short info on how to setup agent authentification for the internal
> > ssh...
> >
> > Best Regards
> >
> > Per Abich
> >
> > -
> > 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]
> 
> 


-- 
Per Abich
Praktikant
Catenic AG

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



Re: Plugin install

2004-08-24 Thread Dion Gillard
I usually blow away the cache directory if that starts happening

On Tue, 24 Aug 2004 09:36:36 +0200, Jesper Linvald <[EMAIL PROTECTED]> wrote:
> Hi Shinobu,
> 
> yes I read it and I have been developing plugins for months now - the
> thing is that it is sporadic, only sometimes Maven dosent recognize my
> goals...
> 
> Jesper Linvald
> MAERSK DATA TRANSPORT
> Tel no.: +45 3911 1891
> e-mail: [EMAIL PROTECTED]
> 
> 
> Shinobu Kawai <[EMAIL PROTECTED]>
> 24-08-2004 09:21
> Please respond to
> "Maven Users List" <[EMAIL PROTECTED]>
> 
> To
> "Maven Users List" <[EMAIL PROTECTED]>
> cc
> 
> Subject
> Re: Plugin install
> 
> 
> 
> 
> Hi Jesper,
> 
> > I use the command "plugin:install-now" after which I expect to be able
> to
> > run my plugin. I try deleting the various cache files, running
> > "plugin:install" etc.
> > In the end maven says that the goal I am trying to run dosent existI
> 
> > checked the cache folder and the unpacked plugin and the goal is
> there...
> I think it would help if you gave us more information;  Like the
> significant part of your project.xml, plugin.jelly, etc.  And of course,
> the error messages you're getting. ;)
> 
> > How is the plugin development cycle...which plugin commands should I run
> -
> > where do I go wrong?
> Have you read this page?
> http://maven.apache.org/reference/developers/developer-guide.html
> Have you tried the sample?  Did it work?
> If it did, try evolving the sample into your plugin bits by bits,
> testing each bit.
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

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



Re: site:deploy with putty

2004-08-24 Thread Christian Mouttet
Per,

we use Putty no our Windows clients for depolyment to a Linux repository
machine. This is how it works for us.

start 'puttygen.exe' to generate public/private keys:

- 'SSH2 DSA'
- randomly move your mouse pointer over the window
- save public and private key
- add an user on the remote (local repository) machine
- copy 'Public key for pasting...' (the String starting with 'ssh-dss')
  in the file '$HOME/.ssh/authorized_keys' on the repository machine
  ($HOME is the user home dir of the new added user)

start 'putty.exe' and configure the destination:

!
+-- Session
!   Hostname: 
!   Protocol: SSH
\-+ Connection
  ! Auto-login username: 
  \-+ SSH
! Preferred SSH protocol version: 2
\-- Auth
Private key file for authentication: 

back to
!
\-- Session
Saved Sessions: 
[Save]!

Now the connection can be testet by double-clicking the entry in 'saved
sessions' list box. => login without typing the password.

It is important that there is an entry in build.properties (lives in
your home directory) that is *exactly* the same as the saved session.
Putty uses the configuration instead of directly trying to ssh the
hostname.

Hope it helps.

-Christian

Am Mo, den 23.08.2004 schrieb Per Abich um 22:35:
> I have tried to use putty with site:deploy on our local repository,
> but it alway promps me for a password _after_ I press CTRL-C.
> dist:deploy works fine using agent authentification & plink/pscp.
> 
> Does anyone here got experience with this kind of trouble? Or maybe a
> short info on how to setup agent authentification for the internal
> ssh...
> 
> Best Regards
> 
> Per Abich
> 
> -
> 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: Plugin install

2004-08-24 Thread Jesper Linvald
Hi Shinobu,

yes I read it and I have been developing plugins for months now - the 
thing is that it is sporadic, only sometimes Maven dosent recognize my 
goals...

Jesper Linvald
MAERSK DATA TRANSPORT
Tel no.: +45 3911 1891
e-mail: [EMAIL PROTECTED]




Shinobu Kawai <[EMAIL PROTECTED]> 
24-08-2004 09:21
Please respond to
"Maven Users List" <[EMAIL PROTECTED]>


To
"Maven Users List" <[EMAIL PROTECTED]>
cc

Subject
Re: Plugin install







Hi Jesper,

> I use the command "plugin:install-now" after which I expect to be able 
to 
> run my plugin. I try deleting the various cache files, running 
> "plugin:install" etc.
> In the end maven says that the goal I am trying to run dosent existI 

> checked the cache folder and the unpacked plugin and the goal is 
there...
I think it would help if you gave us more information;  Like the
significant part of your project.xml, plugin.jelly, etc.  And of course,
the error messages you're getting. ;)

> How is the plugin development cycle...which plugin commands should I run 
- 
> where do I go wrong?
Have you read this page?
http://maven.apache.org/reference/developers/developer-guide.html
Have you tried the sample?  Did it work?
If it did, try evolving the sample into your plugin bits by bits,
testing each bit.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




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




Re: Plugin install

2004-08-24 Thread Shinobu Kawai

Hi Jesper,

> I use the command "plugin:install-now" after which I expect to be able to 
> run my plugin. I try deleting the various cache files, running 
> "plugin:install" etc.
> In the end maven says that the goal I am trying to run dosent existI 
> checked the cache folder and the unpacked plugin and the goal is there...
I think it would help if you gave us more information;  Like the
significant part of your project.xml, plugin.jelly, etc.  And of course,
the error messages you're getting. ;)

> How is the plugin development cycle...which plugin commands should I run - 
> where do I go wrong?
Have you read this page?
http://maven.apache.org/reference/developers/developer-guide.html
Have you tried the sample?  Did it work?
If it did, try evolving the sample into your plugin bits by bits,
testing each bit.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




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



Plugin install

2004-08-24 Thread Jesper Linvald
Hello all,

I find myself having trouble installing my plugin.

I use the command "plugin:install-now" after which I expect to be able to 
run my plugin. I try deleting the various cache files, running 
"plugin:install" etc.
In the end maven says that the goal I am trying to run dosent existI 
checked the cache folder and the unpacked plugin and the goal is there...

How is the plugin development cycle...which plugin commands should I run - 
where do I go wrong?

Regards

Jesper Linvald
MAERSK DATA TRANSPORT
Tel no.: +45 3911 1891
e-mail: [EMAIL PROTECTED]