Just an fyi: The artifact that Krzysztof is referencing is not the same one
that is in the servicemix m2 repo. Although they have the same number
version, the timestamp that is part of the version is different. That's
probably why the build is failing as the dated one from Krzysztof's error
is not in the servicemix repo.

Thanks.
On Feb 17, 2014 7:50 AM, "Jean-Baptiste Onofré" <[email protected]> wrote:

> Are you able to access the ServiceMix m2-repo ?
>
> Regards
> JB
>
> On 02/17/2014 03:43 PM, Krzysztof Sobkowiak wrote:
>
>> Hi Jean-Baptiste
>>
>> Yes. I have tried it. It didn't help. But I have removed
>> felix.gogo.runtime from my local repository and maven even does not try
>> to download the eclipse osgi 3.7.0. The build is successful.
>>
>> But this is very interesting. I have yesterday removed my repo, build
>> servicemix5 and fabric8, but Karaf had problems. I'll try to build
>> servicemix5, fabric8 and Karaf again and see if it will try to download
>> the eclipse osgi.
>>
>> Regards
>> Krzysztof
>>
>> On 17.02.2014 15:21, Jean-Baptiste Onofré wrote:
>>
>>> Hi Krzysztof,
>>>
>>> did you try mvn -U ?
>>>
>>> The artifact is there:
>>>
>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/
>>> eclipse/osgi/3.7.0.v20110613/
>>>
>>>
>>> Regards
>>> JB
>>>
>>> On 02/17/2014 03:15 PM, Krzysztof Sobkowiak wrote:
>>>
>>>> Hi
>>>>
>>>> I have removed my local maven repository yesterday and I can't build
>>>> Karaf today (no 3.x not 2.3.x). I have following error when building
>>>> Shell Console projects.
>>>>
>>>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>>>> shell ---
>>>> [INFO] Installing /home/kso/work/projects/asf/karaf-2.3.x/shell/pom.xml
>>>> to
>>>> /home/kso/.m2/repository/org/apache/karaf/shell/shell/2.3.
>>>> 4-SNAPSHOT/shell-2.3.4-SNAPSHOT.pom
>>>>
>>>>
>>>> [INFO]
>>>> [INFO]
>>>> ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Building Apache Karaf :: Shell :: Console 2.3.4-SNAPSHOT
>>>> [INFO]
>>>> ------------------------------------------------------------
>>>> ------------
>>>> [WARNING] The POM for
>>>> org.eclipse.osgi:org.eclipse.osgi:jar:3.7.0.v20110124-0830 is missing,
>>>> no dependency information available
>>>> [INFO]
>>>> ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Karaf ...................................... SUCCESS
>>>> [5.483s]
>>>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>>>> [1.865s]
>>>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>>>> [38.753s]
>>>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>>>> [0.127s]
>>>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>>>> [0.599s]
>>>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>>>> [0.951s]
>>>> [INFO] Apache Karaf :: JAAS :: Modules ................... SUCCESS
>>>> [1.167s]
>>>> [INFO] Apache Karaf :: Shell ............................. SUCCESS
>>>> [0.107s]
>>>> [INFO] Apache Karaf :: Shell :: Console .................. FAILURE
>>>> [0.040s]
>>>> [INFO] Apache Karaf :: Shell :: OBR Commands ............. SKIPPED
>>>> [INFO] Apache Karaf :: Features .......................... SKIPPED
>>>>
>>>> ...............................
>>>>
>>>> INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Total time: 52.787s
>>>> [INFO] Finished at: Mon Feb 17 15:00:06 CET 2014
>>>> [INFO] Final Memory: 57M/592M
>>>> [INFO]
>>>> ------------------------------------------------------------
>>>> ------------
>>>> [WARNING] The requested profile "oss4ita" could not be activated because
>>>> it does not exist.
>>>> [WARNING] The requested profile "jboss1" could not be activated because
>>>> it does not exist.
>>>> [WARNING] The requested profile "oss4j-nexus-repository1" could not be
>>>> activated because it does not exist.
>>>> [ERROR] Failed to execute goal on project
>>>> org.apache.karaf.shell.console: Could not resolve dependencies for
>>>> project
>>>> org.apache.karaf.shell:org.apache.karaf.shell.console:
>>>> bundle:2.3.4-SNAPSHOT:
>>>>
>>>> Failure to find
>>>> org.eclipse.osgi:org.eclipse.osgi:jar:3.7.0.v20110124-0830 in
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo was cached in the
>>>> local repository, resolution will not be reattempted until the update
>>>> interval of servicemix has elapsed or updates are forced -> [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/
>>>> DependencyResolutionException
>>>>
>>>>
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with the
>>>> command
>>>> [ERROR]   mvn <goals> -rf :org.apache.karaf.shell.console
>>>>
>>>>
>>>> Regards
>>>> Krzysztof
>>>>
>>>>
>>>>
>>>
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to