On 10/12/2008, at 4:33 PM, Brett Porter wrote:
Sorry Oleg, I have to -1 this commit. There's no way 70mb of test
resources (147mb if you use checkout instead of export!) should be
necessary here.
Didn't have time to check this earlier, but an interim suggestion
would be to do this:
find . -name '*.jar' | while read i; do echo `basename $i` >$i;
openssl sha1 $i >$i.sha1; openssl md5 $i >$i.md5; done
That's without looking at the tests themselves though - I'm not sure
if there is something in the current content that this wouldn't work
for, or if perhaps there is a better way to do it overall.
Unfortunately, I can't really test it now since the tests don't pass
out of the box due to incompatibilities with maven-shared-model.
testReadDependency
(org.apache.maven.mercury.ant.tasks.DependenciesTaskTest) Time
elapsed: 1.171 sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.maven.shared.model.ModelTransformerContext.transform(Ljava/
util/List;Lorg/apache/maven/shared/model/ModelTransformer;Lorg/apache/
maven/shared/model/ModelTransformer;Ljava/util/Collection;Ljava/util/
List;)Lorg/apache/maven/shared/model/DomainModel;
at
org
.apache
.maven
.mercury
.MavenDependencyProcessor
.getDependencies(MavenDependencyProcessor.java:68)
at
org
.apache
.maven
.mercury
.repository
.remote
.m2
.RemoteRepositoryReaderM2
.readDependencies(RemoteRepositoryReaderM2.java:419)
at
org
.apache
.maven
.mercury
.repository
.virtual
.VirtualRepositoryReader.readDependencies(VirtualRepositoryReader.java:
391)
at
org
.apache
.maven
.mercury
.metadata.DependencyTreeBuilder.createNode(DependencyTreeBuilder.java:
206)
at
org
.apache
.maven
.mercury
.metadata.DependencyTreeBuilder.buildTree(DependencyTreeBuilder.java:
141)
at
org
.apache
.maven
.mercury
.metadata
.DependencyTreeBuilder.resolveConflicts(DependencyTreeBuilder.java:171)
at
org
.apache.maven.mercury.ant.tasks.ResolveTask.execute(ResolveTask.java:
168)
at
org
.apache
.maven
.mercury
.ant
.tasks
.DependenciesTaskTest.testReadDependency(DependenciesTaskTest.java:113)
I've built the latest from SVN... it looks like this might be
something in mercury-maven but I don't understand why since I built
the whole mercury trunk. Don't have time to dig into that further
right now.
HTH,
Brett
Thanks,
Brett
On 10/12/2008, at 4:17 PM, [EMAIL PROTECTED] wrote:
Author: ogusakov
Date: Tue Dec 9 21:16:31 2008
New Revision: 724985
URL: http://svn.apache.org/viewvc?rev=724985&view=rev
Log:
MERCURY-49 - classpath creation works
maven/mercury/trunk/mercury-ant/mercury-ant-tasks/src/test/
resources/remoteRepo/
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]