Hi Nick,
That factory came from the dependency plugin so I'll fix the bugs. I
need to release it anyway before I can do the next dependency release.

--Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 20, 2007 7:18 AM
To: dev@maven.apache.org
Subject: Bugs in maven-plugin-testing-harness

Hi,

I am writing a rule for the enforcer plugin and was using the
maven-plugin-testing-harness classes. (Just like the testing code for
the other rules)

Now I've found two small bugs in this code. Is this still maintained?
The website [1] hasn't been updated for more then a year, but there have
been recent changes in the source code. (The URL on the website doesn't
comply with the actual subversion repository)

The two bugs are in the ArtifactStubFactory:

1)
Artifact artifact = new ArtifactStubFactory().getReleaseArtifact();
artifact.isRelease() returns false.

2)
ArtifactStubFactory stub = new ArtifactStubFactory();
stub.isCreateFiles() returns false.
stub.setFile(stub.getReleaseArtifact()); throws exception (The
workingDir must be set if createFiles is true) but createFiles is false.
The last one is used by the StubArtifactResolver.

Another question as the latest How and when is this project being
released?

With regards,

Nick Stolwijk

[1] http://maven.apache.org/shared/maven-plugin-testing-harness/

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

Reply via email to