Is this normal? I get a bunch of "Exception while updating OBR" and
then a missing on
org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT. The first
step, "mvn -Dpackaging=plugins install" seemed to work just fine.
Thanks,
Pat.
--
Defy mediocrity.
C:\Documents and Settings\paf2009\Desktop\felix-trunk\pom>mvn
-Dpackaging=bundle install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Felix
[INFO] OSGi R4 Foundation EE
[INFO] Servlet 2.1 API
[INFO] OSGi R4 Core Bundle
[INFO] OSGi R4 Compendium Bundle
[INFO] Apache Felix Framework
[INFO] Apache Felix Shell Service
[INFO] Apache Felix Shell TUI
[INFO] OSGi OBR Service API
[INFO] Apache Felix Bundle Repository
[INFO] Apache Felix Main
[INFO] Apache Felix Shell GUI
[INFO] Apache Felix Shell GUI Plugin
[INFO] Apache Felix Log Service
[INFO] Apache Felix EventAdmin
[INFO] Apache Felix EventAdmin Bridge UPnP
[INFO] Apache Felix EventAdmin Bridge Configuration
[INFO] Apache Felix EventAdmin Bridge UserAdmin
[INFO] Apache Felix EventAdmin Bridge WireAdmin
[INFO] Apache Felix EventAdmin Projects
[INFO] Apache Felix HTTP Service
[INFO] Apache Felix UPnP Extra
[INFO] Apache Felix UPnP Base Driver
[INFO] Apache Felix UPnP Tester
[INFO] Apache Felix UPnP Sample Binary-Light
[INFO] Apache Felix UPnP Sample Clock
[INFO] Apache Felix UPnP Sample TV
[INFO] Apache Felix UPnP Examples: Build
[INFO] Apache Felix UPnP: Build
[INFO] Apache Felix Declarative Services
[INFO] Apache Felix Configuration Admin Service
[INFO] Apache Felix Metatype Service
[INFO] Apache Felix Dependency Manager
[INFO] Apache Felix Service Binder
[INFO] Apache Felix Wire Admin
[INFO] Apache Felix Prefrences Service
[INFO] Apache Felix iPOJO Metadata
[INFO] Apache Felix iPOJO Manipulator
[INFO] Apache Felix iPOJO Maven Plugin
[INFO] Apache Felix iPOJO
[INFO] Apache Felix iPOJO Arch Command
[INFO] Apache Felix iPOJO Ant Task
[INFO] Apache Felix iPOJO
[INFO] Apache Felix MOSGi JMX Console Interface
[INFO] Apache Felix MOSGi JMX Console GUI component
[INFO] Apache Felix MOSGi JMX Console Main GUI
[INFO] Apache Felix MOSGi JMX agent
[INFO] Apache Felix MOSGi JMX httpconnector
[INFO] Apache Felix MOSGi JMX registry
[INFO] Apache Felix MOSGi JMX remotelogger
[INFO] Apache Felix MOSGi JMX rmiconnector
[INFO] Apache Felix MOSGi JMX MBean for OSGi gateway status
[INFO] Apache Felix MOSGi OSGi gateway status tab for the JMX console
[INFO] Apache Felix MOSGi JMX MBean for OSGi bundles management
[INFO] Apache Felix MOSGi Bundles management tab for the JMX console
[INFO] Apache Felix MOSGi JMX MBean for obr interaction
[INFO] Apache Felix MOSGi obr remote manipulation tab for the JMX console
[INFO] Apache Felix MOSGi JMX MBean for obr interaction
[INFO] Apache Felix MOSGi
[INFO] JMood JMX Management Agent
[INFO] Apache Felix Example Service Event Listener
[INFO] Apache Felix Example English Dictionary Service
[INFO] Apache Felix Example Dictionary Service Integration Test
[INFO] Apache Felix Example French Dictionary Service
[INFO] Apache Felix Example Dictionary Client
[INFO] Apache Felix Example Dynamic Dictionary Client
[INFO] Apache Felix Example Spell Check Service
[INFO] Apache Felix Example Spell Check Client
[INFO] Apache Felix Example Spell Check w/ Service Binder
[INFO] Apache Felix Example Spell Check w/ SCR
[INFO] Apache Felix Service-Based Host
[INFO] Apache Felix Circle Service
[INFO] Apache Felix Square Service
[INFO] Apache Felix Triangle Service
[INFO] Apache Felix Examples: Build
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/maven-bundle-plugin/1.2.0/maven-bundle-plugin-1.2.0.pom
3K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/maven-bundle-plugin/1.2.0/maven-bundle-plugin-1.2.0.jar
143K downloaded
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Felix
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\pom.xml to
c:\bjc\javadown\m2repository\org\apache\felix\felix\1.0.3-SNAPS
HOT\felix-1.0.3-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building OSGi R4 Foundation EE
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 423 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.foundation\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.foundation\target\org.osgi.foundation-1.0.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.foundation\target\org.osgi.foundation-1.0.1-SNAPSHOT.jar
to c:
\bjc\javadown\m2repository\org\apache\felix\org.osgi.foundation\1.0.1-SNAPSHOT\org.osgi.foundation-1.0.1-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] Building Servlet 2.1 API
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 21 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\javax.servlet\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/maven-obr-plugin/1.0.0/maven-obr-plugin-1.0.0.pom
1K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/biz/aQute/bndlib/0.0.227/bndlib-0.0.227.pom
864b downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/maven-obr-plugin/1.0.0/maven-obr-plugin-1.0.0.jar
93K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/biz/aQute/bndlib/0.0.227/bndlib-0.0.227.jar
153K downloaded
[INFO] [bundle:bundle]
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\javax.servlet\target\javax.servlet-1.0.1-SNAPSHOT.jar
to c:\bjc\javadow
n\m2repository\org\apache\felix\javax.servlet\1.0.1-SNAPSHOT\javax.servlet-1.0.1-SNAPSHOT.jar
[INFO] [bundle:install]
[WARNING] Exception while updating OBR: String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
org.apache.felix.obr.plugin.PathFile.extractPathFile(PathFile.java:173)
at org.apache.felix.obr.plugin.PathFile.<init>(PathFile.java:98)
at
org.apache.felix.bundleplugin.OBRInstall.normalizeRepositoryPath(OBRInstall.java:139)
at org.apache.felix.bundleplugin.OBRInstall.execute(OBRInstall.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Building OSGi R4 Core Bundle
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 41 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.core\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.core\target\org.osgi.core-1.1.0-SNAPSHOT.jar
to c:\bjc\javadow
n\m2repository\org\apache\felix\org.osgi.core\1.1.0-SNAPSHOT\org.osgi.core-1.1.0-SNAPSHOT.jar
[INFO] [bundle:install]
[WARNING] Exception while updating OBR: String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
org.apache.felix.obr.plugin.PathFile.extractPathFile(PathFile.java:173)
at org.apache.felix.obr.plugin.PathFile.<init>(PathFile.java:98)
at
org.apache.felix.bundleplugin.OBRInstall.normalizeRepositoryPath(OBRInstall.java:139)
at org.apache.felix.bundleplugin.OBRInstall.execute(OBRInstall.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Building OSGi R4 Compendium Bundle
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/javax.servlet/1.0.0/javax.servlet-1.0.0.pom
4K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.osgi.foundation/1.0.0/org.osgi.foundation-1.0.0.pom
1K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.osgi.foundation/1.0.0/org.osgi.foundation-1.0.0.jar
253K downloaded
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/javax.servlet/1.0.0/javax.servlet-1.0.0.jar
29K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 76 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.compendium\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\org.osgi.compendium\target\org.osgi.compendium-1.0.1-SNAPSHOT.jar
to c:
\bjc\javadown\m2repository\org\apache\felix\org.osgi.compendium\1.0.1-SNAPSHOT\org.osgi.compendium-1.0.1-SNAPSHOT.jar
[INFO] [bundle:install]
[WARNING] Exception while updating OBR: String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
org.apache.felix.obr.plugin.PathFile.extractPathFile(PathFile.java:173)
at org.apache.felix.obr.plugin.PathFile.<init>(PathFile.java:98)
at
org.apache.felix.bundleplugin.OBRInstall.normalizeRepositoryPath(OBRInstall.java:139)
at org.apache.felix.bundleplugin.OBRInstall.execute(OBRInstall.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Felix Framework
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 93 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\framework\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[WARNING] Include-Resource: overriding
META-INF/LICENSE=src/main/resources/META-INF/LICENSE,META-INF/NOTICE=src/main/resources/META-INF/NOTICE,org/apa
che/felix/framework/Felix.properties=src/main/resources/org/apache/felix/framework/Felix.properties,META-INF/LICENSE=./LICENSE,META-INF/NOTICE=./NOTIC
E with
{src/main/resources/},org/osgi/framework/=target/classes/org/osgi/framework/
(add {maven-resources} if you want to include the maven resources)
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\framework\target\org.apache.felix.framework-1.1.0-SNAPSHOT.jar
to c:\bj
c\javadown\m2repository\org\apache\felix\org.apache.felix.framework\1.1.0-SNAPSHOT\org.apache.felix.framework-1.1.0-SNAPSHOT.jar
[INFO] [bundle:install]
[WARNING] Exception while updating OBR: String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
org.apache.felix.obr.plugin.PathFile.extractPathFile(PathFile.java:173)
at org.apache.felix.obr.plugin.PathFile.<init>(PathFile.java:98)
at
org.apache.felix.bundleplugin.OBRInstall.normalizeRepositoryPath(OBRInstall.java:139)
at org.apache.felix.bundleplugin.OBRInstall.execute(OBRInstall.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Felix Shell Service
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.felix:org.osgi.core:1.1.0-SNAPSHOT: checking for
updates from artifactory
[INFO] snapshot org.apache.felix:org.osgi.core:1.1.0-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] [compiler:compile]
[INFO] Compiling 25 source files to C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\shell\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[WARNING] Warning building bundle
org.apache.felix:org.apache.felix.shell:bundle:1.0.2 : There are split
packages, use directive -split-package:=(merg
e-first|merge-last) on instruction to get rid of this warning:
org.apache.felix.shell, classpath: [Jar:., Jar:org.osgi.core] from:
C:\Documents and Se
ttings\paf2009\Desktop\felix-trunk\pom\..\shell\target\classes
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\paf2009\Desktop\felix-trunk\pom\..\shell\target\org.apache.felix.shell-1.0.2.jar
to c:\bjc\javadown\m2repo
sitory\org\apache\felix\org.apache.felix.shell\1.0.2\org.apache.felix.shell-1.0.2.jar
[INFO] [bundle:install]
[WARNING] Exception while updating OBR: String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
org.apache.felix.obr.plugin.PathFile.extractPathFile(PathFile.java:173)
at org.apache.felix.obr.plugin.PathFile.<init>(PathFile.java:98)
at
org.apache.felix.bundleplugin.OBRInstall.normalizeRepositoryPath(OBRInstall.java:139)
at org.apache.felix.bundleplugin.OBRInstall.execute(OBRInstall.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Felix Shell TUI
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.felix:org.apache.felix.shell:1.1.0-SNAPSHOT:
checking for updates from artifactory
[INFO] snapshot org.apache.felix:org.apache.felix.shell:1.1.0-SNAPSHOT:
checking for updates from apache.snapshots
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.pom
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.pom
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.jar
Downloading:
http://bjcescvs01:8081/artifactory/repo/org/apache/felix/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.felix
-DartifactId=org.apache.felix.shell \
-Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.apache.felix:org.apache.felix.shell.tui:bundle:1.1.0-SNAPSHOT
2) org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.felix:org.apache.felix.shell.tui:bundle:1.1.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
artifactory (http://bjcescvs01:8081/artifactory/repo),
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Thu Jan 24 10:08:25 CST 2008
[INFO] Final Memory: 23M/45M
[INFO] ---------------------------------------------------------------------------------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]