Re: Question about dependency

2004-01-19 Thread Marco Tedone
How do I put it in the local-repo?

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 12:25 AM
Subject: Re: Question about dependency


 If it's a dependency, it must be in the local repo.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 02:47:22 AM:

  The file now is under ${maven.plugin.dir} (which points to
  %MAVEN_HOME%/plugins.
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Sent: Sunday, January 18, 2004 3:31 PM
  Subject: Re: Question about dependency
 
 
   Is the file in your local or remote repo at m
   aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
   --
   dIon Gillard, Multitask Consulting
   Blog:  http://blogs.codehaus.org/people/dion/
  
  
  
   Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03 PM:
  
Hi, I developed my own plugin that is installed under Maven.
   
One of my project uses this plugin to build itself. I've got a
 couple of
questions:
   
1) Shall I indicate in the project file that the project depends on
 this
plugin?
   
2) How shall I do it? I tried to specify the following in the
   project.xml
file:
   
   
dependency
groupIdmaven-jemodist-plugin/groupId
artifactIdmaven-jemodist-plugin/artifactId
version1.0/version
   
 urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
properties
classloaderroot.maven/classloader
/properties
/dependency
   
but without success. I obtain the following:
   
D:\Projects\jemos-loggingmaven jemos:site
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
   
Attempting to download maven-jemodist-plugin-1.0.jar.
WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
The build cannot continue because of the following unsatisfied
   dependency:
   
maven-jemodist-plugin-1.0.jar (try downloading from
http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)
   
Total time: 1 seconds
Finished at: Sun Jan 18 09:50:22 GMT 2004
   
I had a look at the documentation but I cannot find anything.
   
Marco
   
   
   
   
   
 -
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: Subversion repository connection string example

2004-01-19 Thread Mikael Lundgren
Hi,

sure i do ;-)

Here is a snit from my project.xml file, sligtly edited to avoid a rush 
of testers connecting to my server ;-)

  repository
connection
  scm:svn:http://name.domain.com/repos/leif/dev/trunk
/connection
urlhttp://name.domain.com/repos/leif/url
  /repository
To make the changelog report work you'll need to add the following to 
your project.properties (or build.properties)

maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

This assumes that you are using the original scm code, I have no idea 
if this is needed with the scm plugin mentioned earlier on this list.

Enjoy!

/Mikael

Alex Karasulu wrote:
Say does anyone have an example of a subversion repository 
configuration - I notice the docs on the project descriptor 
say subversion is supported but there are no examples for 
subversion.

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


Re: User input for Continuum

2004-01-19 Thread Rafal Krzewski
Jason van Zyl wrote:
 Howdy,
 
 I have Continuum up and running using the new maven-scm stuff and the
 new maven components so I wanted to get some input on how people would
 like to use it. All the information required for checking out and
 building are contained within the POM so how would you like to be able
 to use Continuum? By this I mean how would you like to be able to
 register projects to be built?

 o web interface to register an url or path

This seems to be easiest option to start with, because web browser is
the commodity client application. I may be a bit biased here, because
web interfaces is a big part of what I've been doing for past 3 years...

Other thing that I'd love is an eclipse plugin, that would feature a
view for browsing build messages, and would pop up message boxes on
a failed build. I can't afford to volunteer to write one, what makes
me sad. This is life, I guess...

R.


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



Problems matching last modified for files

2004-01-19 Thread Endre Meckelborg Rognerud
Hello!

I'm trying to write a deploy goal for some config files, but I don't 
understand how I can match the lastModified date to see if I need to 
copy a file or not. This runs well, but the body of the if tag is never 
reached even if it should.

Alternative 1:

j:if test=${file.lastModified() gt newfile.lastModified()}
echo message=## I'M HERE!! ##/
/j:if
Alternative 2:

j:set var=olddate value=${file.lastModified()}/
j:set var=newdate value=${newfile.lastModified()}/
j:if test=${olddate gt newdate}
echo message=## I'M HERE!! ##/
/j:if
None of these works. Hope someone can give me a hint of what I have to 
do to make the test work...

Thanks in advance :)

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


Update ibiblio with '-current' simlinks for versioning?

2004-01-19 Thread Darren Hartford
Hey all,
Just brainstorming.  Been working with the 'maven plugin:download' to do updates of 
the maven plugins.  A bit frustrating to keep looking to find what the current version 
is to put it in, instead of just saying 'current' version for the last Stable version. 
(and, keeping with the trend, -SNAPSHOT version for those on the bleeding edge ;-)

Idea worth considering, would make updating maven plugins much easier!  

Seperate question, what is the current version of the 'multiproject' plugin?  On 
Ibiblio it's 1.0, but in Maven-1.0RC1 they have a 1.1 versioned jar...

-D

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



Re: Problems matching last modified for files

2004-01-19 Thread Jefferson K. French
I don't know much about Jelly, but if the stuff in squiggly braces is
supposed to be Java, don't you want a  instead of gt?

Another alternative to try is Ant's uptodate task.

  Jeff

On Mon, 19 Jan 2004, at 13:40:16 [GMT +0100] Endre Meckelborg Rognerud
wrote:

 Hello!

 I'm trying to write a deploy goal for some config files, but I don't 
 understand how I can match the lastModified date to see if I need to 
 copy a file or not. This runs well, but the body of the if tag is never 
 reached even if it should.


 Alternative 1:

 j:if test=${file.lastModified() gt newfile.lastModified()}
  echo message=## I'M HERE!! ##/
 /j:if


 Alternative 2:

 j:set var=olddate value=${file.lastModified()}/
 j:set var=newdate value=${newfile.lastModified()}/

 j:if test=${olddate gt newdate}
  echo message=## I'M HERE!! ##/
 /j:if


 None of these works. Hope someone can give me a hint of what I have to 
 do to make the test work...

 Thanks in advance :)


-- 
mailto:[EMAIL PROTECTED]



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



Re: Maven Plugin For Weblogic

2004-01-19 Thread Siegfried Göschl
Hi James,

could you sent me also a copy since I have to look at the automatic 
deployment with Bea WebLogic ... :-)

What are the release plans for this plugin? Will it become a standard 
Maven plugin?!

Thanks in advance

Siegfried Goeschl


On 16 Jan 2004 at 14:56, James CE Johnson wrote:

 [EMAIL PROTECTED] wrote:
 
 Hi, I was wondering, if there is a Maven Plugin for Weblogic?
   
 
 
 I have a plugin that does deployment using WebLogic's deployer. 
Email
 me off the list if you'd like a copy.
 
 Thanks in advance,
 
 -Conrad
 
 
 ---
--
 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]



JSL applyTemplates Question

2004-01-19 Thread Troy Thibodeaux
Hi Gilles,

Thanks for your suggestion. I believe, though, that the fix you point to 
applies to a related but
slightly different problem than the one I'm reporting.

In the example from site.jsl, it appears that jelly is losing the context 
for an absolute XPath. The
jsl writer therefore explicitly names the root context by adding the $doc 
variable.

I think that this problem has been corrected, because I can use an absolute 
XPath
without any difficulty. The problem comes when I want to use two relative 
XPaths in succession.

That is, the following works fine:

jsl:template match=a
  jsl:applyTemplates select=/a/a1/
  jsl:applyTemplates select=/a/a2/
/jsl:template
But the template below only gives half of the expected output:

jsl:template match=a
  jsl:applyTemplates select=a1/
  jsl:applyTemplates select=a2/
/jsl:template
The first template is fine when I have only one a node in my source 
document, but when I have
multiple a nodes, I need jelly to remember which a is the current node 
so that I can applyTemplates
to its a1 and a2 child nodes.

For the moment, I'm able to work around the problem using forEach and 
x:expr statements, but I do miss
the flexibility that xslt allows of  applying templates to relatively 
defined nodes.

Thank you,
Troy

in site.jsl (xdoc plugin) we can read the code pasted below. i think this 
is a fix to the issue you're reporting, not ?

div class=app
   !-- FIXME really shouldn't use $doc, but jelly loses it's context 
again --
   jsl:applyTemplates select=$doc/document/body/section/
   jsl:applyTemplates select=$doc/document/body/glossary /
   [snip]
/div

-- gd


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


Re: Maven Plugin For Weblogic

2004-01-19 Thread Emmanuel Venisse
I'm +1 for it.

Emmanuel

- Original Message - 
From: Siegfried Göschl [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 6:16 PM
Subject: Re: Maven Plugin For Weblogic


 Hi James,

 could you sent me also a copy since I have to look at the automatic
 deployment with Bea WebLogic ... :-)

 What are the release plans for this plugin? Will it become a standard
 Maven plugin?!

 Thanks in advance

 Siegfried Goeschl


 On 16 Jan 2004 at 14:56, James CE Johnson wrote:

  [EMAIL PROTECTED] wrote:
 
  Hi, I was wondering, if there is a Maven Plugin for Weblogic?
  
  
 
  I have a plugin that does deployment using WebLogic's deployer.
 Email
  me off the list if you'd like a copy.
 
  Thanks in advance,
  
  -Conrad
  
  
  ---
 --
  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]



AspectJ Plugin

2004-01-19 Thread Keith F Irwin
Folks--

How mature is the AspectJ plugin?  Is it (basically) ready for use, even
if the goals/props aren't yet documented on its site?

Curious.

Keith


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



Re: Problems matching last modified for files

2004-01-19 Thread Endre Meckelborg Rognerud
Jefferson K. French (19.01.2004 16:29):

I don't know much about Jelly, but if the stuff in squiggly braces is
supposed to be Java, don't you want a  instead of gt?
I have tried this with no luck :(


Another alternative to try is Ant's uptodate task.
The problem is that I have a forEarch loop to run through several files. 
If I use Ant's uptodate task, it tries to set the same property for each 
file, and the property can only be set once. So the value will be the 
same for every file.

Thanks anyway...

--
Med vennlig hilsen
Endre Rognerud (Webgruppa, SAUS, USIT, UIO)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problems matching last modified for files

2004-01-19 Thread Jefferson K. French
If your goal is just to copy only those files that have been modified,
won't Ant's copy task work for you? By default it only copies files
that have been modified.

On Mon, 19 Jan 2004, at 20:04:04 [GMT +0100] Endre Meckelborg Rognerud
wrote:

 Jefferson K. French (19.01.2004 16:29):

 I don't know much about Jelly, but if the stuff in squiggly braces is
 supposed to be Java, don't you want a  instead of gt?

 I have tried this with no luck :(


 Another alternative to try is Ant's uptodate task.

 The problem is that I have a forEarch loop to run through several files. 
 If I use Ant's uptodate task, it tries to set the same property for each 
 file, and the property can only be set once. So the value will be the 
 same for every file.

 Thanks anyway...


-- 
mailto:[EMAIL PROTECTED]



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



RE: AspectJ Plugin

2004-01-19 Thread Vincent Massol


 -Original Message-
 From: Keith F Irwin [mailto:[EMAIL PROTECTED]
 Sent: 19 January 2004 19:40
 To: Maven Users List
 Subject: AspectJ Plugin
 
 Folks--
 
 How mature is the AspectJ plugin?  Is it (basically) ready for use,
even
 if the goals/props aren't yet documented on its site?

Hmmm... Depends on the version you wish to use. There is a 1.1 version
which is stable. The latest version in CVS HEAD has not been fully
tested. It needs more testers :-)

Thanks
-Vincent

 
 Curious.
 
 Keith
 
 
 -
 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]



BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
I'm using bouncycastle to build a pgp signature plugin for Maven.

Does anyone know who placed the bouncycastle jars in the repository? I'd 
like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Linkcheck and FindBugs OutOfMemoryError

2004-01-19 Thread Jake Ewerdt
I'm getting a java.lang.OutOfMemoryError when running the Linkcheck and 
FindBugs plugins on my project.  I have these env vars set:

export JAVA_OPTS=-mx1024m
export ANT_OPTS=-Xmx1024m
export MAVEN_OPTS=-Xmx1024m

Here are the errors:

maven-linkcheck-plugin: Not using a proxy
Found 0 files so far.
  Memory: 110M/132M
Found 1000 files so far.
  Memory: 105M/132M
Found 2000 files so far.
  Memory: 107M/132M
Found 3000 files so far.
  Memory: 109M/132M
Found 4000 files so far.
  Memory: 111M/132M
Found 5000 files so far.
  Memory: 107M/132M
 a ton of output ...
BUILD FAILED
File.. file:/home/jake/.maven/plugins/maven-linkcheck-plugin-1.1/
Element... linkcheck:linkcheck
Line.. 73
Column 9
java.lang.OutOfMemoryError
Total time: 32 minutes 25 seconds

maven-findbugs-plugin:report:
[echo] Running the FindBugs task...
[findbugs] Running FindBugs...
[findbugs] Exception in thread main java.lang.OutOfMemoryError
[findbugs] Output saved to ./target/findbugs-raw-report.txt
BUILD SUCCESSFUL
Total time: 1 minutes 40 seconds

All of the other plugins work fine.  Anything else I can try?

-jake

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



RE: Re: Subversion repository connection string example

2004-01-19 Thread Brett Porter
Alex,

I have this sorted out - I'll commit and post to directory-dev shortly. I
think it needs to be something like:
scm:svn:http://svn.apache.org:repos/asf/incubator:directory/trunk

I hope the maven-scm connection URL parser is smarter and doesn't require 6
tokens just for the fun of it :)

Cheers,
Brett

 -Original Message-
 From: Alex Karasulu [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 20 January 2004 6:26 AM
 To: Maven Users List
 Subject: Re: Re: Subversion repository connection string example
 
 
 Mikael,
 
 Looks like maven stopped complaining but I got nothing from
 the changelog report.  It's empty.  This is progress though 
 in my eyes.
 
 Thanks much,
 Alex
 
  
  From: Mikael Lundgren [EMAIL PROTECTED]
  Date: 2004/01/19 Mon AM 02:29:48 EST
  To: Maven Users List [EMAIL PROTECTED]
  Subject: Re: Subversion repository connection string example
  
  Hi,
  
  sure i do ;-)
  
  Here is a snit from my project.xml file, sligtly edited to avoid a 
  rush
  of testers connecting to my server ;-)
  
  
 repository
   connection
 scm:svn:http://name.domain.com/repos/leif/dev/trunk
   /connection
   urlhttp://name.domain.com/repos/leif/url
 /repository
  
  To make the changelog report work you'll need to add the 
 following to
  your project.properties (or build.properties)
  
  maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
  
  This assumes that you are using the original scm code, I have no 
  idea
  if this is needed with the scm plugin mentioned earlier on 
 this list.
  
  Enjoy!
  
  /Mikael
  
  Alex Karasulu wrote:
   Say does anyone have an example of a subversion repository
   configuration - I notice the docs on the project descriptor 
   say subversion is supported but there are no examples for 
   subversion.
   
   Thanks,
   Alex
   
   
   
 
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


AspectJ and Web Archives (was RE: AspectJ Plugin)

2004-01-19 Thread Keith F Irwin
Vince--

I notice in the plugin.jelly notes of the CVS version of the aspectj
plugin that what you've got really doesn't work for WAR files since the
war process does not call jar:jar.

Alas, but pretty much all my work in Java ends up in a war file.

You mention being able to weave into classes, which, as far as I know,
won't work with the ajc compiler.

One way we could do this would be to re-do the war goal (or war:webapp)
to include all app code in a jar file in WEB-INF/lib rather than just
the straight WEB-INF/classes directory.

Another might be to jar the app classes (after war:webapp), weave
aspects into a temp jar, then unjar the result back into the
war:webapp target directories (overwriting as necessary), then call
war:war to re-package it all up.

What do you think?

