[ 
http://jira.codehaus.org/browse/MNG-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126749
 ] 

Shane Isbell commented on MNG-3431:
-----------------------------------

I tried the toolchain in 2.1 and it looks as though the extensions work in that 
version but then I get:

java.lang.ClassCastException: 
org.apache.maven.dotnet.extensions.toolchain.DotnetToolchain cannot be cast to 
org.apache.maven.dotnet.extensions.toolchain.Dotnet
Toolchain        at 
org.apache.maven.dotnet.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:127)

I get the same exception in 2.0.9 if I put my jar containing the dotnet 
toolchain directly in the maven/lib directory.

> Pom Extensions not supported for Toolchains
> -------------------------------------------
>
>                 Key: MNG-3431
>                 URL: http://jira.codehaus.org/browse/MNG-3431
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Shane Isbell
>            Priority: Minor
>
> When I add a pom extension referening a jar containing an implementation of a 
> toolchain and toolchain factory, the toolchain plugin does not pick up my 
> extensions. I get an exception on mvn install:
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.maven.dotnet.extensions.toolchain.DotnetToolchainFactory

-- 
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

        

Reply via email to