{"id":6,"date":"2015-01-20T22:49:11","date_gmt":"2015-01-20T13:49:11","guid":{"rendered":"http:\/\/www.wingnest.com\/wp\/?p=6"},"modified":"2015-02-09T14:09:53","modified_gmt":"2015-02-09T05:09:53","slug":"maven-archetype%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0karaf%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.wingnest.com\/blog\/archives\/6","title":{"rendered":"Maven archetype\u3092\u4f7f\u3063\u3066\u30ab\u30b9\u30bf\u30e0Karaf\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0<a href=\"http:\/\/karaf.apache.org\/\">Karaf<\/a>\u30b3\u30de\u30f3\u30c9\u3092Maven architype \u3092\u4f7f\u3063\u3066\u4f5c\u6210\u3057\u3001\u305d\u308c\u3092\u901a\u3057\u3066\u3001Karaf \u306e\u30b3\u30de\u30f3\u30c9\u5468\u308a\u3092\u3061\u3087\u3063\u3068\u3060\u3051\u8997\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<a href=\"http:\/\/karaf.apache.org\/\">Karaf 3.0.3<\/a> \u3068 Maven3.0.5 \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30ab\u30b9\u30bf\u30e0 Karaf \u30b3\u30de\u30f3\u30c9\u306e\u96db\u5f62\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u30ab\u30b9\u30bf\u30e0 Karaf \u30b3\u30de\u30f3\u30c9\u306e\u96db\u5f62\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e&#8221;<a href=\"http:\/\/karaf.apache.org\/manual\/latest\/developers-guide\/archetypes.html\">karaf-command-archetype<\/a>&#8220;\u3068\u3044\u3046 Maven architype \u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\"># mvn archetype:generate \\\n   -DarchetypeGroupId=org.apache.karaf.archetypes \\\n   -DarchetypeArtifactId=karaf-command-archetype \\\n   -DarchetypeVersion=3.0.3 \\\n   -DgroupId=com.wingnest \\\n   -DartifactId=custom-command1 \\\n   -Dversion=1.0.0-SNAPSHOT \\\n   -Dpackage=com.wingnest.test\n<\/code><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u4f5c\u6210\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e ArtifactId \u3092 custom-command1 \u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u88c5\u3059\u308bJava\u30af\u30e9\u30b9\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092 -Dpackage \u3067 com.wingnest.test \u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5b9f\u884c\u306b\u3088\u308a\u3001\u6b21\u306e\u753b\u9762\u51fa\u529b\u304c\u304a\u3053\u306a\u308f\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">[INFO] Scanning for projects...\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building Maven Stub Project (No POM) 1\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] &gt;&gt;&gt; maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom &gt;&gt;&gt;\n[INFO] \n[INFO] &lt;&lt;&lt; maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom &lt;&lt;&lt;\n[INFO] \n[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---\n[INFO] Generating project in Interactive mode\n[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-command-archetype:3.0.2] found in catalog remote\n[INFO] Using property: groupId = com.wingnest\n[INFO] Using property: artifactId = custom-command1\n[INFO] Using property: version = 1.0.0-SNAPSHOT\n[INFO] Using property: package = com.wingnest.test\nDefine value for property 'command': : \n<\/code><\/pre>\n<p>\u3053\u306e\u72b6\u614b\u3067\u753b\u9762\u51fa\u529b\u304c\u6b62\u307e\u308a\u307e\u3059\u3002<br \/>\n\u614c\u3066\u305a\u3001\u3053\u3053\u3067\u306f\u4f5c\u6210\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001&#8221;command1&#8243; \u3068\u3044\u3046\u540d\u524d\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001command1 \u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u5165\u529b\u3092\u7d42\u3048\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u753b\u9762\u51fa\u529b\u304c\u884c\u308f\u308c\u307e\u305f\u6b62\u307e\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u4f5c\u6210\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u8aac\u660e\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">Define value for property 'command': : command1\nDefine value for property 'description': : \u30ab\u30b9\u30bf\u30e0\u30b3\u30de\u30f3\u30c9\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\n<\/code><\/pre>\n<p>\u7d9a\u3044\u3066\u3001\u6b21\u306e\u3088\u3046\u306a\u753b\u9762\u51fa\u529b\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">Define value for property 'command': : command1\nDefine value for property 'description': : \u30ab\u30b9\u30bf\u30e0\u30b3\u30de\u30f3\u30c9\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\nDefine value for property 'scope': : \n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u805e\u304b\u308c\u3066\u3044\u308b scope \u3068\u3044\u3046\u3082\u306e\u306f\u3001\u30b3\u30de\u30f3\u30c9\u306e\u30ab\u30c6\u30b4\u30ea\u306e\u3088\u3046\u306a\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001myscope \u3068\u3064\u3051\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306escope\u306e\u540d\u524d\u3068\u30b3\u30de\u30f3\u30c9\u306e\u540d\u524d\u3092\u4f7f\u3063\u3066\u3001\u3053\u306e\u8a18\u4e8b\u306e\u4f8b\u3067\u306f\u3001myscope:command1 \u3068\u3044\u3046\u3075\u3046\u306b Karaf\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002myscope \u3068\u3044\u3046\u30b9\u30b3\u30fc\u30d7\u306b\u5b58\u5728\u3059\u308b command1 \u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u3055\u3066\u3001scope \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">Confirm properties configuration:\ngroupId: com.wingnest\nartifactId: custom-command1\nversion: 1.0.0-SNAPSHOT\npackage: com.wingnest.test\ncommand: command1\ndescription: \u30ab\u30b9\u30bf\u30e0\u30b3\u30de\u30f3\u30c9\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\nscope: myscope\n Y: : \n<\/code><\/pre>\n<p>\u4eca\u307e\u3067\u5165\u529b\u3057\u305f\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u8868\u793a\u5185\u5bb9\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001Y \u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3001Y\u4ee5\u5916\u3092\u5165\u529b\u3059\u308b\u3068\u6700\u521d\u304b\u3089\u5165\u529b\u3057\u306a\u304a\u3057\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Y \u3092\u5165\u529b\u3057\u7d42\u3048\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u3042\u308a\u3001mvn \u3092\u5b9f\u884c\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306b\u3001custom-command1 \u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">scope: myscope\n Y: : Y\n[INFO] ----------------------------------------------------------------------------\n[INFO] Using following parameters for creating project from Archetype: karaf-command-archetype:3.0.3\n[INFO] ----------------------------------------------------------------------------\n[INFO] Parameter: groupId, Value: com.wingnest\n[INFO] Parameter: artifactId, Value: custom-command1\n[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT\n[INFO] Parameter: package, Value: com.wingnest.test\n[INFO] Parameter: packageInPathFormat, Value: com\/wingnest\/test\n[INFO] Parameter: package, Value: com.wingnest.test\n[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT\n[INFO] Parameter: groupId, Value: com.wingnest\n[INFO] Parameter: scope, Value: myscope\n[INFO] Parameter: description, Value: \u30ab\u30b9\u30bf\u30e0\u30b3\u30de\u30f3\u30c9\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3059\n[INFO] Parameter: command, Value: command1\n[INFO] Parameter: artifactId, Value: custom-command1\n[INFO] project created from Archetype in dir: \/home\/gougi\/\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/Karaf\/test\/custom-command1\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 9:28.460s\n[INFO] Finished at: Tue Jan 20 16:33:13 JST 2015\n[INFO] Final Memory: 15M\/240M\n[INFO] ------------------------------------------------------------------------\n$ ls\ncustom-command1\n<\/code><\/pre>\n<h3>\u3068\u308a\u3042\u3048\u305a\u30ab\u30b9\u30bf\u30e0 Karaf \u30b3\u30de\u30f3\u30c9\u306e\u96db\u5f62\u3092\u30d3\u30eb\u30c9\u3059\u308b<\/h3>\n<p>\u4f5c\u6210\u3055\u308c\u305f custom-command1 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u3001mvn install \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">$ mvn install\n[INFO] Scanning for projects...\n[INFO]                                                                         \n[INFO] ------------------------------------------------------------------------\n[INFO] Building Apache Karaf :: Shell myscope\/command1 Commands 1.0.0-SNAPSHOT\n[INFO] ------------------------------------------------------------------------\n[INFO] \n[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ custom-command1 ---\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\n[INFO] Copying 1 resource\n[INFO] \n[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ custom-command1 ---\n[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!\n[INFO] Compiling 1 source file to \/home\/gougi\/\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/Karaf\/custom-command1\/target\/classes\n[INFO] \n[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ custom-command1 ---\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\n[INFO] skip non existing resourceDirectory \/home\/gougi\/\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/Karaf\/custom-command1\/src\/test\/resources\n[INFO] \n[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ custom-command1 ---\n[INFO] No sources to compile\n[INFO] \n[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ custom-command1 ---\n[INFO] No tests to run.\n[INFO] \n[INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @ custom-command1 ---\n[INFO] \n[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ custom-command1 ---\n[INFO] Installing \/home\/gougi\/\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/Karaf\/custom-command1\/target\/custom-command1-1.0.0-SNAPSHOT.jar to \/home\/gougi\/.m2\/repository\/com\/wingnest\/custom-command1\/1.0.0-SNAPSHOT\/custom-command1-1.0.0-SNAPSHOT.jar\n[INFO] Installing \/home\/gougi\/\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\/Karaf\/custom-command1\/pom.xml to \/home\/gougi\/.m2\/repository\/com\/wingnest\/custom-command1\/1.0.0-SNAPSHOT\/custom-command1-1.0.0-SNAPSHOT.pom\n[INFO] \n[INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ custom-command1 ---\n[INFO] Installing com\/wingnest\/custom-command1\/1.0.0-SNAPSHOT\/custom-command1-1.0.0-SNAPSHOT.jar\n[INFO] Writing OBR metadata\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 1.640s\n[INFO] Finished at: Sun Feb 08 09:53:48 JST 2015\n[INFO] Final Memory: 21M\/253M\n[INFO] ------------------------------------------------------------------------\n$ \n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u3055\u308c\u307e\u3059\u3002\u3088\u304f\u898b\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a WARNING \u304c\u51fa\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">\uff08\u7701\u7565\uff09\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\n\uff08\u7701\u7565\uff09\n<\/code><\/pre>\n<p>\u3053\u308c\u306f\u3001<\/p>\n<pre><code class=\"no-highlight\">\u3000\u3000&lt;properties&gt;\n\u3000\u3000\u3000\u3000&lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\n\u3000\u3000&lt;\/properties&gt;\n<\/code><\/pre>\n<p>\u3092\u52a0\u3048\u308c\u3070\u3088\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u304c\u3001\u554f\u984c\u306f\u8d77\u304d\u305d\u3046\u306b\u306a\u3044\u306e\u3067\u3001\u6c17\u306b\u305b\u305a\u3053\u306e\u307e\u307e\u3001Karaf \u306b install \u3057\u3066\u307f\u307e\u3057\u3087\u3046<sup><a href=\"#footnote_1_6\" id=\"identifier_1_6\" class=\"footnote-link footnote-identifier-link\" title=\"\u3082\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u3044\u3066\u3001Karaf \u304c\u305d\u308c\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001Karaf\u306eetc\/org.ops4j.pax.url.mvn.cfg\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u305d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u52a0\u3048\u3066\u304f\u3060\u3055\u3044\u3002\">1<\/a><\/sup>\u3002<\/p>\n<pre><code class=\"no-highlight\">$ karaf\n        __ __                  ____      \n       \/ \/\/_\/____ __________ _\/ __\/      \n      \/ ,&lt;  \/ __ `\/ ___\/ __ `\/ \/_        \n     \/ \/| |\/ \/_\/ \/ \/  \/ \/_\/ \/ __\/        \n    \/_\/ |_|\\__,_\/_\/   \\__,_\/_\/         \n\n  Apache Karaf (3.0.3)\n\nHit '&lt;tab&gt;' for a list of available commands\nand '[cmd] --help' for help on a specific command.\nHit '&lt;ctrl-d&gt;' or type 'system:shutdown' or 'logout' to shutdown Karaf.\n\nkaraf@root()&gt; install -s mvn:com.wingnest\/custom-command1\nBundle ID: 64\nkaraf@root()&gt; \n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b Bundle(=OSGi\u30d9\u30fc\u30b9\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\uff09\u306e\u4e00\u89a7\u3092\u307f\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">karaf@root()&gt; bundle:list\nSTART LEVEL 100 , List Threshold: 50\n ID | State   | Lvl | Version        | Name                                           \n--------------------------------------------------------------------------------------\n64 | Active |  80 | 1.0.0.SNAPSHOT | Apache Karaf :: Shell myscope\/command1 Commands\nkaraf@root()&gt;\n<\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3055\u308c\u3066\u3001\u72b6\u614b\u3082 Active \u3068\u306a\u3063\u3066\u3044\u3066\u6b63\u5e38\u306b\u7a3c\u50cd\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001myscope:command1\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">karaf@root()&gt; myscope:command1\nExecuting command command1\nOption: null\nArgument: null\nkaraf@root()&gt; \n<\/code><\/pre>\n<p>\u4f55\u3084\u3089\u8868\u793a\u3055\u308c\u3001\u3061\u3083\u3093\u3068\u5b9f\u884c\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30b3\u30de\u30f3\u30c9\u306b\u5f15\u6570\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4e0e\u3048\u3066\u307f\u308b<\/h3>\n<p>\u3057\u304b\u3057\u3001\u3088\u304f\u898b\u308b\u3068\u3001Option \u3068 Argument \u306e\u4e8c\u7b87\u6240\u304c null \u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002\u6c17\u306b\u306a\u308b\u306e\u3067\u3001\u81ea\u52d5\u3067\u751f\u6210\u3055\u308c\u305f\u30bd\u30fc\u30b9\u3092\u307f\u3066\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u306e\u30bd\u30fc\u30b9\u306f\u3001custom-command1\/src\/main\/java\/com\/wingnest\/test\/command1.java \u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>@Option \u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u3001\u305d\u3057\u3066 @Argument \u3067\u5f15\u6570\u304c\u3001\u305d\u308c\u305e\u308c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u3066\u3001\u3055\u3089\u306b\u3001\u305d\u308c\u3092\u8868\u793a\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u6b21\u306e\u3088\u3046\u306b Karaf\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u3092\u5f97\u3089\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre><code class=\"no-highlight\">karaf@root()&gt; myscope:command1 -o hoge foobar\nExecuting command command1\nOption: hoge\nArgument: foobar\nkaraf@root()&gt; \n<\/code><\/pre>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001\u3053\u3053\u307e\u3067\u3002<\/p>\n<ol class=\"footnotes\"><li id=\"footnote_1_6\" class=\"footnote\">\u3082\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u3044\u3066\u3001Karaf \u304c\u305d\u308c\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001Karaf\u306eetc\/org.ops4j.pax.url.mvn.cfg\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u305d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u52a0\u3048\u3066\u304f\u3060\u3055\u3044\u3002<span class=\"footnote-back-link-wrapper\"> [<a href=\"#identifier_1_6\" class=\"footnote-link footnote-back-link\">&#8617;<\/a>]<\/span><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0Karaf\u30b3\u30de\u30f3\u30c9\u3092Maven architype \u3092\u4f7f\u3063&hellip;  <\/p>\n<p class=\"more-link\"><a href=\"https:\/\/www.wingnest.com\/blog\/archives\/6\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[9],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-java","category-osgi","tag-apache-karaf"],"_links":{"self":[{"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":13,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":175,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions\/175"}],"wp:attachment":[{"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wingnest.com\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}