RE: Request to upload new jars

2003-08-18 Thread dion
Martin Skopp <[EMAIL PROTECTED]> wrote on 19/08/2003 04:48:40 PM:

> On Tue, 2003-08-19 at 08:33, Brett Porter wrote:
> > Isn't the preferred method now to file an issue in JIRA though?
> 
> Is it?  Can't remember 100% either...
> But would make much more sense!, E.g. due to "why should a maven USER
> subscribe to maven-DEV mailing list?".
> 
> _If_ it is, one committer should change
> http://maven.apache.org/repository-upload.html !
> 
> So developers:
> 
> a) Is it JIRA or post to maven-dev?
As per the docs, until they change.

> b) shall I raise dokumentation change (repository-upload.xml) in JIRA or
> does some developer volunteer to change it?
> c) Give me commit rights and I stop hassling... ;-)
> 
> cu
> -- 
> Martin Skopp
> Riege Software International GmbH
> Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
> 
> This email is intended to be viewed with a nonproportional font.
> Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
> Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: Request to upload new jars

2003-08-18 Thread Martin Skopp
On Tue, 2003-08-19 at 08:33, Brett Porter wrote:
> Isn't the preferred method now to file an issue in JIRA though?

Is it?  Can't remember 100% either...
But would make much more sense!, E.g. due to "why should a maven USER
subscribe to maven-DEV mailing list?".

_If_ it is, one committer should change
http://maven.apache.org/repository-upload.html !

So developers:

a) Is it JIRA or post to maven-dev?
b) shall I raise dokumentation change (repository-upload.xml) in JIRA or
does some developer volunteer to change it?
c) Give me commit rights and I stop hassling... ;-)

cu
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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



RE: Request to upload new jars

2003-08-18 Thread Brett Porter
Isn't the preferred method now to file an issue in JIRA though?

> -Original Message-
> From: Martin Skopp [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 19 August 2003 4:19 PM
> To: Maven Users List
> Subject: Re: Request to upload new jars
> 
> 
> On Tue, 2003-08-19 at 00:48, Srinivas Pavani wrote:
> > The FAQ doesn't list any email address for such requests.
> 
> That has been changed a few weeks ago, it's now in the FAQ:
> 
http://maven.apache.org/faq.html#ibiblio-upload

It's the maven-dev list to post to, see
http://maven.apache.org/mail-lists.html

Regards,
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font. Public Key
on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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


Re: maven defaults

2003-08-18 Thread dion
No, 

and there never will be unless they're generated. 'All the defaults' means 
all the core properties and all the plugin properties. Plugins are changed 
very frequently.

If you can help us with the ones that are missing in the documentation, 
we'll update it.

I'll add this as an issue in Jira (MAVEN-691).
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"khote" <[EMAIL PROTECTED]> wrote on 19/08/2003 03:14:22 PM:

> http://maven.apache.org/reference/plugins/jdepend/properties.html
> 
> 
> There's the place where I finally discovered the defaults for
> maven.conf.dir, maven.build.dir  the most basic of defaults.
> Is there a single location on the maven project site where all the 
defaults
> are listed?
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: Request to upload new jars

2003-08-18 Thread Martin Skopp
On Tue, 2003-08-19 at 00:48, Srinivas Pavani wrote:
> The FAQ doesn't list any email address for such requests.

That has been changed a few weeks ago, it's now in the FAQ:

http://maven.apache.org/faq.html#ibiblio-upload

It's the maven-dev list to post to, see
http://maven.apache.org/mail-lists.html

Regards,
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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



maven defaults

2003-08-18 Thread khote
http://maven.apache.org/reference/plugins/jdepend/properties.html


There's the place where I finally discovered the defaults for
maven.conf.dir, maven.build.dir  the most basic of defaults.
Is there a single location on the maven project site where all the defaults
are listed?


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



Re: Runner Question

2003-08-18 Thread Jonas Fagundes
Jeff,

On Mon, 18 Aug 2003 23:54:11 -0500, Jefferson K. French <[EMAIL PROTECTED]> 
wrote:

If you mean how can you run a single JUnit test case, do this:
Sorry, I was not clear about this point. I mean run a main
method (public static void main(String[])).
But the tips about the test plugin are useful. Thanks a lot.

maven -Dtestcase= test:single

I think  needs to be fully qualified. To run multiple
test cases, do this:
maven -Dtestmatch= test:match

where  is something like "Test*Parser" or some other pattern
that matches your test names.
I don't think there is a way to run a single test method within a
single test case.
Good question. I'll search for the answer.

Thanks again,

[]'s Jonas

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


Re: Runner Question

2003-08-18 Thread Jefferson K. French
If you mean how can you run a single JUnit test case, do this:

  maven -Dtestcase= test:single

I think  needs to be fully qualified. To run multiple
test cases, do this:

  maven -Dtestmatch= test:match

where  is something like "Test*Parser" or some other pattern
that matches your test names.

I don't think there is a way to run a single test method within a
single test case.

  Jeff

On Tue, 19 Aug 2003, at 01:33:30 [GMT -0300] Jonas Fagundes wrote:

> All,

> I'm a new user of maven (but I used ant).

> I needed today to run a single class.

> I read before about runner plugin but I didn't found the page.
> I try the http://maven.apache.org/reference/plugins/index.html ,
> but the link to runner plugin
> http://maven.apache.org/reference/plugins/runner/index.html return
> 404.

> I verified that the runner plugin isn't avaiable in maven-1.0-beta-10
> (I used maven -g).

> I solve my problem using JUnit :), this was what I really needed.

> Anyway, the question was not answered by my search, how can I run a single
> class in maven?

> If I searched in the wrong place (maven.apache.org + google), please, tell 
> me
> where I can found this information.

> []'s Jonas

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

-- 
mailto:[EMAIL PROTECTED]



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



Re: pom.id has a : in it?

2003-08-18 Thread Ben Walding
I have a suspicion that the behaviour is not consistent as I had all 
manner of problems when I wanted to do an id like

maven-proxy:core

jar:installing to the wrong place was one of the things I noticed.

In the older project.xml parser, the behaviour was order dependant

[EMAIL PROTECTED] wrote:

 is short for :. If groupId and artifactId aren't 
specified and id is, the id value is passed to group and artifact.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/

John Farrell <[EMAIL PROTECTED]> wrote on 19/08/2003 11:31:25 AM:

 

If I write this in my maven.xml:

]  ${pom.id}

I get:

]$ maven blah
]blah:
][echo] mp-util:mp-util
My project.xml has this in it:
]  
]  mp-util
I definitely expected pom.id to give me just "mp-util", instead of 
"mp-util:mp-util". Why are my expectations wrong?

I can fix it:

]   
]
]id = ${id}
but I don't get it. Thanks for clues.

John

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


Runner Question

2003-08-18 Thread Jonas Fagundes
All,

I'm a new user of maven (but I used ant).

I needed today to run a single class.

I read before about runner plugin but I didn't found the page.
I try the http://maven.apache.org/reference/plugins/index.html ,
but the link to runner plugin
http://maven.apache.org/reference/plugins/runner/index.html return
404.
I verified that the runner plugin isn't avaiable in maven-1.0-beta-10
(I used maven -g).
I solve my problem using JUnit :), this was what I really needed.

Anyway, the question was not answered by my search, how can I run a single
class in maven?
If I searched in the wrong place (maven.apache.org + google), please, tell 
me
where I can found this information.

[]'s Jonas

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


Re: pom.id has a : in it?

2003-08-18 Thread dion
 is short for :. If groupId and artifactId aren't 
specified and id is, the id value is passed to group and artifact.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


John Farrell <[EMAIL PROTECTED]> wrote on 19/08/2003 11:31:25 AM:

> If I write this in my maven.xml:
> 
> ]  ${pom.id}
> 
> I get:
> 
> ]$ maven blah
> ]blah:
> ][echo] mp-util:mp-util
> 
> My project.xml has this in it:
> ]  
> ]  mp-util
> 
> I definitely expected pom.id to give me just "mp-util", instead of 
> "mp-util:mp-util". Why are my expectations wrong?
> 
> I can fix it:
> 
> ]   
> ]
> ]id = ${id}
> 
> but I don't get it. Thanks for clues.
> 
> John
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: pom.id has a : in it?

2003-08-18 Thread Brett Porter
Should the id tag be deprecated and replaced with ?

- Brett

> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 19 August 2003 1:53 PM
> To: Maven Users List
> Subject: Re: pom.id has a : in it?
> 
> 
> On Mon, 2003-08-18 at 21:31, John Farrell wrote:
> > If I write this in my maven.xml:
> > 
> > ]  ${pom.id}
> > 
> > I get:
> > 
> > ]$ maven blah
> > ]blah:
> > ][echo] mp-util:mp-util
> > 
> > My project.xml has this in it:
> > ]  
> > ]  mp-util
> > 
> > I definitely expected pom.id to give me just "mp-util", instead of
> > "mp-util:mp-util". Why are my expectations wrong?
> > 
> > I can fix it:
> > 
> > ]   
> > ]
> > ]id = ${id}
> > 
> > but I don't get it. Thanks for clues.
> 
> The id has been something that has been used internally for a 
> while now. What you are looking for is ${pom.artifactId}. 
> ${pom.id} is currently equal to ${pom.groupId}:${pom.artifactId}.
> 
> > John
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> jvz.
> 
> Jason van Zyl
> [EMAIL PROTECTED]
> http://tambora.zenplex.org
> 
> In short, man creates for himself a new religion of a 
> rational and technical order to justify his work and to be 
> justified in it.
>   
>   -- Jacques Ellul, The Technological Society
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: pom.id has a : in it?

2003-08-18 Thread Jason van Zyl
On Mon, 2003-08-18 at 21:31, John Farrell wrote:
> If I write this in my maven.xml:
> 
> ]  ${pom.id}
> 
> I get:
> 
> ]$ maven blah
> ]blah:
> ][echo] mp-util:mp-util
> 
> My project.xml has this in it:
> ]  
> ]  mp-util
> 
> I definitely expected pom.id to give me just "mp-util", instead of 
> "mp-util:mp-util". Why are my expectations wrong?
> 
> I can fix it:
> 
> ]   
> ]
> ]id = ${id}
> 
> but I don't get it. Thanks for clues.

The id has been something that has been used internally for a while now.
What you are looking for is ${pom.artifactId}. ${pom.id} is currently
equal to ${pom.groupId}:${pom.artifactId}.

> John
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



pom.id has a : in it?

2003-08-18 Thread John Farrell
If I write this in my maven.xml:

]  ${pom.id}

I get:

]$ maven blah
]blah:
][echo] mp-util:mp-util

My project.xml has this in it:
]  
]  mp-util

I definitely expected pom.id to give me just "mp-util", instead of 
"mp-util:mp-util". Why are my expectations wrong?

I can fix it:

]   
]
]id = ${id}

but I don't get it. Thanks for clues.

John

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



Re: Checkstyle report problem

2003-08-18 Thread dion
Is this from beta-10 or from the stable branch. I believe this was fixed 
after b10 was released.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Boris Ekelchik <[EMAIL PROTECTED]> wrote on 19/08/2003 
11:39:06 AM:

> Generated links and labels in the checkstyle report seam to loose random
> number of characters from original class names, e.g.:
> 
> 
> 
> Checkstyle report row for ApplicationException is 
> 
> 
> 
>   
> 
> plicationException.java 
> 
>   
> 
>   1 
> 
> 
> 
> 
> 
> TopiHandler becomes:
> 
> 
> 
>   
> 
> opicHandler.java 
> 
>   
> 
>   55 
> 
> 
> 
> 
> 
> I am not totally sure, but it may something to do with this in
> maven-checkstyle-plugin-2.0-SNAPSHOT\plugin-resources\checkstyle.jsl:
> 
> 
> 
> 
> 
>   
> 
>value="${file.attribute('name').getValue()}"/>
> 
>
value="${name.substring(mavenTool.toInteger(srcDirLength.toString()))}"/>
> 
>newChar="/"/>
> 
>   
> 
>select="count($file/error)"/>
> 
> 
> 
>   
> 
> 
> 
>   
> 
> ${name}
> 
>   
> 
>pattern="0"/>
> 
> 
> 
>   
> 
> 
> 
>   
> 


Checkstyle report problem

2003-08-18 Thread Boris Ekelchik
 

Generated links and labels in the checkstyle report seam to loose random
number of characters from original class names, e.g.:

 

Checkstyle report row for ApplicationException is 



  

plicationException.java 

  

  1 



 

TopiHandler becomes:



  

opicHandler.java 

  

  55 



 

I am not totally sure, but it may something to do with this in
maven-checkstyle-plugin-2.0-SNAPSHOT\plugin-resources\checkstyle.jsl:

 



  

  

  

  

  

  

  

  



  

${name}

  

  



  



  



Checkstyle report problem

2003-08-18 Thread Boris Ekelchik
Generated links and labels in the checkstyle report seam to loose random
number of characters from original class names, e.g.:

 

Checkstyle report row for ApplicationException is 



  

plicationException.java 

  

  1 



 

TopiHandler becomes:



  

opicHandler.java 

  

  55 



 

I am not totally sure, but it may something to do with this in
maven-checkstyle-plugin-2.0-SNAPSHOT\plugin-resources\checkstyle.jsl:

 



  

  

  

  

  

  

  

  



  

${name}

  

  



  



  



Re: j2ee vs ear, ejb, war

2003-08-18 Thread dion
The j2ee plugin has no functionality in it for creating wars, ears and ejb 
jars. It did originally, and it was split out into those three. All that 
remains in j2ee is war-validate, which should be moved to the war plugin.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] (Srinivas Pavani) wrote on 19/08/2003 11:05:17 AM:

> Hi,
> 
> Can anyone explain why the redundancy of plugins exists for creating
> ear, ejb and war modules? Should one use the j2ee plugin (which is 
> missing the war generation goal) or should one stick with war, ejb, 
> and ear plugins? Also, the properties for ejb and ear seem to 
> overlap for maven.final.name?
> 
> -- 
> -- Srinivas
> 
> This email may contain confidential and privileged material for the 
> sole use of the intended recipient. Any review or distribution by 
> others is strictly prohibited.  If you are not the intended 
> recipient, please contact the sender and delete all copies.
> 
> 
> __
> McAfee VirusScan Online from the Netscape Network.
> Comprehensive protection for your entire computer. Get your free trial 
today!
> http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
> 
> Get AOL Instant Messenger 5.1 free of charge.  Download Now!
> http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: j2ee vs ear, ejb, war

2003-08-18 Thread Nathan Coast
the j2ee plugin was split into the other plugins to promote more 
'component-based' development.  Last time I looked, the Appserver tasks 
were the only non-redundant goals in the j2ee plugin.  These might by 
now also have been moved elsewhere.

Srinivas Pavani wrote:

Hi,

Can anyone explain why the redundancy of plugins exists for creating ear, ejb and war modules? Should one use the j2ee plugin (which is missing the war generation goal) or should one stick with war, ejb, and ear plugins? Also, the properties for ejb and ear seem to overlap for maven.final.name?





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


j2ee vs ear, ejb, war

2003-08-18 Thread Srinivas Pavani
Hi,

Can anyone explain why the redundancy of plugins exists for creating ear, ejb and war 
modules? Should one use the j2ee plugin (which is missing the war generation goal) or 
should one stick with war, ejb, and ear plugins? Also, the properties for ejb and ear 
seem to overlap for maven.final.name?

-- 
-- Srinivas

This email may contain confidential and privileged material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete all copies.


__
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

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



Re: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Nathan Coast
hey Brian,

agreed about it not being a pissing contest :)  There's no point having 
two parallel streams of work for the same end.

I wrote this plugin about a year ago and sent it to dev where it 
promptly got lost in the ether. I've been meaning (for about the last 
year) to get the plugin up on a website somewhere, which after much 
procrastinating I've eventually got round to doing.

The intention is to have the work released under an "APL-style" license

http://www.codeczar.com/products/tomcat/license.html

(I copied the APL and relaced the words "Apache Software Foundation" 
with codeczar.)

Do I also need to include the APL license somewhere as the catalina-ant 
jar is available on the site?

I'll have a look at your stuff today and see how we can combine things 
for the greater good.

cheers
Nathan
Brian Ewins wrote:

You mean like this one?
http://wiki.codehaus.org/maven/TomcatPlugin
That's been knocking around in various formats since last December 
(posted to the -dev list back then). The version above doesn't depend on 
the catalina ant jar (like my previous versions, and like yours does) 
because, as you mention, it isnt in ibiblio.

Still, this isnt a pissing contest, it would be worth trying to get the 
best from both.
- your plugin supports more properties (I'm not sure how useful it is to 
supply the manager webapp URL in pieces, but certainly being able to 
override the directories/paths involved is a good thing.)
- mine supports the use of a tomcat-context.xml for adding in JNDI 
entries and the like.
- yours has a better website :)
- mine can be installed without extra jars.

There was also some discussion of 'in-place' webapp development on the 
list a couple of weeks ago, I think those goals could be usefully added.

I'm guessing your stuff is ASL (I havent downloaded it). Mine has to be, 
because it incorporates some code from the catalina ant tasks (not a 
huge amount, but nevertheless, its ASL-licensed). Assuming thats the 
case, feel free to loot the code.

-Baz

Nathan Coast wrote:

Hi,

I'm pleased to announce a new Maven plugin to deploy web applications 
within Tomcat.

http://www.codeczar.com/products/tomcat

This plugin deploys web-applications built with maven into Tomcat 
using the catalina-ant tasks which come with tomcat distributions.

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



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





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


Re: project.xml is a jelly script?

2003-08-18 Thread Mark McBride
On Sat, 2003-08-16 at 19:19, Jason van Zyl wrote:
> On Sat, 2003-08-16 at 12:11, Mark McBride wrote:
> > My group is currently running into the same problem.What we are doing is
> > declaring all our system/lib jars in a projects.xml which all our
> > projects extend. This is nice in respect to ensure that everyone is
> > building/debugging against the libraries that are in production. We are
> > actually using this parent project.xml to document our system
> > configuration.
> > 
> > The problem we run into is that, like stated earlier in this thread, we
> > lose on the meaningfulness of the dependencies documentation in all the
> > projects that extend the parent project.xml. Our system library has 50
> > jars and many of our application are only using a handful more then the
> > standard java server libraries.
> 
> What if in the reports you could distinguish between the dependencies
> stated for the project directly versus those that are inherited? This
> could generalized and methods in the POM could be added to select the
> stated versus inherited dependencies.
That would be great!