Seems to me that aspects are especially useful in a web context, where
practically everything has crosscutting concerns, and its sad that maven
and the aspect compiler hasn't gotten it figured out yet!

Weaving from jars to jars (or classes to classes) seems the only sane
way to deal with the fact that ajc requires recompilation of all the
classes on each change.  Ugh! ;)

Keith

On Mon, 2004-01-19 at 12:04, Keith F Irwin wrote:
 On Mon, 2004-01-19 at 11:49, Vincent Massol wrote:
   -Original Message-
   From: Keith F Irwin [mailto:[EMAIL PROTECTED]
   Sent: 19 January 2004 19:40
   To: Maven Users List
   Subject: AspectJ Plugin
   
   Folks--
   
   How mature is the AspectJ plugin?  Is it (basically) ready for use,
  even
   if the goals/props aren't yet documented on its site?
  
  Hmmm... Depends on the version you wish to use. There is a 1.1 version
  which is stable. The latest version in CVS HEAD has not been fully
  tested. It needs more testers :-)
 
 I have *such* luck getting stuff out of CVS . . . ;)  Well, it's MLK and
 a holiday from work and my truck is in the shop, so I'll see if I can
 get the existing plugin to work (so that I have a sample project),
 then try my hand at what's in CVS.
 
 (Part of the prob here is learning all the interactions with the
 plugins, the repository, etc, etc.)
 
 Keith
 
  Thanks
  -Vincent
  
   
   Curious.
   
   Keith
   
   
   -
   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: Linkcheck and FindBugs OutOfMemoryError

2004-01-19 Thread dion
Disable the report.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Jake Ewerdt [EMAIL PROTECTED] wrote on 20/01/2004 08:17:15 AM:

 I'm getting a java.lang.OutOfMemoryError when running the Linkcheck and 
 FindBugs plugins on my project.  I have these env vars set:
 
 export JAVA_OPTS=-mx1024m
 export ANT_OPTS=-Xmx1024m
 export MAVEN_OPTS=-Xmx1024m
 
 Here are the errors:
 
 maven-linkcheck-plugin: Not using a proxy
 Found 0 files so far.
   Memory: 110M/132M
 Found 1000 files so far.
   Memory: 105M/132M
 Found 2000 files so far.
   Memory: 107M/132M
 Found 3000 files so far.
   Memory: 109M/132M
 Found 4000 files so far.
   Memory: 111M/132M
 Found 5000 files so far.
   Memory: 107M/132M
  a ton of output ...
 BUILD FAILED
 File.. file:/home/jake/.maven/plugins/maven-linkcheck-plugin-1.1/
 Element... linkcheck:linkcheck
 Line.. 73
 Column 9
 java.lang.OutOfMemoryError
 Total time: 32 minutes 25 seconds
 
 maven-findbugs-plugin:report:
 [echo] Running the FindBugs task...
 [findbugs] Running FindBugs...
 [findbugs] Exception in thread main java.lang.OutOfMemoryError
 [findbugs] Output saved to ./target/findbugs-raw-report.txt
 BUILD SUCCESSFUL
 Total time: 1 minutes 40 seconds
 
 All of the other plugins work fine.  Anything else I can try?
 
 -jake
 
 -
 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: Question about dependency

2004-01-19 Thread dion
Copy the file there.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 06:07:06 PM:

 How do I put it in the local-repo?
 
 Marco
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 12:25 AM
 Subject: Re: Question about dependency
 
 
  If it's a dependency, it must be in the local repo.
  --
  dIon Gillard, Multitask Consulting
  Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
  Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 02:47:22 AM:
 
   The file now is under ${maven.plugin.dir} (which points to
   %MAVEN_HOME%/plugins.
   - Original Message - 
   From: [EMAIL PROTECTED]
   To: Maven Users List [EMAIL PROTECTED]
   Sent: Sunday, January 18, 2004 3:31 PM
   Subject: Re: Question about dependency
  
  
Is the file in your local or remote repo at m
aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
   
   
   
Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03 
PM:
   
 Hi, I developed my own plugin that is installed under Maven.

 One of my project uses this plugin to build itself. I've got a
  couple of
 questions:

 1) Shall I indicate in the project file that the project depends 
on
  this
 plugin?

 2) How shall I do it? I tried to specify the following in the
project.xml
 file:


 dependency
 groupIdmaven-jemodist-plugin/groupId
 artifactIdmaven-jemodist-plugin/artifactId
 version1.0/version

  
urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
 properties
 classloaderroot.maven/classloader
 /properties
 /dependency

 but without success. I obtain the following:

 D:\Projects\jemos-loggingmaven jemos:site
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

 Attempting to download maven-jemodist-plugin-1.0.jar.
 WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
 The build cannot continue because of the following unsatisfied
dependency:

 maven-jemodist-plugin-1.0.jar (try downloading from
 http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)

 Total time: 1 seconds
 Finished at: Sun Jan 18 09:50:22 GMT 2004

 I had a look at the documentation but I cannot find anything.

 Marco





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



Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread dion
I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
07:22:37 AM:

 I'm using bouncycastle to build a pgp signature plugin for Maven.
 
 Does anyone know who placed the bouncycastle jars in the repository? I'd 

 like to get the pgp jar uploaded there.
 
 http://www.ibiblio.org/maven/bouncycastle/jars/
 
 thanks,
 Mark
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 -
 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: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:
I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
07:22:37 AM:


I'm using bouncycastle to build a pgp signature plugin for Maven.

Does anyone know who placed the bouncycastle jars in the repository? I'd 


like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Question about dependency

2004-01-19 Thread Marco Tedone
If my local repo is ~/.maven/repository I've got already the files there.

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 12:42 AM
Subject: Re: Question about dependency


 Copy the file there.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 06:07:06 PM:

  How do I put it in the local-repo?
 
  Marco
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Sent: Monday, January 19, 2004 12:25 AM
  Subject: Re: Question about dependency
 
 
   If it's a dependency, it must be in the local repo.
   --
   dIon Gillard, Multitask Consulting
   Blog:  http://blogs.codehaus.org/people/dion/
  
  
  
   Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 02:47:22 AM:
  
The file now is under ${maven.plugin.dir} (which points to
%MAVEN_HOME%/plugins.
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 3:31 PM
Subject: Re: Question about dependency
   
   
 Is the file in your local or remote repo at m
 aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03
 PM:

  Hi, I developed my own plugin that is installed under Maven.
 
  One of my project uses this plugin to build itself. I've got a
   couple of
  questions:
 
  1) Shall I indicate in the project file that the project depends
 on
   this
  plugin?
 
  2) How shall I do it? I tried to specify the following in the
 project.xml
  file:
 
 
  dependency
  groupIdmaven-jemodist-plugin/groupId
  artifactIdmaven-jemodist-plugin/artifactId
  version1.0/version
 
  
 urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
  properties
  classloaderroot.maven/classloader
  /properties
  /dependency
 
  but without success. I obtain the following:
 
  D:\Projects\jemos-loggingmaven jemos:site
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
 
  Attempting to download maven-jemodist-plugin-1.0.jar.
  WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
  The build cannot continue because of the following unsatisfied
 dependency:
 
  maven-jemodist-plugin-1.0.jar (try downloading from
  http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)
 
  Total time: 1 seconds
  Finished at: Sun Jan 18 09:50:22 GMT 2004
 
  I had a look at the documentation but I cannot find anything.
 
  Marco
 
 
 
 
 
   -
  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 PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





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



Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread dion
Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
12:02:34 PM:

 Ok, Jason, can I get this jar published?
 
 http://www.bouncycastle.org/download/bcpg-jdk13-121.jar
 
 thanks,
 Mark
 
 [EMAIL PROTECTED] wrote:
  I believe it was Jason.
  --
  dIon Gillard, Multitask Consulting
  Blog:  http://blogs.codehaus.org/people/dion/
  
  
  
  Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
  07:22:37 AM:
  
  
 I'm using bouncycastle to build a pgp signature plugin for Maven.
 
 Does anyone know who placed the bouncycastle jars in the repository? 
I'd 
  
  
 like to get the pgp jar uploaded there.
 
 http://www.ibiblio.org/maven/bouncycastle/jars/
 
 thanks,
 Mark
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 -
 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]
  
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 -
 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: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
What is a POJO? I'm a little naive...

Brett Porter wrote:

If SignedFileProcessor is a POJO, add a flag with accessors, then in jelly
you can use
${verify.errorFlag} (which calls isErrorFlag())

Cheers,
Brett


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:24 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin

Thanks, I think its almost done.

Here's a more technical question. I have a method which is 
used in the 
execution of a jellytag.

public void verifyFile() throws MavenException {

its used in:

 define:jellybean
   name=verify
   method=verifyFile
   className=org.apache.maven.signature.SignedFileProcessor/
which is called from a goal:

goal name=signature:verify
   ...
   signature:verify artifact=${artifact} publicKey=${publickey} 
armor=${armor}/
/goal

Inside of verifyFile, there is a boolean status of if the 
verification 
failed or was successful. How can I get this state outside of 
the method 
and capture it in the goal this tag is used within? I suspect that I 
could just throw an exception on failure. But I'd like to 
have cleaner 
way of informing the user of the result. Can you recommend 
how I should 
output such info in maven?

-Mark

[EMAIL PROTECTED] wrote:

Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004
12:02:34 PM:


Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:


I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004
07:22:37 AM:



I'm using bouncycastle to build a pgp signature plugin for Maven.

Does anyone know who placed the bouncycastle jars in the 
repository?

I'd


like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
--
--

-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu

-

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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
If I make

public void verifyFile() throws MavenException {

public boolean verifyFile() throws MavenException {

is there a way I can capture the return value from the jellybean?

-Mark

Mark R. Diggory wrote:

What is a POJO? I'm a little naive...

Brett Porter wrote:

If SignedFileProcessor is a POJO, add a flag with accessors, then in 
jelly
you can use

${verify.errorFlag} (which calls isErrorFlag())

Cheers,
Brett


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent: 
Tuesday, 20 January 2004 3:24 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin

Thanks, I think its almost done.

Here's a more technical question. I have a method which is used in 
the execution of a jellytag.

public void verifyFile() throws MavenException {

its used in:

 define:jellybean
   name=verify
   method=verifyFile
   className=org.apache.maven.signature.SignedFileProcessor/
which is called from a goal:

goal name=signature:verify
   ...
   signature:verify artifact=${artifact} publicKey=${publickey} 
armor=${armor}/
/goal

Inside of verifyFile, there is a boolean status of if the 
verification failed or was successful. How can I get this state 
outside of the method and capture it in the goal this tag is used 
within? I suspect that I could just throw an exception on failure. 
But I'd like to have cleaner way of informing the user of the result. 
Can you recommend how I should output such info in maven?

-Mark

[EMAIL PROTECTED] wrote:

Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004
12:02:34 PM:


Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:


I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004
07:22:37 AM:



I'm using bouncycastle to build a pgp signature plugin for Maven.

Does anyone know who placed the bouncycastle jars in the 


repository?

I'd


like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
--


--

-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu



-

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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: BouncyCastle PGP Signature plugin

2004-01-19 Thread Brett Porter
Plain Old Java Object. It sounds as if it is (ie it just extends Object or
nothing, it isn't a jelly tag or an EJB or anything else).

Cheers,
Brett

 -Original Message-
 From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 20 January 2004 3:39 PM
 To: Maven Users List
 Subject: Re: BouncyCastle PGP Signature plugin
 
 
 What is a POJO? I'm a little naive...
 
 
 Brett Porter wrote:
 
  If SignedFileProcessor is a POJO, add a flag with 
 accessors, then in 
  jelly you can use
  
  ${verify.errorFlag} (which calls isErrorFlag())
  
  Cheers,
  Brett
  
  
  
 -Original Message-
 From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 20 January 2004 3:24 PM
 To: Maven Users List
 Subject: Re: BouncyCastle PGP Signature plugin
 
 
 Thanks, I think its almost done.
 
 Here's a more technical question. I have a method which is
 used in the 
 execution of a jellytag.
 
 public void verifyFile() throws MavenException {
 
 its used in:
 
   define:jellybean
 name=verify
 method=verifyFile
 className=org.apache.maven.signature.SignedFileProcessor/
 
 which is called from a goal:
 
 goal name=signature:verify
 ...
 signature:verify artifact=${artifact} 
 publicKey=${publickey}
 armor=${armor}/
 /goal
 
 Inside of verifyFile, there is a boolean status of if the
 verification 
 failed or was successful. How can I get this state outside of 
 the method 
 and capture it in the goal this tag is used within? I 
 suspect that I 
 could just throw an exception on failure. But I'd like to 
 have cleaner 
 way of informing the user of the result. Can you recommend 
 how I should 
 output such info in maven?
 
 
 -Mark
 
 [EMAIL PROTECTED] wrote:
 
 Done.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
 Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
 12:02:34 PM:
 
 
 
 Ok, Jason, can I get this jar published?
 
 http://www.bouncycastle.org/download/bcpg-jdk13-121.jar
 
 thanks,
 Mark
 
 [EMAIL PROTECTED] wrote:
 
 
 I believe it was Jason.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
 Mark R. Diggory [EMAIL PROTECTED] wrote on 
 20/01/2004 
 07:22:37 AM:
 
 
 
 
 I'm using bouncycastle to build a pgp signature plugin 
 for Maven.
 
 Does anyone know who placed the bouncycastle jars in the
 
 repository?
 
 I'd
 
 
 like to get the pgp jar uploaded there.
 
 http://www.ibiblio.org/maven/bouncycastle/jars/
 
 thanks,
 Mark
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 --
 
 --
 
 -
 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]
 
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 
 
 -
 
 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]
 
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
  
  
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
Yes it extends an abstract class that I wrote

public class SignedFileProcessor extends AbstractSignatureBean {

public abstract class AbstractSignatureBean {

-Mark

Brett Porter wrote:

Plain Old Java Object. It sounds as if it is (ie it just extends Object or
nothing, it isn't a jelly tag or an EJB or anything else).
Cheers,
Brett

-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:39 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin

What is a POJO? I'm a little naive...

Brett Porter wrote:


If SignedFileProcessor is a POJO, add a flag with 
accessors, then in 

jelly you can use

${verify.errorFlag} (which calls isErrorFlag())

Cheers,
Brett



-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 20 January 2004 3:24 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin
Thanks, I think its almost done.

Here's a more technical question. I have a method which is
used in the 
execution of a jellytag.

public void verifyFile() throws MavenException {

its used in:

define:jellybean
  name=verify
  method=verifyFile
  className=org.apache.maven.signature.SignedFileProcessor/
which is called from a goal:

goal name=signature:verify
  ...
  signature:verify artifact=${artifact} 
publicKey=${publickey}

armor=${armor}/
/goal
Inside of verifyFile, there is a boolean status of if the
verification 
failed or was successful. How can I get this state outside of 
the method 
and capture it in the goal this tag is used within? I 
suspect that I 

could just throw an exception on failure. But I'd like to 
have cleaner 
way of informing the user of the result. Can you recommend 
how I should 
output such info in maven?

-Mark

[EMAIL PROTECTED] wrote:


Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 
12:02:34 PM:




Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:



I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 
20/01/2004 

07:22:37 AM:





I'm using bouncycastle to build a pgp signature plugin 
for Maven.

Does anyone know who placed the bouncycastle jars in the
repository?


I'd



like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
--
--


-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu

-


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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu

-

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


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
After some digging I found this:

http://jakarta.apache.org/commons/jelly/libs/define/tags.html#define:jellyBean

theres an attribute called varAttribute I suspect it returns a value 
somehow, But what it really does seemed alittle over my head in the 
description.

Brett Porter wrote:

Not to my knowledge. Now that I think about it you may not be able to set a
flag because you are specifying a tag, not a bean instance. I haven't really
got my jelly hat on at the moment :)
- Brett


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:43 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin

If I make

public void verifyFile() throws MavenException {

public boolean verifyFile() throws MavenException {

is there a way I can capture the return value from the jellybean?

-Mark

Mark R. Diggory wrote:


What is a POJO? I'm a little naive...

Brett Porter wrote:


If SignedFileProcessor is a POJO, add a flag with 
accessors, then in

jelly
you can use
${verify.errorFlag} (which calls isErrorFlag())

Cheers,
Brett



-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent:
Tuesday, 20 January 2004 3:24 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin
Thanks, I think its almost done.

Here's a more technical question. I have a method which is used in
the execution of a jellytag.
public void verifyFile() throws MavenException {

its used in:

define:jellybean
  name=verify
  method=verifyFile
  
className=org.apache.maven.signature.SignedFileProcessor/

which is called from a goal:

goal name=signature:verify
  ...
  signature:verify artifact=${artifact} 
publicKey=${publickey}

armor=${armor}/
/goal
Inside of verifyFile, there is a boolean status of if the
verification failed or was successful. How can I get this state 
outside of the method and capture it in the goal this tag is used 
within? I suspect that I could just throw an exception on 
failure. 

But I'd like to have cleaner way of informing the user of 
the result. 

Can you recommend how I should output such info in maven?

-Mark

[EMAIL PROTECTED] wrote:


Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 
20/01/2004 

12:02:34 PM:




Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:



I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 
20/01/2004 07:22:37 AM:





I'm using bouncycastle to build a pgp signature plugin for 
Maven.

Does anyone know who placed the bouncycastle jars in the


repository?


I'd



like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
--


--


-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu



-


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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu



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


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread John Casey
I was messing with this very problem the other day, and I _think_ the
varAttribute attribute allows the redefinition of the variable
attribute used to name the binding of the _tag_ in the jelly context. I
don't know if this tag would allow one to gain access to the underlying
bean (I suspect not), but the var attribute allows the change from this:

d:jellybean name=tag ... /

tag var=theTagInstance ... /

to this:

d:jellybean name=tag ... varAttribute=bind/

tag bind=theTagInstance ... /

Hope it helps.

-john

On Mon, 2004-01-19 at 23:47, Mark R. Diggory wrote:
 After some digging I found this:
 
 http://jakarta.apache.org/commons/jelly/libs/define/tags.html#define:jellyBean
 
 theres an attribute called varAttribute I suspect it returns a value 
 somehow, But what it really does seemed alittle over my head in the 
 description.
 
 
 Brett Porter wrote:
 
  Not to my knowledge. Now that I think about it you may not be able to set a
  flag because you are specifying a tag, not a bean instance. I haven't really
  got my jelly hat on at the moment :)
  
  - Brett
  
  
 -Original Message-
 From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 20 January 2004 3:43 PM
 To: Maven Users List
 Subject: Re: BouncyCastle PGP Signature plugin
 
 
 If I make
 
 public void verifyFile() throws MavenException {
 
 public boolean verifyFile() throws MavenException {
 
 is there a way I can capture the return value from the jellybean?
 
 -Mark
 
 Mark R. Diggory wrote:
 
 
 What is a POJO? I'm a little naive...
 
 
 Brett Porter wrote:
 
 
 If SignedFileProcessor is a POJO, add a flag with 
 
 accessors, then in
 
 jelly
 you can use
 
 ${verify.errorFlag} (which calls isErrorFlag())
 
 Cheers,
 Brett
 
 
 
 
 -Original Message-
 From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent:
 Tuesday, 20 January 2004 3:24 PM
 To: Maven Users List
 Subject: Re: BouncyCastle PGP Signature plugin
 
 
 Thanks, I think its almost done.
 
 Here's a more technical question. I have a method which is used in
 the execution of a jellytag.
 
 public void verifyFile() throws MavenException {
 
 its used in:
 
  define:jellybean
name=verify
method=verifyFile

 
 className=org.apache.maven.signature.SignedFileProcessor/
 
 which is called from a goal:
 
 goal name=signature:verify
...
signature:verify artifact=${artifact} 
 
 publicKey=${publickey}
 
 armor=${armor}/
 /goal
 
 Inside of verifyFile, there is a boolean status of if the
 verification failed or was successful. How can I get this state 
 outside of the method and capture it in the goal this tag is used 
 within? I suspect that I could just throw an exception on 
 
 failure. 
 
 But I'd like to have cleaner way of informing the user of 
 
 the result. 
 
 Can you recommend how I should output such info in maven?
 
 
 -Mark
 
 [EMAIL PROTECTED] wrote:
 
 
 Done.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
 Mark R. Diggory [EMAIL PROTECTED] wrote on 
 
 20/01/2004 
 
 12:02:34 PM:
 
 
 
 
 Ok, Jason, can I get this jar published?
 
 http://www.bouncycastle.org/download/bcpg-jdk13-121.jar
 
 thanks,
 Mark
 
 [EMAIL PROTECTED] wrote:
 
 
 
 I believe it was Jason.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
 Mark R. Diggory [EMAIL PROTECTED] wrote on 
 20/01/2004 07:22:37 AM:
 
 
 
 
 
 I'm using bouncycastle to build a pgp signature plugin for 
 Maven.
 
 Does anyone know who placed the bouncycastle jars in the
 
 
 repository?
 
 
 I'd
 
 
 
 like to get the pgp jar uploaded there.
 
 http://www.ibiblio.org/maven/bouncycastle/jars/
 
 thanks,
 Mark
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 --
 
 
 --
 
 
 -
 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]
 
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://osprey.hmdc.harvard.edu
 
 
 
 
 -
 
 
 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]
 
 
 --
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu
 

Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
Thanks, that cleared that up.

John Casey wrote:

I was messing with this very problem the other day, and I _think_ the
varAttribute attribute allows the redefinition of the variable
attribute used to name the binding of the _tag_ in the jelly context. I
don't know if this tag would allow one to gain access to the underlying
bean (I suspect not), but the var attribute allows the change from this:
d:jellybean name=tag ... /

tag var=theTagInstance ... /

to this:

d:jellybean name=tag ... varAttribute=bind/

tag bind=theTagInstance ... /

Hope it helps.

-john

On Mon, 2004-01-19 at 23:47, Mark R. Diggory wrote:

After some digging I found this:

http://jakarta.apache.org/commons/jelly/libs/define/tags.html#define:jellyBean

theres an attribute called varAttribute I suspect it returns a value 
somehow, But what it really does seemed alittle over my head in the 
description.

Brett Porter wrote:


Not to my knowledge. Now that I think about it you may not be able to set a
flag because you are specifying a tag, not a bean instance. I haven't really
got my jelly hat on at the moment :)
- Brett



-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:43 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin

If I make

public void verifyFile() throws MavenException {

public boolean verifyFile() throws MavenException {

is there a way I can capture the return value from the jellybean?

-Mark

Mark R. Diggory wrote:



What is a POJO? I'm a little naive...

Brett Porter wrote:



If SignedFileProcessor is a POJO, add a flag with 
accessors, then in


jelly
you can use
${verify.errorFlag} (which calls isErrorFlag())

Cheers,
Brett




-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent:
Tuesday, 20 January 2004 3:24 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin
Thanks, I think its almost done.

Here's a more technical question. I have a method which is used in
the execution of a jellytag.
public void verifyFile() throws MavenException {

its used in:

   define:jellybean
 name=verify
 method=verifyFile
 
className=org.apache.maven.signature.SignedFileProcessor/

which is called from a goal:

goal name=signature:verify
 ...
 signature:verify artifact=${artifact} 
publicKey=${publickey}


armor=${armor}/
/goal
Inside of verifyFile, there is a boolean status of if the
verification failed or was successful. How can I get this state 
outside of the method and capture it in the goal this tag is used 
within? I suspect that I could just throw an exception on 
failure. 


But I'd like to have cleaner way of informing the user of 
the result. 


Can you recommend how I should output such info in maven?

-Mark

[EMAIL PROTECTED] wrote:



Done.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 
20/01/2004 


12:02:34 PM:





Ok, Jason, can I get this jar published?

http://www.bouncycastle.org/download/bcpg-jdk13-121.jar

thanks,
Mark
[EMAIL PROTECTED] wrote:




I believe it was Jason.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Mark R. Diggory [EMAIL PROTECTED] wrote on 
20/01/2004 07:22:37 AM:






I'm using bouncycastle to build a pgp signature plugin for 
Maven.

Does anyone know who placed the bouncycastle jars in the


repository?



I'd




like to get the pgp jar uploaded there.

http://www.ibiblio.org/maven/bouncycastle/jars/

thanks,
Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu
--


--



-
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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://osprey.hmdc.harvard.edu



-



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]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu




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


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





RE: BouncyCastle PGP Signature plugin

2004-01-19 Thread Brett Porter
I think that's the one :)

 -Original Message-
 From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 20 January 2004 4:05 PM
 To: Maven Users List
 Subject: Re: BouncyCastle PGP Signature plugin
 
 
 
 
 Mark R. Diggory wrote:
 
  goal name=signature:verify
 ...
 signature:verify artifact=${artifact} 
 publicKey=${publickey}
  armor=${armor}/
  /goal
 
 I guess I could use useBean instead
 
 goal name=signature:verify
 ...
 j:useBean
   var=bean
   class=org.apache.maven.signature.SignedFileProcessor
   artifact=${artifact}
   publicKey=${publickey}
   armor=${armor}/
 
 j:set var=result value=${bean.verify()}/
 ...
 
 /goal
 
 -Mark
 
 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: BouncyCastle PGP Signature plugin

2004-01-19 Thread Mark R. Diggory
Ok, last question, I promise:

If I make verifyFile return a value:

public boolean verifyFile() throws MavenException {

can I still use it in:

define:jellybean
name=verify
method=verifyFile
className=org.apache.maven.signature.SignedFileProcessor/
for those who still want to use it as a tag?

-Mark

Brett Porter wrote:

I think that's the one :)


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 4:05 PM
To: Maven Users List
Subject: Re: BouncyCastle PGP Signature plugin



Mark R. Diggory wrote:


goal name=signature:verify
  ...
  signature:verify artifact=${artifact} 
publicKey=${publickey}

armor=${armor}/
/goal
I guess I could use useBean instead

goal name=signature:verify
...
j:useBean
var=bean
class=org.apache.maven.signature.SignedFileProcessor
artifact=${artifact}
publicKey=${publickey}
armor=${armor}/
j:set var=result value=${bean.verify()}/
...
/goal

-Mark

--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]