[ http://jira.codehaus.org/browse/MOJO-314?page=all ]
Brett Porter updated MOJO-314:
------------------------------
Component: native
> [native-maven-plugin]No implementation of EnvFactory for generic C, example
> fails with error.
> ---------------------------------------------------------------------------------------------
>
> Key: MOJO-314
> URL: http://jira.codehaus.org/browse/MOJO-314
> Project: Mojo
> Type: Bug
> Components: native
> Environment: Linux
> Reporter: Anthony Vito
> Assignee: Dan Tran
> Fix For: 2.0-beta-1
> Attachments: maven-native-env.patch
>
>
> There is no built in implementation of EnvFactory for generic C. A user could
> implement this and add the classname to the EnvFactoryName property of the
> configuration. This is not documented though, and even the internal example
> fails on linux trying to instantiate "null".
> The attached patch does the following:
> 1.) Adds a basic implementation of a generic C EnvFactory.
> 2.) Completes the linux example, enabling "mvn package -Dplatform=linux" to
> pass the unit test.
> In addition to the Factory related changes, there are a few changes to the
> pom.xml that contains the surefire test setup for linux.
--
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