Re: How to use Ant's FTP task from Maven?

2003-09-15 Thread Moritz Petersen
Take a look at the Ant documentation about the required libs for the FTP task. You 
need not just the ant-optionals, but also the NetComponents. Download here: 

http://www.savarese.org/oro/downloads/index.html#NetComponents

Hope it helps,


-Mo.


"Maven Users List" <[EMAIL PROTECTED]> schrieb am 15.09.03 17:36:23:
> 
> Thanks for your quick reply Moritz!
> 
> I tried adding:
> 
>name="ftp"
>   
> classname="org.apache.tools.ant.taskdefs.optional.net.FTP"/>
> 
> so that the goal now appears as:
> 
> 
> 
> 
>name="ftp"
>
> classname="org.apache.tools.ant.taskdefs.optional.net.FTP"/>
> 
> 
>   userid="${ftp.user}" password="${ftp.pw}"
> verbose="true">
>   
>   
>   
>   
> 
> 
> but when I ran it, I got:
> 
> " taskdef class
> org.apache.tools.ant.taskdefs.optional.net.FTP cannot
> be found"
> 
> Is there anything else that I need to do?
> 
> Thank you.
> 
> 
> 
> --- Moritz Petersen <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > you need to define the task first. Take a look at
> > the checkstyle plugin, where the task is defined as
> > follows:
> > 
> >> name="checkstyle"
> >
> >
> classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
> >   
> > 
> >> name="checkstyle:determine-properties" />
> > 
> >   
> >> property="maven.checkstyle.cache.dir" 
> > file="${maven.checkstyle.cache.file}"/>
> >> dir="${maven.checkstyle.cache.dir}"/>
> > 
> >   Using ${checkstyleProperties} for
> > checkstyle ...
> > 
> >> properties="${checkstyleProperties}"
> >
> >
> failOnViolation="${maven.checkstyle.fail.on.violation}"
> > cacheFile="${maven.checkstyle.cache.file}">
> >  >   dir="${pom.build.sourceDirectory}"
> >   includes="${maven.checkstyle.includes}"
> >   excludes="${maven.checkstyle.excludes}"/>
> >  >
> toFile="${maven.build.dir}/checkstyle-raw-report.xml"/>
> > 
> >> test="${maven.checkstyle.usefile}">
> >  >  
> >
> toFile="${maven.build.dir}/checkstyle-raw-report.txt"/>
> >   
> >   
> > 
> >   
> > 
> >   
> > 
> > 
> > 
> > Cheers,
> > 
> > -Mo.
> > 
> > 
> > "Maven Users List" <[EMAIL PROTECTED]> schrieb
> > am 15.09.03 16:41:40:
> > > 
> > > Hello.
> > > 
> > > I have the following goal defined in maven.xml,
> > but
> > > when I execute it, nothing happens.
> > > 
> > > 
> > > 
> > >> >userid="${ftp.user}" password="${ftp.pw}"
> > > verbose="true">
> > >   
> > >   
> > >   
> > >   
> > > 
> > > 
> > > 
> > > I also have ant-optional-1.5.3-1.jar in my
> > > MAVEN_HOME/lib directory.
> > > 
> > > I'm using Maven 1.0-Beta10.
> > > 
> > > Thank you.
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Zwei Mal Platz 1 mit dem jeweils besten Testergebnis! WEB.DE FreeMail
und WEB.DE Club bei Stiftung Warentest! http://f.web.de/?mc=021183


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



Re: initialising a plugin

2003-09-15 Thread Nathan Coast
Thanks for the help, if I've understood you correctly then no it doesn't 
seem to work.  I'm trying to use maven.ejb.descriptordir property from 
the ejb plugin without executing the ejb:init goal (or any other ejb 
goal for that matter)

this is my plugin's jelly script.  Is this what you meant?

















	




[EMAIL PROTECTED] wrote:

Can't you just use:




I thought that it worked.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Nathan Coast <[EMAIL PROTECTED]> wrote on 16/09/2003 12:10:43 PM:


Hi,

In order to access another plugins properties I have been doing this


...
...
${pom.getPluginContext('maven-ejb-plugin').getVariable('maven.ejb.
descriptordir')}
Unfortunately the ejb:init executes functions that I don't want to run 
(yet).  Is there another way to initialise a plugin.  Besides calling 
ejb:init as a prereq.

as an aside, the ejb:init goal calls


  

Any ideas why ejb:init needs to call test:test?  I have a feeling its a 
bit of a hack to gurarantee resources get copied to the compiled classes 


dir.

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: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread dion
Christian Goos <[EMAIL PROTECTED]> wrote on 16/09/2003 
03:50:12 PM:

> Hi,
> 
> In the same context I have another question.
> How can I specify a project.properties file for the multiproject-plugin,
> when calling it the way described below?
> (Just setting the property with j:set is not enough. It gets overridden,
> when the multiproject:goal is run.)
> The reason why I want to do this is that I want to run the
> multiproject-plugin for subsets of my projects.

Why not set the maven.multiproject.includes and excludes dynamically?

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



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



RE: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread Christian Goos
Hi,

In the same context I have another question.
How can I specify a project.properties file for the multiproject-plugin,
when calling it the way described below?
(Just setting the property with j:set is not enough. It gets overridden,
when the multiproject:goal is run.)
The reason why I want to do this is that I want to run the
multiproject-plugin for subsets of my projects
Thanks for help.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2003 1:30 AM
To: Maven Users List
Subject: Re: sepcify a goal for an attained goal (multiproject:goal)

Joachim Bader <[EMAIL PROTECTED]> wrote on 15/09/2003 04:25:04 PM:

> Hi,
> 
> I can execute the goal java:compile of all subproject with 
> maven -Dgoal=java:compile multirpoject:goal
> 
> How can I do this from maven.xml?
> 
> 
> 
>



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




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

2003-09-15 Thread dion
Currently, the docs aren't auto added into Navigation, you need to do it 
yourself.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Benoit Xhenseval <[EMAIL PROTECTED]> wrote on 16/09/2003 01:53:14 AM:

> Hello dIon & All,
> 
> I was wondering how one could include the HTML-generated files 
> automatically in the navigation of
> the site generated by Maven?
> 
> Is there any "easy" way or do we have to know each file in advance 
> and include them in
> navigation.xml?
> 
> Thank you,
> 
> Benoit
> 
> -
> 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: initialising a plugin

2003-09-15 Thread dion
Can't you just use:





I thought that it worked.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Nathan Coast <[EMAIL PROTECTED]> wrote on 16/09/2003 12:10:43 PM:

> Hi,
> 
> In order to access another plugins properties I have been doing this
> 
> prereqs="ejb:init">
> ...
> ...
> ${pom.getPluginContext('maven-ejb-plugin').getVariable('maven.ejb.
> descriptordir')}
> 
> Unfortunately the ejb:init executes functions that I don't want to run 
> (yet).  Is there another way to initialise a plugin.  Besides calling 
> ejb:init as a prereq.
> 
> as an aside, the ejb:init goal calls
> 
>  
>
>  
> 
> Any ideas why ejb:init needs to call test:test?  I have a feeling its a 
> bit of a hack to gurarantee resources get copied to the compiled classes 

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



defered testing for deployable components

2003-09-15 Thread Nathan Coast
Hi,

I have unit tests for numerous components that need to be deployed 
within a j2ee container prior to testing.  Unfortunately in order to 
assemble the components, test:test will get called somewhere along the 
way.  Is there any way to prevent the execution of the unit tests until 
after assembly?  Or is this integration testing should be implemented 
differently?

thanks
Nathan


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


initialising a plugin

2003-09-15 Thread Nathan Coast
Hi,

In order to access another plugins properties I have been doing this


...
...
${pom.getPluginContext('maven-ejb-plugin').getVariable('maven.ejb.descriptordir')}
Unfortunately the ejb:init executes functions that I don't want to run 
(yet).  Is there another way to initialise a plugin.  Besides calling 
ejb:init as a prereq.

as an aside, the ejb:init goal calls


  

Any ideas why ejb:init needs to call test:test?  I have a feeling its a 
bit of a hack to gurarantee resources get copied to the compiled classes 
dir.

cheers
Nathan


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


Re: Cactus Plugin

2003-09-15 Thread Bryce Fischer
Sorry so late getting back on this. I'm responding on the Maven list, as
this deals with the Cactus Plugin, and project organization, and may be
of interest to others.

You mentioned:

> - Have separate projects for each J2EE module (EJB-JAR, WAR, RAR, simple
> jar libraries)

Done. I'm assuming the Cactus tests (for each module) go in these
projects.

> - Have a project for the application (EAR in most cases) which is the
> aggregation of the different J2EE module projects

Done.

> - (optional) Have a project for the container holding the application
> (this project will contain the container's configuration files)

I assume this is for stuff like jboss.xml file, etc. I skipped this as
I'm using XDoclet to generate those files in the specific projects.

> I would run the cactus tests in the container project as Cactus tests
> run in a running container.

If I understand correctly, this is different than the optional step
above. This project would be a stand alone war file that will actually
run the Cactus test?

When running cactus:test, It runs the tests in the specified container 
(specified in the build.properties file?). For example, I've set
cactus.home.jboss3x, so it should run using that container?

Thanks again for your help.

-- 
Bryce Fischer <[EMAIL PROTECTED]>


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



Build problem related to test distribution

2003-09-15 Thread Gil César Faria




Hello everybody!

I have a basic project where I have some general utility classes used
by all other maven projects.
Inside this general project, i have some abstract test classes that
should be used within all other
test classes of all projects. All test classes, including those
abstract classes are under test directory.

When maven builds the distribution for this general project, it only
includes the source classes, not
the test classes. But when i try to build other projects that depends
upon this general project, i cannot
compile the tests because the abstract test classes cannot be found.

I am not sure about the best solution for this problem and would like
an advise from our
more maven experienced coleagues:

Can i generate more than one artifact (jar) for a single project ? some
kind of source distribution and test distribution ...

Should i generate only a single jar with all source and test classes
inside it ?

Should i create a new project to hold only the abstract test classes,
and include it as a dependency for all other projects ?

Should i redefine dist:build to create a test distribution ?

There is an automated way to tell maven that the test classes should be
considered as a dependency ?

There is another way to organize my project classes to solve this
problem?

Can I define source dependencies and test dependencies separatelly?

Any other suggestions?

Thanks in advance!

-- 



  

  Gil César Faria
  


  [EMAIL PROTECTED]
  
+55-19-3287-7060 r. 233 
  +55-19-9113-4694 (Novo número) 
  http://www.inmetrics.com.br
  
  
Estrada da Telebrás km 0,97 Sala 11 
13081-970 – UNICAMP 
Campinas – SP – Brasil 
caixa postal 6123 

  




<><>

RE: Multiproject help

2003-09-15 Thread dion
There isn't a multiproject:dist-build yet.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 16/09/2003 07:28:26 
AM:

> Hm.  I'm now making some progress; still not sure how to build a 
> binary / source distribution.
> What's the equivalent of dist:build for multiprojects? I'd like a 
> binary dist that include all the
> jars for all the subprojects ... or do I have to allow each 
> subproject to generate its own dist?
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> > -Original Message-
> > From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, September 15, 2003 5:02 PM
> > To: 'Maven Users List'
> > Subject: RE: Multiproject help
> > 
> > 
> > Ok, I guess you leave the  element out in the top-level 
> > project.xml.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components 
> > http://jakarta.apache.org/tapestry
> > http://jakarta.apache.org/commons/sandbox/hivemind/
> > http://javatapestry.blogspot.com
> > 
> > > -Original Message-
> > > From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, September 15, 2003 4:29 PM
> > > To: Maven Users List
> > > Subject: Multiproject help
> > > 
> > > 
> > > I'm trying to split up my existing Maven project into a
> > > master project containing sub-projects.  Is this even the 
> > > right thing to do?
> > > 
> > > I'm getting the following error:
> > > 
> > > bash-2.05b$ maven multiproject:site
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > > 
> > > Starting the reactor...
> > > Our processing order:
> > > HiveMind Services and Configuration Microkernel
> > > +
> > > | Gathering project list HiveMind Services and Configuration
> > > Microkernel
> > > | Memory: 3M/11M
> > > +
> > > 
> > > BUILD FAILED
> > > File.. file:/C:/Documents and
> > > 
> > Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> > > Element... fail
> > > Line.. 105
> > > Column 101
> > > You must exclude commons-hivemind:commons-hivemind (the top 
> > > level project) from the subproject set Total time: 3 seconds 
> > > Finished at: Mon Sep 15 16:21:39 EDT 2003
> > > 
> > > 
> > > What does that mean?
> > > 
> > > Should my top-level project build the HiveMind framework (in
> > > advance of child projects building add-ons and examples?)
> > > 
> > > Couldn't find info in the wiki.
> > > 
> > > --
> > > Howard M. Lewis Ship
> > > Creator, Tapestry: Java Web Components
> > > http://jakarta.apache.org/tapestry
> > > 
> > http://jakarta.apache.org/commons/sandbox/hivemind/
> > http://javatapestry.blogspot.com
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



RE: Multiproject help

2003-09-15 Thread dion
No.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 16/09/2003 07:01:50 
AM:

> Ok, I guess you leave the  element out in the top-level project.xml.
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> > -Original Message-
> > From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, September 15, 2003 4:29 PM
> > To: Maven Users List
> > Subject: Multiproject help
> > 
> > 
> > I'm trying to split up my existing Maven project into a 
> > master project containing sub-projects.  Is this even the 
> > right thing to do?
> > 
> > I'm getting the following error:
> > 
> > bash-2.05b$ maven multiproject:site
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > 
> > Starting the reactor...
> > Our processing order:
> > HiveMind Services and Configuration Microkernel
> > +
> > | Gathering project list HiveMind Services and Configuration 
> > Microkernel
> > | Memory: 3M/11M
> > +
> > 
> > BUILD FAILED
> > File.. file:/C:/Documents and 
> > Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> > Element... fail
> > Line.. 105
> > Column 101
> > You must exclude commons-hivemind:commons-hivemind (the top 
> > level project) from the subproject set Total time: 3 seconds 
> > Finished at: Mon Sep 15 16:21:39 EDT 2003
> > 
> > 
> > What does that mean?
> > 
> > Should my top-level project build the HiveMind framework (in 
> > advance of child projects building add-ons and examples?)
> > 
> > Couldn't find info in the wiki.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components 
> > http://jakarta.apache.org/tapestry
> > 
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> 
> -
> 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: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread dion
Joachim Bader <[EMAIL PROTECTED]> wrote on 15/09/2003 04:25:04 PM:

> Hi,
> 
> I can execute the goal java:compile of all subproject with 
> maven -Dgoal=java:compile multirpoject:goal
> 
> How can I do this from maven.xml?
> 
> 
> 
>



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




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



Re: plugin dependencies

2003-09-15 Thread dion
Nathan Coast <[EMAIL PROTECTED]> wrote on 15/09/2003 05:28:54 PM:

> cheers, thats what I was after
> 
> 
>  
>  
>  
>  
> 
> one more question does this:
> 
> plugin.getDependencyPath('ejbgen')
> 
> refer to the full dependency path of the ejbgen plugin, or does it query 

> the dependencies for the current plugin for the dependency with id 
> ejbgen?  Not sure which as both the plugin and the dependency have the 
> same name.

The second one.

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




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



RE: Multiproject help

2003-09-15 Thread Howard M. Lewis Ship
Hm.  I'm now making some progress; still not sure how to build a binary / source 
distribution.
What's the equivalent of dist:build for multiprojects? I'd like a binary dist that 
include all the
jars for all the subprojects ... or do I have to allow each subproject to generate its 
own dist?

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -Original Message-
> From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 15, 2003 5:02 PM
> To: 'Maven Users List'
> Subject: RE: Multiproject help
> 
> 
> Ok, I guess you leave the  element out in the top-level 
> project.xml.
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components 
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> > -Original Message-
> > From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED]
> > Sent: Monday, September 15, 2003 4:29 PM
> > To: Maven Users List
> > Subject: Multiproject help
> > 
> > 
> > I'm trying to split up my existing Maven project into a
> > master project containing sub-projects.  Is this even the 
> > right thing to do?
> > 
> > I'm getting the following error:
> > 
> > bash-2.05b$ maven multiproject:site
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > 
> > Starting the reactor...
> > Our processing order:
> > HiveMind Services and Configuration Microkernel
> > +
> > | Gathering project list HiveMind Services and Configuration
> > Microkernel
> > | Memory: 3M/11M
> > +
> > 
> > BUILD FAILED
> > File.. file:/C:/Documents and
> > 
> Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> > Element... fail
> > Line.. 105
> > Column 101
> > You must exclude commons-hivemind:commons-hivemind (the top 
> > level project) from the subproject set Total time: 3 seconds 
> > Finished at: Mon Sep 15 16:21:39 EDT 2003
> > 
> > 
> > What does that mean?
> > 
> > Should my top-level project build the HiveMind framework (in
> > advance of child projects building add-ons and examples?)
> > 
> > Couldn't find info in the wiki.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components
> > http://jakarta.apache.org/tapestry
> > 
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> 
> -
> 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: Multiproject help

2003-09-15 Thread Howard M. Lewis Ship
Ok, I guess you leave the  element out in the top-level project.xml.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -Original Message-
> From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 15, 2003 4:29 PM
> To: Maven Users List
> Subject: Multiproject help
> 
> 
> I'm trying to split up my existing Maven project into a 
> master project containing sub-projects.  Is this even the 
> right thing to do?
> 
> I'm getting the following error:
> 
> bash-2.05b$ maven multiproject:site
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> Starting the reactor...
> Our processing order:
> HiveMind Services and Configuration Microkernel
> +
> | Gathering project list HiveMind Services and Configuration 
> Microkernel
> | Memory: 3M/11M
> +
> 
> BUILD FAILED
> File.. file:/C:/Documents and 
> Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> Element... fail
> Line.. 105
> Column 101
> You must exclude commons-hivemind:commons-hivemind (the top 
> level project) from the subproject set Total time: 3 seconds 
> Finished at: Mon Sep 15 16:21:39 EDT 2003
> 
> 
> What does that mean?
> 
> Should my top-level project build the HiveMind framework (in 
> advance of child projects building add-ons and examples?)
> 
> Couldn't find info in the wiki.
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components 
> http://jakarta.apache.org/tapestry
> 
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com


-
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: Multiproject help

2003-09-15 Thread Andy Jefferson
On Monday 15 Sep 2003 21:28, Howard M. Lewis Ship wrote:
> I'm trying to split up my existing Maven project into a master project
> containing sub-projects.  Is this even the right thing to do?

Yes if you have several deliverables.

> I'm getting the following error:
>
> bash-2.05b$ maven multiproject:site
>  __  __
>
> |  \/  |__ _Apache__ ___
> |
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> Starting the reactor...
> Our processing order:
> HiveMind Services and Configuration Microkernel
> +
>
> | Gathering project list HiveMind Services and Configuration Microkernel
> | Memory: 3M/11M
>
> +
>
> BUILD FAILED
> File.. file:/C:/Documents and
> Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> Element... fail
> Line.. 105
> Column 101
> You must exclude commons-hivemind:commons-hivemind (the top level project)
> from the subproject set Total time: 3 seconds
> Finished at: Mon Sep 15 16:21:39 EDT 2003
>
>
> What does that mean?

:-)


> Should my top-level project build the HiveMind framework (in advance of
> child projects building add-ons and examples?)

You need to exclude your top-level project from the multiproject build (since 
the multiproject plugin doesnt support processing the top-level in the same 
way) ... in project.properties ...

maven.multiproject.excludes=project.xml


-- 
Andy


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



Multiproject help

2003-09-15 Thread Howard M. Lewis Ship
I'm trying to split up my existing Maven project into a master project containing 
sub-projects.  Is
this even the right thing to do?

I'm getting the following error:

bash-2.05b$ maven multiproject:site
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Starting the reactor...
Our processing order:
HiveMind Services and Configuration Microkernel
+
| Gathering project list HiveMind Services and Configuration Microkernel
| Memory: 3M/11M
+

BUILD FAILED
File.. file:/C:/Documents and
Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
Element... fail
Line.. 105
Column 101
You must exclude commons-hivemind:commons-hivemind (the top level project) from the 
subproject set
Total time: 3 seconds
Finished at: Mon Sep 15 16:21:39 EDT 2003


What does that mean?

Should my top-level project build the HiveMind framework (in advance of child projects 
building
add-ons and examples?)

Couldn't find info in the wiki.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com


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



[ANN] Maven Cactus plugin 3.1 released

2003-09-15 Thread Vincent Massol
The Maven team is pleased to announce the Cactus plugin 3.1 release!

http://maven.apache.org/reference/plugins/cactus

The Maven Cactus plugin is a plugin for Cactus
(http://jakarta.apache.org/cactus) that allows to automatically start 
containers, run Cactus tests and stop the containers.

User-visible changes in this version:

o New cactus:jar-install goal to install the Cactus jar in the local
Maven
  repository. This is useful if you wish to put Cactus test classes in
one 
  Maven project and execute the Cactus tests in another project.
o New cactus:jar goal to generate a jar containing the Cactus test
classes. 
o Added new cactus.tmp.dir optional property to specify a location where

  Cactus will put its temporary files (mostly where it setup containers
for 
  execution). Defaults to [java.io.tmpdir]/[containername].
o Generate the Cactus test reports in the Cactus reports directory
  instead of directly in the Maven build directory. This fixes bug
MAVEN-669
o Updated commons-httpclient dependency to 2.0 rc1, httpunit to 1.5.3
and 
  nekohtml to 0.7.7.
o Added new optional property cactus.weblogic7x.beahome to configure the

  location of BEA HOME for the WebLogic 7.x container. It is only needed
if 
  the BEA HOME location is not the parent directory of
cactus.home.weblogic7x.
o Added back support for WebLogic 7.x (it had somehow been dropped
  when we moved to the new Cactus/Ant integration in version 3.0).
o Updated to Cactus 1.6dev-20030830 which has fixes for WebLogic 7.x
support.

Note that this plugin has been tested with Maven 1.0 rc1.
Using it with another version of Maven is at your own risks! :-)

You can download the Cactus Maven plugin here:
http://www.ibiblio.org/maven/maven/jars/maven-cactus-plugin-3.1.jar

Have fun!
-Vincent


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



Re: site demployment - ssh

2003-09-15 Thread khote
http://www.cygwin.com/

I went with cygwin, plain and simple.  All sorts of stuff you can do on
linux for free costs real bux on Windows.  cygwin takes care of all that.


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 11:45 AM
Subject: site demployment - ssh


> Thanks to those on the list that have got me this far.   I'm now
> successfully generating my project's site to completion.   Next question
> though is in the site:deploy goal.  I'm running on a W2K box, that did not
> have an ssh utility.   I downloaded a freebie and configured my
> build.properties "maven.ssh.executable" to point to it.   Maven seems to
> hang waiting for a password for the login I'm using to my Linux box.
>
> Suggestions as to what additional maven property for my password, or a
> specific ssh utility that I can use on Windows?
>
>
> Thanks again in advance,
> Mike McGowan
> [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]



site demployment - ssh

2003-09-15 Thread Mike . McGowan
Thanks to those on the list that have got me this far.   I'm now
successfully generating my project's site to completion.   Next question
though is in the site:deploy goal.  I'm running on a W2K box, that did not
have an ssh utility.   I downloaded a freebie and configured my
build.properties "maven.ssh.executable" to point to it.   Maven seems to
hang waiting for a password for the login I'm using to my Linux box.

Suggestions as to what additional maven property for my password, or a
specific ssh utility that I can use on Windows?


Thanks again in advance,
Mike McGowan
[EMAIL PROTECTED]



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



Word2Html plugin question.

2003-09-15 Thread Benoit Xhenseval
Hello dIon & All,

I was wondering how one could include the HTML-generated files automatically in the 
navigation of
the site generated by Maven?

Is there any "easy" way or do we have to know each file in advance and include them in
navigation.xml?

Thank you,

Benoit

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



Re: Making CVS Repostory Connection

2003-09-15 Thread Dominik Dahlem
I want to deploy my jar into the remote repository. The jar plugin uses
a deploy task to do that. This task seems not to use ssh as compared to
the site:sshdeploy.
Can I get around it without changing the jar plugin?

Thx for any help,
Dominik


On Mon, 2003-09-15 at 16:18, khote wrote:
> just deploy the JAR the same as the WAR.  If you wan't it deployed in JBoss
> that is, if I'm understanding right.
> If you just want to push it into your remote repository that's a different
> story.
> 
> I found this: http://cwrulug.cwru.edu/docs/ssh-agent.html
> 
> and it seems to have worked for me.  Some of the other links don't do it
> right, I couldn't get the ssh-add to work.
> 
> - Original Message - 
> From: "Dominik Dahlem" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 8:17 AM
> Subject: Re: Making CVS Repostory Connection
> 
> 
> > I'm wondering how to deploy a jar-file with ssh though?
> > The mechanism to deploy jars appears to be different to deploying sites.
> > Is there a way to use ssh with jar:deploy?
> >
> > Thx,
> > Dominik
> >
> >
> > On Mon, 2003-09-15 at 13:54, Hagelski wrote:
> > > I was having similar problems with that, so I resorted to some
> interaction
> > > with the system:
> > >
> > > 
> > >   
> > >   
> > >   
> > >
> > >   
> > > 
> > > 
> > >   
> > > 
> > >
> > > when the exec occurs, I get prompted for my password.
> > >
> > > the ssh-agent idea looks good too, think I'll check that out myself.
> > >
> > > - Original Message - 
> > > From: "Henri Yandell" <[EMAIL PROTECTED]>
> > > To: "Maven Users List" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> > > Sent: Monday, September 15, 2003 5:42 AM
> > > Subject: Re: Making CVS Repostory Connection
> > >
> > >
> > > >
> > > > Use an ssh-agent. If on Windows, look into PAgent, from the makers of
> > > > Putty.
> > > >
> > > > Hen
> > > >
> > > > On Mon, 15 Sep 2003, S. Radhakrishnan wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > I just wanted to have changelog report. I have mentioned the
> connection
> > > > > parameter
> > > > > as,
> > > > >
> > > > > scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
> > > > >
> > > > > Now, it requires password to be entered for user whenver I am
> executing
> > > > > "maven site".
> > > > >
> > > > > Can we pass the password with the command or Can the password be
> stored
> > > in
> > > > > some files??
> > > > >
> > > > > Please help me out.
> > > > >
> > > > > RK.
> > > > >
> > > > >
> > > >
> > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: How to use Ant's FTP task from Maven?

2003-09-15 Thread Konrad
Thanks for your quick reply Moritz!

I tried adding:



so that the goal now appears as:














but when I ran it, I got:

" taskdef class
org.apache.tools.ant.taskdefs.optional.net.FTP cannot
be found"

Is there anything else that I need to do?

Thank you.



--- Moritz Petersen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> you need to define the task first. Take a look at
> the checkstyle plugin, where the task is defined as
> follows:
> 
>name="checkstyle"
>
>
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
>   
> 
>name="checkstyle:determine-properties" />
> 
>   
>property="maven.checkstyle.cache.dir" 
> file="${maven.checkstyle.cache.file}"/>
>dir="${maven.checkstyle.cache.dir}"/>
> 
>   Using ${checkstyleProperties} for
> checkstyle ...
> 
>properties="${checkstyleProperties}"
>
>
failOnViolation="${maven.checkstyle.fail.on.violation}"
> cacheFile="${maven.checkstyle.cache.file}">
>dir="${pom.build.sourceDirectory}"
>   includes="${maven.checkstyle.includes}"
>   excludes="${maven.checkstyle.excludes}"/>
> 
toFile="${maven.build.dir}/checkstyle-raw-report.xml"/>
> 
>test="${maven.checkstyle.usefile}">
>   
>
toFile="${maven.build.dir}/checkstyle-raw-report.txt"/>
>   
>   
> 
>   
> 
>   
> 
> 
> 
> Cheers,
> 
> -Mo.
> 
> 
> "Maven Users List" <[EMAIL PROTECTED]> schrieb
> am 15.09.03 16:41:40:
> > 
> > Hello.
> > 
> > I have the following goal defined in maven.xml,
> but
> > when I execute it, nothing happens.
> > 
> > 
> > 
> >  >  userid="${ftp.user}" password="${ftp.pw}"
> > verbose="true">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > I also have ant-optional-1.5.3-1.jar in my
> > MAVEN_HOME/lib directory.
> > 
> > I'm using Maven 1.0-Beta10.
> > 
> > Thank you.




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: Making CVS Repostory Connection

2003-09-15 Thread khote
just deploy the JAR the same as the WAR.  If you wan't it deployed in JBoss
that is, if I'm understanding right.
If you just want to push it into your remote repository that's a different
story.

I found this: http://cwrulug.cwru.edu/docs/ssh-agent.html

and it seems to have worked for me.  Some of the other links don't do it
right, I couldn't get the ssh-add to work.

- Original Message - 
From: "Dominik Dahlem" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 8:17 AM
Subject: Re: Making CVS Repostory Connection


> I'm wondering how to deploy a jar-file with ssh though?
> The mechanism to deploy jars appears to be different to deploying sites.
> Is there a way to use ssh with jar:deploy?
>
> Thx,
> Dominik
>
>
> On Mon, 2003-09-15 at 13:54, Hagelski wrote:
> > I was having similar problems with that, so I resorted to some
interaction
> > with the system:
> >
> > 
> >   
> >   
> >   
> >
> >   
> > 
> > 
> >   
> > 
> >
> > when the exec occurs, I get prompted for my password.
> >
> > the ssh-agent idea looks good too, think I'll check that out myself.
> >
> > - Original Message - 
> > From: "Henri Yandell" <[EMAIL PROTECTED]>
> > To: "Maven Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
> > Sent: Monday, September 15, 2003 5:42 AM
> > Subject: Re: Making CVS Repostory Connection
> >
> >
> > >
> > > Use an ssh-agent. If on Windows, look into PAgent, from the makers of
> > > Putty.
> > >
> > > Hen
> > >
> > > On Mon, 15 Sep 2003, S. Radhakrishnan wrote:
> > >
> > > > Hi all,
> > > >
> > > > I just wanted to have changelog report. I have mentioned the
connection
> > > > parameter
> > > > as,
> > > >
> > > > scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
> > > >
> > > > Now, it requires password to be entered for user whenver I am
executing
> > > > "maven site".
> > > >
> > > > Can we pass the password with the command or Can the password be
stored
> > in
> > > > some files??
> > > >
> > > > Please help me out.
> > > >
> > > > RK.
> > > >
> > > >
> > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: Making CVS Repostory Connection

2003-09-15 Thread Dominik Dahlem
I'm wondering how to deploy a jar-file with ssh though?
The mechanism to deploy jars appears to be different to deploying sites.
Is there a way to use ssh with jar:deploy?

Thx,
Dominik


On Mon, 2003-09-15 at 13:54, Hagelski wrote:
> I was having similar problems with that, so I resorted to some interaction
> with the system:
> 
> 
>   
>   
>   
> 
>   
> 
> 
>   
> 
> 
> when the exec occurs, I get prompted for my password.
> 
> the ssh-agent idea looks good too, think I'll check that out myself.
> 
> - Original Message - 
> From: "Henri Yandell" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 5:42 AM
> Subject: Re: Making CVS Repostory Connection
> 
> 
> >
> > Use an ssh-agent. If on Windows, look into PAgent, from the makers of
> > Putty.
> >
> > Hen
> >
> > On Mon, 15 Sep 2003, S. Radhakrishnan wrote:
> >
> > > Hi all,
> > >
> > > I just wanted to have changelog report. I have mentioned the connection
> > > parameter
> > > as,
> > >
> > > scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
> > >
> > > Now, it requires password to be entered for user whenver I am executing
> > > "maven site".
> > >
> > > Can we pass the password with the command or Can the password be stored
> in
> > > some files??
> > >
> > > Please help me out.
> > >
> > > RK.
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: How to use Ant's FTP task from Maven?

2003-09-15 Thread Moritz Petersen
Hi,

you need to define the task first. Take a look at the checkstyle plugin, where the 
task is defined as follows:

  
  

  

  
  
  

  Using ${checkstyleProperties} for checkstyle ...

  



  

  
  

  

  



Cheers,

-Mo.


"Maven Users List" <[EMAIL PROTECTED]> schrieb am 15.09.03 16:41:40:
> 
> Hello.
> 
> I have the following goal defined in maven.xml, but
> when I execute it, nothing happens.
> 
> 
> 
>   userid="${ftp.user}" password="${ftp.pw}"
> verbose="true">
>   
>   
>   
>   
> 
> 
> 
> I also have ant-optional-1.5.3-1.jar in my
> MAVEN_HOME/lib directory.
> 
> I'm using Maven 1.0-Beta10.
> 
> Thank you.
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Bestes Testergebnis: Stiftung Warentest Doppelsieg fur WEB.DE FreeMail
und WEB.DE Club. Nur fuer unsere Nutzer! http://f.web.de/?mc=021182


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



Réf. : Maven Newbie: site:generate question.

2003-09-15 Thread Nicolas . CHALUMEAU
>  [echo] Generating C::/maven/skade/target/docs/tasks.html from
> C::/maven/skade\xdocs\tasks.xml

Is your tasks.xml is a well-formed xml file ?
Verify if you  omit to end an element.

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



How to use Ant's FTP task from Maven?

2003-09-15 Thread Konrad
Hello.

I have the following goal defined in maven.xml, but
when I execute it, nothing happens.











I also have ant-optional-1.5.3-1.jar in my
MAVEN_HOME/lib directory.

I'm using Maven 1.0-Beta10.

Thank you.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: target/test-classes and Eclipse plugin

2003-09-15 Thread Ciaran Treanor
Ben Walding wrote:
I believe I fixed this in CVS some time ago, there is a release coming 
out shortly that will include this fix.
Cheers Ben. I'm afraid to work from CVS at the moment (too much
at stake) so I'll wait for the release.
Thanks,
ct


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


Maven Newbie: site:generate question.

2003-09-15 Thread Mike . McGowan
Just getting started with Maven.   Currently using CruiseControl for our
builds.   I wanted to start with the site generation capabilities and that
back stitch our build with maven where applicable.   I get the following
whenever I use the site:generate goal or site:publish goal.   "generate"
gives me most of the generated documents, but publish stops with the same
error and nothing gets pushed to my server.

[echo] Generating C:/maven/skade/target/docs/faq.html from
C:\maven\skade\target\generated-xdocs\faq.xml
Transforming user supplied documentation.

  [echo] Generating C::/maven/skade/target/docs/tasks.html from
C::/maven/skade\xdocs\tasks.xml

BuiILD FAILED
file.. file:/C:/Documents and
Settings/3665/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/
element... x:parse
line.. 315
column 43
error on line -1 of document  : Premature end of file. Nested exception:
Premature end of file.
total time:  18 seconds

Suggestions? TIA.

Mike McGowan
[EMAIL PROTECTED]



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



Re: Making CVS Repostory Connection

2003-09-15 Thread jeff grant
Depending on your security requirements, you might try what I've 
done, which is set it up so that my account uses certificate 
authentication instead of password when connecting into the remote 
box, which allows rsynch, ssh, and scp to connect in without 
requiring any user input.

This is particularly handy for taking the nightly builds (as well as 
reporting output from Together and Maven) and deploying them to our 
development web server via a cron job, or as the result of a CVS or 
Cruise Control action.

You can find out more about how to configure it (for *nix, anyway) at 
http://www.asitis.org/archives/63.html  (turned up from a quick 
Google search, and appears to be "all there")

We've even got our Maven repository (http) being kept in CVS, so that 
whenever a change is made to that repository, a new rsynch is done to 
the web server (they can only write files or create directories that 
aren't already there).  This means that our (distributed) development 
team has control over the remote repository using their CVS access, 
without having to worry about any kind of special or additional 
access to our web server boxes.  It also stops them from bugging me 
in order to put up new jars all the time.  ;)

$0.02



...jeff



At 05:54 -0700 9/15/03, Hagelski wrote:
I was having similar problems with that, so I resorted to some interaction
with the system:

  
  
  
  


  

when the exec occurs, I get prompted for my password.

the ssh-agent idea looks good too, think I'll check that out myself.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Snapshot deployment

2003-09-15 Thread Jim Crossley
Am I the only one who doesn't understand snapshots?  Are snapshots one
of the "best practices" maven is encouraging me to use to deploy my
war files?  Is there some document somewhere describing them, or is it
such a trivially simple concept that I'm overcomplicating it?

Thanks,
Jim

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



Re: Making CVS Repostory Connection

2003-09-15 Thread Hagelski
I was having similar problems with that, so I resorted to some interaction
with the system:


  
  
  

  


  


when the exec occurs, I get prompted for my password.

the ssh-agent idea looks good too, think I'll check that out myself.

- Original Message - 
From: "Henri Yandell" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 5:42 AM
Subject: Re: Making CVS Repostory Connection


>
> Use an ssh-agent. If on Windows, look into PAgent, from the makers of
> Putty.
>
> Hen
>
> On Mon, 15 Sep 2003, S. Radhakrishnan wrote:
>
> > Hi all,
> >
> > I just wanted to have changelog report. I have mentioned the connection
> > parameter
> > as,
> >
> > scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
> >
> > Now, it requires password to be entered for user whenver I am executing
> > "maven site".
> >
> > Can we pass the password with the command or Can the password be stored
in
> > some files??
> >
> > Please help me out.
> >
> > RK.
> >
> >
> > -
> > 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: Can Maven auto-add XML dependencies?

2003-09-15 Thread Berin Loritsch
[EMAIL PROTECTED] wrote:

What about people that want to use different XML parsers etc than those 
supplied with the JVM?

And should we do the same for other stuff like XSL?
:)

All I wanted is for my build to continue to build even if the XML dependencies
are not there.  If there is something that satisfies it for me, then cool.
Really all that is needed for a build to continue working under JDK 1.3.1 is
the xml-utils.jar file as it has all the JAXP code.  As long as your project
(and all mine comply with this) interacts with parsers and transformers through
JAXP, all is well.


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


Re: Making CVS Repostory Connection

2003-09-15 Thread Henri Yandell

Use an ssh-agent. If on Windows, look into PAgent, from the makers of
Putty.

Hen

On Mon, 15 Sep 2003, S. Radhakrishnan wrote:

> Hi all,
>
> I just wanted to have changelog report. I have mentioned the connection
> parameter
> as,
>
> scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
>
> Now, it requires password to be entered for user whenver I am executing
> "maven site".
>
> Can we pass the password with the command or Can the password be stored in
> some files??
>
> Please help me out.
>
> RK.
>
>
> -
> 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: target/test-classes and Eclipse plugin

2003-09-15 Thread Ben Walding
I believe I fixed this in CVS some time ago, there is a release coming 
out shortly that will include this fix.

Ciaran Treanor wrote:

Hi,
For some reason the following dependency is being
generated by Maven when I invoke "maven eclipse"
  
  
When I refresh in Eclipse it (Eclipse) complains as follows:
"Missing required library: 'my_project/target/test-classes'
If I manually remove the above XML from the Eclipse .classpath
file and refresh, everything works fine.
My questions is how do I stop the Maven Eclipse plugin
from generating that dependency in the first place.
Thanks a million,
ct


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


Making CVS Repostory Connection

2003-09-15 Thread S. Radhakrishnan
Hi all,

I just wanted to have changelog report. I have mentioned the connection
parameter
as,

scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name

Now, it requires password to be entered for user whenver I am executing
"maven site".

Can we pass the password with the command or Can the password be stored in
some files??

Please help me out.

RK.


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



target/test-classes and Eclipse plugin

2003-09-15 Thread Ciaran Treanor
Hi,
For some reason the following dependency is being
generated by Maven when I invoke "maven eclipse"
  
  
When I refresh in Eclipse it (Eclipse) complains as follows:
"Missing required library: 'my_project/target/test-classes'
If I manually remove the above XML from the Eclipse .classpath
file and refresh, everything works fine.
My questions is how do I stop the Maven Eclipse plugin
from generating that dependency in the first place.
Thanks a million,
ct


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


Re: cvs, svn

2003-09-15 Thread khote
We're already running JBoss-Tomcat on that server, I'm wondering what kinds
of problems we'll encounter trying to run apache-webdav as well, considering
the different ports we'd have to use, all that jazz.

- Original Message - 
From: "Mark Proctor" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 10:33 AM
Subject: Re: cvs, svn


> I've just double checked - SVN provides java bindings via jni, as well
> as perl and python bindings.
>
> Mark
> Mark Proctor wrote:
>
> > I'm using Subversion (SVN) and find it vastly simpler to use,
> > especially with directory reorganisations. the TortoiseSVN client for
> > windows is very nice, there is an eclipse plugin, that works well too.
> > I use the Apache webdav without any problems. ViewCVS (head) now has
> > support for SVN too.
> >
> > There is a SVN guide for CVS users -
> > http://svnbook.red-bean.com/book.html#svn-ap-a
> >
> > While SVN is written in C/C++ it has good support for python - not
> > sure on other languages,
> > http://svnbook.red-bean.com/book.html#svn-ch-7-sect-2.3
> >
> > Regards
> >
> > Mark
> >
> >
> > Hagelski wrote:
> >
> >> we're interested in giving Subversion a try, it's supposed to be the
> >> inheritor of cvs (so it says)
> >> How many of you are using Subversion?
> >> Are you doing it with Apache webdav or an svnserve daemon?
> >>
> >> any suggestions regarding Maven's ability to talk to a remote
> >> repository for
> >> commits and checkouts etc?
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >> .
> >>
> >>
> >>
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > .
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: cvs, svn

2003-09-15 Thread Mark Proctor
I've just double checked - SVN provides java bindings via jni, as well 
as perl and python bindings.

Mark
Mark Proctor wrote:
I'm using Subversion (SVN) and find it vastly simpler to use, 
especially with directory reorganisations. the TortoiseSVN client for 
windows is very nice, there is an eclipse plugin, that works well too. 
I use the Apache webdav without any problems. ViewCVS (head) now has 
support for SVN too.

There is a SVN guide for CVS users - 
http://svnbook.red-bean.com/book.html#svn-ap-a

While SVN is written in C/C++ it has good support for python - not 
sure on other languages, 
http://svnbook.red-bean.com/book.html#svn-ch-7-sect-2.3

Regards

Mark

Hagelski wrote:

we're interested in giving Subversion a try, it's supposed to be the
inheritor of cvs (so it says)
How many of you are using Subversion?
Are you doing it with Apache webdav or an svnserve daemon?
any suggestions regarding Maven's ability to talk to a remote 
repository for
commits and checkouts etc?

-
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: sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread khote
If you look in the multiproject plugin.jelly:
.
  

  
A goal to run must be specified, e.g.
maven -Dgoal=clean multiproject:goal

  



then in your maven.xml:



  

- Original Message - 
From: "Joachim Bader" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 14, 2003 11:25 PM
Subject: sepcify a goal for an attained goal (multiproject:goal)


Hi,

I can execute the goal java:compile of all subproject with 
maven -Dgoal=java:compile multirpoject:goal

How can I do this from maven.xml?




  



cheers
Joachim

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



faq plugin

2003-09-15 Thread khote
I'm managing a project at my local university for some professors and their
students, really trying to get them interested in maven.

As an experiment I wanted to split up my FAQs into more topical groupings,
such as the existing general faq, and one for my project members on the
who/what/why/where/etc on cvs ( a bunch of university students remember).

so I set a sort of hierarchy in my master project.properties:

project.basedir=/projects/chronicle
maven.docs.src=${project.basedir}/xdocs
maven.faqs.src=${maven.docs.src}/faqs
maven.faq.src.file=${maven.faqs.src}/faq.fml

which ends up basically as /projects/chronicle/xdocs/faqs/faq.fml

set this in my master maven.xml:






everything worked fine.  I went ahead and created cvs-faq.fml and stuck it
in that directory.  Without making any other changes multiproject executed
and in fact did the cvs-faq.html!

No other changes, no looping through attainGoals resetting the
maven.faq.src.file and maven.faq.dest.file as I was expecting to have to do.

Looking through the multiproject, site, and faq plugin.jelly files, I don't
see anywhere how this happens, no globbing file names or anything.
There are multiple **/project.xml, but only the parent registers the faq.

this is most curious.  Is this an undocumented feature or an unexpected
misfeature?

---
kevinHagel
http://hagelnx.com


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



sepcify a goal for an attained goal (multiproject:goal)

2003-09-15 Thread Joachim Bader
Hi,

I can execute the goal java:compile of all subproject with 
maven -Dgoal=java:compile multirpoject:goal

How can I do this from maven.xml?




  



cheers
Joachim

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



reactor problems

2003-09-15 Thread Nathan Coast
hi,

I have two goals in my maven.xml which work fine independently.  Both 
use the one uses multiproject, the other uses reactor.  I have a third 
goal which calls the other two goals, this goal fails with the error

BUILD FAILED
File.. 
file:/D:/java/apache/maven-cvsbuild/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
Element... maven:reactor
Line.. 174
Column 9
Unable to obtain goal [multiproject:install-callback] -- 
file:/D:/java/apache/maven-cvsbuild/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/:210:61: 
 No goal [ejb:install]
Total time: 10 seconds
Finished at: Mon Sep 15 16:19:17 CST 2003

I'm guessing theres some sort of conflict between the different 
invocations of the reactor.

maven.xml snip

  
  
  
  
  

cheers
Nathan


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


Re: AW: Executing xdoclet to generate MBeans before compiling

2003-09-15 Thread jeff grant
What I meant was how do I configure project.xml to generate the
MBean interfaces first before compiling the java sources of the project?
This is because the sources require the presence of the generated
interfaces by xdoclet.


Melvin-

While we aren't doing MBean generation with XDoclet in our main Maven 
project (we do so with other Ant-driven builds), we ARE using Maven 
to use XDoclet to generate Hibernate information.

This may be close enough for you to see how it works... it also may 
not be the IDEAL layout of these files, but it works for us...  ;)



...jeff

(By the way, this is for a Life Sciences product we're producing at 
http://www.benchKeeper.com)



Our project.properties looks like this:

= P R O J E C T . P R O P 
E R T I E S 


maven.xdoc.date=left
maven.xdoc.version=${pom.currentVersion}
# defines the root directory we build to
build.dir=${basedir}/../../work/code
build.deploy.dir=${build.dir}/deploy
build.lib.dir=${build.dir}/lib
# --
# Hibernate Attribute  Definition
# --
maven.xdoclet.hibernatedoclet.destDir=${basedir}/src/sar
maven.xdoclet.hibernatedoclet.fileset.0=true
maven.xdoclet.hibernatedoclet.fileset.0.include=**/objectmodel/**/*.java
# -
# Dataload Properties
# -
benchKeeper.dataload.class=com.benchKeeper.objectmodel.dataload.CreateDataloadScript
benchKeeper.dataload.file=${basedir}/src/sar/benchKeeper-dataload.xml


Our maven.xml looks like this:

= M A V E N . X M L 



	
		

			
		
		
	
	
		
		
			
			


			
		
		
	
	
		
		
		
	
	

		
		
		
	




and our project.xml looks like this:

= P R O J E C T . X M L 





3


benchKeeper-objectmodel


benchKeeper


BenchKeeper - ObjectModel


1.0


2003


com.benchKeeper.objectmodel


The object model







Chris Shorrock


cshorrock


[EMAIL PROTECTED]


BenchKeeper Software



Java Developer








xdoclet+hibernate-module


1.2b4




benchKeeper+utils


CURRENT




benchKeeper+sharedservices


CURRENT




benchKeeper+server-bootstrap


CURRENT






src/java




${basedir}/src/conf



*.DS_Store






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


jxr-plugin fails if '_' in packagename

2003-09-15 Thread matthias . stutz
It seems that the jxr-plugin generates wrong overview-summary.html, overview-frame.html
and allclasses-frame.html if the packagename contains an underscore.

Regards Matthias


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



Re: plugin dependencies

2003-09-15 Thread Nathan Coast
cheers, thats what I was after

   




one more question does this:

plugin.getDependencyPath('ejbgen')

refer to the full dependency path of the ejbgen plugin, or does it query 
the dependencies for the current plugin for the dependency with id 
ejbgen?  Not sure which as both the plugin and the dependency have the 
same name.

thanks
Nathan
[EMAIL PROTECTED] wrote:

Nathan,

use a classpath inside the 'java' task. Use plugin.getDependencyPath('id') 
to get the jar file name.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/

Nathan Coast <[EMAIL PROTECTED]> wrote on 15/09/2003 03:53:12 PM:


Is this as designed?  IMO it'd feel nicer if the plugin was responsible 
for declaring its dependencies rather than having to declare the 
plugin's runtime dependencies within each component that uses the 
plugin.

Brett Porter wrote:


Yes.



-Original Message-
From: Nathan Coast [mailto:[EMAIL PROTECTED] 
Sent: Monday, 15 September 2003 2:47 PM
To: Maven Users List
Subject: Re: plugin dependencies

cheers Brett,

this only works if the project has the dependency included in the 
project.xml rather than defining the dependency in the plugin's 
project.xml.  Is this right?

Brett Porter wrote:



Remove the  properties, and add this to the java call: 
classpathref="maven.dependency.classpath"

Cheers,
Brett



-Original Message-
From: Nathan Coast [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 September 2003 2:08 PM
To: Maven Users
Subject: plugin dependencies
Hi

I have a plugin that uses 3rd party classes.  How do I make these
classes available to the plugin?  I'm getting a 
NoClassDefFoundError 


when calling targets within the plugin.

I'm calling the 3rd party classes like this:

blah blah
I have this element in the plugin's project.xml

  
weblogic
8.1
  
  root
  
  
cheers
Nathan



-


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




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




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


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







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