You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/03/12 15:09:12 UTC

[jira] [Assigned] (KARAF-2215) kar fails to attach artifact

     [ https://issues.apache.org/jira/browse/KARAF-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-2215:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> <packaging>kar</packaging> fails to attach artifact
> ---------------------------------------------------
>
>                 Key: KARAF-2215
>                 URL: https://issues.apache.org/jira/browse/KARAF-2215
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-kar
>    Affects Versions: 3.0.0
>         Environment: maven 3.0.5
>            Reporter: Timo Naroska
>            Assignee: Jean-Baptiste Onofré
>              Labels: maven
>             Fix For: 3.0.0
>
>         Attachments: 0001-KARAF-2215-packaging-kar-packaging-fails-to-attach-a.patch
>
>
> Maven kar packaging is broken, after KARAF-1853. See sample pom.xml and maven output snippet:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
>     <modelVersion>4.0.0</modelVersion>
>     <groupId>com.stuff</groupId>
>     <artifactId>stuff-kar</artifactId>
>     <version>1.9.0-SNAPSHOT</version>
>     <packaging>kar</packaging>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.karaf.tooling</groupId>
>                 <artifactId>karaf-maven-plugin</artifactId>
>                 <version>3.0.0-SNAPSHOT</version>
>                 <extensions>true</extensions>
>             </plugin>
>         </plugins>
>     </build>
> </project>
> {code}
> {noformat}
> [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar (default-features-create-kar) on project stuff-kar:
>  Execution default-features-create-kar of goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar failed:
>  For artifact {com.stuff:stuff-kar:1.9.0-SNAPSHOT:kar}:
>  An attached artifact must have a different ID than its corresponding main artifact. -> [Help 1]
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira