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/

Reply via email to