cheers, I'm just hacking it together at the moment
still have to add serving up empty jar files if the bag of artifacts
is empty
also I'm thinking if implementing cheap proxying via the local
repository... but that gets to be more fun
Sent from my [rhymes with myPod] ;-)
On 20 Aug 2009, at 20:44, Benjamin Bentmann
<[email protected]> wrote:
Hi Stephen,
Revision
10393 <http://fisheye.codehaus.org/changelog/mojo/?cs=10393>
Author
stephenconnolly
Date
2009-08-20 14:37:11 -0500 (Thu, 20 Aug 2009)
Log Message
serve all pom files and auto-generate md5 & sha1 hashes
Modified Paths
* trunk/sandbox/mockrepo-maven-plugin/src/main/java/org/codehaus/
mojo/mockrepo/StartMojo.java
<#t
runksandboxmockrepomavenpluginsrcmainjavaorgcodehausmojomockrepoStartMojojava>
* trunk/sandbox/mockrepo-maven-plugin/src/main/java/org/codehaus/
mojo/mockrepo/server/SimpleHttpWorker.java
<#t
runksandboxmockrepomavenpluginsrcmainjavaorgcodehausmojomockreposerverSimpleHttpWorkerjava>
+ fileReader = new FileReader( f );
+ final Model model = reader.read
( fileReader );
The FileReader uses the platform encoding which is prone to deliver
XML garbage [0]. Easiest fix is to use ReaderFactory.newXmlReader()
from plexus-utils.
Benjamin
[0]
http://maven.apache.org/plugin-developers/common-bugs.html#Reading_and_Writing_Text_Files
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email