karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Moloney <tim.molo...@gmail.com>
Subject Re: Error building karaf master branch
Date Fri, 04 Apr 2014 16:47:56 GMT
JB, did you have any time to look into this further?

On Wed, Mar 12, 2014 at 4:00 PM,  <jb@nanthrax.net> wrote:
> OK, I gonna take a look. I keep you posted.
>
> Regards
> JB
>
>
> On 2014-03-12 20:58, Tim Moloney wrote:
>>
>> bash> mvn --version
>> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
>> 2014-02-14T12:37:52-05:00)
>> Maven home: /home/tmmoloney/apache-maven-3.2.1
>> Java version: 1.7.0_51, vendor: Oracle Corporation
>> Java home: /usr/java/jdk1.7.0_51/jre
>> Default locale: en_US, platform encoding: ANSI_X3.4-1968
>> OS name: "linux", version: "3.13.3-201.fc20.i686+pae", arch: "i386",
>> family: "unix"
>>
>> Using "-DskipInvoker=true" didn't work for me.
>> Running the following gave me the same error message.
>> bash> mvn -Dmaven.test.skip=true -DskipInvoker=true clean install
>>
>> Thanks for your help.
>> Tim
>>
>>
>> On Wed, Mar 12, 2014 at 3:25 PM,  <jb@nanthrax.net> wrote:
>>>
>>> Hi Tim,
>>>
>>> Which Maven version did you use ?
>>>
>>> You can bypass the invoker test using -DskipInvoker=true.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 2014-03-12 19:20, Tim Moloney wrote:
>>>>
>>>>
>>>> I see that you pushed your changes to support Maven 3.1 and 3.2.  Thank
>>>> you.
>>>>
>>>> Unfortunately, now I'm getting a different error.
>>>>
>>>> ...
>>>> [INFO] --- maven-invoker-plugin:1.6:run (integration-test) @
>>>> karaf-maven-plugin ---
>>>> [INFO] Building: test-check-dependencies-failure/pom.xml
>>>> [INFO] run script
>>>>
>>>>
>>>> /home/tmmoloney/apache-karaf-master/tooling/karaf-maven-plugin/target/it/test-check-dependencies-failure/verify.bsh
>>>> [INFO] ..FAILED (106.1 s)
>>>> [INFO]   The post-build script returned false.
>>>> ...
>>>> [INFO] Apache Karaf :: Tooling ........................... SUCCESS [
>>>> 0.062 s]
>>>> [INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin ..... FAILURE
>>>> [03:48
>>>> min]
>>>> [INFO] Apache Karaf :: Assemblies ........................ SKIPPED
>>>> ...
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-invoker-plugin:1.6:run
>>>> (integration-test) on project karaf-maven-plugin: 1 build failed. See
>>>> console output above for details. -> [Help 1]
>>>> ...
>>>>
>>>>
>>>> On Fri, Feb 28, 2014 at 10:51 AM, Jean-Baptiste Onofré <jb@nanthrax.net>
>>>> wrote:
>>>>>
>>>>>
>>>>> Yes, and thanks for that. However I refactored the plugin to use the
>>>>> new
>>>>> plugin-plugin-api.
>>>>>
>>>>> It allows to better test the plugin and use the new Maven architecture.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>>
>>>>> On 02/28/2014 04:30 PM, Grzegorz Grzybek wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jean - I've prepared pull request for
>>>>>> https://issues.apache.org/jira/browse/KARAF-2395 a while ago. Tested
>>>>>> it
>>>>>> successfully with both Maven 3.0.5 and 3.1.1.
>>>>>>
>>>>>> Please have a look: https://github.com/apache/karaf/pull/24.
>>>>>>
>>>>>> regards
>>>>>> Grzegorz Grzybek
>>>>>>
>>>>>>
>>>>>> 2014-02-28 16:07 GMT+01:00 Jean-Baptiste Onofré <jb@nanthrax.net>:
>>>>>>
>>>>>>> Hopefully, During the week end (I have to merge my "plugin work"
>>>>>>> branch).
>>>>>>>
>>>>>>> Regards
>>>>>>> JB
>>>>>>>
>>>>>>>
>>>>>>> On 02/28/2014 04:05 PM, Tim Moloney wrote:
>>>>>>>
>>>>>>>> Okay, thanks.
>>>>>>>>
>>>>>>>> Do you have an estimated time frame for your push?
>>>>>>>>
>>>>>>>> Tim
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Feb 28, 2014 at 9:58 AM, Jean-Baptiste Onofré
>>>>>>>> <jb@nanthrax.net>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Tim,
>>>>>>>>>
>>>>>>>>> you have to use Maven 3.0.x.
>>>>>>>>>
>>>>>>>>> I'm upgrading the maven-karaf-plugin to support Maven
3.1 and 3.2,
>>>>>>>>> but
>>>>>>>>> I
>>>>>>>>> didn't push yet.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> JB
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 02/28/2014 03:54 PM, Tim Moloney wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I ran the following
>>>>>>>>>>
>>>>>>>>>> bash> git clone https://git-wip-us.apache.org/repos/asf/karaf.git
>>>>>>>>>> apache-karaf-master
>>>>>>>>>> bash> cd apache-karaf-master
>>>>>>>>>> bash> set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m
>>>>>>>>>> bash> mvn clean install
>>>>>>>>>>
>>>>>>>>>> and got the following output
>>>>>>>>>>
>>>>>>>>>> ...
>>>>>>>>>> [INFO] Apache Karaf :: JMS ...............................
SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 0.036 s]
>>>>>>>>>> [INFO] Apache Karaf :: JMS :: Core .......................
SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 19.121 s]
>>>>>>>>>> [INFO] Apache Karaf :: JMS :: Command ....................
SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 0.841 s]
>>>>>>>>>> [INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin
..... SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 5.710 s]
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies ........................
SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 0.049 s]
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Features ............
SUCCESS
>>>>>>>>>> [
>>>>>>>>>> 0.094 s]
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Features ::
Framework
>>>>>>>>>> FAILURE
>>>>>>>>>> [
>>>>>>>>>> 37.756 s]
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Features ::
Standard  SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Features ::
Spring .. SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Features ::
Enterprise
>>>>>>>>>> SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Demos ...............
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Minimal Distribution
 SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Assemblies :: Default Distribution
 SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos .............................
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Web ......................
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Branding :: Shell
........ SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Command :: Extend
Console  SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Demo Dump provider
....... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Deployer .................
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Deployer :: Kar ..........
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Demos :: Deployer :: Bundle
....... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes ........................
SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Assembly Archetype
.. SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Command Archetype
... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Feature Archetype
... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Kar Archetype
....... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Bundle Archetype
.... SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Archetypes :: Blueprint Archetype
. SKIPPED
>>>>>>>>>> [INFO] Apache Karaf :: Integration Tests .................
SKIPPED
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>> ------------
>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>> ------------
>>>>>>>>>> [INFO] Total time: 07:28 min
>>>>>>>>>> [INFO] Finished at: 2014-02-28T09:20:12-05:00
>>>>>>>>>> [INFO] Final Memory: 125M/298M
>>>>>>>>>> [INFO]
>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>> ------------
>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>
>>>>>>>>>> org.apache.karaf.tooling:karaf-maven-plugin:3.1.0-
>>>>>>>>>> SNAPSHOT:features-generate-descriptor
>>>>>>>>>> (compile) on project framework: Execution compile
of goal
>>>>>>>>>>
>>>>>>>>>> org.apache.karaf.tooling:karaf-maven-plugin:3.1.0-
>>>>>>>>>> SNAPSHOT:features-generate-descriptor
>>>>>>>>>> failed: Unable to load the mojo 'features-generate-descriptor'
(or
>>>>>>>>>> one
>>>>>>>>>> of its required components) from the plugin
>>>>>>>>>> 'org.apache.karaf.tooling:karaf-maven-plugin:3.1.0-SNAPSHOT':
>>>>>>>>>> com.google.inject.ProvisionException: Guice provision
errors:
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] 1) No implementation for
>>>>>>>>>> org.sonatype.aether.RepositorySystem
>>>>>>>>>> was
>>>>>>>>>> bound.
>>>>>>>>>> [ERROR] while locating
>>>>>>>>>> org.apache.karaf.tooling.features.GenerateDescriptorMojo
>>>>>>>>>> [ERROR] at
>>>>>>>>>> ClassRealm[plugin>org.apache.karaf.tooling:karaf-maven-
>>>>>>>>>> plugin:3.1.0-SNAPSHOT,
>>>>>>>>>> parent: sun.misc.Launcher$AppClassLoader@11a698a]
>>>>>>>>>> [ERROR] while locating org.apache.maven.plugin.Mojo
annotated with
>>>>>>>>>>
>>>>>>>>>> @com.google.inject.name.Named(value=org.apache.karaf.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> tooling:karaf-maven-plugin:3.1.0-SNAPSHOT:features-generate-descriptor)
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] 1 error
>>>>>>>>>> [ERROR] role: org.apache.maven.plugin.Mojo
>>>>>>>>>> [ERROR] roleHint:
>>>>>>>>>>
>>>>>>>>>> org.apache.karaf.tooling:karaf-maven-plugin:3.1.0-
>>>>>>>>>> SNAPSHOT:features-generate-descriptor
>>>>>>>>>> [ERROR] -> [Help 1]
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] To see the full stack trace of the errors,
re-run Maven
>>>>>>>>>> with
>>>>>>>>>> the -e switch.
>>>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable
full debug
>>>>>>>>>> logging.
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] For more information about the errors and
possible
>>>>>>>>>> solutions,
>>>>>>>>>> please read the following articles:
>>>>>>>>>> [ERROR] [Help 1]
>>>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/
>>>>>>>>>> PluginContainerException
>>>>>>>>>> [ERROR]
>>>>>>>>>> [ERROR] After correcting the problems, you can resume
the build
>>>>>>>>>> with
>>>>>>>>>> the
>>>>>>>>>> command
>>>>>>>>>> [ERROR]   mvn <goals> -rf :framework
>>>>>>>>>>
>>>>>>>>>> I also executed "mvn -Dmaven.test.skip=true clean
install" with
>>>>>>>>>> the
>>>>>>>>>> same results.
>>>>>>>>>>
>>>>>>>>>> What did I do wrong?
>>>>>>>>>>
>>>>>>>>>> Java 1.7_0_51
>>>>>>>>>> Maven 3.2.1
>>>>>>>>>> Fedora 20
>>>>>>>>>> Linux kernel 3.13.3-201
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Tim
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jean-Baptiste Onofré
>>>>>>>>> jbonofre@apache.org
>>>>>>>>> http://blog.nanthrax.net
>>>>>>>>> Talend - http://www.talend.com
>>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> Jean-Baptiste Onofré
>>>>>>> jbonofre@apache.org
>>>>>>> http://blog.nanthrax.net
>>>>>>> Talend - http://www.talend.com
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com

Mime
View raw message