You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2008/03/04 20:12:28 UTC

[jira] Created: (MNG-3431) Pom Extensions not supported for Toolchains

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

        

[jira] Commented: (MNG-3431) Pom Extensions not supported for Toolchains

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Closed: (MNG-3431) Pom Extensions not supported for Toolchains

Posted by "Milos Kleint (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint closed MNG-3431.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.9

MNG-3464 should fix this one as well.

> 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
>            Assignee: Milos Kleint
>            Priority: Minor
>             Fix For: 2.0.9
>
>
> 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

        

[jira] Commented: (MNG-3431) Pom Extensions not supported for Toolchains

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127114 ] 

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

Using a scope of provided for my dotnet toolchain extension jar, solves the class cast exception (comment above). So everything works in 2.1. I'm just left with the original problem of getting the extension picked up for 2.0.9.

> 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