> 
> > Another concept that we think would be a good feature of maven is the
> > ability to state a group of dependencies, say struts and all it's
> > libraries. 
> 
> This actually works in the maven-new code where you do this by stating a
> POM of another project as a dependency. And transitive dependencies also
> work in maven-new. I've just had zero time of late.
Sounds good! Looking forward to using it!
> 
> > This would be stated in a xml file that declares all the jars
> > that struts uses. This xml file could be stored in the maven central
> > repository so that projects that want to use struts 1.1 and all related
> > libraries could declare (maybe call it a "group dependency") this file
> > in it's project.xml and when doing builds maven would pull down the
> > struts dependency list and then check if those libraries have been
> > downloaded to the developers local repository.
> 
> This is what we are trying to achieve by starting to store POMs for
> projects in the repository. As mentioned before, having POM dependencies
> and transitive dependencies isn't a technical problem it's getting all
> the POMs into the repository.
> 
> > We tend to use frameworks
> > that consist of 5+ libraries which all depend on each other.Managing
> > dependencies through "groups" of libraries would ease setting up new
> > projects, and give more structure to dependencies. 
> 
> What you want is transitive dependencies. It's coming, well the code
> actaully exists it's a matter of merging it.
> 
> > I'm not sure of how hard this would be to implement, whether it would be
> > to hack the project.xml or go directly into the maven impl??? I'd be
> > willing to work on this functionality if others (committers +) thought
> > this was a good idea/approach.
> 
> It is a good idea and already works but the code is splayed between
> what's now in HEAD and what's in maven-new. I'm in the process of
> starting a new business but once the infrastructure is done I plan to
> take a little Maven vacation. There is certainly nothing more I would
> like to do than get all the code merged so users can take advantage of
> it. My committment hasn't waned I am just at a critical stage in a new
> endeavour and it takes priority. One thing that I'm hoping will force me
> to complete things is the writing of a book on Maven. I have only
> chatted with some folks at O'Reilly and there is by no means anything
> even remotely certain but I'm hoping I can convince them to let me right
> a book with the help of a couple other folks. I'm hoping for the best.

I hope you write the book, maven is a really awesome technology that
could use a full book to help new users.
> 
> > -Mark
> > 
> > 
> > On Sat, 2003-08-16 at 14:17, Paul Libbrecht wrote:
> > > Is the idea of a dependency role not something that would possibly help 
> > > here ?
> > > 
> > > Aside of basic-roles like "building", "running-tests", etc, a project 
> > > should even be able to specify roles depending on the runtime behaviour 
> > > expected.
> > > 
> > > Dependency inclusion (which is planned in some maven future I thought) 
> > > could then be extended to respect this role.
> > > 
> > > This doesn't answer, however, a possible attribute like "dependency on 
> > > xxx version a to b" which was alluded first.
> > > 
> > > Paul
> > > 
> > > 
> > > Luke Taylor wrote:
> > > > Jason van Zyl wrote:
> > > >> Dependencies are inherited in an aggregate fashion. So if you have
> > > >> common dependencies then you can state them in a parent project. In much
> > > >> the same way the Jelly tag builds are setup.
> > > >>
> > > >>
> > > >>> I did not wish to put all of the depends into a parent project as 
> > > >>> that would force each child project to have additional dependencies 
> > > >>> on its classpath which might not be a good thing, nor do I want each 
> > > >>> and every module to try to downloa

Re: Add additional information to the developers info section

2003-08-18 Thread Ben Walding
It might be easiest to just have a generic properties section in the 
contributor /developer.

Otherwise we'll be forever adding new xsd / java elements.

Nelson, Scott (MAN - Corporate) wrote:

Andy-

I didn't get any further but I would think it would be nice to have a couple
of optional information field for developers and contributors.  As far as I
can tell there are a couple of places that would require a change.  For
starters the maven-project.xsd would need to include the new entrees.  The
Developer.java and Contributor.java would also need to be updated.  And then
there is a DefaultProjectUnmarshaller.java and DefaultProjectMarshaller.java
that could require updating.  Then after all that is updated you should be
able to add an entry to either the developer's or contributor's tag in the
pom.
Does anyone know if I am missing anything here to make this work?  

Thanks

Scott

-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 3:29 PM
To: Maven Users List
Subject: Re: Add additional information to the developers info section
Hi Scott,

 

I have added the new column in the team-list.xml but I am having problems
with the new entries I have made in my project.xml file.  I guess I have a
couple of questions then.
1.Does maven validate the project.xml file against the maven-project.xsd
file each time it executes its goals?
   

Not sure on that.

 

2.If I add an entry to the schema how can I ensure that when my xdoc
   

plugin
 

runs that it 'knows' about the new entry in the project.xml file based off
the new schema that I have created? I see that the jelly scripts are
referencing the elements in the project.xml file but I can't get it to
recognize my new entry.
I think I am on the right track but if not someone please point me in the
right direction.
   

Have looked at it myself as well ... sounded like something that would be
very 
useful to have ... I managed to get it to add columns on the resultant
report 
yet it wouldn't fill values in (as you found). Delving further into Maven it

seems that the schema is tied (to some degree) to a Java definition in 
src/java/org/apache/maven/project/Contributor.java
*Seems* like any extension to the POM in maven-project.xsd has to have an 
equivalent attribute in the equivalent class file.

You could either download the source for Maven and head in the above 
direction, or raise an issue in JIRA requesting the extension.



 



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


RE: XSLT transformation as maven-goal

2003-08-18 Thread Brett Porter
> You mention in that message upgrading Ant to 1.5.3 in Maven. 
> How exactly did you do that? I added a dependency on 
> ant-1.5.3-1.jar in project.xml, with no change in the results.

Maven b10 comes distributed with that, so it should be fine. That's what I
had to do to get it working.

Sanity check:
- is your CLASSPATH env variable set to something it shouldn't be?
- is MAVEN_HOME pointing to b10, and it is also first in your path?

> 
> 
> 
> 
> 
> 
> This is how I'm not completely mental. I can do what needs to 
> be done in Ant; it's just in Maven that I can't get it to work.

Fair enough. For something less ugly, you can probably use a taskdef for the
style task, which can specify a classpath including xalan
(maven.dependency.classpath). I think that will work.

- Brett


RE: XSLT transformation as maven-goal

2003-08-18 Thread Craig S. Cottingham
On Mon, 2003-08-18 at 18:04, Brett Porter wrote:
> > In project.xml, I have:
> > 
> > 
> >   xalan
> >   2.5.1
> > 
> 
> Did you try root?

Yes. Appears to make no difference.

> This is where the last thread got to:
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=106089921115436&w=2

You mention in that message upgrading Ant to 1.5.3 in Maven. How exactly
did you do that? I added a dependency on ant-1.5.3-1.jar in project.xml,
with no change in the results.

> I swear it works for me! :)

Well, as soon as we can do distributed builds in Maven, I'll be in touch
about using your computer to do our builds. :-)

I've got a workaround in the meantime, so I'm not dead in the water, but
it's ugly:







This is how I'm not completely mental. I can do what needs to be done in
Ant; it's just in Maven that I can't get it to work.

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


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



RE: Plugin for Checking code out of CVS

2003-08-18 Thread Brett Porter
Yep, I'm going to check some more stuff in this week. I'm going to look at
this more carefully first though - I wonder whether it is better off
integrated with ChangeLog? It definitely needs to support some more VSS
methods too - but I might need to rely on others to flesh that out.

- Brett



> -Original Message-
> From: Eric Pugh [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 19 August 2003 9:03 AM
> To: 'Maven Users List'
> Subject: RE: Plugin for Checking code out of CVS
> 
> 
> Brett,
> 
> Now that you are a committer, is this a plugin you are going 
> to add to maven's core?  Or should I look at it and commit it?
> 
> Eric Pugh
> 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 19, 2003 12:28 AM
> > To: 'Maven Users List'
> > Subject: RE: Plugin for Checking code out of CVS
> >
> >
> > http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-585
> >
> > > -Original Message-
> > > From: Eric Pugh [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, 18 August 2003 11:11 PM
> > > To: 'Maven Users List'
> > > Subject: Plugin for Checking code out of CVS
> > >
> > >
> > > Hi,
> > >
> > > Has anyone written a plugin that checks code out of CVS?  
> I want to 
> > > give it a repository and module and get back my code..  I am 
> > > assuming something similar to how the maven cvs reports work..
> > >
> > > Eric
> > >
> > >
> > >
> > 
> -
> > > 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: XSLT transformation as maven-goal

2003-08-18 Thread Brett Porter
> Ah. I just found the FAQ in the Wiki, as opposed to the FAQ 
> in the main Maven site. Unfortunately, it turns out to do me no good.

Same entry anyway.

> In project.xml, I have:
> 
> 
>   xalan
>   2.5.1
> 

Did you try root?

> > If you have everything in the FAQ, then there may be more 
> problems - 
> > someone was discussing this last week. Check if they got a 
> solution, 
> > and if so definitely let us know the answer!
> 
> I scoured the archive for the mailing list, with similar lack 
> of success.
> 

This is where the last thread got to:
http://marc.theaimsgroup.com/?l=turbine-maven-user&m=106089921115436&w=2

I swear it works for me! :)

Cheers,
Brett


RE: Plugin for Checking code out of CVS

2003-08-18 Thread Eric Pugh
Brett,

Now that you are a committer, is this a plugin you are going to add to
maven's core?  Or should I look at it and commit it?

Eric Pugh

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 12:28 AM
> To: 'Maven Users List'
> Subject: RE: Plugin for Checking code out of CVS
>
>
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-585
>
> > -Original Message-
> > From: Eric Pugh [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 18 August 2003 11:11 PM
> > To: 'Maven Users List'
> > Subject: Plugin for Checking code out of CVS
> >
> >
> > Hi,
> >
> > Has anyone written a plugin that checks code out of CVS?  I
> > want to give it a repository and module and get back my
> > code..  I am assuming something similar to how the maven cvs
> > reports work..
> >
> > Eric
> >
> >
> >
> -
> > 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: Support for VSS

2003-08-18 Thread Eric Pugh
You can always just wrap the ant tasks.  However, as I just learned, there
is an SCM plugin:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-585 that you could
add patches for VSS to.

Eric Pugh

> -Original Message-
> From: Srinivas Pavani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 12:46 AM
> To: [EMAIL PROTECTED]
> Subject: Support for VSS
>
>
> Is there any plugin available for Visual Source Safe?
>
> --
> -- Srinivas
>
> This email may contain confidential and privileged material
> for the sole use of the intended recipient. Any review or
> distribution by others is strictly prohibited.  If you are
> not the intended recipient, please contact the sender and
> delete all copies.
>
>
> __
> McAfee VirusScan Online from the Netscape Network.
> Comprehensive protection for your entire computer. Get your
> free trial today!
> http://channels.netscape.com/ns/computing/mcafee/index.jsp?pro
> mo=393397
>
> Get AOL Instant Messenger 5.1 free of charge.  Download Now!
> http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
>
> -
> 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: XSLT transformation as maven-goal

2003-08-18 Thread Craig S. Cottingham
On Mon, 2003-08-18 at 17:23, Brett Porter wrote:
> I use this hack on 1.3.1_06 on Solaris (see the website FAQ for a full
> entry). Works fine.

Ah. I just found the FAQ in the Wiki, as opposed to the FAQ in the main
Maven site. Unfortunately, it turns out to do me no good.

In project.xml, I have:


  xalan
  2.5.1


In maven.xml, I have:

  



${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}


  

When I run "maven generate-sql", I get:

BUILD FAILED
File.. file:/path/to/current/directory/
Element... ant:xslt
Line.. 96
Column 34
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time:  32 seconds

> If you have everything in the FAQ, then there may be more problems - someone
> was discussing this last week. Check if they got a solution, and if so
> definitely let us know the answer!

I scoured the archive for the mailing list, with similar lack of
success.

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


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



Request to upload new jars

2003-08-18 Thread Srinivas Pavani
Hi,

I am not sure if this is the right forum for request upload of jars to Maven 
repository. The FAQ doesn't list any email address for such requests.

Here are the descriptors for three jars: echo.jar, echoserver.jar and echopoint.jar:

   

  3
  echo
  Echo Web Application Framework
  1.0.2
  
NextApp Inc.
http://www.nextapp.com/products/echo/download
  
  

  LGPL
  http://www.nextapp.com/products/lgpl_license.html
  

  

   

  3
  echoserver
  Echo Web Application Framework
  1.0.2
  
NextApp Inc.
http://www.nextapp.com/products/echo/download
  
  

  LGPL
  http://www.nextapp.com/products/lgpl_license.html
  

  


   

  3
  echopoint
  Components for Echo Web Application Framework
  0.5
  

http://sourceforge.net/projects/echopoint/
  
  

  LGPL
  http://sourceforge.net/projects/echopoint/
  

  



-- 
-- Srinivas

This email may contain confidential and privileged material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete all copies.


__
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

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



Support for VSS

2003-08-18 Thread Srinivas Pavani
Is there any plugin available for Visual Source Safe?

-- 
-- Srinivas

This email may contain confidential and privileged material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited.  If 
you are not the intended recipient, please contact the sender and delete all copies.


__
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

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



RE: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Brett Porter
If you run war:inplace, you won't run maven again for changing non-junit
tested code. Edit JSP, refresh browser.
And if you target your IDE at Web-INF/classes, you might get away with not
running them at all :)

Ok, I'll call it war:inplace.

Cheers,
Brett

> -Original Message-
> From: Eric Pugh [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 19 August 2003 8:36 AM
> To: 'Maven Users List'
> Subject: RE: [ANNOUNCE] Maven Tomcat Deployment Plugin
> 
> 
> I think people call that style of development "inplace"..  
> war internal makes me think I shouldn't run it, that the war 
> goal runs it somehow.  I like the war inplace idea.
> 
> Here is a question.  I am using Eclipse, and the sysdeo 
> tomcat plugin.  It would be nice if I ran war:inplace to not 
> run the unit tests.  But, if I run war:webapp, I want to run 
> them..  I don't know if some trickery with maven.test.skip 
> could be used?  Typically I would use war:inplace when I edit 
> .html, css, or other non Junit tested code. Eric
> 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 19, 2003 12:27 AM
> > To: 'Maven Users List'
> > Subject: RE: [ANNOUNCE] Maven Tomcat Deployment Plugin
> >
> >
> > > There was also some discussion of 'in-place' webapp 
> development on 
> > > the list a couple of weeks ago, I think those goals could be
> > > usefully added.
> >
> > I've written a war:fill goal that I was going to commit in the near 
> > future. It basically runs war:webapp with maven.war.target.dir =
> > maven.war.src.
> > Since most of the source files = dest files, this works, it copies
> > resources
> > and deps into /WEB-INF/classes and /WEB-INF/lib, and allows you to
> > continue
> > hooking you own goals onto war:webapp and have them apply. I
> > also edited
> > war:clean to clean up afterwards.
> >
> > Can anyone think of a batter target name than war:fill? Is 
> war:inplace 
> > better? war:internal?
> >
> > - Brett
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: XSLT transformation as maven-goal

2003-08-18 Thread Brett Porter
I use this hack on 1.3.1_06 on Solaris (see the website FAQ for a full
entry). Works fine.

If you have everything in the FAQ, then there may be more problems - someone
was discussing this last week. Check if they got a solution, and if so
definitely let us know the answer! Even better, this FAQ entry is also on
the wiki - so you could update that.

Cheers,
Brett

> -Original Message-
> From: Craig S. Cottingham [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 19 August 2003 12:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: XSLT transformation as maven-goal
> 
> 
> On Thu, 2003-08-14 at 12:10:45, Brian Ewins wrote:
> > This is a known problem, see the workaround in this bug report: 
> > http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-599
> > 
> > The latka fix referred to in dion's response looks like this:
> > 
> > 
> >
> ${systemScope.setProperty('javax.xml.transform.TransformerFact
> ory','org.apache.xalan.processor.TransformerFactoryImpl')}
> > 
> > This would go immediately before the ant:xslt task in your code.
> 
> The bug report at jira.codehaus.org indicates that it's for 
> JDK 1.4.2. I'm running version 1.3.1_08, and this fix doesn't 
> work for me, either by passing the definition on the command 
> line or by adding it to maven.xml. What's the equivalent fix 
> for 1.3.1?
> 
> -- 
> Craig S. Cottingham
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Eric Pugh
I think people call that style of development "inplace"..  war internal
makes me think I shouldn't run it, that the war goal runs it somehow.  I
like the war inplace idea.

Here is a question.  I am using Eclipse, and the sysdeo tomcat plugin.  It
would be nice if I ran war:inplace to not run the unit tests.  But, if I run
war:webapp, I want to run them..  I don't know if some trickery with
maven.test.skip could be used?  Typically I would use war:inplace when I
edit .html, css, or other non Junit tested code.
Eric

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 12:27 AM
> To: 'Maven Users List'
> Subject: RE: [ANNOUNCE] Maven Tomcat Deployment Plugin
>
>
> > There was also some discussion of 'in-place' webapp
> > development on the
> > list a couple of weeks ago, I think those goals could be
> > usefully added.
>
> I've written a war:fill goal that I was going to commit in the near
> future.
> It basically runs war:webapp with maven.war.target.dir =
> maven.war.src.
> Since most of the source files = dest files, this works, it copies
> resources
> and deps into /WEB-INF/classes and /WEB-INF/lib, and allows you to
> continue
> hooking you own goals onto war:webapp and have them apply. I
> also edited
> war:clean to clean up afterwards.
>
> Can anyone think of a batter target name than war:fill? Is war:inplace
> better? war:internal?
>
> - Brett
>


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



RE: Plugin for Checking code out of CVS

2003-08-18 Thread Brett Porter
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-585

> -Original Message-
> From: Eric Pugh [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 18 August 2003 11:11 PM
> To: 'Maven Users List'
> Subject: Plugin for Checking code out of CVS
> 
> 
> Hi,
> 
> Has anyone written a plugin that checks code out of CVS?  I 
> want to give it a repository and module and get back my 
> code..  I am assuming something similar to how the maven cvs 
> reports work..
> 
> Eric
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Brett Porter
> There was also some discussion of 'in-place' webapp 
> development on the 
> list a couple of weeks ago, I think those goals could be 
> usefully added.

I've written a war:fill goal that I was going to commit in the near future.
It basically runs war:webapp with maven.war.target.dir = maven.war.src.
Since most of the source files = dest files, this works, it copies resources
and deps into /WEB-INF/classes and /WEB-INF/lib, and allows you to continue
hooking you own goals onto war:webapp and have them apply. I also edited
war:clean to clean up afterwards.

Can anyone think of a batter target name than war:fill? Is war:inplace
better? war:internal?

- Brett


RE: Add additional information to the developers info section

2003-08-18 Thread Nelson, Scott (MAN - Corporate)
Andy-

I didn't get any further but I would think it would be nice to have a couple
of optional information field for developers and contributors.  As far as I
can tell there are a couple of places that would require a change.  For
starters the maven-project.xsd would need to include the new entrees.  The
Developer.java and Contributor.java would also need to be updated.  And then
there is a DefaultProjectUnmarshaller.java and DefaultProjectMarshaller.java
that could require updating.  Then after all that is updated you should be
able to add an entry to either the developer's or contributor's tag in the
pom.

Does anyone know if I am missing anything here to make this work?  

Thanks

Scott


-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 3:29 PM
To: Maven Users List
Subject: Re: Add additional information to the developers info section


Hi Scott,

> I have added the new column in the team-list.xml but I am having problems
> with the new entries I have made in my project.xml file.  I guess I have a
> couple of questions then.
>
> 1.Does maven validate the project.xml file against the maven-project.xsd
> file each time it executes its goals?

Not sure on that.

> 2.If I add an entry to the schema how can I ensure that when my xdoc
plugin
> runs that it 'knows' about the new entry in the project.xml file based off
> the new schema that I have created? I see that the jelly scripts are
> referencing the elements in the project.xml file but I can't get it to
> recognize my new entry.
>
> I think I am on the right track but if not someone please point me in the
> right direction.

Have looked at it myself as well ... sounded like something that would be
very 
useful to have ... I managed to get it to add columns on the resultant
report 
yet it wouldn't fill values in (as you found). Delving further into Maven it

seems that the schema is tied (to some degree) to a Java definition in 
src/java/org/apache/maven/project/Contributor.java
*Seems* like any extension to the POM in maven-project.xsd has to have an 
equivalent attribute in the equivalent class file.

You could either download the source for Maven and head in the above 
direction, or raise an issue in JIRA requesting the extension.



-- 
Andy

-
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: Weblogic ejbgen task

2003-08-18 Thread Boris Ekelchik
I use:











...
in maven.xml for EJB project

appc is the replacement for ejbc in 8.1 I think.

And for deployment:























Get the job done, though plug-in would be nice.

-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 11:29 AM
To: [EMAIL PROTECTED]
Subject: Weblogic ejbgen task

Does anybody try to launch the weblogic 8.1 ejbgen ant task inside a maven
plugin ? 

I've got this error :

BUILD FAILED
File.. file:/D:/eclipse/workspace/g-contact/
Element... ant:wlappc
Line.. 104
Column 35
java.lang.NullPointerException
Total time:  10 seconds

By the way, is there any weblogic plugin planned for maven ;)


Thx,
-emmanuel



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



Weblogic ejbgen task

2003-08-18 Thread Emmanuel Boudrant
Does anybody try to launch the weblogic 8.1 ejbgen ant task inside a maven plugin ? 

I've got this error :

BUILD FAILED
File.. file:/D:/eclipse/workspace/g-contact/
Element... ant:wlappc
Line.. 104
Column 35
java.lang.NullPointerException
Total time:  10 seconds

By the way, is there any weblogic plugin planned for maven ;)


Thx,
-emmanuel



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



Building Custom unit task- Problems

2003-08-18 Thread Moretti, Luciano (MED)
Hi-

I'm trying to build a custom Junit task to run hansel coverage test suites-

Here's what I've got so far in my maven.xml-

   
  




  

  

  
   
When I try to run it, I get no output.
When I look at the maven.log, there is the following-
   2003-08-18 10:39:04,362 WARN 
   org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
   junit into an Ant task, data type or property
   2003-08-18 10:39:04,362 WARN 
   org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
   classpath into an Ant task, data type or property
   2003-08-18 10:39:04,363 WARN 
   org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
   formatter into an Ant task, data type or property
   2003-08-18 10:39:04,367 WARN 
   org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
   batchtest into an Ant task, data type or property

This goal is copied from a Ant build.xml file, with some modification 
for Maven-  What am I missing?

also- what is the variable for Maven's classpath?

Thank you,

Luciano Moretti

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


Re: Location of jsp files

2003-08-18 Thread Nicolas . CHALUMEAU
Under /src/webapp/WEB-INF/jsp for you.





Robert Morse <[EMAIL PROTECTED]>
18/08/2003 16:26
Veuillez répondre à "Maven Users List"

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : Location of jsp files


Hello.  I'm in the process of converting a Struts-based project
currently built using JBuilder9 over to Maven.  Is there a convention
where the jsp files should be placed in the Maven directory hierarchy? 
I currently have them in ./defaultroot/WEB-INF/jsp.  Thanks.


-- 
"Never speak more clearly than you think." (Bernstein)
Key ID:  F0533BB6



-
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: XSLT transformation as maven-goal

2003-08-18 Thread Craig S. Cottingham
On Thu, 2003-08-14 at 12:10:45, Brian Ewins wrote:
> This is a known problem, see the workaround in this bug report:
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-599
> 
> The latka fix referred to in dion's response looks like this:
> 
> 
>
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
> 
> This would go immediately before the ant:xslt task in your code.

The bug report at jira.codehaus.org indicates that it's for JDK 1.4.2.
I'm running version 1.3.1_08, and this fix doesn't work for me, either
by passing the definition on the command line or by adding it to
maven.xml. What's the equivalent fix for 1.3.1?

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


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



Location of jsp files

2003-08-18 Thread Robert Morse
Hello.  I'm in the process of converting a Struts-based project
currently built using JBuilder9 over to Maven.  Is there a convention
where the jsp files should be placed in the Maven directory hierarchy?  
I currently have them in ./defaultroot/WEB-INF/jsp.  Thanks.


-- 
"Never speak more clearly than you think." (Bernstein)
Key ID:  F0533BB6



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



RE: Ant teskdef question

2003-08-18 Thread Simon Matic Langford
you don't have a classpath defined, try something like this:


   
  

  
   

simon

The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.
 

> -Original Message-
> From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] 
> Sent: 18 August 2003 15:38
> To: [EMAIL PROTECTED]
> Subject: Ant teskdef question
> 
> 
> Hello,
> 
> With a Ant build file, I made a Maven plugin. The Ant build 
> file use some custom taskdef. When I run it with maven (I put 
> build.xml in maven.xml), I've got an error on the taskdef :
> 
> -
> BUILD FAILED
> File.. file:/D:/eclipse/workspace/g-contact/
> Element... ant:taskdef
> Line.. 7
> Column 87
> taskdef class weblogic.ant.taskdefs.management.WLDeploy 
> cannot be found
> Total time:  2 seconds
> --
> 
> Where I must put the jar whitch contain my custom taskdef ? I 
> put it in the project.xml dependencies but it's not working.
> 
> Here my maven.xml :
> 
> 
> 
> 
> 
>classname="weblogic.ant.taskdefs.management.WLDeploy"/>
>classname="weblogic.ant.taskdefs.j2ee.Appc"/>
> 
> 
> ...
> 
> 
> Thx,
> -emmanuel
> 
> 
> 
> -
> 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]



Ant teskdef question

2003-08-18 Thread Emmanuel Boudrant
Hello,

With a Ant build file, I made a Maven plugin. The Ant build file use some custom 
taskdef. When I run it with maven (I put build.xml in maven.xml), I've got an error on 
the taskdef :

-
BUILD FAILED
File.. file:/D:/eclipse/workspace/g-contact/
Element... ant:taskdef
Line.. 7
Column 87
taskdef class weblogic.ant.taskdefs.management.WLDeploy cannot be found
Total time:  2 seconds
--

Where I must put the jar whitch contain my custom taskdef ? I put it in the 
project.xml dependencies but it's not working.

Here my maven.xml :





  
  


...


Thx,
-emmanuel



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



RE: Multiple source directory

2003-08-18 Thread Sri Sankaran
I have a similar need and came across a hint at the Maven wiki 
http://wiki.codehaus.org/maven/FrequentlyAskedQuestions#head-7545bdc005f855e6b2009275529746f011a9ebcd.

I haven't tried it.

Sri

-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 11:33 AM
To: [EMAIL PROTECTED]
Subject: Multiple source directory

Hello,

Can I have 2 or more source directories in a maven project.
The reason is, I have some java classes generated with ejb-gen and I don't want to use 
my src/java. 

src/java >> My sources files
src/gen >> Sources generated by ejb-gen
src/test >> My unit tests

Thx,
-emmanuel



-
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: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Brian Ewins
You mean like this one?
http://wiki.codehaus.org/maven/TomcatPlugin
That's been knocking around in various formats since last December 
(posted to the -dev list back then). The version above doesn't depend on 
the catalina ant jar (like my previous versions, and like yours does) 
because, as you mention, it isnt in ibiblio.

Still, this isnt a pissing contest, it would be worth trying to get the 
best from both.
- your plugin supports more properties (I'm not sure how useful it is to 
supply the manager webapp URL in pieces, but certainly being able to 
override the directories/paths involved is a good thing.)
- mine supports the use of a tomcat-context.xml for adding in JNDI 
entries and the like.
- yours has a better website :)
- mine can be installed without extra jars.

There was also some discussion of 'in-place' webapp development on the 
list a couple of weeks ago, I think those goals could be usefully added.

I'm guessing your stuff is ASL (I havent downloaded it). Mine has to be, 
because it incorporates some code from the catalina ant tasks (not a 
huge amount, but nevertheless, its ASL-licensed). Assuming thats the 
case, feel free to loot the code.

-Baz

Nathan Coast wrote:

Hi,

I'm pleased to announce a new Maven plugin to deploy web applications 
within Tomcat.

http://www.codeczar.com/products/tomcat

This plugin deploys web-applications built with maven into Tomcat using 
the catalina-ant tasks which come with tomcat distributions.

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



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


Multiple source directory

2003-08-18 Thread Emmanuel Boudrant
Hello,

Can I have 2 or more source directories in a maven project.
The reason is, I have some java classes generated with ejb-gen and I don't want to use 
my src/java. 

src/java >> My sources files
src/gen >> Sources generated by ejb-gen
src/test >> My unit tests

Thx,
-emmanuel



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



RE: Plug-in dependency being ignored

2003-08-18 Thread Sri Sankaran
Aha!  That was it!

It now downloaded NetComponents.  However, my ant task fails -- however, that I think 
is a classpath issue; I'll have to play with that.

Thanks for getting me going.

Sri

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 12:54 AM
To: Maven Users List
Subject: Re: Plug-in dependency being ignored

Delete the .processed in the plugins expanded directory.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Sri Sankaran" <[EMAIL PROTECTED]> wrote on 17/08/2003 02:09:06 PM:

> Using : Maven 1.0 beta 10
> 
> Maven is ignoring a stated dependency of a plug-in.
> 
> I have written a plug-in that invokes the ant telnet task.  Since 
> this requires the NetComponents jar, I placed this in my remote 
> repository and added the appropriate dependency section in the plug-
> in's project.xml.
> 
> However, when I invoke the plug-in I don't see it trying to load the
> jar from the repository and subsequently it fails with a 
> 
> Could not create task of type telnet
> 
> error.
> 
> Am I doing something wrong?
> 
> Sri
> 
> -
> 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]



Plugin for Checking code out of CVS

2003-08-18 Thread Eric Pugh
Hi,

Has anyone written a plugin that checks code out of CVS?  I want to give it
a repository and module and get back my code..  I am assuming something
similar to how the maven cvs reports work..

Eric


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



[ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Nathan Coast
Hi,

I'm pleased to announce a new Maven plugin to deploy web applications 
within Tomcat.

http://www.codeczar.com/products/tomcat

This plugin deploys web-applications built with maven into Tomcat using 
the catalina-ant tasks which come with tomcat distributions.

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


Difference between the template and jelly-template directories of the xdoc plugin

2003-08-18 Thread Nelson, Scott (MAN - Corporate)
Hey guys,
Does anyone know the difference between the template and jelly templates
used in the xdoc plugin.  All I can tell is that they use a little different
syntax.  What I was wondering is which one takes preference?

Scott Nelson
Manheim Interactive
Consultant
Office: 678.645.2231
Mobile: 678.360.8608
[EMAIL PROTECTED]


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



RE: System Environment Variables

2003-08-18 Thread Bateman, Patrick eMEDIA
Sorry, I forgat to add that I want these varaibles to be part of JUnit test
properties.

-Original Message-
From: Bateman, Patrick eMEDIA [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 10:55
To: 'Maven Users List'
Subject: System Environment Variables


I want to get hold of some environment variables from the different
environments that I run Maven on.

What is the syntax within the properties files to load a variable. Is it
similar to Ant's '' mechanism, or is there a
Maven specific whay to do this.

Thanks

Pat
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. 

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



System Environment Variables

2003-08-18 Thread Bateman, Patrick eMEDIA
I want to get hold of some environment variables from the different
environments that I run Maven on.

What is the syntax within the properties files to load a variable. Is it
similar to Ant's '' mechanism, or is there a
Maven specific whay to do this.

Thanks

Pat
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. 

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