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é (Created JIRA)" <ji...@apache.org> on 2011/10/10 07:36:30 UTC

[jira] [Created] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Maven site goal fail with the Karaf maven plugin
------------------------------------------------

                 Key: KARAF-924
                 URL: https://issues.apache.org/jira/browse/KARAF-924
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 2.2.3
            Reporter: Jean-Baptiste Onofré
             Fix For: 2.2.4, 3.0.0


When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
[ERROR] 

We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Andreas Pieber (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber reassigned KARAF-924:
------------------------------------

    Assignee: Andreas Pieber
    
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>             Fix For: 2.2.4, 3.0.0
>
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Work started] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Andreas Pieber (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-924 started by Andreas Pieber.

> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>             Fix For: 2.2.4, 3.0.0
>
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Comment Edited] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13395842#comment-13395842 ] 

Achim Nierbeck edited comment on KARAF-924 at 6/18/12 12:05 PM:
----------------------------------------------------------------

The failure in combination with the javadoc plugin seems to be suspicious ... 

... but even disabling the javadoc during site doesn't seem to work. 
                
      was (Author: achim_nierbeck):
    The failure in combination with the javadoc plugin seems to be suspicious ... 
                  
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13395836#comment-13395836 ] 

Jean-Baptiste Onofré commented on KARAF-924:
--------------------------------------------

Fair enough. I will try to take a look.
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Reopened] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Achim Nierbeck reopened KARAF-924:
----------------------------------


reopen it because there doesn't seem to be a valid workaround. 
This is especially annoying when using the features-plugin in another
submodule, the other submodules are still affected by this issue. 
Even though all other modules are not using the plugin.
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13395842#comment-13395842 ] 

Achim Nierbeck commented on KARAF-924:
--------------------------------------

The failure in combination with the javadoc plugin seems to be suspicious ... 
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Andreas Pieber (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber closed KARAF-924.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.2.4)
                       (was: 3.0.0)

we suspect this to be a problem of the maven site problem (exactly the forking) and not karaf --> wont fix
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-924:
---------------------------------------

    Attachment: 5ebbfe13_maven-test.tar.gz

Simple test project.

Just run mvn site to reproduce.
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>             Fix For: 2.2.4, 3.0.0
>
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-924) Maven site goal fail with the Karaf maven plugin

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396595#comment-13396595 ] 

Achim Nierbeck commented on KARAF-924:
--------------------------------------

it might be handled by just setting the failOnError flag to false.
                
> Maven site goal fail with the Karaf maven plugin
> ------------------------------------------------
>
>                 Key: KARAF-924
>                 URL: https://issues.apache.org/jira/browse/KARAF-924
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Andreas Pieber
>         Attachments: 5ebbfe13_maven-test.tar.gz
>
>
> When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn site goal failed:
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project maven-test: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo (add-features-to-repo) on project test-assembly: Error populating repository: /home/jbonofre/maven-test/test-subproject/target/classes (No such file or directory) -> [Help 1]
> [ERROR] 
> We should exclude the Karaf maven plugin from the site phase, or create the target/classes directory if required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira