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