RE: CruiseConrol/Maven Setup Help

2004-12-17 Thread STRAYER, JON \(SBCSI\)

> Now here are some questions:
> 
> 1) How does CC automatically learn about the
> dependencies in my project.xml so that it can fulfill 
> responsibility 1b.

See
http://cruisecontrol.sourceforge.net/main/configxml.html#mavensnapshotde
pendency

> 
> 2) How does CC automatically learn about the nag
> e-mail address in my project.xml so that it can
> fulfill responsibility 2.

It doesn't (as far as I know)
See http://cruisecontrol.sourceforge.net/main/configxml.html

> 
> 3) How does CC know if a Maven build fails so that it
> can fulfill responsibility 3.

http://cruisecontrol.sourceforge.net/main/configxml.html#maven


> 
> 4) How does CC trigger Maven multiptoject:site and
> site:deploy _after_ all the builds are done.

http://cruisecontrol.sourceforge.net/main/configxml.html#execute


 

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



RE: Newbie questions

2004-12-09 Thread STRAYER, JON \(SBCSI\)
It's set in the project.properties file.
> See http://maven.apache.org/reference/plugins/artifact/examples.html


> -Original Message-
> From: Mike Miller [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 09, 2004 5:05 PM
> To: Maven Users List
> Subject: RE: Newbie questions
> 
> 
> So you are saying that I need to setup my own 'central' repository (or
> push the artifacts to) that our team would point to?   Then the next
> question is "then I guess there's a property that somewhere 
> that would need to be sent on each developers machine to tell 
> Maven where/which remote repository to use?
>   
> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 09, 2004 3:58 PM
> To: Maven Users List
> Subject: RE: Newbie questions
> 
> > I just started looking into Maven as a possible replacement for our
> > large ant build scripts.  I've read a few articles and then 
> started to
> 
> > try to put together a structure to build our product using Maven.
> > This brought up the following questions:
> >  
> > 1) How does everyone specify the dependencies for a web application?
> > Specifically, the servlet api libraries which come from the 
> container.
> 
> > Our developers use Tomcat, the 'release' build is done on a machine
> > running WebLogic.
> >  
> > 2) I know that you can use the J2EE libraries for #1 above, but what
> > happens with the central
> > repository(...ibiblio/maven) doesn't contain entries for J2EE?
> >  
> > 3)  What about JDBC libraries from vendor like Oracle, IBM, 
> Microsoft,
> 
> > etc within the central repository?
> >  
> > 4) What about 'other libraries' that we use within our 
> webapp that are
> 
> > not in the central repository?  Libraries from SourceForge, some in
> > fact don't number their jar file with version number 
> (xyz.jar rather 
> > than xyz-1.2.1.jar)?
> >  
> 
> You can put these all in your own repository. 
> See http://maven.apache.org/reference/plugins/artifact/examples.html
> 
> -
> 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: Newbie questions

2004-12-09 Thread STRAYER, JON \(SBCSI\)
> I just started looking into Maven as a possible replacement 
> for our large ant build scripts.  I've read a few articles 
> and then started to try to put together a structure to build 
> our product using Maven.  This brought up the following questions:
>  
> 1) How does everyone specify the dependencies for a web 
> application? Specifically, the servlet api libraries which 
> come from the container. Our developers use Tomcat, the 
> 'release' build is done on a machine running WebLogic. 
>  
> 2) I know that you can use the J2EE libraries for #1 above, 
> but what happens with the central 
> repository(...ibiblio/maven) doesn't contain entries for J2EE?
>  
> 3)  What about JDBC libraries from vendor like Oracle, IBM, 
> Microsoft, etc within the central repository?
>  
> 4) What about 'other libraries' that we use within our webapp 
> that are not in the central repository?  Libraries from 
> SourceForge, some in fact don't number their jar file with 
> version number (xyz.jar rather than xyz-1.2.1.jar)?
>  

You can put these all in your own repository. 
See http://maven.apache.org/reference/plugins/artifact/examples.html

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



SNAPSHOTS to versions back to SNAPSHOTS

2004-12-09 Thread STRAYER, JON \(SBCSI\)
FYI

We use CruiseControl to automate our continuous integration builds.  For
these builds we want to use SNAPSHOT dependencies for our internal
libraries.  But when we release an application we resolve all the
SNAPSHOTS to specific released versions.

This leads to us having to change everything back to SNAPSHOT after the
release.  This is something of a pain in the rear.  I was looking for a
plugin to automate at least some of this work, but as of 1.0.2 I have a
better idea.

I'm using jar overrides in my main project.properties file to set the
override for each of our libraries to SNAPSHOT, but it also sets
maven.jar.override=off.

The script that starts CruiseControl sets MAVEN_OPTS to
-Dmaven.jar.override=on

So, when Cruisecontrol does a build it uses SNAPSHOTS.  But a normal run
of Maven uses the values from project.xml.




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



RE: Snapshot etiquette

2004-12-09 Thread STRAYER, JON \(SBCSI\)
> in regards to deleting snapshots; how can you really delete 
> snapshots? If you release an artifact with a resolved 
> snapshot dependency (changed from SNAPSHOT to a timestamp - I 
>  do this when I release an artifact with a SNAPSHOT 
> dependency to make the release reproducable at a later point 
> in time), you will break backwards repoducability. 

I never, ever, release anything with a timestamp dependency.  


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



RE: Snapshot etiquette

2004-12-08 Thread STRAYER, JON \(SBCSI\)
About once a month I go in and delete all the timestamped snapshots from
the previous month.

> -Original Message-
> From: Bert Lamb [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 08, 2004 3:04 PM
> To: STRAYER, JON (SBCSI)
> Cc: Maven Users List
> Subject: Re: Snapshot etiquette
> 
> 
> With this approach when do you clean up the timestamped snapshots?
> 
> -Bert
> 
> 
> On Wed, 8 Dec 2004 14:40:04 -0500, STRAYER, JON (SBCSI) 
> <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > > Ok, so I'm trying to get a handle on the "right" way to 
> do snapshot 
> > > dependencies during development and the perform a "release."  In 
> > > reading around the Internet it looks like there are two different 
> > > approaches to snapshots..
> > >
> > > Approach 1:
> > >
> > > In your POM define your version as "SNAPSHOT", and use 
> jar:deploy to 
> > > put your artifact myproj-SNAPSHOT.jar out on the repository.
> > >
> > > When it comes time to release then you change your 
> version to your 
> > > "real" version and then run that one build as your 
> release build and 
> > > put myproj-1.0.jar out on the repository.
> > >
> > > Approach 2:
> > >
> > > In your POM define your version as the real version that is 
> > > currently in development but use jar:deploy-snapshot to put the 
> > > artifact in the repository (it also puts a timestamped 
> version there 
> > > as well).
> > >
> > > When it comes time to release then you use jar:deploy for that 
> > > "release build".
> > >
> > > Do I have these two approaches right?  Which one is the 
> "right" one? 
> > > Is there a best practice documented somewhere?
> > 
> > I use #2, but I don't have the status to claim it's the 
> right method.
> > 
> >
> 
> -
> 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: Snapshot etiquette

2004-12-08 Thread STRAYER, JON \(SBCSI\)
> Ok, so I'm trying to get a handle on the "right" way to do 
> snapshot dependencies during development and the perform a 
> "release."  In reading around the Internet it looks like 
> there are two different approaches to snapshots..
> 
> Approach 1:
> 
> In your POM define your version as "SNAPSHOT", and use 
> jar:deploy to put your artifact myproj-SNAPSHOT.jar out on 
> the repository.
> 
> When it comes time to release then you change your version to 
> your "real" version and then run that one build as your 
> release build and put myproj-1.0.jar out on the repository.
> 
> Approach 2:
> 
> In your POM define your version as the real version that is 
> currently in development but use jar:deploy-snapshot to put 
> the artifact in the repository (it also puts a timestamped 
> version there as well).
> 
> When it comes time to release then you use jar:deploy for 
> that "release build".
> 
> Do I have these two approaches right?  Which one is the 
> "right" one? Is there a best practice documented somewhere?

I use #2, but I don't have the status to claim it's the right method.

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



RE: Anyone really doing continuous integration with Maven?

2004-12-03 Thread STRAYER, JON \(SBCSI\)
> >We are, via CruiseControl.  We have 27 projects that all 
> share a master 
> >POM (17 applications & 10 libraries).  Any time someone 
> checks in code 
> >CruiseControl checks it back out, builds the project and dropps a 
> >SNAPSHOT jar in the repository.
> >
> >As of version 2.2 you can have CruiseControl check a 
> project's POM for 
> >SNAPSHOT dependencies and rebuild when their timestamp changes.  So, 
> >anytime a library changes any project that uses it is also 
> rebuilt (and tested).


> Sounds sweet... Care to share an example? Or is this well-known and 
> described behaviour?

I think it's pretty well described at
http://cruisecontrol.sourceforge.net/main/configxml.html

But here are the interesting bits from my crusieControl config






The  element is the one that checks the source for this projects.
The  element is the one that tells
CruiseContorl to look in the project POM for SNAPSHOT dependencies.



The  element performs the listed maven goals.

The two tools work very well together.

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



RE: Anyone really doing continuous integration with Maven?

2004-12-03 Thread STRAYER, JON \(SBCSI\)
The Maven repository.  I don't put jars in CVS any more.

> -Original Message-
> From: Poppe, Troy [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 03, 2004 9:54 AM
> To: 'Maven Users List'
> Subject: RE: Anyone really doing continuous integration with Maven?
> 
> 
> 
> When you say you have CruiseControl drop the artifact into 
> the repository, are you saying you drop it into your internal 
> Maven repository?  Or are you saying that you drop it into 
> your version control repository (CVS, VSS, SVN,...)
> 
> 
> Just a little clarification..
> 
> T
> 
> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 03, 2004 9:44 AM
> To: Maven Users List
> Subject: RE: Anyone really doing continuous integration with Maven?
> 
> 
> 
> > I have about 15 projects and a master POM for all of them.  I use 
> > maven to build the individual projects as well as the 
> integrated web 
> > site. When Maven does this multiproject build, it uses the current 
> > development branch for the project that it is building, but the 
> > current stated _dependencies_, not from the source, for each 
> > dependency.
> > 
> > That is, Maven is NOT doing continuous integration in a 
> multiproject 
> > build.  For example, Maven does not build the dependencies from the 
> > most current source for the stated revision of that dependency.
> > 
> > So, my question is: Is anyone doing continuous integration builds 
> > using Maven and how?
> 
> We are, via CruiseControl.  We have 27 projects that all 
> share a master POM (17 applications & 10 libraries).  Any 
> time someone checks in code CruiseControl checks it back out, 
> builds the project and dropps a SNAPSHOT jar in the repository.
> 
> As of version 2.2 you can have CruiseControl check a 
> project's POM for SNAPSHOT dependencies and rebuild when 
> their timestamp changes.  So, anytime a library changes any 
> project that uses it is also rebuilt (and tested).
> 
> -
> 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: Anyone really doing continuous integration with Maven?

2004-12-03 Thread STRAYER, JON \(SBCSI\)

> I have about 15 projects and a master POM for all of them.  I 
> use maven to build the individual projects as well as the 
> integrated web site. When Maven does this multiproject build, 
> it uses the current development branch for the project that 
> it is building, but the current stated _dependencies_, not 
> from the source, for each dependency.
> 
> That is, Maven is NOT doing continuous integration in a 
> multiproject build.  For example, Maven does not build the 
> dependencies from the most current source for the stated 
> revision of that dependency.
> 
> So, my question is: Is anyone doing continuous integration 
> builds using Maven and how?

We are, via CruiseControl.  We have 27 projects that all share a master
POM (17 applications & 10 libraries).  Any time someone checks in code
CruiseControl checks it back out, builds the project and dropps a
SNAPSHOT jar in the repository.

As of version 2.2 you can have CruiseControl check a project's POM for
SNAPSHOT dependencies and rebuild when their timestamp changes.  So,
anytime a library changes any project that uses it is also rebuilt (and
tested).

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



RE: sending mail to module owner if build fails.

2004-11-30 Thread STRAYER, JON \(SBCSI\)
See:  http://cruisecontrol.sourceforge.net/

BTW, the latest release of CruiseControl (2.2) includes
mavensnapshotdependency which will check your POM for snapshot
dependencies and then check your repository for changes (triggering a
build if a dependency changes).


> -Original Message-
> From: rajas kumar [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 30, 2004 7:49 AM
> To: Maven Users List; Corey Scott
> Subject: Re: sending mail to module owner if build fails.
> 
> 
> Hai i am unable to figure out this problem.If you have any 
> idea or any thing u got for sending mails please forward to 
> me i am waiting for your reply. 
> 
> Corey Scott <[EMAIL PROTECTED]> wrote:Rajas,
> 
> As Brett eluded, the easiest (at least IMHO) is to use 
> cruisecontrol. You should find the documentation good and 
> setup quite straight-forward. I am happy to help you with 
> this if you would like to explore it as an option.
> 
> -Corey
> 
> 
> On Tue, 30 Nov 2004 00:49:07 -0800 (PST), rajas kumar
> 
> wrote:
> > The link which you have given able to send mail if test 
> case filures. 
> > But i want to send mail eventhough compiltion fails. how can i use 
> > control to send mail.plz let me know the solution.
> > 
> > Brett Porter
> wrote:no, nagEmailAddress does nothing on its own. It can be 
> used with a
> > tool like Cruise Control to mail a failed build.
> > 
> > This might help for tests, not build failures: 
> > http://wiki.codehaus.org/maven/EmailTestReports
> > 
> > Search the mail archives. This has been discussed in the last week.
> > 
> > - Brett
> > 
> > On Tue, 30 Nov 2004 15:53:54 +0800, Corey Scott wrote:
> > > Rajas,
> > > 
> > > You should find setting the in the build section of
> > > your POM for all the modules should get the job done for you.
> > >
> > > -Corey
> > >
> > > 
> 
> > > -
> > > 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]
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

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



Compile failure

2004-11-24 Thread STRAYER, JON \(SBCSI\)
Does anyone know what this means:

Unable to obtain goal [site] --
/home/wfausers/wfaoper/.maven/cache/maven-jdepend-plugin-1.5/plugin.jell
y:57:26:  Java returned: 9

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



RE: Use of ${version_num} in ?

2004-11-19 Thread STRAYER, JON \(SBCSI\)

It seems that using SNAPSHOT in an override doesn't work.  Is that a bug
or a feature?  :-)

> you will need to put it into project.properties for that to work.
> 
> However, there is a built in mechanism for that: jar overrides.
> 
> in project.properties:
> maven.jar.override=on
> maven.jar.commons-logging=1.0.4
> 
> Cheers,
> Brett
> 
> On Thu, 18 Nov 2004 18:27:55 -0500, Barry Kaplan 
> <[EMAIL PROTECTED]> wrote:
> > If I did in maven.xml:
> > 
> >  
> > 
> > And then in project.xml:
> > 
> >  
> >  commons-logging
> >  commons-logging
> >  ${commons_logging_version}
> >  
> > 
> > Should this work? The dependency downloading is seeing a null value 
> > for the version. I have seen the following work:
> > 
> >  
> >  geronimo
> >  geronimo-kernel
> >  ${pom.currentVersion}
> >  
> > 
> > But is that because its a pom variable?
> > 
> > --
> > barry kaplan
> > [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: Use of ${version_num} in ?

2004-11-19 Thread STRAYER, JON \(SBCSI\)
Hey, could I do something like this in command line options?

Maven -D maven.jar.override=on maven.jar.commons-logging=1.0.4

That way I could have the CruiseControl build always use SNAPSHOTs
without having to switch the dependencies back an forth in the
project.xml


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



RE: Issue with SCM checkout, prepare-release and perform-release

2004-11-09 Thread STRAYER, JON \(SBCSI\)
FWIW, I've never been able to get scm:prepare-release to work from a
shell script.

> -Original Message-
> From: Juan Alvarado [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 09, 2004 2:19 PM
> To: [EMAIL PROTECTED]
> Subject: Issue with SCM checkout, prepare-release and perform-release
> 
> 
> Hello:
> 
>  
> 
> We are trying to use the scm plugin to check out and build 
> our project right out of CVS. 
> 
>  
> 
> The following are the steps in our sequence of events
> 
> maven scm:checkout-project -Dmaven.scm.cvs.tag=HEAD
> 
>  
> 
> The above checks out the project from CVS into the 
> ${basedir}/checkout directory as indicated below in our 
> properties settings.
> 
>  
> 
> Next steps in the sequence are these:
> 
> maven scm:prepare-release  -Dmaven.scm.cvs.tag=$buildVersion
> 
> maven scm:perform-release  -Dmaven.scm.cvs.tag=$buildVersion
> 
>  
> 
> We run the above command from a shell script so just assume 
> that $buildVersion is a valid tag.
> 
>  
> 
> The problem we are having is that maven is not using the 
> files in the ${basedir}/checkout directory in the above two 
> commands. Maven is using a completely different set of files 
> to run scm:prepare-release and scm:perform-release. Obviously 
> this is not going to work. Is this a bug or are we missing 
> something here. I have included our scm properties below.
> 
>  
> 
> Any help is greatly appreciated in this matter since it is 
> holding us back for the time being.
> 
>  
> 
> Thanks in advance!!!
> 
>  
> 
> maven.scm.cvs.module=FPI
> 
> maven.scm.cvs.root=${pom.repository.cvsRoot}
> 
> maven.scm.bootstrap.goals=multiproject:deploy,multiproject:site
> 
> maven.scm.project.dir=${basedir}/checkout/FPI/JavaSource/fpi-website
> 
> maven.scm.checkout.dir=${basedir}/checkout
> 
> This email is confidential and it is intended solely for the 
> use of the individual or entity to which it is addressed.  If 
> you are not the named addressee, you should not disseminate, 
> distribute or copy this email.  If you have received this 
> email in error, please notify the sender by a Reply.
> 
> If this email is addressed to or sent by an attorney, this 
> email is either an attorney-client privileged communication 
> or a work-product privileged communication, or both.  The 
> United Automobile Insurance Company as well as the sender and 
> intended recipient of this email expressly reserve any and 
> all rights to assert the aforesaid privileges, and do not 
> waive any such rights thereto by virtue of an erroneous email 
> transmission.  This statement shall not hereafter be 
> construed as limiting the assertion of any additional and 
> further legal rights that the parties may have to limit or 
> prohibit any further dissemination, distribution, copying or 
> use of this email.
> 
> 

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



RE: Project Distribution Process

2004-11-04 Thread STRAYER, JON \(SBCSI\)
> Hi,
> I've been working on implementing Maven into my build process 
> and was wondering how to go about a couple of things. 
> 
> When I build a distribution of a project I want Maven to put 
> that newly compiled jar into a central repository so that 
> other projects can reference to it in project.xml. Would this 
> newly created jar go into the same repository that holds all 
> my third party jars? If thats the case then I'd have to 
> create my own central repository and not use the public one?

Sort of.  You would just publish to your own repository, but you can
still use the public one for downloads.

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



RE: Upgrade Maven

2004-10-19 Thread STRAYER, JON \(SBCSI\)
I just dropped it in.

> -Original Message-
> From: MIDON ALEXIS [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 19, 2004 10:19 AM
> To: '[EMAIL PROTECTED]'; Maven Developers List
> Subject: Upgrade Maven
> 
> 
>  
>  
> Hi,
>  
> is there any documentation explaining how to upgrade from 
> 1.0beta7 to release 1.0?
>  
>  
> Alexis
> 

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



RE: Maven

2004-10-19 Thread STRAYER, JON \(SBCSI\)
> 
> > Hi,
> > 
> > Maven creates jar, but with name "PROJECT-version.jar" eg:-
> > PROJECT-12.0.0.jar,
> > is there anyway i can override this to create "project.jar"
> > 
> This is not something which you would normally want to do 
> with maven. Jars and other artifacts are versioned for 
> numerous good reasons.

How many people here are running their applications outside of a
container?

How do you handle setting the class path (when it changes with each
release)?

I ended up taking some code from the maven deploy plugin and modifying
it to generate a class path from the pom.

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



RE: JSLTagLibrary

2004-10-15 Thread STRAYER, JON \(SBCSI\)


> -Original Message-
> what does the  goal is added to?
> 
> 
> On Thu, 14 Oct 2004 17:48:38 -0400, STRAYER, JON (SBCSI) 
> <[EMAIL PROTECTED]> wrote:
> > Running with -X I see this:
> > 
> > Verifying dependencies for 
> > maven-announcement-plugin:maven-announcement-plugin
> > Processing dependencies for project Maven Announcement Plugin; 
> > classloader [Fore
> > headClassLoader: name="root.maven"]
> > adding dependency 
> > /appl/wfa/maven/repository/commons-jelly/jars/commons-jelly-ta
> > gs-xml-20030211.142705.jar into project classloader
> > Could not find the class: 
> > org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> > java.lang.ClassNotFoundException: 
> > org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> > 
> > 
> > I something missing from the jar?
> > 
> > BTW, I deleted and reinstalled Mave and the commons-jelly 
> directory in 
> > the repository.  No joy.
> > 
> > 
> > 
> > 
> > > -Original Message-
> > > From: STRAYER, JON (SBCSI)
> > > Sent: Thursday, October 14, 2004 1:35 PM
> > > To: 'Maven Users List'
> > > Subject: JSLTagLibrary
> > >
> > >
> > >
> > > I have this plugin I wrote that we use to release and deploy our 
> > > projects.  One of the goals is:
> > >
> > >   
> > >   
> > >   
> > >
> > > Nothing fancy, it just makes the name shorter.  It's been working 
> > > fine for days now (what's to go wrong).  But all of a 
> sudden when I 
> > > run it I get:
> > >
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> > >
> > > Could not find the class: 
> > > org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> > > java.lang.ClassNotFoundException: 
> > > org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> > > at 
> java.security.AccessController.doPrivileged(Native Method)
> > > at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> > >
> > >
> > > When I run scm:update-project directly it works just fine.
> > >
> > >
> > > Does anyone have a clue they could share?
> > >
> > 
> > 
> -
> > 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: JSLTagLibrary

2004-10-14 Thread STRAYER, JON \(SBCSI\)
Running with -X I see this:

Verifying dependencies for
maven-announcement-plugin:maven-announcement-plugin
Processing dependencies for project Maven Announcement Plugin;
classloader [Fore
headClassLoader: name="root.maven"]
adding dependency
/appl/wfa/maven/repository/commons-jelly/jars/commons-jelly-ta
gs-xml-20030211.142705.jar into project classloader
Could not find the class:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary
java.lang.ClassNotFoundException:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary


I something missing from the jar?

BTW, I deleted and reinstalled Mave and the commons-jelly directory in
the repository.  No joy.



> -Original Message-
> From: STRAYER, JON (SBCSI) 
> Sent: Thursday, October 14, 2004 1:35 PM
> To: 'Maven Users List'
> Subject: JSLTagLibrary
> 
> 
> 
> I have this plugin I wrote that we use to release and deploy 
> our projects.  One of the goals is:
> 
>   
>   
>   
> 
> Nothing fancy, it just makes the name shorter.  It's been 
> working fine for days now (what's to go wrong).  But all of a 
> sudden when I run it I get:
> 
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> 
> Could not find the class: 
> org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> java.lang.ClassNotFoundException: 
> org.apache.commons.jelly.tags.jsl.JSLTagLibrary
> at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> 
> 
> When I run scm:update-project directly it works just fine.
> 
> 
> Does anyone have a clue they could share?
> 

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



JSLTagLibrary

2004-10-14 Thread STRAYER, JON \(SBCSI\)

I have this plugin I wrote that we use to release and deploy our
projects.  One of the goals is:



  

Nothing fancy, it just makes the name shorter.  It's been working fine
for days now (what's to go wrong).  But all of a sudden when I run it I
get:

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Could not find the class:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary
java.lang.ClassNotFoundException:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)


When I run scm:update-project directly it works just fine.


Does anyone have a clue they could share?

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



Thank you

2004-10-13 Thread STRAYER, JON \(SBCSI\)
To everyone who has written code or documentation for Maven, thank you.
To everyone who has answered my questions here, thank you.

You have made my work life significantly easier.

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



RE: Maven 1.0.1

2004-10-12 Thread STRAYER, JON \(SBCSI\)
Is the scope reflected in Jira?

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 12, 2004 7:28 AM
> To: Maven Users List
> Subject: Re: Maven 1.0.1
> 
> 
> the scope has been decided. There are still a number of 
> issues on the roadmap to achieve first.
> 
> - Brett
> 
> 
> On Tue, 12 Oct 2004 14:20:21 +0200, 
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > some days ago I heard a 1.0.1 realease was decided, what is 
> the curent
> >status of the delivery ?
> > 
> > Julien
> > 
> > This message and any attachments (the "message") is
> > intended solely for the addressees and is confidential.
> > If you receive this message in error, please delete it and 
> immediately 
> > notify the sender. Any use not in accord with its purpose, any 
> > dissemination or disclosure, either whole or partial, is prohibited 
> > except formal approval. The internet can not guarantee the 
> integrity 
> > of this message. BNP PARIBAS (and its subsidiaries) shall (will) not
> > therefore be liable for the message if modified.
> > 
> > -
> > 
> > Ce message et toutes les pieces jointes (ci-apres le
> > "message") sont etablis a l'intention exclusive de ses 
> destinataires 
> > et sont confidentiels. Si vous recevez ce message par 
> erreur, merci de 
> > le detruire et d'en avertir immediatement l'expediteur. Toute 
> > utilisation de ce message non conforme a sa destination, toute 
> > diffusion ou toute publication, totale ou partielle, est interdite, 
> > sauf autorisation expresse. L'internet ne permettant pas
> > d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> > filiales) decline(nt) toute responsabilite au titre de ce
> > message, dans l'hypothese ou il aurait ete modifie.
> > 
> > 
> -
> > 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]



Maven 2.0 question

2004-10-07 Thread STRAYER, JON \(SBCSI\)
Is Jelly still the scripting language for Maven 2.0?

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



RE: CruiseControl, Maven, modificationsets

2004-10-07 Thread STRAYER, JON \(SBCSI\)
>From what I understand the next version of CruiseControl is supposed to
have an idea of dependencies.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 07, 2004 9:51 AM
> To: Maven Users List; Nigel Magnay
> Subject: Re: CruiseControl, Maven, modificationsets
> 
> 
> Nigel,
> 
> If the project you are dependent upon is also being built by 
> CruiseControl, you can add a  element inside the 
> modificationset like so:
> 
>logdir="/usr/local/cruisecontrol/logs/dependentProject">
>   
> 
> This basically states that anytime a new build of 
> dependentProject occurs, build the project even if there are 
> no changes in cvs.
> 
> What this won't do is always build dependentProject first. 
> That is, if you make changes in both projects, there's no 
> guarantee that dependentProject goes first. I'd like to see 
> that feature added somehow.
> 
> -wr
> 
> P.S. This topic probably makes more sense on the 
> CruiseControl mailing list.
> 
> 
> 
> 
> 
> Nigel Magnay <[EMAIL PROTECTED]> on 10/07/2004 06:05:58 AM
> 
> Please respond to "Maven Users List" <[EMAIL PROTECTED]>; Please
>respond to Nigel Magnay <[EMAIL PROTECTED]>
> 
> To:[EMAIL PROTECTED], 
> [EMAIL PROTECTED]
> cc: (bcc: Winston Rast/Jeppesen/TMC)
> 
> Subject:CruiseControl, Maven, modificationsets
> 
> 
> (Embedded image moved to file: pic24464.jpg)
> Hi people
> 
> We're using CruiseControl and Maven quite happily for 
> individual project builds and larger 'continuous integration' 
> type stuff.
> 
> Cruisecontrol gets launched with the cvs modificationset 
> detecting whether there have been any changes to a part of 
> the cvs repo relevant to that project.
> 
> It would be very useful to have an additional modificationset 
> that used the maven dependency list in order to find out if 
> any of the dependencies has been modified in the local (or 
> maybe remote) repo.
> 
> I think it might be relatively easy to call out to maven to 
> get it to show the timestamp for all the dependencies that it 
> is going to use, and compare them to a previously stored list.
> 
> Has anyone already written anything like this?
> 
> -
> 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]



SNAPHOTs

2004-09-25 Thread STRAYER, JON (SBCSI)
Before each release I resolve each snapshot dependency to a specific
release.  After the release I change them back to SNAPSHOT (so CruiseControl
is going integration builds).

That's a lot of back and forth editing.  Is there a simpler way?  I guess a
could write a plugin to change all the dependencies tagged with a particular
property to SNAPSHOT.  Is there an easier way?

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



RE: sending mails on build failure

2004-09-21 Thread STRAYER, JON (SBCSI)
Use CruiseControl:  http://cruisecontrol.sourceforge.net/
With the Maven builder:
http://cruisecontrol.sourceforge.net/main/configxml.html#maven

> -Original Message-
> From: Ashutosh Kumar [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 21, 2004 9:33 PM
> To: [EMAIL PROTECTED]
> Subject: sending mails on build failure
> 
> 
> How can I automate sending of mail on build failure?
> Regds
> Ashutosh
> 

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



RE: Reloading the POM

2004-09-17 Thread STRAYER, JON (SBCSI)
> no, unless you run them using maven:maven or maven:reactor.

Bummer.

> 
> You shouldn't be releasing on update without checking the 
> changes work. 

I'm not.  But previous testing has been with SNAPSHOTs.

> If this is just to run a release, I suggest 
> maven scm:perform-release, which checks out a clean copy from 
> a tag and releases that.

I'd like that, but that fails because the clean copy can't find the parent
project.xml.

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



Reloading the POM

2004-09-16 Thread STRAYER, JON (SBCSI)
Is there a jelly tag I can use from a maven.xml file that will cause the pom
to be reloaded?

I have a list of steps I take before releasing a library:

maven scm:update-project
maven validate-pom-for-release
maven scm:prepare-release
maven jar:deploy

And I'd like to wrap them all in a single goal.  But that won't work if the
POM is updated in step one but not reloaded.

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



RE: How to schedule a nightly build in Maven

2004-09-14 Thread STRAYER, JON (SBCSI)
CruiseControl does that automatically if it can use the CVS id as an email
address.  Otherwise you have to map them for it.

> -Original Message-
> From: Peter Melling [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 14, 2004 1:23 PM
> To: 'Maven Users List'
> Subject: RE: How to schedule a nightly build in Maven
> 
> 
> 
> 
> -----Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 10:40 AM
> To: 'Maven Users List'
> Subject: RE: How to schedule a nightly build in Maven
> 
> > Anytime a build fails I and whoever checked in
> > code since the last build get notified.  The notification 
> includes the 
> > entire Maven log (so it's pretty easy to tell what failed).
> 
> How do you get it to send an email to the person who last 
> checked in code???
> 
> 
> Peter
> Sinex Aviation Technologies
> 
> 
> 
> -
> 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: apartment hunt

2004-09-10 Thread STRAYER, JON (SBCSI)
What country?

> -Original Message-
> From: Adam Fisk [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 10, 2004 1:09 PM
> To: Adam Fisk
> Subject: apartment hunt
> 
> 
> Hi Friends of Adam-
> 
> The building I currently live in is getting torn down in a couple of 
> weeks, so I need to find a new apartment.  Our landlords have been 
> sending a thugish weenie of a man around every morning at 8AM to take 
> photographs of us and to hurl subpeonas through the door 
> because they're 
> afraid we'll try to squat in their building.  He's a strange little 
> Polish mafia thug type sent to intimidate, but the large 
> stuffed animal 
> peering out from the front seat of his car hampers his 
> effectiveness.  
> That's a whole other story for a different time, though.  Let's stay 
> focused. 
> 
> Anyone know of any good apartments?  I'm willing to live with 
> people or 
> alone.  A cheap studio or one bedroom would probably be ideal, with a 
> studio probably being the best.  If I live with people, women would 
> probably be preferable as roommates, or men with a knack for 
> living with 
> other human beings.  I would love to stay in Williamsburg 
> because I've 
> grown oddly attached to the overpriced health food stores, and I'm 
> afraid to live too far away from my brother and Lesley.  I would live 
> almost anywhere if the place were nice and the price was 
> right, though.  
> I would like to pay under $1300, and under $1000 would be 
> preferable.  
> If I live with people, I'd like to pay less. 
> 
> Anyway, that's a long winded way of saying please let me know if you 
> know of any nice apartments. 
> 
> Hope everyone's well.
> 
> -Adam
> 
> -
> 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 schedule a nightly build in Maven

2004-09-09 Thread STRAYER, JON (SBCSI)
> CruiseControl seems like a good choice. It however requires 
> having Ant build scripts, which than again makes Maven 
> unnecessary in this scenario (nightly build system)..? Or am 
> I wrong here?

CruiseControl now has a Maven builder.  
http://cruisecontrol.sourceforge.net/main/configxml.html#maven

> 
> I see that Maven has a plugin for CruiseControl and vice 
> versa, what are the potential advantages of integrating these 
> two tools?

The advantage is that you only have to specify something's in one place.  
You really wouldn't want to do your test builds with ANT and your deployment
builds with Maven (it would be too easy to get them out of sync).
 
> Please tolerate my newbie questions ;) 

The only people who aren't Maven newbies work on the project.  :-)

> What our J2EE project 
> needs is a continous build system tests which creates some 
> kind of notification if the build fails.

We don't have a J2EE project yet, but what we have is a set of nine (and
growing) pojo projects that CruiseControl does continuous builds on using
Maven as the build system.  Anytime a build fails I and whoever checked in
code since the last build get notified.  The notification includes the
entire Maven log (so it's pretty easy to tell what failed).

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



RE: How to schedule a nightly build in Maven

2004-09-09 Thread STRAYER, JON (SBCSI)
We use CruiseControl for this.

> -Original Message-
> From: Dinko Hadzic [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 7:22 AM
> To: [EMAIL PROTECTED]
> Subject: How to schedule a nightly build in Maven
> 
> 
> Hi
> 
>  
> 
> Is it possible to schedule a periodical nightly build of a 
> J2EE project with Maven, and what is the best approach? Could 
> you please give me some hints to get started?
> 
>  
> 
> Is CruiseControl the tool I should be looking at, or does 
> this functionality also exist within Maven?
> 
>  
> 
> Thanks
> 
> \Dinko
> 
> 

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



RE: [Poll] Writing documentation with Maven

2004-09-07 Thread STRAYER, JON (SBCSI)
 
> 1. What format do you use to write documentation?
>A. xdoc
>B. html
>C. docbook
>D. latex
>E. who needs documentation?

Xdoc,

 
> 2. If you didn't choose A, how do you transform your doc to 
> be integrated in a Maven powered site?
>A. html2xdoc
>B. docbook plugin
>C. sdocbook plugin
>D. latex plugin
>E. other, please say what
>F. I don't transform, only link to my docs
>G. I write it again

N/A
 
> 4. What tool do you use to write the docs?
>A. notepad / vi and similar
>B. one that is not WYSIWYG (please say what)
>C. a WYSIWYG editor (please say what)
>D. an hex editor

Eclipse (the MyEclipse XML editor)
 
> 3. Would you like to use another format instead of answered 
> in (1) and why?

Maybe, but I wouldn't know what.

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



RE: my plugin is not available

2004-08-17 Thread STRAYER, JON (SBCSI)
Did you install it?
maven plugin:install

> -Original Message-
> From: Eugene Kirin [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 17, 2004 11:23 AM
> To: Maven Users List
> Subject: my plugin is not available
> 
> 
> Hello!
> I wrote my own plugin (ev-buildsys-plugin) and when I use 
>  value="test"/> I get the next message "Plugin 
> 'ev-buildsys-plugin' in project 'null' is not available". How 
> can I make available?
> 
> my project.xml for plugin is:
> 
> 
>   3
>   ev-buildsys-plugin
>   1.0
> 
> 
> project.properties is empty
> plugin.properties contains: include=evg
> plugin.jelly: 
> 
> 
> 
>xmlns:ant="jelly:ant"
>   xmlns:j="jelly:core"
>   xmlns:u="jelly:util"
>   xmlns:define="jelly:define"
>   xmlns:aw="aspectwerkz">
> 
>   
> Plugin: ${include}
>   
> 
> 
> As you can see everything is simple, so what did I miss?
> 
> Thanks for your responses!!
> 
> 
> 
> Sincerely, Eugene Kirin
> East View Information Services - Moscow
> Research and Development Department
> 
> URL: http://www.eastview.com
> 

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



Inherited project.xml

2004-07-24 Thread STRAYER, JON (SBCSI)
I have a project.xml that starts off 
${basedir}/../wfa_billing/project.xml

That works fine when I'm doing things in the main directory of the project.
But when I do a scm:perform-release that path doesn't work.  I could give it
an absolute path, but that would suck for other (obvious) reasons.

I could break the dependence on the other project.xml, but that opens up
other problems (I'm going to have 25 or more projects, I don't want to have
to change 25 project.properties files when I change servers.

I suppose I could just not use scm:perform-release.  Can anyone think of
another solution?


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



FTP in plugin

2004-07-23 Thread STRAYER, JON (SBCSI)
I'm trying to ftp from a plugin.  I've used both  and 
The results are the same (nothing).  I see the messages from echo.  Does
anyone have a clue?


My tag looks like this (a blantent ripoff of the release plugin:



   
 




























 

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



First plugin

2004-07-23 Thread STRAYER, JON (SBCSI)
I'm working on my first plugin.  Should I need to delete it 
from the cache each time in install it?

Maven doesn't seem to pick up the changes otherwise.

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



Release plugin

2004-07-15 Thread STRAYER, JON (SBCSI)
Am I correct in thinking that the Maven team doesn't use the release plugin
to build the distributions?

I finally figured out how to get release:build-distribution-bin to include
the dependency jars, but I can't figure out how to get it to include the
project jar.

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



RE: Commercial Maven Equivalents

2004-07-13 Thread STRAYER, JON (SBCSI)
> I have been pushing the use of Maven in my company.  People 
> would like a comparison of Maven against other alternatives, 
> especially commercial software.  What are the available 
> commercial equivalents of Maven?

I'd ask the people asking for the comparison.  Besides for some commercial
versions of "make" I can't think of any commercial build tools.  But that
just may be due to my ignorance.


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



RE: dependency should use not

2004-07-08 Thread STRAYER, JON (SBCSI)
> For those that use the multiproject plugin - how do you typically 
> develop?  Do you make tweaks to the "core" module and then 
> "install" it 
> before working on your "web" project?

Sort of.  When I check in code to my "core" project, Cruise Control checks
it out, builds it, and installs it in our remote repository.

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



RE: Maven & CruiseControl

2004-07-06 Thread STRAYER, JON (SBCSI)
I've been doing this for a while.  The only time I remember seeing this
message is when the compile failed.  

> I've just started experimenting with using CruiseControl to 
> manage running our Maven based build.  This all works a treat 
> but with one minor niggle - on the summary emails that are 
> sent out it does list the test:test goal in what's been 
> executed, but then later down it says "this project has no 
> unit tests".
> 
> So I'm a bit unsure if this is due to:
> 1. My Maven project being misconfigured
> 2. CruiseControl not understanding Maven-run unit tests
> 3. My CruiseControl project being misconfigured
> 
> Admittedly the latter would be more for the CC user list, not 
> Maven, but I don't have the address for that...
> 
> Does anybody have any experience of doing this and have any 
> wisdom they can share?
> 
> thanks
> 
> James
> 
> 
> --
> --
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
> 
> 
> Internet communications are not secure and therefore the Barclays 
> Group does not accept legal responsibility for the contents of this 
> message.  Although the Barclays Group operates anti-virus programmes, 
> it does not accept responsibility for any damage whatsoever that is 
> caused by viruses being passed.  Any views or opinions presented are 
> solely those of the author and do not necessarily represent 
> those of the 
> Barclays Group.  Replies to this email may be monitored by 
> the Barclays 
> Group for operational or business reasons.
> 
> --
> --
> 
> 
> -
> 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]



Multiproject build failure

2004-07-02 Thread STRAYER, JON (SBCSI)
I'm in the process of splitting a project up into several subprojects.  I've
been running the multiproject build for weeks without problems.  I just
changed the subprojects so they extend the main project.  Each subproject
builds fine, but now when I run multiproject I get this error message:

multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...

BUILD FAILED
File..
/home/wfausers/wfaoper/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.j
elly
Element... maven:reactor
Line.. 63
Column 9
A cycle has been detected from the initial goal [wfa-billing:core]
Total time: 21 seconds
Finished at: Fri Jul 02 08:11:35 CDT 2004

How can I go about finding the cycle it's complaining about?

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



RE: Maven eclipse plugin

2004-06-29 Thread STRAYER, JON (SBCSI)
I attached the patch to the issue.

> -Original Message-
> From: Eric Pugh [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 28, 2004 4:35 PM
> To: Maven Users List
> Subject: RE: Maven eclipse plugin
> 
> 
> Sure..   There have been some changes to try and decouple 
> plugins from each
> other..   A while back it seemed like every plugin had a very tight
> dependency on every other plugin!
> 
> Eric
> 
> > -----Original Message-
> > From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 28, 2004 8:45 PM
> > To: 'Maven Users List'
> > Subject: Maven eclipse plugin
> >
> >
> > The plugin project.xml seems to be missing a dependency on cactus.
> >
> > That is, when I ran the plugin on a clean install it failed with a 
> > message that the plugin wanted the cactus tags, but that 
> they weren't 
> > present.
> >
> > After I installed the cactus plugin everything worked fine.
> >
> > I see it is issue MPECLIPSE-16.  I think I could fix this 
> one, should 
> > I submit a patch?
> >
> >
> > 
> -
> > 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]



Maven eclipse plugin

2004-06-28 Thread STRAYER, JON (SBCSI)
The plugin project.xml seems to be missing a dependency on cactus.

That is, when I ran the plugin on a clean install it failed with a message
that the plugin wanted the cactus tags, but that they weren't present.

After I installed the cactus plugin everything worked fine.

I see it is issue MPECLIPSE-16.  I think I could fix this one, should I
submit a patch?


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



RE: Dashboard

2004-06-26 Thread STRAYER, JON (SBCSI)
> However, in your previous email you mentioned you had set 
> maven.multiproject.basedir=${basedir}/../
> 
> Thus you should probably set:
> 
> maven.dashboard.basedir=${basedir}/../
> 
> Let me know if it helps

Bingo!  That did it!  Thanks!

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



RE: Dashboard

2004-06-25 Thread STRAYER, JON (SBCSI)


> -Original Message-
> From: Vincent Massol [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 25, 2004 3:00 AM
> To: 'Maven Users List'
> Subject: RE: Dashboard
> 
> 
> Hi Jon,

Thanks for your help Vincent.

> This should generate individual dashboard reports in each of 
> the subprojects (BTW, you should probably also exclude your 
> main project: main/project.xml). These reports are named: 
> dashboard-single.xml

That seems to be working.  The individual projects do have the
dashboard-single.xml files and the files to  have valid information in them.

> 
> Then you also need to generate the main dashboard report. You have 2
> solutions:
> 1/ by adding the dashboard report to the list of reports for 
> the main project and typing "maven site" 2/ by simply typing 
> "maven dashboard" for in your main project
> 
> That should generate a main/target/dashboard-data.xml file 
> and main/target/docs/dashboard-*.html files.
> 
> If that's what you're doing and the report is empty, can you 
> check the files mentioned above and see what they contain 
> (dashboard-single.xml, dashboard-data.xml)?

After the multiproject run finished the dashboard-data.xml file just had 





So, I ran "maven dashboard" and it was still empty.  If you tink of anything
please let me know.  I'm going to dig around in the dashbpoard jelly and see
if I can figure out what's going wrong.

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



Dashboard

2004-06-24 Thread STRAYER, JON (SBCSI)
I have one main project and five subprojects that I'd like to get the
dashboard report working for.  The projects (main and sub) are all on the
same level of the directory tree.

Root/
 main
 sub1
 sub2
 etc

I can build all the sites with the multiproject plugin, but the dashboard
report in the main project is empty.  My project.properties contians

maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=*/project.xml
maven.multiproject.excludes=WBNT/project.xml
maven.multiproject.site.goals=site,dashboard:report-single

And

maven.dashboard.includes=*/project.xml
maven.dashboard.excludes=**/target/**/project.xml,WBNT/project.xml

maven.dashboard.runreactor = false
maven.dashboard.rungoals = true
maven.dashboard.aggregators =
cserrors,cswarnings,clovertpc,cloverloc,cloverncloc

Does anyone know where I can get a clue?

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



RE: Error in generating site on HP-UX

2004-06-17 Thread STRAYER, JON (SBCSI)
> Since I got no response from my earlier post (below), I 
> thought I'd try again with additional questions:
> 
> Is anyone successfully using Maven v. 1.0-rc2 on HP-UX B.11.11?

Close.  I was using Maven RC2 on HP-UX B.11.00 E 9000/800
I've since upgraded to RC3.

> Does anyone have any idea what the cryptic error message 
> "Could not parse Jelly script" means, or how to understand 
> what the parser is choking on in source file, since no source 
> file line number is referenced?

I can't be positive, but I think this has something to do with it:

> maven-linkcheck-plugin:report-real:
> [echo] Generating 
> /vobs/rpa/sceg_delivery/Q:/process_automation/projects/build/o
> pt/tomcat/weba

Q: on HPUX?


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



RE: Goal order

2004-06-16 Thread STRAYER, JON (SBCSI)
If your dependency jars are in CVS they aren't really dependencies as far as
Maven is concerned (except for the dependency report).  Just leave them out
of the POM.

Or, each time you update a jar CVS add the jar to the local Maven
repository.  Then it can find it.

> -Original Message-
> From: Bielby, Randy J [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 16, 2004 8:31 AM
> To: Maven Users List
> Subject: RE: Goal order
> 
> 
> I've been thinking about doing just that.  As much as I would 
> like to use Maven, it appears more and more like I am trying 
> to put  a square peg into a round hole.  As crazy as this 
> might sound I'm thinking of doing my CVS checkout, compile 
> and bundle using Ant, which it what I am currently doing.  
> And then using Maven for all the other project reports etc.  
> I guess I could do that with Ant also, it's just that Maven 
> seems so much easier.
> 
> Randy Bielby
> x32258
>  
>  
> 
> 
> >-Original Message-
> >From: Steven Lohrenz [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, June 16, 2004 3:13 AM
> >To: 'Maven Users List'
> >Subject: RE: Goal order
> >
> >
> >I looked through the sources hoping against hope that the dependency 
> >task was a goal too, (then you could do a preGoal on it and viola 
> >problem solved) but it doesn't seem to be.
> >
> >Here's a possible work around:
> >Build an ant script to do only the relevant cvs downloads 
> and install 
> >the jars into your WEB-INF/lib directory and then have it 
> launch maven.
> >
> >Ugly? Yes.  Working with 2 build tools: Not ideal, I know, 
> but I would 
> >say that it's better than using Ant for everything that you 
> want to do.
> >
> >But it'll work.
> >
> >Then you can ask that the dependency task be a plug-in/goal 
> which could 
> >be preGoaled and maybe would get it in a version or two.  Or 
> maybe it 
> >is a goal already and we don't know about it?
> >
> >Steven Lohrenz
> >
> >-Original Message-
> >From: Bielby, Randy J [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, June 15, 2004 6:44 PM
> >To: Maven Users List
> >Subject: RE: Goal order
> >
> >Yes, there is an easier way to work with Maven.  But I don't 
> have the 
> >luxury  (see thread 
> >http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
> >.apache.o
> >rg&msgNo=13520).  Although some would argue that it's not a 
> luxury, and 
> >I'd have to agree.
> >
> >So, if I am going to try to build this from the pom, without 
> having all 
> >dependencies available in the repository, I need to get my 
> cvs checkout 
> >of at least the web-inf/lib to run prior to the dependencies goal.
> >
> >Randy Bielby
> >x32258
> > 
> > 
> >
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >>Sent: Tuesday, June 15, 2004 9:44 AM
> >>To: Maven Users List
> >>Subject: Re: Goal order
> >>
> >>
> >>
> >>Are you saying that your project dependencies (jar files) are
> >stored in
> >>CVS?
> >>
> >>How often are these jar files updated?
> >>
> >>Have you tried setting up your local and/or local-remote
> >>repository that
> >>contains these jar files?  
> >>
> >>What is the supposed to be the end result of your build?  War?
> >>
> >>And I would guess that by adding a war:install goal, you want it 
> >>installed in your local repository.
> >>
> >>I'm asking because I think there is an easier way to use
> >Maven than the
> >>way you are.
> >>
> >>Steve Lohrenz
> >>
> >>"Bielby, Randy J" <[EMAIL PROTECTED]> wrote on 06/15/2004,
> >04:22:02 PM:
> >>> Thanks to some good response from the list I've made some
> >progress in
> >>> getting my build process into Maven.
> >>>  
> >>> I am pulling some of my dependencies from my WEB-INF/lib by
> >>overriding
> >>> the maven.jar property and using the jar element in the
> >>dependency goal.
> >>> In order to make this work though I first have to have a 
> copy of my 
> >>> projects from CVS.  If I remove them I get errors that no
> >>download url
> >>> was specified for the jars and thus the build stops due to the 
> >>> dependencies not being fulfilled.  I have also added a goal for 
> >>> war:install to my maven.xml file.
> >>>  
> >>> The problem is that it appears the dependencies are running
> >>prior to the
> >>> cvs checkout.  But since many of the jars are being pulled
> >>from one of
> >>> the projects within cvs, it errors off, chicken of the 
> egg scenario. 
> >>> So, I either have something missing that will tell Maven that my 
> >>> dependencies are in one of the projects being pulled from
> >>CVS or I need
> >>> to adjust the order of the goals, scm first and then dependencies.
> >>>  
> >>> Any thoughts?
> >>>  
> >>> Randy Bielby
> >>> x32258
> >>--
> >>Steven Lohrenz
> >>086 177 4024
> >>[EMAIL PROTECTED]
> >>
> >>
> -
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >

RE: Jar help

2004-06-16 Thread STRAYER, JON (SBCSI)
> 1 - My development staff is used to keeping their workspace 
> in sync with CVS and doing so thru the WSAD interface (ie 
> Eclipse CVS perspective). I'm not that concerned with 
> "bloating" out the CVS respository.  Those jars in the 
> WEB-INF/lib typically do not change that often, if ever. But 
> they are duplicated on other projects, which I have no 
> control over. So, if I were to switch to the Maven approach, 
> as right as it might seem, I would then have to require 
> developers to use two tools, CVS and Maven, to keep their 
> workspaces current.

This is what I'm about to do.  We are in the process of splitting a medium
size project up into about 20 tiny projects (to give us some better
resolution for releases).  I'd hate to try and control the dependencies
without Maven.  To use the "store the jars in CVS" method, every developer
of every project would have to know which projects use his jar.  With the
repository I only have to know the jars I use.


>  I guess you could argue that I could 
> eliminate the direct access of CVS and do that via Maven, but 
> I'm not sure I want to go that route.  

You can use Maven from within Eclipse just as you use CVS from within it.  

> I'm in a large IT shop 
> and swimming upstream like this is not something I enjoy.  

I know the feeling.  :-)

> Due to the internal corporate economy and corporate politics, 
> our development structure is very fragmented into smaller 
> development teams all working on the same
> code base.   

All the teams work on one code base?  

> The current build mechanism for developers is 
> WSAD and CVS, introducing Maven may be more then I want to
> bite off.  

That's your call.  I started just using it to generate our web site.  Now it
generates all the official builds.  Soon I'll figure out how to get it to do
a release for me.  Start small and work your way up.

Until I get my developers used to using Maven our jar files are going to
live in CVS just like yours.  But that does limit how we can organize
ourselves.

> And 
> in reality more then the staff here could handle  I'm not 
> saying I don't agree with John, as I do.  It's just that the 
> reality in large corporate environments like mine, sometimes 
> do not lend themselves to change.  I am also swimming 
> upstream with standards that are being mandated outside of my 
> area that do not fit with a tool like Maven.  In fact I'm 
> struggling to keep Ant and CVS as my build tools.

What do they want to replace them with?


> 2 - While the idea of the Maven repository is nice, does it 
> really make sense in the context of corporate development?  
> There are many pieces of an application that get assembled to 
> create the end result, the artifact if you will.  By 
> introducing the Maven repo, we have now introduced an 
> additional repository as input for the build and development 
> process.  I would rather have a single source for all of the 
> components of my artifact.  

I don't see that as a problem.  The way our build system works, when someone
checks code into CVS CruiseControl (via Maven) checks it out, build and
tests it and then drops a jar in the repository.  Everyone who needs that
jar will get it from the repository.  


> In this case CVS.  While I think 
> that the repo works very well for some fo the open source 
> projects etc, I think it introduces an additional point of 
> potential inconsitencies, at least in my environment.  If the 
> repo had an interface to CVS it then might become more 
> "sellable" in a corporate environment. 

It does,  the link is via the project that provides the jar.  

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



RE: Problem between Maven and Eclipse

2004-06-09 Thread STRAYER, JON (SBCSI)
Add test/conf to the class path and use Class.getResourceAsStream to read
them.

-Original Message-
From: Amato Massimiliano (TLAB)
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 09, 2004 6:54 AM
To: Maven Users List
Subject: Problem between Maven and Eclipse


Hello,

I am starting to integrating all my tests into my environment, but i've
found a problem.

My tests needs to read some settings from configuration files while others
reads data from XML. I have all those files under test/conf dir so when I
launch "maven test" those are moved into target/test-classes and succesfully
read by test classes.

Now the problem, I work with eclipse and i'd like to launch some tests under
that IDE, because it is faster than rerun all the tests for a project, but
obviously the files are not found. I tought about it and I realized that the
class dir in eclipse should be different than target/classes since in this
way also test class are put in that directory that under maven should not
contain them

Anyone has ever solved this problem, since I cannot imagine a solution to
force eclipse to copy conf files into the right directory or another
workaround

Another problem I had with Eclipse is that since I work with CVS eclipse see
the CVS directory under the src tree and copy those files under the class
directory and sometimes doesn't compile.

I had to modify the eclipse plugin so by default it excludes CVS
directories.

Thanks for any help
Max


-
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: I'm obviously stupid

2004-06-08 Thread STRAYER, JON (SBCSI)
Are there any docs on that?

-Original Message-
From: Chuck Daniels [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 8:56 AM
To: Maven Users List
Subject: RE: I'm obviously stupid


Only the properties related to the UI don't work anymore.  That's because
it's all handled through CSS now.  You can override the standard styles or
add new styles by creating xdocs/style/project.css.

> -Original Message-----
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 08, 2004 2:28 PM
> To: 'Maven Users List'
> Subject: RE: I'm obviously stupid
>
>
> That reminds me of something I've been meaning to mention for a
> while:  They
> don't work any more.  Well, I can't speak to all of them, but the 
> banner foreground and background properties don't seem to be used 
> anymore.
>
>
> -Original Message-
> From: Chuck Daniels [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 08, 2004 7:07 AM
> To: Maven Users List
> Subject: RE: I'm obviously stupid
>
>
> See the descriptions of the maven.xdoc.distributionUrl and 
> maven.xdoc.distributionType properties of the xdoc plugin 
> (http://maven.apache.org/reference/plugins/xdoc/properties.html).
>
> > -Original Message-
> > From: J. B. Rainsberger [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 07, 2004 11:05 PM
> > To: Maven Users List
> > Subject: I'm obviously stupid
> >
> >
> > I am fumbling in the dark with Maven. Forgive me. I can't find the 
> > appropriate tutorial material.
> >
> > I am trying to publish a plain Java project to the web. So far, I 
> > have managed to get all the reports working, and now my site has no 
> > links at all to a distribution. Here is a sketch of what I've done.
> >
> > 1. Set up project.xml. Dependencies are cool, info is cool, builds 
> > and tests the product without incident; Clover works.
> >
> > 2. Set up project.properties to generate the site to my "web site 
> > distribution" directory, which is outside my project's tree. (My 
> > site is diasparsoftware.com; the project will be published to
> > diasparsoftware.com/toolkit.)
> >
> > The problem is that the generated site contains no links to the 
> > distribution. I have tried
> >
> > maven dist
> > maven site:generate
> >
> > But for some reason, the site has no links to the distribution. What 
> > magic incantation will make that happen? I know the distribution is 
> > OK, because I can see the .jar files and whatnot, but the generated 
> > site only has Project Documentation; no Downloads section.
> >
> > Please, someone either:
> >
> >   * point me to a /good/ tutorial
> >   * point me to a narrow section of the reference material
> >   * be so kind as to spell it out in an e-mail, which I will post on 
> > my weblog as Google bait for future generations
> >
> > Thanks.
> > --
> > J. B. Rainsberger,
> > Diaspar Software Services
> > http://www.diasparsoftware.com :: +1 416 791-8603
> > Let's write software that people understand
> >
> >
> > 
> > -
> > 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: I'm obviously stupid

2004-06-08 Thread STRAYER, JON (SBCSI)
That reminds me of something I've been meaning to mention for a while:  They
don't work any more.  Well, I can't speak to all of them, but the banner
foreground and background properties don't seem to be used anymore.


-Original Message-
From: Chuck Daniels [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 7:07 AM
To: Maven Users List
Subject: RE: I'm obviously stupid


See the descriptions of the maven.xdoc.distributionUrl and
maven.xdoc.distributionType properties of the xdoc plugin
(http://maven.apache.org/reference/plugins/xdoc/properties.html).

> -Original Message-
> From: J. B. Rainsberger [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 07, 2004 11:05 PM
> To: Maven Users List
> Subject: I'm obviously stupid
>
>
> I am fumbling in the dark with Maven. Forgive me. I can't find the 
> appropriate tutorial material.
>
> I am trying to publish a plain Java project to the web. So far, I have 
> managed to get all the reports working, and now my site has no links 
> at all to a distribution. Here is a sketch of what I've done.
>
> 1. Set up project.xml. Dependencies are cool, info is cool, builds and 
> tests the product without incident; Clover works.
>
> 2. Set up project.properties to generate the site to my "web site 
> distribution" directory, which is outside my project's tree. (My site 
> is diasparsoftware.com; the project will be published to
> diasparsoftware.com/toolkit.)
>
> The problem is that the generated site contains no links to the 
> distribution. I have tried
>
> maven dist
> maven site:generate
>
> But for some reason, the site has no links to the distribution. What 
> magic incantation will make that happen? I know the distribution is 
> OK, because I can see the .jar files and whatnot, but the generated 
> site only has Project Documentation; no Downloads section.
>
> Please, someone either:
>
>   * point me to a /good/ tutorial
>   * point me to a narrow section of the reference material
>   * be so kind as to spell it out in an e-mail, which I will post on 
> my weblog as Google bait for future generations
>
> Thanks.
> --
> J. B. Rainsberger,
> Diaspar Software Services
> http://www.diasparsoftware.com :: +1 416 791-8603
> Let's write software that people understand
>
>
> -
> 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: Multi project

2004-06-06 Thread STRAYER, JON (SBCSI)
Thanks, that did it.

-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 04, 2004 4:02 PM
To: Maven Users List
Subject: Re: Multi project


You have  an old version of xdoc plugin and maven aswell.
Try to wipe out your ${user.home}.maven/plugin dir, remove
your maven and install maven 1.0 rc2

hope it helps

-D
- Original Message - 
From: "STRAYER, JON (SBCSI)" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Friday, June 04, 2004 1:26 PM
Subject: Multi project


> I'm trying the multi-project plugin for the first time and getting 
> this
> error:
>
> BUILD FAILED
> File..
>
file:/home/wfausers/wfaoper/.maven/plugins/maven-multiproject-plugin-1.2/plu
> gin.jelly
> Element... maven:reactor
> Line.. 92
> Column 9
> Unable to obtain goal [site] --
>
file:/home/wfausers/wfaoper/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jell
> y:345:54:  could not include jelly script
> :
>
file://home/wfausers/wfaoper/.maven/plugins/maven-xdoc-plugin-1.6/plugin-res
> ources/site.jsl. Reason: org.apache.commons.jelly.JellyException:
> null:-1:-1:  l> Could not parse Jelly script
>
>
> Does anyone have an idea about what I need to do to fix this?
>
> -
> 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]



Multi project

2004-06-04 Thread STRAYER, JON (SBCSI)
I'm trying the multi-project plugin for the first time and getting this
error:

BUILD FAILED
File..
file:/home/wfausers/wfaoper/.maven/plugins/maven-multiproject-plugin-1.2/plu
gin.jelly
Element... maven:reactor
Line.. 92
Column 9
Unable to obtain goal [site] --
file:/home/wfausers/wfaoper/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jell
y:345:54:  could not include jelly script
:
file://home/wfausers/wfaoper/.maven/plugins/maven-xdoc-plugin-1.6/plugin-res
ources/site.jsl. Reason: org.apache.commons.jelly.JellyException:
null:-1:-1:  Could not parse Jelly script


Does anyone have an idea about what I need to do to fix this?

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



snapshots was [Jelly variables]

2004-06-01 Thread STRAYER, JON (SBCSI)
Thanks Eric, that worked.



-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 01, 2004 2:03 PM
To: Maven Users List
Subject: Re: Jelly variables


Hi Jon

I'll give a try to explain the behavior.

Plugins.. When executing, all of them have a context that is built up 
live on a specific project. For every property or variable that a plugin 
declares, you must call a method of the pom bean to get the actual value 
for the property (or variable) that the plugin uses while executing. My 
guess with maven.final.name, since its a project variable, is set to 
snapshotSignature only in the plugin's context. So its never really set 
back to the original value, it just didn't ever change, in your 
project's context anyway.

Did you try using this snapshotSignature value directly in your project? 
If its empty, ask the plugin for its value, maybe it'll be available in 
your post goal using this call:
${pom.getPluginContext('plugin-name').getVariable('variable')

just guessing here...

Hope it helps
Eric.


STRAYER, JON (SBCSI) wrote:

>I have a deploy goal in my maven.xml that uses the artifact plugin.  
>When I use it to deploy the results of a jar:jar everything works fine.  
>When I use it to deploy a snapshot jar it tries to deploy the normal 
>jar.
>
>My goal is here:
>   
>artifact="${maven.build.dir}/${maven.final.name}.jar"
>  type="jar"
>  project="${pom}"
>  />
>   
>
>As you can see, I'm using maven.final.name for the name of the jar.  
>The jar:snapshot goal sets this varaiable to ${snapshotSignature}.  But 
>by the time my postGoal executes it's back to the name of the normal 
>jar.
>
>My questions are:
>1.  Is there a variable that will be available during the post goal 
>that contains the name of the jar? 2.  What is setting maven.final.name 
>back to the default value?
>
>-
>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]



Jelly variables

2004-06-01 Thread STRAYER, JON (SBCSI)
I have a deploy goal in my maven.xml that uses the artifact plugin.  When I
use it to deploy the results of a jar:jar everything works fine.  When I use
it to deploy a snapshot jar it tries to deploy the normal jar.

My goal is here:
   
  
   

As you can see, I'm using maven.final.name for the name of the jar.  The
jar:snapshot goal sets this varaiable to ${snapshotSignature}.  But by the
time my postGoal executes it's back to the name of the normal jar.

My questions are:
1.  Is there a variable that will be available during the post goal that
contains the name of the jar?
2.  What is setting maven.final.name back to the default value?

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



[uberjar] Uberduber jar?

2004-05-28 Thread STRAYER, JON (SBCSI)
Will uber jar work on other uber jars?  I'm breaking up a project into a set
of projects and my life would be much simpler if I could put two uberjars
into a third uberjar and have everybody find the classes they are looking
for.  But will that work?

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



SCM Plugin

2004-05-27 Thread STRAYER, JON (SBCSI)
Is there any documentation available on how to use the perform-release goal
of the scm plugin?

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



users@maven.apache.org

2004-05-25 Thread STRAYER, JON (SBCSI)
Yep, that's the problem.  I'm glad to know it's not something I'm doing
wrong.  :-)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 25, 2004 11:10 AM
To: [EMAIL PROTECTED]
Subject: Réf. : XDOC URLs and &



hello

is it the http://jira.codehaus.org/browse/MPXDOC-92 ??

if yes you are the third person today to ask about it

Julien



Extranet
[EMAIL PROTECTED] - 25/05/2004 17:56


Veuillez répondre à [EMAIL PROTECTED]
Pour : users

cc :


Objet : XDOC URLs and &


I have some links in my xdocs that require two parameters.  If I just use
"&" in the url the build fails.  If I use "&" that's what I get in the
URL and the URL doesn't work.  What am I doing wrong?

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










This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet can not
guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


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



users@maven.apache.org

2004-05-25 Thread STRAYER, JON (SBCSI)
I have some links in my xdocs that require two parameters.  If I just use
"&" in the url the build fails.  If I use "&" that's what I get in the
URL and the URL doesn't work.  What am I doing wrong?

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



RE: Clover Problem

2004-04-27 Thread STRAYER, JON (SBCSI)
The Cortex people sent me a new clover jar that fixed my problem.   I'm
assuming that there will be a 1.3RC4 pretty soon.  :-)

-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 21, 2004 1:08 AM
To: 'Maven Users List'
Subject: RE: Clover Problem


Hi Jon,

I've had a look. Eveyrthing looks fine in the maven log. Could you try
to narrow the problem? By remove all your sources and adding only one.
See if it works and then work from there till you get the problem again.

Also, make sure you clean your clover database directory before running
Maven in case there's some leftovers that are causing the trouble.

Thanks
-Vincent

> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 21 April 2004 00:34
> To: 'Maven Users List'
> Subject: RE: Clover Problem
> 
> The top level of the Clover report is available at
> http://strayer.org/clover/
> 
> The console log is at http://strayer.org/clover/maven.log
> 
> 
> The command line I used was: maven -X clover > maven.log 2>&1
> 
> -Original Message-
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 20, 2004 3:22 PM
> To: 'Maven Users List'
> Subject: RE: Clover Problem
> 
> 
> Maybe you could show use the problem you're having? Could you also
show
> us the console logs?
> 
> Thanks
> -Vincent
> 
> > -Original Message-
> > From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> > Sent: 20 April 2004 22:06
> > To: 'Maven Users List'
> > Subject: RE: Clover Problem
> >
> > > It may be that the clover version override feature of the plugin
is
> not
> > > working. Could you try modifying the project.xml of the clover
> plugin to
> > > reference version 1.2.4 and put your clover jar in your local
repo?
> >
> >
> > I tried that.
> >
> >
-
> > 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]



Multithreaded Maven

2004-04-27 Thread STRAYER, JON (SBCSI)
Our build box uses some fairly slow processors, but there are 16 of them.
Is there a switch or property I could use to have Maven kick off a bunch of
threads to run the  various plugins?

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



RE: CheckStyle error:Unable to get class information for

2004-04-26 Thread STRAYER, JON (SBCSI)
Well, I just realized that in my case it's having a problem when I have a
@throws tag for and exception I don't import (and don't use the full package
prefix).

-Original Message-
From: Ryan Sonnek [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 12:11 PM
To: Maven Users List
Subject: RE: CheckStyle error:Unable to get class information for


i've had the same problem.  i've filled an issue in jira
(http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHECKSTYLE-20)
regarding this problem and have also searched checkstyle's mailing lists to
no avail.  if anyone out there has a resolution, i have yet to find it.

Ryan

> -----Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 26, 2004 12:06 PM
> To: Maven Users List
> Subject: CheckStyle error:Unable to get class information for
> 
> 
> I noticed some CheckStyle errors saying it couldn't get class 
> information
> for some of the exceptions we throw.  I thought I could solve 
> the problem by
> adding the build path to the classpath Maven passes to 
> CheckStyle, but it is
> already there.
> 
> I'm out of ideas.
> 
> 
> -
> 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]



CheckStyle error:Unable to get class information for

2004-04-26 Thread STRAYER, JON (SBCSI)
I noticed some CheckStyle errors saying it couldn't get class information
for some of the exceptions we throw.  I thought I could solve the problem by
adding the build path to the classpath Maven passes to CheckStyle, but it is
already there.

I'm out of ideas.


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



RE: Clover Problem

2004-04-20 Thread STRAYER, JON (SBCSI)
The top level of the Clover report is available at
http://strayer.org/clover/

The console log is at http://strayer.org/clover/maven.log


The command line I used was: maven -X clover > maven.log 2>&1

-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 20, 2004 3:22 PM
To: 'Maven Users List'
Subject: RE: Clover Problem


Maybe you could show use the problem you're having? Could you also show
us the console logs?

Thanks
-Vincent

> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 20 April 2004 22:06
> To: 'Maven Users List'
> Subject: RE: Clover Problem
> 
> > It may be that the clover version override feature of the plugin is
not
> > working. Could you try modifying the project.xml of the clover
plugin to
> > reference version 1.2.4 and put your clover jar in your local repo?
> 
> 
> I tried that.
> 
> -
> 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: Clover Problem

2004-04-20 Thread STRAYER, JON (SBCSI)
> It may be that the clover version override feature of the plugin is not
> working. Could you try modifying the project.xml of the clover plugin to
> reference version 1.2.4 and put your clover jar in your local repo?


I tried that.

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



RE: Clover Problem

2004-04-20 Thread STRAYER, JON (SBCSI)
That one:

>  [clover-report] [ERROR] Velocity.ResourceManager.getResource() parse
> exception: clover.org.apache.velocity.exception.c: Encountered
> "\r\u0018Faql,,%+9!\u0016+4lr65" at line 3, column 116.
> Was expecting one of:
> "}" ...
>  ...


It only happens under Unix.  It's a bug they fixed in 1.2.4.  


-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 20, 2004 9:22 AM
To: 'Maven Users List'
Subject: RE: Clover Problem


Jon,

What error do you get with the "normal" clover jar?

Thanks
-Vincent

> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 20 April 2004 16:09
> To: 'Maven Users List'
> Subject: RE: Clover Problem
> 
> It's only happening with my own clover jar.  The normal jar gives a
> different error.
> 
> 
> -Original Message-
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 20, 2004 8:17 AM
> To: 'Maven Users List'
> Subject: RE: Clover Problem
> 
> 
> Hi Jon,
> 
> Noope never seen that. Does this happen with the clover dependency
used
> by the clover plugin or is it only happening with your own clover jar?
> 
> Thanks
> -Vincent
> 
> > -Original Message-
> > From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> > Sent: 20 April 2004 15:04
> > To: 'Maven Users List'
> > Subject: Clover Problem
> >
> > I'm Using Maven RC2 and Clover 1.2.4.02.  When I generate the Maven
> report
> > some of the pages are filled with what appear to be random
characters
> (non
> > ASCII at that).  Does anyone have an idea about what I should look
at?
> >
> >
-
> > 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: Clover Problem

2004-04-20 Thread STRAYER, JON (SBCSI)
It's only happening with my own clover jar.  The normal jar gives a
different error.  

 [clover-report] [ERROR] Velocity.ResourceManager.getResource() parse
exception: clover.org.apache.velocity.exception.c: Encountered
"\r\u0018Faql,,%+9!\u0016+4lr65" at line 3, column 116.
Was expecting one of:
"}" ...
 ...

-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 20, 2004 8:17 AM
To: 'Maven Users List'
Subject: RE: Clover Problem


Hi Jon,

Noope never seen that. Does this happen with the clover dependency used
by the clover plugin or is it only happening with your own clover jar?

Thanks
-Vincent

> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 20 April 2004 15:04
> To: 'Maven Users List'
> Subject: Clover Problem
> 
> I'm Using Maven RC2 and Clover 1.2.4.02.  When I generate the Maven
report
> some of the pages are filled with what appear to be random characters
(non
> ASCII at that).  Does anyone have an idea about what I should look at?
> 
> -
> 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]



Clover Problem

2004-04-20 Thread STRAYER, JON (SBCSI)
I'm Using Maven RC2 and Clover 1.2.4.02.  When I generate the Maven report
some of the pages are filled with what appear to be random characters (non
ASCII at that).  Does anyone have an idea about what I should look at?

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



Clover Exclusions

2004-03-04 Thread STRAYER, JON (SBCSI)
Is it possible to tell Clover (or the Clover plugin) to not include
Exceptions in the coverage report? 

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