You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2015/01/31 22:54:18 UTC

[jira] (MSANDBOX-25) CSharp plugins don't support test-jar equivalent

     [ https://jira.codehaus.org/browse/MSANDBOX-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSANDBOX-25.
----------------------------------

    Resolution: Won't Fix

outdated project, closing as won't fix.

> CSharp plugins don't support test-jar equivalent
> ------------------------------------------------
>
>                 Key: MSANDBOX-25
>                 URL: https://jira.codehaus.org/browse/MSANDBOX-25
>             Project: Maven Sandbox (retired)
>          Issue Type: Improvement
>         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 was sent by Atlassian JIRA
(v6.1.6#6162)