CSharp plugins don't support test-jar equivalent
------------------------------------------------
Key: MNG-2505
URL: http://jira.codehaus.org/browse/MNG-2505
Project: Maven 2
Issue Type: Improvement
Components: Sandbox
Environment: Windows XP
Reporter: James Carpenter
Priority: Minor
Although the csharp plugins support nunit tests, they don't provide a mechanism
to include these as attached artifacts. This is of course inconvenient when
one wants to share some shared test utilities, etc.
I tried to quickly hack around the situation with the following in my pom:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/test-dotnet-assembly/unit-tests.dll</file>
<type>dotnet-library</type>
<classifier>unit-tests</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Unfortunately, this doesn't work out. I haven't spent any more time looking at
the issue. This is a fairly low priority issue, I post it just to be able to
keep track.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira