{"id":239,"date":"2018-03-25T16:40:47","date_gmt":"2018-03-25T07:40:47","guid":{"rendered":"http:\/\/ito-u-oti.com\/?p=239"},"modified":"2018-05-05T21:28:43","modified_gmt":"2018-05-05T12:28:43","slug":"post-239","status":"publish","type":"post","link":"https:\/\/ito-u-oti.com\/?p=239","title":{"rendered":"STS(eclipse)\u304b\u3089maven\u30d3\u30eb\u30c9\u3067jar\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u8a71"},"content":{"rendered":"<h2 id=\"outline__1\">STS(eclipse)\u304b\u3089maven\u30d3\u30eb\u30c9\u3067jar\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u8a71<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>STS(eclipse)\u304b\u3089maven\u30d3\u30eb\u30c9\u3067jar\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u305f\u306e\u3067\u884c\u3063\u305f\u5bfe\u51e6<\/p>\n<p>\u4f59\u8ac7\u3067\u3059\u304c\u3001jar\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306f\u3001<br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u53f3\u30af\u30ea\u30c3\u30af\u2192\u300c\u5b9f\u884c\u300d\u2192\u300cmaven \u30d3\u30eb\u30c9&#8230;\u300d\u3067\u300c\u69cb\u6210\u306e\u7de8\u96c6\u300d\u3092\u958b\u304d\u3001<br \/>\n\u30b4\u30fc\u30eb\u306bclean dependency:copy-dependencies -DoutputDirectory=lib package\u3092\u6307\u5b9a\u3059\u308b\u3002<br \/>\n\uff08\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u30a2\u30d7\u30ea\u306ejar\u4ee5\u5916\u306b\u3001\u4f9d\u5b58\u3059\u308bjar\u30d5\u30a1\u30a4\u30eb\u3082target\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u4e00\u5f0f\u4f5c\u6210\u3055\u308c\u308b\uff09<br \/>\n<img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2018\/03\/maven-build.png\" alt=\"\" width=\"542\" height=\"696\" class=\"alignnone size-full wp-image-240\" \/><\/p>\n<h2 id=\"outline__2\">\uff11\uff0e<\/h2>\n<h3 id=\"outline__2_1\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;INFO] Scanning for projects...\r\n&#x5B;INFO]                                                                         \r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Building  Blank Project 1.0.0-SNAPSHOT\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;WARNING] The POM for batch:MultiStructure-child1:jar:1.0-SNAPSHOT is missing, no dependency information available\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] BUILD FAILURE\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Total time: 0.966 s\r\n&#x5B;INFO] Finished at: 2018-01-23T11:35:18+09:00\r\n&#x5B;INFO] Final Memory: 8M\/20M\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;ERROR] Failed to execute goal on project batch: Could not resolve dependencies for project batch:batch:jar:1.0.0-SNAPSHOT: Failure to find batch:MultiStructure-child1:jar:1.0-SNAPSHOT in http:\/\/repo.terasoluna.org\/nexus\/content\/repositories\/terasoluna-batch-snapshots\/ was cached in the local repository, resolution will not be reattempted until the update interval of terasoluna-batch-snapshots has elapsed or updates are forced -&gt; &#x5B;Help 1]\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n&#x5B;ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n&#x5B;ERROR] &#x5B;Help 1] http:\/\/cwiki.apache.org\/confluence\/display\/MAVEN\/DependencyResolutionException\r\n<\/pre>\n<h3 id=\"outline__2_2\">\u539f\u56e0<\/h3>\n<p>maven\u3067\u30d6\u30e9\u30f3\u30af\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f\u6642\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u5f8c\u304b\u3089\u5909\u66f4\u3057\u3066\u3044\u305f\u305f\u3081\u3001<br \/>\npom.xml\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306e\u4fee\u6b63\u6f0f\u308c\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002<br \/>\n\uff08\u5143\u3005\u306f\u300cMultiStructure-child1\u300d\u3068\u3044\u3046\u5b50\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3044\u305f\u306e\u3060\u304c\u3001\u540d\u524d\u3092\u3042\u3068\u304b\u3089\u5909\u66f4\u3057\u3066\u3044\u305f\u3002\uff09<\/p>\n<h3 id=\"outline__2_3\">\u89e3\u6c7a\u7b56<\/h3>\n<p>\u30de\u30eb\u30c1\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u6210\u306e\u5834\u5408\u3001\u89aa\u3068\u5b50\u306epom.xml\u4e0a\u3067<br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u66f4\u65b0\u3059\u308b\u3002\uff08\u66f8\u304d\u63db\u3048\u308b\uff09<\/p>\n<h2 id=\"outline__3\">\uff12\uff0e<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>\uff11\u306e\u30a8\u30e9\u30fc\u5bfe\u51e6\u5f8c\u30fb\u30fb\u30fb<\/p>\n<h3 id=\"outline__2_1\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;INFO] Scanning for projects...\r\n&#x5B;ERROR] &#x5B;ERROR] Some problems were encountered while processing the POMs:\r\n&#x5B;ERROR] Child module C:\\MultiStructure\\MultiStructure-parent\\batch-env of C:\\MultiStructure\\MultiStructure-parent\\pom.xml does not exist @ \r\n&#x5B;ERROR] Child module C:\\MultiStructure\\MultiStructure-parent\\batch-app of C:\\MultiStructure\\MultiStructure-parent\\pom.xml does not exist @ \r\n @ \r\n&#x5B;ERROR] The build could not read 1 project -&gt; &#x5B;Help 1]\r\n&#x5B;ERROR]   \r\n&#x5B;ERROR]   The project batch:batch:1.0-SNAPSHOT (C:\\MultiStructure\\MultiStructure-parent\\pom.xml) has 2 errors\r\n&#x5B;ERROR]     Child module C:\\MultiStructure\\MultiStructure-parent\\batch-env of C:\\MultiStructure\\MultiStructure-parent\\pom.xml does not exist\r\n&#x5B;ERROR]     Child module C:\\MultiStructure\\MultiStructure-parent\\batch-app of C:\\MultiStructure\\MultiStructure-parent\\pom.xml does not exist\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n&#x5B;ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n&#x5B;ERROR] &#x5B;Help 1] http:\/\/cwiki.apache.org\/confluence\/display\/MAVEN\/ProjectBuildingException\r\n<\/pre>\n<h3 id=\"outline__2_2\">\u539f\u56e0<\/h3>\n<p>\u30d5\u30a9\u30eb\u30c0\u540d\u3082\u5909\u3048\u3066\u306a\u304b\u3063\u305f\u3002<\/p>\n<h3 id=\"outline__2_3\">\u89e3\u6c7a\u7b56<\/h3>\n<p>.m2\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306e\u5bfe\u8c61\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6d88\u3057\u3066\u518d\u5ea6\u5b9f\u884c\u3002<br \/>\n\uff08maven\u3067\u30d6\u30e9\u30f3\u30af\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001.m2\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4e2d\u306b\u5bfe\u5fdc\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002\uff09<\/p>\n<h2 id=\"outline__4\">\uff13\uff0e<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>\uff12\u306e\u30a8\u30e9\u30fc\u5bfe\u51e6\u5f8c\u30fb\u30fb\u30fb<\/p>\n<h3 id=\"outline__2_1\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;INFO] Scanning for projects...\r\n&#x5B;INFO]                                                                         \r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Building  Blank Project 1.0.0-SNAPSHOT\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;WARNING] The POM for batch:batch-env:jar:1.0-SNAPSHOT is missing, no dependency information available\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] BUILD FAILURE\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Total time: 1.170 s\r\n&#x5B;INFO] Finished at: 2018-01-23T13:57:00+09:00\r\n&#x5B;INFO] Final Memory: 8M\/20M\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;ERROR] Failed to execute goal on project batch-app: Could not resolve dependencies for project batch:batch-app:jar:1.0.0-SNAPSHOT: Failure to find batch:batch-env:jar:1.0-SNAPSHOT in http:\/\/repo.org\/nexus\/content\/repositories\/batch-snapshots\/ was cached in the local repository, resolution will not be reattempted until the update interval of batch-snapshots has elapsed or updates are forced -&gt; &#x5B;Help 1]\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n&#x5B;ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n&#x5B;ERROR] &#x5B;Help 1] http:\/\/cwiki.apache.org\/confluence\/display\/MAVEN\/DependencyResolutionException\r\n<\/pre>\n<h3 id=\"outline__2_2\">\u539f\u56e0<\/h3>\n<p>.m2\u30ea\u30dd\u30b8\u30c8\u30ea\u4e0a\u306b\u5b58\u5728\u3057\u306a\u3044\u3082\u306e\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306epom.xml\u3067dependency\u3057\u3066\u3044\u305f\u3002<br \/>\n\u3064\u307e\u308a\u3001\u30de\u30eb\u30c1\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u6210\u306e\u5834\u5408\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(app)\u3068\u74b0\u5883\u8a2d\u5b9a(env)\u3092\u5225\u3005\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u5206\u3051\u3066\u3044\u308b\u305f\u3081\u3001<br \/>\napp\u304b\u3089env\u306ejar\u3092dependency\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u304c.m2\u30ea\u30dd\u30b8\u30c8\u30ea\u4e0a\u306b\u5b58\u5728\u3057\u306a\u3044\u3068\u6012\u3089\u308c\u3066\u3044\u305f\u3002<\/p>\n<h3 id=\"outline__2_3\">\u89e3\u6c7a\u7b56<\/h3>\n<p>dependency\u304b\u3089\u5916\u3059\u304b\u3001\u5148\u306benv\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ejar\u3092\u4f5c\u6210\u3057\u305d\u3044\u3064\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u683c\u7d0d\u3059\u308b\u304b\u53c2\u7167\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3068\u304b\u3059\u308b\u3002<br \/>\n\uff08\u8ffd\u8a18\uff1a\u89aa\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089dependency\u3057\u305f\u307e\u307e\u3067\u3082\u30d3\u30eb\u30c9\u3067\u304d\u308b\u307d\u3044\u30fb\u30fb\uff1f\uff09<\/p>\n<h2 id=\"outline__5\">\uff14\uff0e<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>\uff13\u306e\u5bfe\u51e6\u5f8c\u30fb\u30fb\u30fb<\/p>\n<h3 id=\"outline__2_1\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;INFO] Scanning for projects...\r\n&#x5B;INFO]                                                                         \r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Building Blank Project 1.0.0-SNAPSHOT\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ batch-app ---\r\n&#x5B;INFO] Deleting C:\\MultiStructure\\batch\\batch-app\\target\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default-cli) @ batch-app ---\r\n&#x5B;INFO] Copying junit-3.8.1.jar to C:\\MultiStructure\\batch\\batch-app\\lib\\junit-3.8.1.jar\r\n&#x5B;INFO] Copying batch-5.0.0.RELEASE.jar to C:\\MultiStructure\\batch\\batch-app\\lib\\batch-5.0.0.RELEASE.jar\r\n&#x5B;INFO] jettison-1.2.jar already exists in destination.\r\n&#x5B;INFO] mybatis-typehandlers-jsr310-1.0.2.jar already exists in destination.\r\n&#x5B;INFO] slf4j-api-1.7.22.jar already exists in destination.\r\n&#x5B;INFO] logback-core-1.1.8.jar already exists in destination.\r\n&#x5B;INFO] h2-1.4.193.jar already exists in destination.\r\n&#x5B;INFO] spring-batch-core-3.0.7.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] commons-dbcp2-2.1.1.jar already exists in destination.\r\n&#x5B;INFO] hibernate-validator-5.2.4.Final.jar already exists in destination.\r\n&#x5B;INFO] javax.batch-api-1.0.1.jar already exists in destination.\r\n&#x5B;INFO] spring-aop-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] jcl-over-slf4j-1.7.22.jar already exists in destination.\r\n&#x5B;INFO] xpp3_min-1.1.4c.jar already exists in destination.\r\n&#x5B;INFO] spring-retry-1.1.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] logback-classic-1.1.8.jar already exists in destination.\r\n&#x5B;INFO] postgresql-9.4.1212.jre7.jar already exists in destination.\r\n&#x5B;INFO] mybatis-spring-1.3.1.jar already exists in destination.\r\n&#x5B;INFO] spring-beans-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] xmlpull-1.1.3.1.jar already exists in destination.\r\n&#x5B;INFO] xstream-1.4.9.jar already exists in destination.\r\n&#x5B;INFO] spring-batch-infrastructure-3.0.7.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] javax.inject-1.jar already exists in destination.\r\n&#x5B;INFO] spring-expression-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] mybatis-3.4.2.jar already exists in destination.\r\n&#x5B;INFO] javax.el-3.0.0.jar already exists in destination.\r\n&#x5B;INFO] spring-context-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-core-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-tx-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-jdbc-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] com.ibm.jbatch-tck-spi-1.0.jar already exists in destination.\r\n&#x5B;INFO] db2jcc4-10.1.jar already exists in destination.\r\n&#x5B;INFO] validation-api-1.1.0.Final.jar already exists in destination.\r\n&#x5B;INFO] classmate-1.3.3.jar already exists in destination.\r\n&#x5B;INFO] commons-pool2-2.4.2.jar already exists in destination.\r\n&#x5B;INFO] lombok-1.16.12.jar already exists in destination.\r\n&#x5B;INFO] jboss-logging-3.3.0.Final.jar already exists in destination.\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ batch-app ---\r\n&#x5B;INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n&#x5B;INFO] Copying 19 resources\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ batch-app ---\r\n&#x5B;INFO] Changes detected - recompiling the module!\r\n&#x5B;INFO] Compiling 16 source files to C:\\MultiStructure\\batch\\batch-app\\target\\classes\r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;ERROR] COMPILATION ERROR : \r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?\r\n&#x5B;INFO] 1 error\r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] BUILD FAILURE\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Total time: 4.335 s\r\n&#x5B;INFO] Finished at: 2018-01-23T14:06:20+09:00\r\n&#x5B;INFO] Final Memory: 13M\/32M\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project batch-app: Compilation failure\r\n&#x5B;ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?\r\n&#x5B;ERROR] -&gt; &#x5B;Help 1]\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n&#x5B;ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n&#x5B;ERROR] \r\n&#x5B;ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n&#x5B;ERROR] &#x5B;Help 1] http:\/\/cwiki.apache.org\/confluence\/display\/MAVEN\/MojoFailureException\r\n<\/pre>\n<h3 id=\"outline__2_2\">\u539f\u56e0<\/h3>\n<p>\u30d3\u30eb\u30c9\u306b\u4f7f\u3063\u3066\u3044\u305f\u306e\u306fJDK\u3058\u3083\u306a\u304f\u3066JRE\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<h3 id=\"outline__2_3\">\u89e3\u6c7a\u7b56<\/h3>\n<p>JRE\u3092JDK\u306b\u5909\u66f4\u3059\u308b\uff08\u74b0\u5883\u5909\u6570JAVA_HOME\u3067\u6307\u5b9a\u3057\u3066\u3044\u308bjava\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u74b0\u5883\u3092\u5909\u66f4\u3059\u308b\u3002\uff09<br \/>\n<a href=\"https:\/\/qiita.com\/takaaki4cards\/items\/639b4cd7544944d5e5c4\">\u53c2\u7167<\/a><\/p>\n<h2 id=\"outline__6\">\uff15\uff0e<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>\uff14\u306e\u5bfe\u51e6\u5f8c\u30fb\u30fb\u30fb<\/p>\n<h3 id=\"outline__2_1\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;INFO] Scanning for projects...\r\n&#x5B;INFO]                                                                         \r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Building Blank Project 1.0.0-SNAPSHOT\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ batch-app ---\r\n&#x5B;INFO] Deleting C:\\MultiStructure\\batch\\batch-app\\target\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default-cli) @ batch-app ---\r\n&#x5B;INFO] jettison-1.2.jar already exists in destination.\r\n&#x5B;INFO] mybatis-typehandlers-jsr310-1.0.2.jar already exists in destination.\r\n&#x5B;INFO] slf4j-api-1.7.22.jar already exists in destination.\r\n&#x5B;INFO] logback-core-1.1.8.jar already exists in destination.\r\n&#x5B;INFO] h2-1.4.193.jar already exists in destination.\r\n&#x5B;INFO] spring-batch-core-3.0.7.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] commons-dbcp2-2.1.1.jar already exists in destination.\r\n&#x5B;INFO] hibernate-validator-5.2.4.Final.jar already exists in destination.\r\n&#x5B;INFO] javax.batch-api-1.0.1.jar already exists in destination.\r\n&#x5B;INFO] spring-aop-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] jcl-over-slf4j-1.7.22.jar already exists in destination.\r\n&#x5B;INFO] xpp3_min-1.1.4c.jar already exists in destination.\r\n&#x5B;INFO] junit-3.8.1.jar already exists in destination.\r\n&#x5B;INFO] spring-retry-1.1.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] logback-classic-1.1.8.jar already exists in destination.\r\n&#x5B;INFO] postgresql-9.4.1212.jre7.jar already exists in destination.\r\n&#x5B;INFO] mybatis-spring-1.3.1.jar already exists in destination.\r\n&#x5B;INFO] spring-beans-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] xmlpull-1.1.3.1.jar already exists in destination.\r\n&#x5B;INFO] xstream-1.4.9.jar already exists in destination.\r\n&#x5B;INFO] spring-batch-infrastructure-3.0.7.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] javax.inject-1.jar already exists in destination.\r\n&#x5B;INFO] spring-expression-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] mybatis-3.4.2.jar already exists in destination.\r\n&#x5B;INFO] javax.el-3.0.0.jar already exists in destination.\r\n&#x5B;INFO] spring-context-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-core-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-tx-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] spring-jdbc-4.3.5.RELEASE.jar already exists in destination.\r\n&#x5B;INFO] com.ibm.jbatch-tck-spi-1.0.jar already exists in destination.\r\n&#x5B;INFO] db2jcc4-10.1.jar already exists in destination.\r\n&#x5B;INFO] validation-api-1.1.0.Final.jar already exists in destination.\r\n&#x5B;INFO] classmate-1.3.3.jar already exists in destination.\r\n&#x5B;INFO] commons-pool2-2.4.2.jar already exists in destination.\r\n&#x5B;INFO] lombok-1.16.12.jar already exists in destination.\r\n&#x5B;INFO] jboss-logging-3.3.0.Final.jar already exists in destination.\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ batch-app ---\r\n&#x5B;INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n&#x5B;INFO] Copying 19 resources\r\n&#x5B;INFO] \r\n&#x5B;INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ batch-app ---\r\n&#x5B;INFO] Changes detected - recompiling the module!\r\n&#x5B;INFO] Compiling 16 source files to C:\\MultiStructure\\batch\\batch-app\\target\\classes\r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;ERROR] COMPILATION ERROR : \r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;12,28] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;13,35] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.common\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;14,38] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.datatypes\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;15,38] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.datatypes\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;132,13] \u30b7\u30f3\u30dc\u30eb\u3092\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\r\n  \u30b7\u30f3\u30dc\u30eb:   \u30af\u30e9\u30b9 hogehoge\r\n  \u5834\u6240: \u30af\u30e9\u30b9 service.sample03.Sample03JobServiceImpl\r\n&#x5B;INFO] 5 errors \r\n&#x5B;INFO] -------------------------------------------------------------\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] BUILD FAILURE\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;INFO] Total time: 9.990 s\r\n&#x5B;INFO] Finished at: 2018-01-23T14:56:55+09:00\r\n&#x5B;INFO] Final Memory: 18M\/47M\r\n&#x5B;INFO] ------------------------------------------------------------------------\r\n&#x5B;ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project batch-app: Compilation failure: Compilation failure:\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;12,28] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;13,35] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.common\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;14,38] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.datatypes\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;15,38] \u30d1\u30c3\u30b1\u30fc\u30b8hoge.xml.datatypes\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\r\n&#x5B;ERROR] \/C:\/MultiStructure\/batch\/batch-app\/src\/main\/java\/service\/sample03\/Sample03JobServiceImpl.java:&#x5B;132,13] \u30b7\u30f3\u30dc\u30eb\u3092\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\r\n&#x5B;ERROR] \u30b7\u30f3\u30dc\u30eb:   \u30af\u30e9\u30b9 hogehoge\r\n&#x5B;ERROR] \u5834\u6240: \u30af\u30e9\u30b9 service.sample03.Sample03JobServiceImpl\r\n&#x5B;ERROR] -&gt; &#x5B;Help 1]\r\n&#x5B;ERROR] \r\n<\/pre>\n<h3 id=\"outline__2_2\">\u539f\u56e0<\/h3>\n<p>hogehoge\u30af\u30e9\u30b9\u3092maven\u304b\u3089\u6301\u3063\u3066\u3053\u308c\u306a\u304b\u3063\u305f\u305f\u3081\u3002<br \/>\n\u4eca\u56dehogehoge\u30af\u30e9\u30b9\u306f\u81ea\u524d\u3067\u4f5c\u6210\u3057\u305f\u3084\u3064\u3067\u3001maven\u306e\u30bb\u30f3\u30c8\u30e9\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306f\u5f53\u7136\u306a\u3044\u306e\u3067\u3042\u308b\u305f\u3081\u81ea\u5206\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u767b\u9332\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002<\/p>\n<h3 id=\"outline__2_3\">\u89e3\u6c7a\u7b56<\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3001mvn\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30ed\u30fc\u30ab\u30eb\u3067jar\u306e\u767b\u9332\u3092\u884c\u3046\u3002<br \/>\njar\u306e\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0a\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u305f\u305f\u304f\u3002<br \/>\n\uff08-Dfile=C:\\xxx\\hoge.jar\u307f\u305f\u3044\u306a\u7d76\u5bfe\u6307\u5b9a\u3067\u3082\u3044\u3044\uff09<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmvn install:install-file ^\r\n    -Dfile=hoge.jar ^\r\n    -DgroupId=hoge.hoge ^\r\n    -DartifactId=hoge ^\r\n    -Dversion=1.0 ^\r\n    -Dpackaging=jar ^\r\n    -DgeneratePom=true\r\n<\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u7121\u4e8b\u30d3\u30eb\u30c9\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u9577\u304b\u3063\u305f\u30fb\u30fb\u30fb\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>STS(eclipse)\u304b\u3089maven\u30d3\u30eb\u30c9\u3067jar\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308d\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u8a71 \u4e8b\u8c61  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":93,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,25,24,7],"tags":[87,90,14,10],"class_list":["post-239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-batch","category-maven","category-spring","category-error-bugs","tag-batch","tag-build","tag-maven","tag-spring"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=239"}],"version-history":[{"count":3,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":467,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/239\/revisions\/467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/media\/93"}],"wp:attachment":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}