Hi all,

I had sent this patch in a while ago to be able to run the site target when
you don't have a SCM specified.  I did a fresh get to fix the SAX parser
issue, and noticed this patch had never been applied.  Can someone apply it,
or specify what I need to change to get it applied...?  If you don't have a
SCM, then you shouldn't be forced to run in offline mode!

Eric Pugh

-----Original Message-----
From: Pugh, Eric 
Sent: Friday, November 01, 2002 1:40 PM
To: 'Turbine Maven Developers List'
Subject: [PATCH] Maven Site fails on ChangeLog Part II


Hi,

I looked at the changelog code, and ended up adding a clause in the jelly
script to not call the changelog plugin if the scm information hasn't been
provided.  Attached is the patch.  However, what I couldn't get to work (new
to jelly and all) is the customized error message.  I keep getting the "The
Changelog is available in the online mode only." message, not the one
mentioning the missing POM element.

Hopefully someone can take this and at least apply the check part of the
patch.

Eric Pugh

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 30, 2002 8:57 PM
To: Turbine Maven Developers List
Subject: Re: Maven Site fails on ChangeLog Part II


I'm +1
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


[EMAIL PROTECTED] wrote on 30/10/2002 05:06:21 AM:

> Hi,
> 
> I did figure out that maven.mode.online=false would prevent it from 
running
> changelog, however, I feel that this isn't the best solution since I am
> actually online, I just don't have a support SCM.  I looked at the
> ChangeLog.java  and it seems that in the doExecute method, if 
"connection"
> is null or blank, then just emit a warning that there is no changelog
> available or something..  If this sounds like a good plan, I can make 
the
> change...
> 
> Eric Pugh
> 
> -----Original Message-----
> From: Pugh, Eric 
> Sent: Tuesday, October 29, 2002 12:56 PM
> To: 'Turbine Maven Developers List'
> Subject: Maven Site fails on ChangeLog
> 
> 
> Hi,
> 
> I used to be able to run the maven site target, and changelog would just
> skip over (because my SCM is Visual SourceSafe).  Now however it fails:
> In file 
C:\java\dbforms\examples\selftest\target\checkstyle-raw-report.xml
> time:
>  1035914158000
> Out file
> C:\java\dbforms\examples\selftest\target\generated-xdocs\checkstyle-rep
> ort.xml time: 1035914122000
> Style file 
c:\java\maven\plugins\maven-checkstyle-plugin-1.1\checkstyle.dvsl
> tim
> e: 1035912714000
> Processing
> C:\java\dbforms\examples\selftest\target\checkstyle-raw-report.xml to
> 
> 
C:\java\dbforms\examples\selftest\target\generated-xdocs\checkstyle-report.x
> ml
> Processed 
C:\java\dbforms\examples\selftest\target\checkstyle-raw-report.xml
> in
> 94 ms.
> 
> 
> checkstyle:
> 
> changelog:generate:
> 
> [ERROR] BUILD FAILED
> [ERROR] repository connection string not specified
> Total time:  6 seconds
> 
> C:\java\dbforms\examples\selftest>
> 
> If I comment out this part of the POM:
>   <repository>
>     <connection></connection>
>     <url></url>
>   </repository>
> 
> it still fails..
> 
> Eric Pugh

> ForwardSourceID:NT000881F6 

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

Reply via email to