[ https://issues.apache.org/jira/browse/NPANDAY-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021857#comment-13021857 ]
John R. Fallows commented on NPANDAY-414: ----------------------------------------- As a workaround, the maven-test-plugin can be configured as follows: {code} <plugin> <groupId>npanday.plugin</groupId> <artifactId>maven-test-plugin</artifactId> <version>${npanday.version}</version> <configuration> <nunitCommand>${nunit.command}</nunitCommand> </configuration> </plugin> {code} ...and then the user's settings.xml can have a profile as follows: {code} <settings> <profiles> <profile> <id>nunit.console2</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <nunit.command>nunit-console</nunit.command> </properties> </profile> </profiles> </settings> {code} ...but then that would be configuration over convention. ;) > Executable name nunit-console2 not found on Linux > ------------------------------------------------- > > Key: NPANDAY-414 > URL: https://issues.apache.org/jira/browse/NPANDAY-414 > Project: NPanday > Issue Type: Bug > Components: Maven Plugins > Affects Versions: 1.3.1-incubating > Environment: $ mvn -v > Apache Maven 2.2.1 (rdebian-4) > Java version: 1.6.0_24 > Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.35-28-generic" arch: "amd64" Family: "unix" > Reporter: John R. Fallows > > When npanday-test-plugin is constructing the command line to execute unit > tests with the NUnit console, it uses the executable name "nunit-console2". > On Ubuntu 10.10, the nunit-console 2.4.7 package ships with > /usr/bin/nunit-console but no executable named nunit-console2, resulting in > the following build error. > {code} > [INFO] > [INFO] /bin/sh: nunit-console2: not found > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira