Re: Ibiblio and Commons Collections

2004-05-07 Thread Mark R. Diggory
Stephen,

on minotaur we have:

lrwxrwxr-x  1 jvanzyl   apcvs  39 Jan 17 15:59 
commons-collections-SNAPSHOT.jar - commons-collections-20040102.233541.jar
lrwxrwxr-x  1 jvanzyl   apcvs  43 Jan 17 15:59 
commons-collections-SNAPSHOT.jar.md5 - 
commons-collections-20040102.233541.jar.md5

and this is rsync'd to ibibilio under:

lrwxrwxrwx1 dion maven  39 Mar 29 10:41 
commons-collections-SNAPSHOT.jar - commons-collections-20040102.233541.jar
lrwxrwxrwx1 dion maven  43 Mar 29 10:41 
commons-collections-SNAPSHOT.jar.md5 - 
commons-collections-20040102.233541.jar.md5

I adjusted the symlink and version fil on minotaur to point to 3.0 and 
will verify that it updates properly onto ibibilio.

lrwxr-xr-x  1 mdiggory  apcvs  27 May  7 20:04 
commons-collections-SNAPSHOT.jar - commons-collections-3.0.jar
lrwxr-xr-x  1 mdiggory  apcvs  31 May  7 20:05 
commons-collections-SNAPSHOT.jar.md5 - commons-collections-3.0.jar.md5

-Mark

Stephen Colebourne wrote:
I've recently discovered that there is a bit of a rogue version of
commons-collections on ibiblio.
The jar named commons-collections-SNAPSHOT, is NOT the latest snapshot, and
in fact represents a time before the last release (3.0). This is causing
lots of misleading comments to float around the web.
Can all the *SNAPSHOT jars/md5s be removed from ibiblio commons-collections
please? And can the snapshot version be updated to point at the 3.0 release?
Or are there issues with doing this?
Thanks
Stephen


-
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: Ibiblio and Commons Collections

2004-05-07 Thread Mark R. Diggory
rsync went ok, everything should be good, look it over and make sure its 
what you want.

-Mark

Mark R. Diggory wrote:

Stephen,

on minotaur we have:

lrwxrwxr-x  1 jvanzyl   apcvs  39 Jan 17 15:59 
commons-collections-SNAPSHOT.jar - commons-collections-20040102.233541.jar
lrwxrwxr-x  1 jvanzyl   apcvs  43 Jan 17 15:59 
commons-collections-SNAPSHOT.jar.md5 - 
commons-collections-20040102.233541.jar.md5

and this is rsync'd to ibibilio under:

lrwxrwxrwx1 dion maven  39 Mar 29 10:41 
commons-collections-SNAPSHOT.jar - commons-collections-20040102.233541.jar
lrwxrwxrwx1 dion maven  43 Mar 29 10:41 
commons-collections-SNAPSHOT.jar.md5 - 
commons-collections-20040102.233541.jar.md5

I adjusted the symlink and version fil on minotaur to point to 3.0 and 
will verify that it updates properly onto ibibilio.

lrwxr-xr-x  1 mdiggory  apcvs  27 May  7 20:04 
commons-collections-SNAPSHOT.jar - commons-collections-3.0.jar
lrwxr-xr-x  1 mdiggory  apcvs  31 May  7 20:05 
commons-collections-SNAPSHOT.jar.md5 - commons-collections-3.0.jar.md5

-Mark

Stephen Colebourne wrote:

I've recently discovered that there is a bit of a rogue version of
commons-collections on ibiblio.
The jar named commons-collections-SNAPSHOT, is NOT the latest 
snapshot, and
in fact represents a time before the last release (3.0). This is causing
lots of misleading comments to float around the web.

Can all the *SNAPSHOT jars/md5s be removed from ibiblio 
commons-collections
please? And can the snapshot version be updated to point at the 3.0 
release?
Or are there issues with doing this?

Thanks
Stephen


-
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: [all] Current version of Clover in Maven repos?

2004-04-20 Thread Mark R. Diggory
I'll push this onto the Maven list.

Maven Folks, do we have some sort of agreement with Clover for its usage 
within Maven? were looking to upgrade to 1.2.4. Is this painless?

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

-Mark

Gary Gregory wrote:

Hello,

How can we get the current release of Clover in the Maven repository? 

When I run the Codec build, I see:

[clover-report] Clover Version 1.2, built on June 10 2003

The current version is 1.2.4 according to
http://www.thecortex.net/clover
Thank you,
Gary 



-
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: AW: Problem with RC2's site goal

2004-04-19 Thread Mark R. Diggory
I just upgraded as well and am getting this problem too. I deleted all 
my .maven repository contents and let it download everything again, but 
this doesn't help. There may have been previous discussion about this 
issue. We should review the list archives.

-Mark

Christian Nill wrote:

Just in case: the XDoc-Plugin in Version 1.6

-Ursprüngliche Nachricht-
Von: Christian Nill [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 19. April 2004 18:38
An: Maven Users List
Betreff: Problem with RC2's site goal
Hello,

This failed build cited below is driving me crazy. After migrating from RC1 to RC2 the
site goal doesn't succeed any longer. The position on which the build process halts is 
the
line marked with the arrow:
   j:file name=${outFile} encoding=${outputencoding}
 omitXmlDeclaration=true outputMode=xml
 prettyPrint=no
---j:include uri=${stylesheet.toString()}/
   /j:file
What is that line doing? Where does want the stylesheet information from? Is there
anything left for me to configure?
Thanks in advance
Christian
---
maven-linkcheck-plugin: Proxy User:null
Found 0 files so far.
 Memory: 15M/19M
Validating build/build.html
Validating projekthomepage/pflege.html
Validating projekthomepage/pfade_und_parameter.html
Validating projekthomepage/manuelles_rebuild.html
Validating projekthomepage/news.html
Validating projekthomepage/beispiel.html
Validating reiko1/links.html
Validating license.html
Validating linkcheck.html
Validating cvs-usage.html
Validating index.html
Validating maven-reports.html
Validating dependencies.html
Validating issue-tracking.html
Validating mail-lists.html
Validating project-info.html
Validating team-list.html
Validating links.html
Validating news.html
Validating umgebungen.html
maven-linkcheck-plugin:report-real:
   [echo] Generating 
/opt/tomcat/anthill-1.7.0.162/work/reiko2/target/docs/linkcheck.html
from /opt/tomcat/anthill-1.7.0.162/work/reiko2/target/linkcheck/docs/linkcheck.xml
BUILD FAILED
File.. file:/opt/tomcat/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
Element... j:include
Line.. 345
Column 54
null:-1:-1: null Could not parse Jelly script
Total time: 21 seconds
Finished at: Mon Apr 19 18:11:04 CEST 2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



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


Re: Maven and James

2004-03-21 Thread Mark R. Diggory
No, I am not. I am a developer working on organizing some of the
migration to the repository spec which the Repository Apache group has
defined. I am working on the ASF Repository contents which are mirrored
into www.ibiblio.org/maven. I am working to not be responsible for any
projects content specifically, it is up to that project to maintain its
content in the repository. I'm trying to act only in an advisory
position.

I am not familiar with which version of James or the mailet api you need
to use to develop your own Mailet, I have not used that api, you'll need
to review the documentation with the James folks specifically and ask
this question in that context irrespective of what jars are actually in
the repository. Once you have determined what you need, we can work with
the James folks to get it available in the ibiblio repository so that it
can be used with Maven.

Currently I notice that the repository has 1.0 and 3.0, but that the
current release is 2.1.3, you might check with them concerning if 3.0 is
appropriate to work with. In which case it is already available to you
via ibiblio.

Cheers,
-Mark

On Sun, 2004-03-21 at 01:58, Marco Tedone wrote:
 Mark, are you in charge of the mirroring? Do you know which jars shall I use
 to build a custom mailet/matcher? The guys at James don't support the
 mirroring and don't give information as well.
 
 Thanks,
 
 Marco
 - Original Message - 
 From: Mark R. Diggory [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Cc: Marco Tedone [EMAIL PROTECTED]
 Sent: Saturday, March 20, 2004 5:39 PM
 Subject: Re: Maven and James
 
 
  Yes, James is mirrored into ibiblio. If you need a different version
  than what is there, it would be best to have the James Release Manager
  contact with the [EMAIL PROTECTED] folks to assist in getting it
  published.
 
  The currently existing versions are:
  http://www.apache.org/dist/java-repository/james/jars/
 
  -Mark Diggory
 
  Emmanuel Venisse wrote:
   James team can do it via a mirroring directory between Apache and
 Ibiblio.
   If they doesn't know how to do, they can contact us.
  
   Emmanuel
  
   - Original Message - 
   From: Marco Tedone [EMAIL PROTECTED]
   To: Maven-users [EMAIL PROTECTED]
   Sent: Saturday, March 20, 2004 2:03 PM
   Subject: Maven and James
  
  
  
  Hi, who is maintaining the James repository at www.ibiblio.org/maven?
  
  Suppose I would like to write my own Mailet/Matcher, which dependency
  
   shall
  
  I declare?
  
  Thanks,
  
  Marco
  
 
  -- 
  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]
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Mark R. Diggory
Software Developer - VDC Project
Harvard MIT Data Center
http://www.hmdc.harvard.edu


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



Re: Maven and James

2004-03-20 Thread Mark R. Diggory
Yes, James is mirrored into ibiblio. If you need a different version 
than what is there, it would be best to have the James Release Manager 
contact with the [EMAIL PROTECTED] folks to assist in getting it 
published.

The currently existing versions are:
http://www.apache.org/dist/java-repository/james/jars/
-Mark Diggory

Emmanuel Venisse wrote:
James team can do it via a mirroring directory between Apache and Ibiblio.
If they doesn't know how to do, they can contact us.
Emmanuel

- Original Message - 
From: Marco Tedone [EMAIL PROTECTED]
To: Maven-users [EMAIL PROTECTED]
Sent: Saturday, March 20, 2004 2:03 PM
Subject: Maven and James



Hi, who is maintaining the James repository at www.ibiblio.org/maven?

Suppose I would like to write my own Mailet/Matcher, which dependency
shall

I declare?

Thanks,

Marco

--
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: Trailing space on hyperlinks produced by xdoc

2004-03-01 Thread Mark R. Diggory
We would like to releave ourselves of this issue as well in the Jakarta 
Commons. If anyone has dealt with it before, it would save us some hunting!

http://jakarta.apache.org/commons-mavenized/

Sean Radford wrote:

Hi,

Anyone having this problem:

When I 'xdoc' the majority of the hyperlinks get an extra trailing space
on the end...
e.g.

pThe a href=https://sourceforge.net/projects/jsdsi;JSDSI
project/a is hosted by a
href=http://sourceforge.net;SourceForge/a./p
becomes:

   p
   The 
   
a href=https://sourceforge.net/projects/jsdsi;
 JSDSI project
   /a
  
  is hosted by 
   
a href=http://sourceforge.net;
 SourceForge
   /a
  
 .
   
/p

Any ideas?

Sean

On Mon, 2004-03-01 at 12:52, [EMAIL PROTECTED] wrote:

I'm on European Standard Time, or GMT+1 
To get the correct time here, I have to set TZ Offset to -5, and the
time is listed as UTC+1.

Using RC1.

Harald

_
Harald Ommang, Delfi Data AS
DnB NOR IT Utvikling
-Opprinnelig melding-
Fra: Ben Walding [mailto:[EMAIL PROTECTED]
Sendt: 1. mars 2004 13:30
Til: Maven Users List
Emne: Re: Developer TZ offset and timezone
It's not supposed to be Ben time, more UTC time.  However I think the 
maths + javascript got a bit confused.

Martin Skopp wrote:


On Sat, 2004-02-28 at 14:29, Sean Radford wrote:



Anyone know what the pom.developers.developer.timezone value actually
relates to?
  

IMHO it's related to Ben time (=Brisbane, Australia).
I remember there have been discussion on the ICQ and/or developer
mailing list...



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

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

-
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: jakarta-taglibs

2004-02-27 Thread Mark R. Diggory
No, we just need to get them up and available in 
/www/www.apache.org/dist/java-repository on minotaur, they'll be 
published onto ibiblio using the rsync Jason's running between the two.

Notice: Apache Projects should all be publishing thier jars onto 
java-repository not via requests to ibiblio/JIRA, if you do submit 
such requests they will now be redirected to use java-repository.

I suspect they should be published under something more like:

.../java-repository/taglibs-standard/jars
.../java-repository/taglibs-jndi/jars
.../java-repository/taglibs-.../jars
-Mark

Tim Chen wrote:

Request and String have been there since Feb 2003 and Sept 2003 
respectively.
If you need other ones there then put a request through JIRA.
In the meantime (or instead of) you can always host your own repository.
Create a directory on your webserver and add files just as you would see 
them on ibiblio
For example:
I have my own repo that is accessed via.

http://xxx/maven
I can add a folder for
taglibs
  jars
 //place my jars here (remember to version them like on ibiblio)
and put a:
maven.repo.remote=http://xxx/maven,http://www.ibiblio.org/maven
in my project.properties
In addition to this 'workaround' you can also use: 
http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependencies 

Hope that helps :)
-Tim
Daniel Draws wrote:

Hi!
Actually I'm developing an J2EE project. And I like the idea to test 
maven. And first I want to say, that I like it.

Now I want to develop the web-tier and I can't find any of the 
jakarta-taglibs (http://jakarta.apache.org/taglibs/index.html). I can 
not beliefe that no developer using maven uses any of them (logging, 
datetime,...).

I don't know, if this is the right place: But is there anybody, who 
can tell me, were to find a remote repository with this libs.
If not: Would it be posible to add the jakarta-taglibs to the 
ibiblio-repository. The normal JIRA-way seems to be not the best, 
because it requires more then 25 requests. And all of the older 
requests for the upload of taglibs are opend since September 03.

Is there any workaround, if there is no posibility for putting the 
libs in a remote repository. I think it should be posible to declare a 
dependency for a zip file and then in the build-pocess this file 
should be unzipped and included in the target.

thx

daniel

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


Re: Project Properties and extends

2004-02-18 Thread Mark R. Diggory
I think we'll just hang tight and wait for some property file 
inheritance as well. Until then we can make due with duplicating the 
properties files.

-Mark

Sebastien Sahuc wrote:

We are looking for the same feature. Here is what we did locally by 
patching maven code. Our project.properties for each project can include 
a master project.properties using the following line:

 project.properties  of the project ==
@../master/master_project.properties
=

=== master_project.properties (in master folder, visible to all project 
) ===
# Bunch of properties shared by all subprojects that include this project
[...]
maven.jar.override=true
[...]

=

Patch is fairly trivial. Now I'd like to hear from the maven gurus if 
this is breaking any maven 'rules' or 'principles'. I'm of course in 
favor for the inheritance feature, but the hack will do in the meantime.

Sebastien







On Feb 17, 2004, at 5:22 PM, Mark R. Diggory wrote:

Is it possible to inherit the parent projects

parent-project/project.properties

when you extend the

parent-project/project.xml?

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


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


MD5 files empty in apache java-repository

2004-02-18 Thread Mark R. Diggory
Unfortunately, when attempting to publish jars intot he repository using 
the repository plugin, the md5 signature is empty.

Are others using a different approach to create md5 checksums?

It looks as though Apache users are going to need to use a different 
approach when signing files in the

/www/www.apache.org/dist/java-repository

This is because the executables are different between BSD and Linux this 
plugin is breaking when run on Minotaur. We need to get a solution together.

Writing properties to configure the md5 executable and commandline 
options in the repository plugin would probibly be an adequate fix.

-Mark

java-repository/excalibur-i18n/distributions/excalibur-i18n-1.1-src.tar.md5
+++ no source
  java-repository/cocoon/jars/cocoon-war-2.1.3.jar.md5
+++ no source
  java-repository/cocoon/jars/cocoon-war-2.1.4.jar.md5
+++ no source
  java-repository/commons-latka/jars/commons-latka-SNAPSHOT.md5
+++ no source
  java-repository/excalibur-i18n/distributions/excalibur-i18n-1.1-tar.md5
+++ no source
  
java-repository/excalibur-configuration/distributions/excalibur-configuration-1.1-src.tar.md5
+++ no source
  java-repository/excalibur-i18n/jars/excalibur-i18n-1.1.md5
+++ no source
  jakarta/lucene/source/lucene-1.3-final-src.tar.gz.md5
+++ no source
  java-repository/excalibur-i18n/distributions/excalibur-i18n-1.1.md5
+++ no source
  java-repository/excalibur-lifecycle/jars/excalibur-lifecycle-api-1.0.md5
+++ no source
  java-repository/commons-net/jars/commons-net-SNAPSHOT.md5
+++ no source
  
java-repository/excalibur-configuration/distributions/excalibur-configuration-1.1.tar.md5
+++ no source
  
java-repository/excalibur-configuration/distributions/excalibur-configuration-1.1-src.md5
+++ no source
  java-repository/excalibur-configuration/jars/excalibur-configuration-1.1.md5
+++ no source
  java-repository/excalibur-configuration/distributions/excalibur-configuration-1.1.md5
+++ no source
  java-repository/xmlrpc/jars/xmlrpc.md5
+++ no source
  java-repository/excalibur-i18n/distributions/excalibur-i18n-1.1-src.md5
*** bad .md5
  java-repository/commons-math/jars/commons-math-20040218.045431.jar.md5


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


Project Properties and extends

2004-02-17 Thread Mark R. Diggory
Is it possible to inherit the parent projects

parent-project/project.properties

when you extend the

parent-project/project.xml?

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


Muliproject or reactor to build commons?

2004-02-16 Thread Mark R. Diggory
I'm working on getting the Jakarta Commons to build from the 
jakarta-commons/commons-build project directory.

Currently I'm encounter issues with the reactor not seeming to work, I 
try to run a goal with the reactor in it and get a success with no 
other info back from maven (even with the -X debug option).

On Windoz:
C:\Eclipse3.0\workspace\jakarta-commonsmaven -X build-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath -
[DEBUG] Adding reference: maven-classpath -
BUILD SUCCESSFUL
Total time: 8 seconds
Finished at: Mon Feb 16 12:42:14 EST 2004


On *nix:
[EMAIL PROTECTED] commons-build]$ maven -X build-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath - 
[DEBUG] Adding reference: maven-classpath - 
BUILD SUCCESSFUL
Total time: 9 seconds
Finished at: Mon Feb 16 12:35:13 EST 2004




the build-all goal looks like:

  goal name=build-all
maven:reactor
  basedir=${basedir}
  includes=../*/project.xml
  excludes=../commons-build/project.xml
  goals=clean,jar
  banner=Building
  ignoreFailures=false
/
  /goal
is there something obvious I'm missing? Or would it be better if I was 
trying to build the commons site using the multiproject plugin instead?

-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: Muliproject or reactor to build commons?

2004-02-16 Thread Mark R. Diggory
I determined that this was an issue with the way someone had written the 
maven.xml

the project tag needed to be

project default=build-all
 xmlns:maven=jelly:maven
not

project default=build-all
 xmlns:reactor=reactor
 xmlns:m=maven
not sure why it was that way.

-Mark

Mark R. Diggory wrote:

I'm working on getting the Jakarta Commons to build from the 
jakarta-commons/commons-build project directory.

Currently I'm encounter issues with the reactor not seeming to work, I 
try to run a goal with the reactor in it and get a success with no 
other info back from maven (even with the -X debug option).

On Windoz:

C:\Eclipse3.0\workspace\jakarta-commonsmaven -X build-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath -
[DEBUG] Adding reference: maven-classpath -
BUILD SUCCESSFUL
Total time: 8 seconds
Finished at: Mon Feb 16 12:42:14 EST 2004




On *nix:

[EMAIL PROTECTED] commons-build]$ maven -X build-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath - [DEBUG] Adding 
reference: maven-classpath - BUILD SUCCESSFUL
Total time: 9 seconds
Finished at: Mon Feb 16 12:35:13 EST 2004






the build-all goal looks like:

  goal name=build-all
maven:reactor
  basedir=${basedir}
  includes=../*/project.xml
  excludes=../commons-build/project.xml
  goals=clean,jar
  banner=Building
  ignoreFailures=false
/
  /goal
is there something obvious I'm missing? Or would it be better if I was 
trying to build the commons site using the multiproject plugin instead?

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


MD% Standards (was Re: MD5 and Mirrors ( was Re: MD5 Hash ))

2004-02-11 Thread Mark R. Diggory
Besides, my current experiments with gnu md5sum (2.0.21) show that the 
sum's on the Maven contents arn't verifyable to any other tool but the 
maven checksum plugin.

If they aren't verifiable to extenral tools thats a bad situation. I'm 
going to bring this up on the Maven list too.

http://www.faqs.org/rfcs/rfc1321.html

A hard fast dig through the RFC suggests a loophole here as there is 
no reference to what the contents of a md5 signature fle should look 
like. Seems more of a inherant suggestion in the implementation itself.

-Mark

Mark R. Diggory wrote:

Its a tough call, is there any standard for the structure of the md5 
contents out there? I think the Maven team would be keen to play along 
with a standard and yet play along with any configurability as well.

-Mark Diggory

Markus M. May wrote:

Adam is perfectly right about this stuff. There is one more thing we 
need to
think about. Some repositories treat md5-files different. The 
structure on
apache.org is [filename - MD5 Hash]. But on ibiblio (maven-repository) 
it is
just [MD5 Hash]. So this needs to be somehow configurable.
One more thing to think about :-)
--
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: MD5 and Mirrors ( was Re: MD5 Hash )

2004-02-11 Thread Mark R. Diggory
Well, after my own little survey, I've determined the following:

md5 on BSD (Apache Minotaur):

[EMAIL PROTECTED]:/home/mdiggory md5 foo.bar
MD5 (foo.bar) = 7f5e787ff3b930d906d01243ccf7c237
md5 has no built in option to compare the file to the checksum and 
return true/false.

Output of md5sum (GNU textutils) on Redhat:
[EMAIL PROTECTED]:/home/mdiggory md5sum foo.bar
7f5e787ff3b930d906d01243ccf7c237 foo.bar
md5sum has a built in option which compares the md5 from the signature 
against the original file.

[EMAIL PROTECTED] mdiggory]$ md5sum -c foo.bar.md5
foo.bar: OK
Output of Maven when publishing to repository is the md5 string minus 
the filename and is dependent on GNU md5sum.

*example snippet of the command as its run in jelly*
repository:exec
  cd ${directory};
  md5sum ${artifactName} | sed 's/ .*$//' | tee ${artifactName}.md5;
  chgrp ${maven.repository.group} *;
  chmod g+w,a+r *;
/repository:exec
results in the string with no filename on ibiblio, and actually fails on 
minotaur as its BSD and the executable is not present.

What is the right/wrong way is not really a reasonable question to ask.

How to appropriately deal with the variants in both md5/md5sum ... 
generation and file structure specifically in relation to the repository 
are the important questions to throw around.

My opinions are the following:

Server side OS dependent tools are usually accessed in scripts (say, in 
a cron script which does checking and reports errors). These scripts 
will always be unique to an OS, It'll often be the case that they are 
custom for that particular need. the author usually writes their own 
string parsing routines (ie: md5sum foo.bar | sed 's/ .*$//').

A client side tool needs a simple and standard means of validating the 
content they are about to download or upload onto a server. If the 
repository structure already enforces the name of the md5 sum in 
relation to the file name, any internal naming done inside the md5 file 
is redundant. It would be good to just have the file contain the 
checksum which reduces parsing requirements on both the server and the 
client..

Client tools should be robust enough (or extensible enough) to generate 
the appropriate md5 sum for a particular artifact and to easily find and 
read/compare it to the content on the server.

-Mark

Markus M. May wrote:

Hello Mark,

this is probably my fault. I checked this whole stuff with a very old 
maven.md5-file. The format is now equal between the two projects.

Sorry for the confusion.

Markus


--
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: Apache upload requests

2004-02-10 Thread Mark R. Diggory
Ok, I have some initial rough documentation available on the Wiki now, 
do feel free to edit tweek it to your hearts content.

http://nagoya.apache.org/wiki/apachewiki.cgi?GettingInvloved
http://nagoya.apache.org/wiki/apachewiki.cgi?MavenRepository
-Mark

Jason van Zyl wrote:
Hi,

For any Apache projects now wishing to get artifacts to Ibiblio you
should coordinate with infrastructure and Mark Diggory who headed up the
effort to get the Maven repository flying at Apache. There are some
rules as far as release vs snapshots but they can fill you in.
Artifacts get sync'd from Apache to Ibiblio every four hours.

So just FYI I am deleting all requests from JIRA for uploads by Apache
projects because you must use the Apache funnel to Ibiblio now.
--
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: Apache upload requests

2004-02-10 Thread Mark R. Diggory
That is fine with me. I'm trying to get some of the jakarta-commons 
stuff ironed out with the multiproject build/site/deploy at this time.

Maybe we should try to single out a list for accepting requests on 
repository content publishing which we can point users to on the 
Wiki/Documentation?

Is infrastructure an acceptable location? Whatever the location, it 
should probably be independent of any of the TLP's who may use the maven 
repository.

-Mark

Jason van Zyl wrote:
On Tue, 2004-02-10 at 14:08, Mark R. Diggory wrote:

Ok, I have some initial rough documentation available on the Wiki now, 
do feel free to edit tweek it to your hearts content.

http://nagoya.apache.org/wiki/apachewiki.cgi?GettingInvloved
http://nagoya.apache.org/wiki/apachewiki.cgi?MavenRepository


Cool, thanks Mark. Do you mind being the person who helps folks within
Apache get setup? I shouldn't have singled you out but assumed you
wouldn't mind as you've done the work up to this point.
I can certainly help out with anything on the ibiblio end but if you can
work with infrastructure and Apache folk in general that would be
greatly appreciated.

-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: question re. signature plugin

2004-01-30 Thread Mark R. Diggory
I'm going to forward this to the maven list as well so other know the 
details.

The signature plugin I was working on earlier in the week is based on 
the BouncyCastle OpenPGP api. I'm since convinced that there are allot 
of headaches in this approach.

1.) Gpg stores its private/public keys in a separate file format than 
most of these OpenPGP java implementations use them. If most people are 
using/generating their keys in GPG this is a usability issue that 
creates headaches for them.

2.) Cross Verifying signatures between Gpg, BouncyCastle and Cryptix was 
very disturbing, depending on the algorithm used to generate the key 
there was allot of failure.

So, at this point I've come to the conclusion that these OpenPgp java 
packages are a little too bleeding edge for this. I've settled on 
calling Gpg directly using ant exec tasks for the time being.

maven.gpg.exec=/usr/bin/gpg

goal name=gpg:sign
   ant:exec executable=${maven.gpg.exec}
  ant:arg value=-sb ${file}/
   /ant:exec
/goal
called by %maven gpg:sign -Dfile=foo.jar

goal name=gpg:verify
   ant:exec executable=${maven.gpg.exec}
  ant:arg value=--verify ${signature} ${file}/
   /ant:exec
/goal
called by %maven gpg:verify -Dsignature=foo.jar.gpg -Dfile=foo.jar

ultimately a very trivial wrapper can be written that accepts any gpg 
argument:

 goal name=gpg:exec
   ant:exec executable=${maven.gpg.exec}
  ant:arg value=${arg}/
   /ant:exec
 /goal
called by %maven gpg:exec -Darg=-sb foo.jar
called by %maven gpg:exec -Darg=--verify foo.jar.gpg foo.jar
This will allow the user to work with gpg on windows or *nix and by 
configuring these parameters in maven, set it up to work on their 
system. They use the same commands to exec gpg through maven/ant as on 
the command line. Not very brilliant, but I guess it really doesn't need 
to be.

I'll be authoring up a plugin that will have this stuff in it, but for 
now, you could just drop the above into your maven.xml/build.properties.

-Mark

Stephen McConnell wrote:
Hi Mark:

I finally have gpg installed on my windows box and able to sign jars - 
and now I want to tie this into the build process I'm using for the 
Merlin project.  What's the status of your plugin?

Cheers, Steve.

--
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: new idea on maven usage?

2004-01-29 Thread Mark R. Diggory
True, true. That is another option. Maybe theres others. I can imagine 
generating other OS specific package installers too. (RPM, bin, XPI, sh, 
InstallSheild, msi ...). A plugin or series of plugins devoted to 
building such installers using maven and its repository resources.

-Mark

Ethan Rider wrote:

Pardon my interjection, but if the problem domain is restricted to java files, wouldn't JNLP be the technology to leverage here?

- Original Message -
From: Mark R. Diggory [EMAIL PROTECTED]
Date: Wednesday, January 28, 2004 4:24 pm
Subject: Re: new idea on maven usage?

Novel Idea,

I think Ant might be a lighter starting point. In fact you could 
do 
something like the ant-plugin to generate an ant build.xml that 
starts 
the whole process.

If the user has ant installed, they can just run your script, 
otherwise, 
you could package it with just enough of the ant classes that it 
would 
be light and simple to execute from within a jar file.

%jar foo-start.jar

-Mark

Christian Andersson wrote:


Hi there, I think I have a new idea on how to use maven, not 
just as a

build system.

anyway, what I thought of is the following.

I want to use some sort of minimalistic version of maven to 
start my

applications, this way I do not have to distribute any of my jar 
files, or any of the external jar files, and I can also get a 
version controled

handling of the execution.

what would be needed to use this.
project.xml
   remove all the build stuff
   add information on which class to run and if it should be
threaded
maven
   includes no plugins and only 2 goals
   start to start the applikation (if the application is threaded
   maven will exist after start but the application still
running)
   stop to stop the application (if it was started threaded)
If I have maven-starter locally installed all I would need was to
download the project.xml file and type maven start
this would then download everything that was needed (if not 
previously downloaded) and start the applikation.

In a sence it is sort of a webstart system, but the jar files 
does not

have to be on the same server, nor signed, etc...

we could ofcourse demand some security in this so that jar files 
hae to

be signed, etc and that users have to agree to the signature 
(much like

webstart)

but I think this could be better then webstart, since this could 
also work with server applications...

anyway it is just an idea!

/Christian

-


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]



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


Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
I have a problem with the ant:generate task, it seems to be producing 
hardcoded paths, when I cut a release this is very problematic.

Is there a configuration option for this?

SNIP

  target name=compile description=o Compile the code 
depends=get-deps
mkdir dir=${classesdir}
/mkdir
javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement location=C:\eclipse\workspace\math\src\java
/pathelement
  /src
  classpath

/SNIP

--
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: Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
Just to elaborate, it happens on *nix too.

pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/java/pathelement

I have my sourceDirectory tag set properly in the POM. It appears that 
the path is getting turned into an absolute before the template in the 
ant plugin is run...

-Mark

Mark R. Diggory wrote:

I have a problem with the ant:generate task, it seems to be producing 
hardcoded paths, when I cut a release this is very problematic.

Is there a configuration option for this?

SNIP

  target name=compile description=o Compile the code 
depends=get-deps
mkdir dir=${classesdir}
/mkdir
javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement location=C:\eclipse\workspace\math\src\java
/pathelement
  /src
  classpath

/SNIP

--
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: Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
And to elaborate even more, it also happens to 
${pom.build.unitTestSourceDirectory}

  target name=compile-tests depends=compile
mkdir dir=${testclassesdir}
/mkdir
javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/test

Is this something that changed just recently?

-Mark

Mark R. Diggory wrote:

Just to elaborate, it happens on *nix too.

pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/java/pathelement

I have my sourceDirectory tag set properly in the POM. It appears that 
the path is getting turned into an absolute before the template in the 
ant plugin is run...

-Mark

Mark R. Diggory wrote:

I have a problem with the ant:generate task, it seems to be producing 
hardcoded paths, when I cut a release this is very problematic.

Is there a configuration option for this?

SNIP

  target name=compile description=o Compile the code 
depends=get-deps
mkdir dir=${classesdir}
/mkdir
javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement location=C:\eclipse\workspace\math\src\java
/pathelement
  /src
  classpath

/SNIP


--
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: Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
I see, this was altered in the CVS head recently. Sorry for the traffic.

-Mark

Mark R. Diggory wrote:

And to elaborate even more, it also happens to 
${pom.build.unitTestSourceDirectory}

  target name=compile-tests depends=compile
mkdir dir=${testclassesdir}
/mkdir
javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/test

Is this something that changed just recently?

-Mark

Mark R. Diggory wrote:

Just to elaborate, it happens on *nix too.

pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/java/pathelement

I have my sourceDirectory tag set properly in the POM. It appears 
that the path is getting turned into an absolute before the template 
in the ant plugin is run...

-Mark

Mark R. Diggory wrote:

I have a problem with the ant:generate task, it seems to be producing 
hardcoded paths, when I cut a release this is very problematic.

Is there a configuration option for this?

SNIP

  target name=compile description=o Compile the code 
depends=get-deps
mkdir dir=${classesdir}
/mkdir
javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement location=C:\eclipse\workspace\math\src\java
/pathelement
  /src
  classpath

/SNIP



--
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: Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
Ahhh, I just discovered the joy's of

 maven -DgroupId=maven -DartifactId=maven-ant-plugin -Dversion=1.5 
plugin:download

fixes everything... :-)

__matthewHawthorne wrote:

Mark R. Diggory wrote:

And to elaborate even more, it also happens to 
${pom.build.unitTestSourceDirectory}

  target name=compile-tests depends=compile
mkdir dir=${testclassesdir}
/mkdir
javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/test

Is this something that changed just recently?


It's been like that for awhile.  I've always had to manually hack the
Maven-generated Ant build files to remove these paths.


-
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: Ant Task generates Absolute paths....

2004-01-28 Thread Mark R. Diggory
But it needs to be clarified that the ant-plugin in rc1 isn't this fixed 
version...its 1.4. I downloaded and installed the rc1 distribution and 
ran the ant goal, it generated absolute paths. I had to upgrade the 
plugin to 1.5 to get the fix.

-Mark

[EMAIL PROTECTED] wrote:
It's been fixed for ages
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


__matthewHawthorne [EMAIL PROTECTED] wrote on 29/01/2004 10:29:38 AM:


Mark R. Diggory wrote:

And to elaborate even more, it also happens to 
${pom.build.unitTestSourceDirectory}

 target name=compile-tests depends=compile
   mkdir dir=${testclassesdir}
   /mkdir
   javac destdir=${testclassesdir} deprecation=true debug=true 


optimize=false excludes=**/package.html
 src
   pathelement 
location=/x1/home/mdiggory/jakarta-commons/math/src/test

Is this something that changed just recently?


It's been like that for awhile.  I've always had to manually hack the
Maven-generated Ant build files to remove these paths.


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


Re: using custom ant tasks?

2004-01-22 Thread Mark R. Diggory
Do you know if this is due to the absence of the solnetant jar on 
maven's classpath? you might try adding it /maven/lib as a test.

I'm actually working out something similar where I have dependency jars 
for a plugin that need to get into the library to become available on 
the classpath.

I'm also writing a custom an task that will need to be runnable from 
inside a maven goal. But,the source code for the task is actually in the 
plugin code. and ends up on the classpath.

Hey folks? Why not have a more granular mechanism in plugins for 
dealing with jar dependencies such as this? Or is there some way I can 
setup a lib directory to get loaded onto the classpath used by my 
plugin. Is there a means to designate at what level in the Classloader 
hierarchy a dependency get inserted?

-Mark



Andy Lynch wrote:

Hi,

I'm starting to use maven to build a fairly complex application which is 
currently built using Ant; and am having trouble trying to use some 
custom ant tasks within Maven.

I've listed the jar file containing the tasks as a dependency:

...
dependency
   groupIdsolnet/groupId
   artifactIdsolnetant/artifactId
   version1.1/version
/dependency
...
and run our existing ant file using the following maven.xml:
project default=none xmlns:j=jelly:core xmlns:m=maven 
xmlns:maven=jelly:maven xmlns:u=jelly:util
   goal description=Deploy app name=deploy
   ant dir=${basedir} antfile=buildscripts/build.xml/
   /goal
/project

The ant build starts, but shortly aborts saying it could not find the 
task defined in this jar. So I guess my question is, is there a way to 
specify a classpath for extra ant tasks within a maven project?

-
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: Making plugins a dependency

2004-01-22 Thread Mark R. Diggory
http://maven.apache.org/reference/developers/releasing-plugins.html

Alex Vollmer wrote:

The 'plugin:install' goal installs the JAR in the local repository, I
want a goal that installs the JAR in the remote repository.
--Alex V.

On Thu, 2004-01-22 at 12:58, Incze Lajos wrote:


On Thu, Jan 22, 2004 at 11:48:46AM -0800, Alex Vollmer wrote:

What Maven goal will allow me to deploy my plugin to our repository the
same way I would deploy any other kind of artifact? Basically the normal
'jar:deploy' puts the JAR file in the 'jars' sub-directory and I want it
to go into the 'plugins' sub-directory.
Thanks in advance.

--Alex V.
plugin:install

incze

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


Alex Vollmer

[EMAIL PROTECTED]

Software Engineer
Tenzing Communications, Inc.
705 Fifth Avenue South, Suite 700
Seattle, WA 98104 USA
T:  +1 206.607.2869

Bring your laptop and try inflight email on your next United,
Continental or Cathay Pacific flight. All you need is your laptop, user
ID, password, and email server URL. Tenzing Communications, Inc.
provides inflight email systems that help airborne travelers stay in
touch.
--
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: Making plugins a dependency

2004-01-22 Thread Mark R. Diggory
But, more specifically, for project external to maven, isn't this just 
the same process as getting your artifacts published?

http://maven.apache.org/repository-upload.html

goals corresponding to this
dist:deploy
jar:deploy
...

but plugin:deploy ... doesn't exacty do the same thing, now does it?

-Mark

Mark R. Diggory wrote:

http://maven.apache.org/reference/developers/releasing-plugins.html

Alex Vollmer wrote:

The 'plugin:install' goal installs the JAR in the local repository, I
want a goal that installs the JAR in the remote repository.
--Alex V.

On Thu, 2004-01-22 at 12:58, Incze Lajos wrote:


On Thu, Jan 22, 2004 at 11:48:46AM -0800, Alex Vollmer wrote:

What Maven goal will allow me to deploy my plugin to our repository the
same way I would deploy any other kind of artifact? Basically the 
normal
'jar:deploy' puts the JAR file in the 'jars' sub-directory and I 
want it
to go into the 'plugins' sub-directory.

Thanks in advance.

--Alex V.


plugin:install

incze

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


Alex Vollmer

[EMAIL PROTECTED]

Software Engineer
Tenzing Communications, Inc.
705 Fifth Avenue South, Suite 700
Seattle, WA 98104 USA
T:  +1 206.607.2869

Bring your laptop and try inflight email on your next United,
Continental or Cathay Pacific flight. All you need is your laptop, user
ID, password, and email server URL. Tenzing Communications, Inc.
provides inflight email systems that help airborne travelers stay in
touch.

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


Plugins, JVM and dependencies

2004-01-20 Thread Mark R. Diggory
So...

I now have succesfully genreated my first pgp key pair using my 
signature plugin, but I have issues...

BouncyCastle currently comes in a few jvm version packages


JDK 1.4
bcprov-jdk14-121.jar
bcmail-jdk14-121.jar
bcpg-jdk14-121.jar
bctest-jdk14-121.jar
JDK 1.3
bcprov-jdk13-121.jar
jce-jdk13-121.jar
bcmail-jdk13-121.jar
bcpg-jdk13-121.jar
bctest-jdk13-121.jar
JDK 1.2
bcprov-jdk12-121.jar
jce-jdk12-121.jar
bcpg-jdk12-121.jar
bctest-jdk12-121.jar
The chanllenge when installing the JCE provider and PGP library is that 
it is very sensitive to version differences. IE I can't generate 
keypairs successfully on 1.4 with the 1.3 libraries [go figure ;)].

Is there a way I can detect the jvm verison on install or somehow manage 
which jars get installed given my jvm version?

-Mark

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


Re: Plugins, JVM and dependencies

2004-01-20 Thread Mark R. Diggory
wow my spelling is poor before my first cup of coffee. ;-)

Mark R. Diggory wrote:

So...

I now have succesfully genreated my first pgp key pair using my 
signature plugin, but I have issues...

BouncyCastle currently comes in a few jvm version packages


JDK 1.4
bcprov-jdk14-121.jar
bcmail-jdk14-121.jar
bcpg-jdk14-121.jar
bctest-jdk14-121.jar

JDK 1.3
bcprov-jdk13-121.jar
jce-jdk13-121.jar
bcmail-jdk13-121.jar
bcpg-jdk13-121.jar
bctest-jdk13-121.jar
JDK 1.2
bcprov-jdk12-121.jar
jce-jdk12-121.jar
bcpg-jdk12-121.jar
bctest-jdk12-121.jar
The chanllenge when installing the JCE provider and PGP library is that 
it is very sensitive to version differences. IE I can't generate 
keypairs successfully on 1.4 with the 1.3 libraries [go figure ;)].

Is there a way I can detect the jvm verison on install or somehow manage 
which jars get installed given my jvm version?

-Mark

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


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


Plugins, JVM and dependencies

2004-01-20 Thread Mark R. Diggory
So...

I now have succesfully genreated my first pgp key pair using my
signature plugin, but I have issues...
BouncyCastle currently comes in a few jvm version packages


JDK 1.4
bcprov-jdk14-121.jar
bcmail-jdk14-121.jar
bcpg-jdk14-121.jar
bctest-jdk14-121.jar
JDK 1.3
bcprov-jdk13-121.jar
jce-jdk13-121.jar
bcmail-jdk13-121.jar
bcpg-jdk13-121.jar
bctest-jdk13-121.jar
JDK 1.2
bcprov-jdk12-121.jar
jce-jdk12-121.jar
bcpg-jdk12-121.jar
bctest-jdk12-121.jar
The chanllenge when installing the JCE provider and PGP library is that
it is very sensitive to version differences. IE I can't generate
keypairs successfully on 1.4 with the 1.3 libraries [go figure ;)].
Is there a way I can detect the jvm verison on install or somehow manage
which jars get installed given my jvm version?
-Mark

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


Controlling plugins output

2004-01-20 Thread Mark R. Diggory
I was thinking it would be good to ahve some content go off to the 
maven.log (stack traces) while having the rest of the content go out to 
stdout. Is there any logger configured that I can grab to use in the 
plugin.jelly?

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]


Re: Plugins, JVM and dependencies

2004-01-20 Thread Mark R. Diggory


Brett Porter wrote:

You'll probably need to do some funky jelly involving
${systemScope.getVariable('java.version')}
Alternatively you could just generate one for each in succession, or
controlled by a property - these are probably better so execution
environment doesn't have to be the same as target environment.


Are the 1.4 differences may be related to that invalid stream header bug
in 1.4.2 +?
- Brett
I'm not sure, at this point, why bouncycastle maintains separate jvm
distributions, I'll have to do more research. A specifc case for one, is
that they also maintain a cleanroom implementation of the JCE for 1.3,
but abandoned it in 1.4.
In terms of supporting jars, what is the best way to deal with their
installation when installing a plug-in, I'm sure all the versions can be
stored in the ibiblio repository (or downloaded from the bouncycastle
site), should I write a maven.xml goal that installs them into the
maven/lib directory? Or is there a way to get the jars out of the
ibiblio repository and into the maven/lib directory where they can be
detected by the plugin? Or am I missing something here?
-thanks,
Mark


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 21 January 2004 8:03 AM
To: Maven Users List
Subject: Plugins, JVM and dependencies

So...

I now have succesfully genreated my first pgp key pair using 
my signature plugin, but I have issues...

BouncyCastle currently comes in a few jvm version packages


JDK 1.4
bcprov-jdk14-121.jar
bcmail-jdk14-121.jar
bcpg-jdk14-121.jar
bctest-jdk14-121.jar
JDK 1.3
bcprov-jdk13-121.jar
jce-jdk13-121.jar
bcmail-jdk13-121.jar
bcpg-jdk13-121.jar
bctest-jdk13-121.jar
JDK 1.2
bcprov-jdk12-121.jar
jce-jdk12-121.jar
bcpg-jdk12-121.jar
bctest-jdk12-121.jar
The chanllenge when installing the JCE provider and PGP 
library is that it is very sensitive to version differences. 
IE I can't generate keypairs successfully on 1.4 with the 1.3 
libraries [go figure ;)].

Is there a way I can detect the jvm verison on install or 
somehow manage which jars get installed given my jvm version?

-Mark

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


Re: Plugins, JVM and dependencies

2004-01-20 Thread Mark R. Diggory
My fault I was messing around with From address on my email client, 
trying to set it to a new alias address we have available here at 
harvard. I had thought the messages we're being rejected by the list so 
I sent them again. after some time the originals finally showed up.

my bad, sorry

-Mark

Brett Porter wrote:
Mark, any idea why all your messages are coming through twice?


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 21 January 2004 9:42 AM
To: Maven Users List
Subject: Re: Plugins, JVM and dependencies



Brett Porter wrote:


You'll probably need to do some funky jelly involving 
${systemScope.getVariable('java.version')}

Alternatively you could just generate one for each in 
succession, or 

controlled by a property - these are probably better so execution 
environment doesn't have to be the same as target environment.



Are the 1.4 differences may be related to that invalid 
stream header 

bug in 1.4.2 +?

- Brett
I'm not sure, at this point, why bouncycastle maintains separate jvm 
distributions, I'll have to do more research. A specifc case 
for one, is 
that they also maintain a cleanroom implementation of the JCE 
for 1.3, 
but abandoned it in 1.4.

In terms of supporting jars, what is the best way to deal with their 
installation when installing a plug-in, I'm sure all the 
versions can be 
stored in the ibiblio repository (or downloaded from the bouncycastle 
site), should I write a maven.xml goal that installs them into the 
maven/lib directory? Or is there a way to get the jars out of the 
ibiblio repository and into the maven/lib directory where they can be 
detected by the plugin? Or am I missing something here?

-thanks,
Mark


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 21 January 2004 8:03 AM
To: Maven Users List
Subject: Plugins, JVM and dependencies
So...

I now have succesfully genreated my first pgp key pair using
my signature plugin, but I have issues...
BouncyCastle currently comes in a few jvm version packages


JDK 1.4
bcprov-jdk14-121.jar
bcmail-jdk14-121.jar
bcpg-jdk14-121.jar
bctest-jdk14-121.jar
JDK 1.3
bcprov-jdk13-121.jar
jce-jdk13-121.jar
bcmail-jdk13-121.jar
bcpg-jdk13-121.jar
bctest-jdk13-121.jar
JDK 1.2
bcprov-jdk12-121.jar
jce-jdk12-121.jar
bcpg-jdk12-121.jar
bctest-jdk12-121.jar
The chanllenge when installing the JCE provider and PGP
library is that it is very sensitive to version differences. 
IE I can't generate keypairs successfully on 1.4 with the 1.3 
libraries [go figure ;)].

Is there a way I can detect the jvm verison on install or
somehow manage which jars get installed given my jvm version?
-Mark


-

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]


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]


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


Re: Apache Maven Developer Repostory

2004-01-17 Thread Mark R. Diggory
Yes, thats a little too left field isn't it. I'll stick to the game plan.

-M.

Jason van Zyl wrote:

On Fri, 2004-01-16 at 20:00, Mark R. Diggory wrote:

I was just looking over the dist directory and having wild thoughts:

1.) most of the projects are in nested directories

ie: jakarta/commons/collections

dist/**/
   project/
   source/
   binary/
2.) maven requires the remote repository to be in the following structure:

repository/
   project/
  jars/
  distribution/
Are there any thoughts on haw the dist directory itself might be 
maintained as a maven repository. For instance, is it plausible to have 
maven projects nested within the directory structure, or is this a 
limitation in Maven's Repository Structure?


It's not something we want. If you want to let people use the existing
structure then just write to move stuff from the dist structure to a
maven repository structure. On a daily basic you could nuke the copied
structure so the size wouldn't build to an unmanageable size. Then you
can keep your dist structure and just flush new artifacts to ibiblio.

repository/**/
   project/
  jars/
  distribution/
Is it plausible that a project could actually organize where its 
distribution and jars directories were actually located?


No. It's not that complicated. Just copy the artifacts into the required
structure.

or would it be more logical to have projects eventually migrate to the 
maven repository structure for deployment (until then, simlinking source 
and binary contents mainatained in the current process into 
maven/repository/project/distributions)?


If you want to have it work with Maven then even a temporary structure
would work for syncing. All you really want is to move new artifacts to
the repository. There is no reason why the existing apache layout for
the dist directories can't be maintained as well as shuffling them about
to conform to what Maven needs so that a directory can be flushed to
ibiblio.

-Mark



Jason van Zyl wrote:


On Fri, 2004-01-16 at 11:03, Mark R. Diggory wrote:


I'm not sure if this got onto the maven groups radar.

I'd like to get feedback from the Maven group (or others who have access 
to ibiblio for deploying artifacts).

What is your position on managing/maintain a maven ropository locally 
here on apache servers that will be used to supply the ibiblio mirror 
with all our Apache Artifacts?


I say just get infrastructure to make a directory that is accessible to
committers and then it only takes a minute to mail the ibiblio admins to
pull from Apache at a 4 hour intervals.


Are there any local Maven repositories in standard locations on 
servers like cvs.apache.org?


Not yet, but you ask infrastructure what you would like and I'm sure
they would be happy to service your request.
If you get directory structure happening, I would be happy to contact to
ibiblio and give them the details so they can setup the pull.
This would definitely work right now, and if you want to do it in the
dist directory so your repo gets mirrored then people can use those as
well. They would just simply have to point at their local mirror
containing the repository by adding an entry in their build.properties.
Happy to help on the ibiblio end if you get things set up here, but
there are no objections here.
--
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]


Thoughts on project uniqness.

2004-01-17 Thread Mark R. Diggory
But...

With the possibility that multiple remote maven repositories can exist 
and projects can be published that have the same project names to 
different remote repositories, it seems there would really be issues 
with name clashes eventually here?

Seems that there should be some effort to make sure that projects 
maintain uniqueness. Usually namespacing (using host domains) is used to 
accomplish this (like in xml for instance). Is there any effort to do 
this in maven repositories.

Looking in the ibiblio repository, it seems there's going to eventually 
be political issues with the whole apache commons, jakarta commons, xml 
commons for instance if all jakarta commons projects have project names 
commons-*.

This is where nested directory structures come into play. Which is 
easier to maintain uniqueness?

/jakarta.apache.org/commons/...
/xml.apache.org/commons/...
/commons.apache.org/...
or

/org
   /apache
  /jakarta
 /commons
  /xml
 /commons
  /commons
or

/commons-math/
/commons-collections/
/xml-apis
...
Seems theres some inherent uniqueness that could be enforced simply by 
repository structure.

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


Re: Generating md5 checksums

2004-01-17 Thread Mark R. Diggory
Do there happen to be goals associated with this plugin, or do I need to 
write my own. Seems there should be something basically identical to

jar:deploy or dist:deploy goals that do the md5 checksum's as well?

-Mark

Mark R. Diggory wrote:
Thanks, thats what I needed to know.

[EMAIL PROTECTED] wrote:

Simply use the artifact tags : 
http://maven.apache.org/reference/plugins/artifact/

-emmanuel

Selon Mark R. Diggory [EMAIL PROTECTED]:


Are there any details available on goals/properties necessary for 
generating md5 checksums for distributions and jars produced by maven?

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]





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


Apache Maven Developer Repostory

2004-01-16 Thread Mark R. Diggory
I'm not sure if this got onto the maven groups radar.

I'd like to get feedback from the Maven group (or others who have access 
to ibiblio for deploying artifacts).

What is your position on managing/maintain a maven ropository locally 
here on apache servers that will be used to supply the ibiblio mirror 
with all our Apache Artifacts?

Are there any local Maven repositories in standard locations on 
servers like cvs.apache.org?



-Mark Diggory

Mark R. Diggory wrote:

Re: [maven] developer repostory revisited

+1 I think this is very important to both automation and consistency in 
deliverables.

-Mark

Tim O'Brien wrote:

I second Matthew's suggestion that we create a repository that works 
with Maven as it is.
Create the directory /www/www.apache.org/repository/, this repository 
will contain soft links to jars and other deliverables we wish to 
distriute to ibilio and other repositories.  After a certain period of 
time, we can ask that whomever maintains the ibiblio repository use 
this source as the ASF's authoritative collection of distributables 
for Maven.

This doesn't prevent others from thinking about other ways to create a 
repository - like Ruper, or the ever active repository mailing list, 
but it solves a practical problem which is preventing progress for 
many. immediately.

Tim

__matthewHawthorne wrote:

In this thread:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]by=threadfrom=563250 

The idea of a Maven repository located on an ASF machine was discussed.
It seems like something that is doable, and also has been requested by
the ASF.
I would like to make this happen, but I am not sure what the official
steps to take are.  If a request has to be made to infrastructure, I
read that someone from a PMC has to do it.
Here are the steps that I can see:

1) Choose a machine, and create the directory.

2) Choose the URL to map the repo to
(something like maven.apache.org/repository ?)
3) Possibly modify Maven to search this repository as well as ibiblio by
default
4)  Modify nightly build script(s) to deploy to this directory as well
as others, so that all nightlies and SNAPSHOTs could be instantly 
available.

The last time I mentioned this, a few people pointed me to the
[EMAIL PROTECTED] project, which seems to be defining a
next-generation repository structure for Maven and other uses.  This
looks great, but I'm interested in something that will work with Maven
right now.
I think this is long overdue, since Apache projects that have been
released for months are still not available on ibiblio.  We need an
easier way.
Anyone else interested?  How can we make this happen?  Thanks for any 
help!



-
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: Generating md5 checksums

2004-01-16 Thread Mark R. Diggory
Thanks, thats what I needed to know.

[EMAIL PROTECTED] wrote:

Simply use the artifact tags : http://maven.apache.org/reference/plugins/artifact/

-emmanuel

Selon Mark R. Diggory [EMAIL PROTECTED]:


Are there any details available on goals/properties necessary for 
generating md5 checksums for distributions and jars produced by maven?

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]




--
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: CVS Downloads, Eclipse

2004-01-16 Thread Mark R. Diggory
Besides this you can also set the default source and target relative 
directory paths in Eclipses Preferences for java projects

Menu -- Window -- Preferences -- Java -- New Project

change your source folder to:
/src/java/main
change your output folder to:
/target/classes
-Mark

Vikas Phonsa wrote:
Yeah I perfectly understand your point. You must have your reasons for your
strategy, but try to give maven eclipse a shot some time.
Maybe you already know this stuff but here is how I did. 

You have the apache/ as your root, right ? In Eclipse when u right-click on
a project in CVS to check it out, hit the Check Out as button instead.
Then select that u want to check it out as Java Project. Then u can select
the location where u want to check it out.
And the from command line go into your project folder (like
apache/Jakarta-turbine-fulcrum) and run  maven eclipse.
And then just refresh the project from within the IDE.

Rearranging those big projects in Eclipse is a big big big pain.

Now its hell lot better.

Vikas

-Original Message-
From: __matthewHawthorne [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 2:21 PM
To: Maven Users List
Subject: Re: CVS Downloads, Eclipse

Vikas Phonsa wrote:
  Is anybody using Eclipse over here ? When you do a CVS check out of
  any Apache project into Eclipse all the directory structure get 
really  screwed up.
 
  Does anybody has any smart trick to take care of this in Eclipse ? Or 
  any tool or something.

I usually prefer to check out from the command line and add my projects 
to Eclipse manually.

I made an apache folder which is my Eclipse project root, and the I 
check out projects beneath:

apache/
   .classpath
   .project
   jakarta-commons/
...
   jakarta-commons-sandbox/
...
   ant/
...
But this may not be preferable for you -- I don't particularly like 
Eclipse's CVS handling and I do work with other editors as well.

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


Generating md5 checksums

2004-01-15 Thread Mark R. Diggory
Are there any details available on goals/properties necessary for 
generating md5 checksums for distributions and jars produced by maven?

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]


Re: [VOTE] The Maven Logo

2003-11-26 Thread Mark R. Diggory
Peter Bright wrote:
The Chinese government is responsible, in one way or another, for
probably around 35 million deaths between 1949 and the present day;
whilst many millions of these deaths were attributable not to malice
as such but to economic mismanagement resulting in famine.
The Soviet regime between 1917 and 1990 is responsible for something
in the vicinity of 62 million deaths, though this includes many
millions killed during WWII.
Hitler, by comparison, managed only about 21 million.

That the Chinese and Russian regimes aren't held in the same light as
 Hitler's regime is a quirk of history rather than due to any
particular merits that these regimes may have had; Stalin was a good
guy -- for a few years, at least -- and managed to perform his acts
if not in private then at least within his own borders.
As such, the communist Chinese/Soviet imagery seems quite bizarre.
These are not regimes that one would wish to deliberately associate
with.  The logo seems quite perverse.
If your going to compare data like this,maybe you should normalize it a
little for timescale:
1933 to 1944 ~ 10 Years, 21 million deaths = 2.1 million deaths a year

1949 to now ~ 54 Years, 35 million deaths = 0.6 million deaths a year

1917 to 1990 ~ 73 Years, 62 million deaths = 0.8 million deaths a year

if the Nazi's had stayed in power till now (~70 years) with the same
genocidal mentality witnessed during Hitler Germany, ~ 150 million
people would be dead at the hands of Nazi's. Its very sad to consider
when you compare the numbers, and still recognize we're talking about
millions and millions of human lives. This is not a subject to be taken
lightly upon.
And I also suspect that US Foreign policy over the last 70 years 
probably looks as shameful if you count all the propped-up 
dictatorships and wars into it.

--
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: [VOTE] The Maven Logo

2003-11-26 Thread Mark R. Diggory
Brilliant! ;-)

However there is also a widely- recognized codicil that any intentional 
triggering of Godwin's Law in order to invoke its thread-ending effects 
will be unsuccessful.

-- This thread should have ended a long time ago! ;-)

[+1] for feather!


--- Craig S. Cottingham [EMAIL PROTECTED]
wrote:
Somebody email Mike Godwin, and tell him we have a
counterexample to his
Law (
http://info.astrian.net/jargon/terms/g/Godwin_s_Law.html

).

Can we please drop this thread now, and get back to
talking about Maven?
--
Craig S. Cottingham
[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: The Maven Logo

2003-11-25 Thread Mark R. Diggory
http://maven.apache.org/images/logos/maven-propaganda.png

Vikas Phonsa wrote:
Guys what logo are u talking abt, the one on the top right hand corner of
http://maven.apache.org/.
What's wrong with it. Just says MAVEN, what's communist or religious or
political or any issue with it.
I can't see any. I would rather spend time learning to use Maven or make it
better.
Even if it reminds somebody of something what's the big deal, would you stop
using a tool which offers you so much functionality just cause it reminds a
few people of some belief they don't like.
Come on guys. Maybe I'm the bum over there but I fail to see any issue. If
we want to make it more catchy or beautiful or something I can understand
that.


-Original Message-
From: Jim Crossley [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 23, 2003 7:19 AM
To: Maven Users List
Subject: Re: The Maven Logo

+1 to change it

I say we move from politics to religion.  Since 'maven' is a yiddish
word, let's put a star of david on the logo.
;-)

For me, it's not a question of offensiveness, but laziness: I'm tired
of answering questions about it.  It's a time-wasting distraction when
introducing new users to maven.  Put a cute little non-offensive koala
bear or kitty cat or native american on the logo and let's move on.
Jim

Stephen Colebourne [EMAIL PROTECTED] writes:


+1, change the default


From: Scott Tavares [EMAIL PROTECTED]

My 2nd response is that the 'default' logo,
IMOP still needs to be changed, even though ... competition isn't
closed. In fact, I'd like to the see that logo removed altogether from
the competition because of its potential inflammatory political bend
(which has no place in an OSS project).


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


Re: The Maven Logo

2003-11-23 Thread Mark R. Diggory
+1 [very respectable logo, I think.]

Henri Yandell wrote:

Was half of a mind to go find an open source site using red, white and
blue and demand that they change their logo too. However, there's no real
reason for Maven to have this logo, it gets the same reaction every time,
[the name: maven-propaganda is interesting] and:
http://maven.apache.org/images/logos/maven-feather.png

seems a perfectly happy replacement with Maven being a TLP.

It even has the right wordage, as Maven sites are built-by Maven and not
really powered-by. It's also the one that I believe we've chosen to use
over at Jakarta Commons as the most obvious for an ASF project to be
using.
Hen

On Sun, 23 Nov 2003, n. alex rupp wrote:


- Original Message -
From: Jim Crossley [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, November 23, 2003 9:18 AM
Subject: Re: The Maven Logo


+1 to change it

I say we move from politics to religion.  Since 'maven' is a yiddish
word, let's put a star of david on the logo.
If you did that, every politician in the US would want a maven generated site.
Gotta get those AIPAC contributions, you know--it's an election year  ;-)
I don't understand the Sinophobia.  Most pols in the country are currently
engaged in pushing economic stimulus packages through our congress so that we
can create more jobs in China and India.
(p.s. if you do need to redesign it, let me know.  I'll be happy to do that--I
just finished ramping up the mx4j.sf.net website ; )
+1

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


Re: Javadoc: No source files and no packages have been specified.

2003-11-07 Thread Mark R. Diggory
This was it, I have been including a global project.xml file and the 
package defined in it was incorrect. My solution is to define the 
packages in the local project.xml instead.

thanks

[EMAIL PROTECTED] wrote:
Have you tried a packagecom.foo.bar/package tag under project? The
javadoc plugin source uses that as the packagenames element of the Ant
javadoc task.
Between that and the build.sourceDirectory element, that's all I can
see... Are your sourceDirectory tags and similar within the build
tags?
Nick


-Original Message-
From: Mark R. Diggory [mailto:[EMAIL PROTECTED] 
Sent: 06 November 2003 17:01
To: Maven Users List
Subject: Javadoc: No source files and no packages have been specified.

I feel kinda stupid, but what am I missing here?

Maven output 

C:\Eclipse3.0\workspace\myprojectmaven javadoc:generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download maven-SNAPSHOT.jar.

BUILD FAILED
No source files and no packages have been specified.
Total time: 5 seconds
Finished at: Thu Nov 06 11:57:22 EST 2003
project.xml-

?xml version=1.0?
project
.
 
nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
sourceDirectorysrc/main/java/sourceDirectory
	
unitTestSourceDirectorysrc/test/java/unitTestSourceDirectory
aspectSourceDirectory/
resources
resource
directorysrc/main/resources/directory
includes
include**/*/include
/includes
/resource
/resources
unitTest
includes
include**/*Test.java/include
/includes
excludes
exclude**/RepositoryTest.java/exclude
/excludes
resources
resource
directorysrc/test/resources/directory
includes
include**/*/include
/includes
/resource
/resources
/unitTest
/build

reports
reportmaven-jdepend-plugin/report
reportmaven-checkstyle-plugin/report
reportmaven-javadoc-plugin/report
/reports
/project
--
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]


Javadoc: No source files and no packages have been specified.

2003-11-06 Thread Mark R. Diggory
I feel kinda stupid, but what am I missing here?

Maven output 

C:\Eclipse3.0\workspace\myprojectmaven javadoc:generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download maven-SNAPSHOT.jar.

BUILD FAILED
No source files and no packages have been specified.
Total time: 5 seconds
Finished at: Thu Nov 06 11:57:22 EST 2003
project.xml-

?xml version=1.0?
project
.
 
nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
sourceDirectorysrc/main/java/sourceDirectory
	unitTestSourceDirectorysrc/test/java/unitTestSourceDirectory
aspectSourceDirectory/
resources
resource
directorysrc/main/resources/directory
includes
include**/*/include
/includes
/resource
/resources
unitTest
includes
include**/*Test.java/include
/includes
excludes
exclude**/RepositoryTest.java/exclude
/excludes
resources
resource
directorysrc/test/resources/directory
includes
include**/*/include
/includes
/resource
/resources
/unitTest
/build

reports
reportmaven-jdepend-plugin/report
reportmaven-checkstyle-plugin/report
reportmaven-javadoc-plugin/report
/reports
/project
--
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]


No goal [:register]

2003-10-29 Thread Mark R. Diggory
I keep running into this error ( I currently have not reports in my 
project.xml ) when I attempt to do a multiproject site generation.

Please, thank you for any help.
-Mark
1.0-rc1-SNAPSHOT

BUILD FAILED
Unable to obtain goal [site] -- null:575:48: attainGoal No goal 
[:register]
Total time: 9 seconds
Finished at: Wed Oct 29 19:18:06 EST 2003

If I call site:generate on each individual project I get,

C:\Eclipse3.0\workspace\cern-vni-complexmaven site:generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download maven-SNAPSHOT.jar.

BUILD FAILED
No goal [:register]
Total time: 5 seconds
Finished at: Wed Oct 29 19:17:06 EST 2003
Sorry, yes I'm currently trying this on dumb DOS.

--
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: No goal [:register]

2003-10-29 Thread Mark R. Diggory
Sorry, I had an empty register tag in my project.xml - Nevermind :-(

Mark R. Diggory wrote:

I keep running into this error ( I currently have not reports in my 
project.xml ) when I attempt to do a multiproject site generation.

Please, thank you for any help.
-Mark
1.0-rc1-SNAPSHOT

BUILD FAILED
Unable to obtain goal [site] -- null:575:48: attainGoal No goal 
[:register]
Total time: 9 seconds
Finished at: Wed Oct 29 19:18:06 EST 2003

If I call site:generate on each individual project I get,

C:\Eclipse3.0\workspace\cern-vni-complexmaven site:generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download maven-SNAPSHOT.jar.

BUILD FAILED
No goal [:register]
Total time: 5 seconds
Finished at: Wed Oct 29 19:17:06 EST 2003
Sorry, yes I'm currently trying this on dumb DOS.

--
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: [ANN] mevenide for eclipse 0.1 released

2003-08-02 Thread Mark R. Diggory
I am totally jumping for JOY! I will definitly be giving this a spin and 
commenting on it.

-Mark

Gilles Dodinet wrote:
first proto of mevenide has been released. some features :  ide2pom 
bidirectional synchornization, and maven launching from inside eclipse. 
Its been tested under winxp, eclipse 2.1.0 and 3.0 m1. please not that 
it should not work under wsad 5. see http://mevenide.sf.net

-- gd



-
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: Keeping your test source code in a separate, but parallelsourcetree

2003-07-13 Thread Mark R. Diggory
Thanks Gilles,

Its good to know that this is configurable, I'm working on another 
project where we're trying to get Maven working but cannot yet 
restructure the cvs to meet assumed Maven best practices without 
breaking the old build.

I'd caution on the use of default settings as a rule for what Maven 
encourages/discourages. Developers are always going to have varying 
requirements. Forcing them into a box will only reduce your user base in 
the long run. The current defaults are great if your starting a new 
project, they are far from adequate when attempting to Mavenize an 
existing project. The Maven team should avoid using defaults as some 
sort of inflexible standard.

Note: Much of this argument could be easily avoided if the core maven 
properties and capabilities were clearly documented somewhere. Somehow 
this documentation is lacking as maven itself is not in the pluggins 
documentation and such properties are documented nowhere.

-Mark Diggory

Gilles Dodinet wrote:
Dave, brendan,

Just a quick note about this. it seems that maven actually does allow to 
keep all main and test sources under one dir .
just make sourceDirectory and unitTestSourceDirectory point to the same 
dir, then your test will be run.
About the artifact generation, when building jar, you just can  exclude 
your test files files using ${maven.jar.excludes}.
ive just tried it  with a dummy example and it seems to work.

its not that im using this layout (i have parallel source trees), so it 
might eventually require additional efforts for other artifacts generation.

So i think that maven doesnot strictly forbids the all-in-one-dir 
practice, it s more that it just discourages it. tho perhaps im missing 
something.

-- gd

Jason van Zyl wrote:

On Sat, 2003-07-12 at 20:14, Bob Cumbers wrote:
 

Never going to happen and I make no apologies for that.

It's nice to see that you take user input so graciously
  


Give me a break.

When I think something is categorically a bad practice then the dialog
is cut short. I am not trying to win any popularity contests and I'm
don't care if every single user is happy. It's just not possible. But I
have taken loads of suggestions for Maven and they have found there way
into Maven. But there are several issues like multiple sources
directories, mixing test and application code and several other issues
which I will not change my mind on.
Maven is but one solution for building your project. I encourage anyone
not happy with it to go find something else.
I also take into consideration the number of downloads in constrast with
the number of people who complain about certain limitations. I certainly
don't think mixing test/application code is a good idea but I think
given that I've only seen a few people want this out of the thousands
that have downloaded Maven is  a good indicator that most users think
it's not a very good idea. I'm not a politician, I could care less if
all users like me because most users are selfish and only consider their
own methods and own desires when requesting features while generally
never considering larger issues. As always there are the valued and
treasured exceptions by users who have genuinely taken into
consideration all users and the larger issues. Just because a user makes
a suggestion doesn't mean it's a good one. If you're looking for grace
go somewhere else.
 

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
  




-
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: Keeping your test source code in a separate, but parallelsourcetree

2003-07-13 Thread Mark R. Diggory
This is all but one opinion on the subject. IMHO, as this is a user list 
and not a developer list, I'd advise that moderation should not be so 
restrictive when the subject matter is not at all off topic.

I also think that comparing total downloads against any discussion is 
a very poor and biased measure of user needs/requirements. If you go 
around cutting discussions short, then your biasing such a measure in 
favor of your own personal opinion and as such it does not reflect the 
true opinion of your userbase.

-Mark Diggory
http://jakarta.apache.org/commons/sandbox/math/index.html
Jason van Zyl wrote:
On Sat, 2003-07-12 at 20:14, Bob Cumbers wrote:

Never going to happen and I make no apologies for that.
It's nice to see that you take user input so graciously


Give me a break.

When I think something is categorically a bad practice then the dialog
is cut short. I am not trying to win any popularity contests and I'm
don't care if every single user is happy. It's just not possible. But I
have taken loads of suggestions for Maven and they have found there way
into Maven. But there are several issues like multiple sources
directories, mixing test and application code and several other issues
which I will not change my mind on. 

Maven is but one solution for building your project. I encourage anyone
not happy with it to go find something else. 

I also take into consideration the number of downloads in constrast with
the number of people who complain about certain limitations. I certainly
don't think mixing test/application code is a good idea but I think
given that I've only seen a few people want this out of the thousands
that have downloaded Maven is  a good indicator that most users think
it's not a very good idea. I'm not a politician, I could care less if
all users like me because most users are selfish and only consider their
own methods and own desires when requesting features while generally
never considering larger issues. As always there are the valued and
treasured exceptions by users who have genuinely taken into
consideration all users and the larger issues. Just because a user makes
a suggestion doesn't mean it's a good one. If you're looking for grace
go somewhere else.

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


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


Building off cvs

2003-04-05 Thread Mark R. Diggory
I'm able to sucessfully build maven off the cvs. But whenever I try to 
run it I'm getting:

 __  __
|  \/  |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT
Attempting to download commons-jelly-SNAPSHOT.jar.

BUILD FAILED
null:554:60: attainGoal null:-1:-1: null No goal 
[maven-tasklist-plugin:reg
ster]
Total time:  34 seconds

Any recommendations?

-Mark Diggory

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