Skip to content

Instantly share code, notes, and snippets.

@anpieber
Created June 8, 2012 09:53
Show Gist options
  • Save anpieber/2894770 to your computer and use it in GitHub Desktop.
Save anpieber/2894770 to your computer and use it in GitHub Desktop.
[pieber@coprime karaf]$ mvn clean install -rf :org.apache.karaf.demos.command
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Karaf :: Demos :: Extend Console Command
[INFO] Apache Karaf :: Demos :: Deployer
[INFO] Apache Karaf :: Demos :: Deployer :: Kar
[INFO] Apache Karaf :: Demos :: Deployer :: Wrap Bundle osgi.commons-lang
[INFO] Apache Karaf :: Demos :: Deployer :: Bundle
[INFO] Apache Karaf :: Demos :: Deployer :: Feature
[INFO] Apache Karaf :: Integration Tests
[INFO] Apache Karaf :: Integration Tests :: Dependencies
[INFO] Apache Karaf :: Tooling :: Testing environment
[INFO] Apache Karaf :: Integration Tests :: ITests
[INFO] Apache Karaf :: Integration Tests :: Kit Tests
[INFO] Apache Karaf :: Tooling :: Maven2 Command Help plugin
[INFO] Apache Karaf :: Archetypes
[INFO] Apache Karaf :: Archetypes :: Assembly Archetype
[INFO] Apache Karaf :: Archetypes :: Blueprint Archetype
[INFO] Apache Karaf :: Archetypes :: Bundle Archetype
[INFO] Apache Karaf :: Archetypes :: Command Archetype
[INFO] Apache Karaf :: Archetypes :: Feature Archetype
[INFO] Apache Karaf :: Archetypes :: Kar Archetype
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Karaf :: Demos :: Extend Console Command 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.apache.karaf.demos.command ---
[INFO] Deleting /home/pieber/projects/karaf/demos/command/target
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:cleanVersions (cleanVersions) @ org.apache.karaf.demos.command ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ org.apache.karaf.demos.command ---
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (copy-notice) @ org.apache.karaf.demos.command ---
[INFO] Executing tasks
main:
[copy] Copying 1 file to /home/pieber/projects/karaf/demos/command/target/maven-shared-archive-resources/META-INF
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ org.apache.karaf.demos.command ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.apache.karaf.demos.command ---
[INFO] Compiling 2 source files to /home/pieber/projects/karaf/demos/command/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ org.apache.karaf.demos.command ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pieber/projects/karaf/demos/command/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ org.apache.karaf.demos.command ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ org.apache.karaf.demos.command ---
[INFO] Surefire report directory: /home/pieber/projects/karaf/demos/command/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ org.apache.karaf.demos.command ---
[ERROR] Error building bundle org.apache.karaf.demos:org.apache.karaf.demos.command:bundle:2.3.0-SNAPSHOT : Class in different directory than declared. Path from class name is org/apache/karaf/demos/command/MyCommand.class but the path in the jar is resources/demos/command/target/classes/org/apache/karaf/demos/command/MyCommand.class from Jar:dot
[ERROR] Error building bundle org.apache.karaf.demos:org.apache.karaf.demos.command:bundle:2.3.0-SNAPSHOT : Class in different directory than declared. Path from class name is org/apache/karaf/demos/command/MyCompleter.class but the path in the jar is resources/demos/command/target/classes/org/apache/karaf/demos/command/MyCompleter.class from Jar:dot
[ERROR] Error(s) found in bundle configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment