Advertisement
Guest User

Untitled

a guest
Apr 9th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.62 KB | None | 0 0
  1. sean@sean-PC:/dev_0/proj/idea/spring/spring-data-jpa/spring-core-spring-mvc$ mvn package -X
  2. Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T18:41:47+02:00)
  3. Maven home: /dev_0/app/mvn
  4. Java version: 1.8.0_121, vendor: Oracle Corporation
  5. Java home: /dev_0/app/jdk/jre
  6. Default locale: en_GB, platform encoding: UTF-8
  7. OS name: "linux", version: "4.8.0-46-generic", arch: "amd64", family: "unix"
  8. [DEBUG] Created new class realm maven.api
  9. [DEBUG] Importing foreign packages into class realm maven.api
  10. [DEBUG] Imported: javax.enterprise.inject.* < plexus.core
  11. [DEBUG] Imported: ** Other stuff {Deleted to prevent Clutter}**
  12. [DEBUG] Populating class realm maven.api
  13. [INFO] Error stacktraces are turned on.
  14. [DEBUG] Reading global settings from /dev_0/app/mvn/conf/settings.xml
  15. [DEBUG] Reading user settings from /home/sean/.m2/settings.xml
  16. [DEBUG] Reading global toolchains from /dev_0/app/mvn/conf/toolchains.xml
  17. [DEBUG] Reading user toolchains from /home/sean/.m2/toolchains.xml
  18. [DEBUG] Using local repository at /dev_0/repo
  19. [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /dev_0/repo
  20. [INFO] Scanning for projects...
  21. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for master (http://localhost:8081/repository/master/).
  22. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for hotfix (http://localhost:8081/repository/hotfix/).
  23. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for release (http://localhost:8081/repository/release/).
  24. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for develop (http://localhost:8081/repository/develop/).
  25. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for feature (http://localhost:8081/repository/feature/).
  26. [DEBUG] Using mirror feature (http://localhost:8081/repository/feature/) for central (https://repo.maven.apache.org/maven2).
  27. [DEBUG] Extension realms for project guru.springframework:springmvc:jar:0.0.1-SNAPSHOT: (none)
  28. [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
  29. [DEBUG] Extension realms for project org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE: (none)
  30. [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  31. [DEBUG] Extension realms for project org.springframework.boot:spring-boot-dependencies:pom:1.3.0.RELEASE: (none)
  32. [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  33. [DEBUG] === REACTOR BUILD PLAN ================================================
  34. [DEBUG] Project: guru.springframework:springmvc:jar:0.0.1-SNAPSHOT
  35. [DEBUG] Tasks: [package]
  36. [DEBUG] Style: Regular
  37. [DEBUG] =======================================================================
  38. [INFO]
  39. [INFO] ------------------------------------------------------------------------
  40. [INFO] Building springmvc 0.0.1-SNAPSHOT
  41. [INFO] ------------------------------------------------------------------------
  42. [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
  43. [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
  44. [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
  45. [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://localhost:8081/repository/feature/
  46. [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:8081/repository/feature/ with username=sean, password=***
  47. Downloading: http://localhost:8081/repository/feature/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
  48. [DEBUG] Writing tracking file /dev_0/repo/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom.lastUpdated
  49. [WARNING] The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 is missing, no dependency information available
  50. [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://localhost:8081/repository/feature/
  51. [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://localhost:8081/repository/feature/ with username=sean, password=***
  52. Downloading: http://localhost:8081/repository/feature/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.jar
  53. [DEBUG] Writing tracking file /dev_0/repo/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.jar.lastUpdated
  54. [INFO] ------------------------------------------------------------------------
  55. [INFO] BUILD FAILURE
  56. [INFO] ------------------------------------------------------------------------
  57. [INFO] Total time: 0.342 s
  58. [INFO] Finished at: 2017-04-09T08:27:50+02:00
  59. [INFO] Final Memory: 13M/292M
  60. [INFO] ------------------------------------------------------------------------
  61. [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Could not find artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in feature (http://localhost:8081/repository/feature/) -> [Help 1]
  62. org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Could not find artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in feature (http://localhost:8081/repository/feature/)
  63. at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:128)
  64. at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:179)
  65. at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:284)
  66. at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
  67. at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:169)
  68. at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:155)
  69. at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:131)
  70. at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
  71. at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
  72. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
  73. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  74. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  75. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  76. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  77. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  78. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  79. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  80. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  81. at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  82. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  83. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  84. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  85. at java.lang.reflect.Method.invoke(Method.java:498)
  86. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  87. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  88. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  89. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  90. Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in feature (http://localhost:8081/repository/feature/)
  91. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
  92. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
  93. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
  94. at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
  95. at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:124)
  96. ... 26 more
  97. Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in feature (http://localhost:8081/repository/feature/)
  98. at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
  99. at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
  100. at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
  101. at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
  102. at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
  103. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
  104. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
  105. ... 30 more
  106. [ERROR]
  107. [ERROR]
  108. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  109. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
  110.  
  111. <?xml version="1.0" encoding="UTF-8"?>
  112. <project xmlns="http://maven.apache.org/POM/4.0.0"
  113. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  114.  
  115. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  116. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  117. <modelVersion>4.0.0</modelVersion>
  118.  
  119. <groupId>guru.springframework</groupId>
  120. <artifactId>springmvc</artifactId>
  121. <version>0.0.1-SNAPSHOT</version>
  122. <packaging>jar</packaging>
  123.  
  124. <name>springmvc</name>
  125. <description>Demo project for Spring
  126. Boot</description>
  127.  
  128. <!-- download artifacts from this repo -->
  129. <repositories>
  130. <repository>
  131. <id>feature</id>
  132. <name>Feature Plugin Repository</name>
  133. <url>http://localhost:8081/repository/feature/</url>
  134. <releases>
  135. <updatePolicy>always</updatePolicy>
  136. </releases>
  137. </repository>
  138. </repositories>
  139.  
  140. <pluginRepositories>
  141. <pluginRepository>
  142. <id>feature</id>
  143. <name>Feature Plugin Repository</name>
  144. <url>http://localhost:8081/repository/feature/</url>
  145. <layout>default</layout>
  146. <snapshots>
  147. <enabled>true</enabled>
  148. </snapshots>
  149. <releases>
  150. <updatePolicy>always</updatePolicy>
  151. </releases>
  152. </pluginRepository>
  153. </pluginRepositories>
  154.  
  155.  
  156. <parent>
  157. <groupId>org.springframework.boot</groupId>
  158. <artifactId>spring-boot-starter-parent</artifactId>
  159. <version>1.3.0.RELEASE</version>
  160. <relativePath/> <!-- lookup parent from repository -->
  161. </parent>
  162.  
  163. <properties>
  164. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  165. <java.version>1.8</java.version>
  166. </properties>
  167.  
  168. <dependencies>
  169. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin -->
  170. <dependency>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-maven-plugin</artifactId>
  173. <version>1.3.0.RELEASE</version>
  174. </dependency>
  175.  
  176.  
  177. <!--<!&ndash; https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools &ndash;>-->
  178.  
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-web</artifactId>
  186. </dependency>
  187.  
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-devtools</artifactId>
  191. </dependency>
  192.  
  193. <dependency>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-starter-data-jpa</artifactId>
  196. </dependency>
  197.  
  198. <dependency>
  199. <groupId>com.h2database</groupId>
  200. <artifactId>h2</artifactId>
  201. <scope>runtime</scope>
  202. </dependency>
  203.  
  204. <!--WebJars-->
  205. <dependency>
  206. <groupId>org.webjars</groupId>
  207. <artifactId>bootstrap</artifactId>
  208. <version>3.3.5</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.webjars</groupId>
  212. <artifactId>jquery</artifactId>
  213. <version>2.1.4</version>
  214. </dependency>
  215.  
  216. <!--encryption lib-->
  217. <dependency>
  218. <groupId>org.jasypt</groupId>
  219. <artifactId>jasypt</artifactId>
  220. <version>1.9.2</version>
  221. </dependency>
  222.  
  223.  
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter-test</artifactId>
  227. <scope>test</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.springframework.boot</groupId>
  231. <artifactId>spring-boot-dependencies</artifactId>
  232. <version>1.3.0.RELEASE</version>
  233. </dependency>
  234. </dependencies>
  235.  
  236. <build>
  237. <plugins>
  238. <plugin>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-maven-plugin</artifactId>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </project>
  245.  
  246. <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  247. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  248. xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  249.  
  250. <localRepository>/dev_0/repo</localRepository>
  251.  
  252.  
  253.  
  254. <pluginGroups>
  255.  
  256. </pluginGroups>
  257.  
  258.  
  259. <proxies>
  260.  
  261. </proxies>
  262.  
  263.  
  264. <servers>
  265.  
  266. <server>
  267. <id>feature</id>
  268. <username>sean</username>
  269. <password>****</password>
  270. </server>
  271.  
  272. <server>
  273. <id>develop</id>
  274. <username>sean</username>
  275. <password>****</password>
  276. </server>
  277.  
  278. <server>
  279. <id>hotfix</id>
  280. <username>sean</username>
  281. <password>*****</password>
  282. </server>
  283.  
  284. <server>
  285. <id>release</id>
  286. <username>sean</username>
  287. <password>****</password>
  288. </server>
  289.  
  290. <server>
  291. <id>master</id>
  292. <username>sean</username>
  293. <password>****</password>
  294. </server>
  295.  
  296. </servers>
  297.  
  298.  
  299. <mirrors>
  300.  
  301. <mirror>
  302. <id>feature</id>
  303. <mirrorOf>*</mirrorOf>
  304. <name>feature</name>
  305. <url>http://localhost:8081/repository/feature/</url>
  306. </mirror>
  307.  
  308. <mirror>
  309. <id>develop</id>
  310. <mirrorOf>external:*</mirrorOf>
  311. <name>develop</name>
  312. <url>http://localhost:8081/repository/develop/</url>
  313. </mirror>
  314.  
  315. <mirror>
  316. <id>release</id>
  317. <mirrorOf>external:*</mirrorOf>
  318. <name>release</name>
  319. <url>http://localhost:8081/repository/release/</url>
  320. </mirror>
  321.  
  322. <mirror>
  323. <id>hotfix</id>
  324. <mirrorOf>external:*</mirrorOf>
  325. <name>hotfix</name>
  326. <url>http://localhost:8081/repository/hotfix/</url>
  327. </mirror>
  328.  
  329. <mirror>
  330. <id>master</id>
  331. <mirrorOf>external:*</mirrorOf>
  332. <name>master</name>
  333. <url>http://localhost:8081/repository/master/</url>
  334. </mirror>
  335.  
  336. </mirrors>
  337.  
  338. <profiles>
  339. <profile>
  340. <id>feature</id>
  341. <repositories>
  342. <repository>
  343. <id>feature</id>
  344. <name>Feature Repo for feature-builds</name>
  345. <url>http://localhost:8081/repository/feature/</url>
  346. <layout>default</layout>
  347. <releases><enabled>true</enabled></releases>
  348. <snapshots><enabled>true</enabled></snapshots>
  349. </repository>
  350. </repositories>
  351. </profile>
  352.  
  353. <profile>
  354. <id>develop</id>
  355. <repositories>
  356. <repository>
  357. <id>develop</id>
  358. <name>Develop Repo for develop-builds</name>
  359. <url>http://localhost:8081/repository/develop/</url>
  360. <layout>default</layout>
  361. <releases><enabled>true</enabled></releases>
  362. <snapshots><enabled>true</enabled></snapshots>
  363. </repository>
  364. </repositories>
  365. </profile>
  366.  
  367. <profile>
  368. <id>release</id>
  369. <repositories>
  370. <repository>
  371. <id>release</id>
  372. <name>Release Repo for release-builds</name>
  373. <url>http://localhost:8081/repository/release/</url>
  374. <layout>default</layout>
  375. <releases><enabled>true</enabled></releases>
  376. <!-- <snapshots><enabled>true</enabled></snapshots> -->
  377. </repository>
  378. </repositories>
  379. </profile>
  380.  
  381. <profile>
  382. <id>hotfix</id>
  383. <repositories>
  384. <repository>
  385. <id>hotfix</id>
  386. <name>Hotfix Repo for hotfix-builds</name>
  387. <url>http://localhost:8081/repository/hotfix/</url>
  388. <layout>default</layout>
  389. <releases><enabled>true</enabled></releases>
  390. <!-- <snapshots><enabled>true</enabled></snapshots> -->
  391. </repository>
  392. </repositories>
  393. </profile>
  394.  
  395. <profile>
  396. <id>master</id>
  397. <repositories>
  398. <repository>
  399. <id>master</id>
  400. <name>Master Repo for master-builds</name>
  401. <url>http://localhost:8081/repository/master/</url>
  402. <layout>default</layout>
  403. <releases><enabled>true</enabled></releases>
  404. <!-- <snapshots><enabled>true</enabled></snapshots> -->
  405. </repository>
  406. </repositories>
  407. </profile>
  408. </profiles>
  409. <activeProfiles>
  410. <activeProfile>feature</activeProfile>
  411. <activeProfile>develop</activeProfile>
  412. <activeProfile>release</activeProfile>
  413. <activeProfile>hotfix</activeProfile>
  414. <activeProfile>master</activeProfile>
  415. </activeProfiles>
  416. </settings>
  417.  
  418. [INFO] Building springmvc 0.0.1-SNAPSHOT
  419. [INFO] ------------------------------------------------------------------------
  420. Downloading: http://localhost:8081/repository/feature/org/springframework/boot/spring-boot-maven-plugin/1.3.0.RELEASE/spring-boot-maven-plugin-1.3.0.RELEASE.pom
  421. [WARNING] The POM for org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.RELEASE is missing, no dependency information available
  422. Downloading: http://localhost:8081/repository/feature/org/springframework/boot/spring-boot-maven-plugin/1.3.0.RELEASE/spring-boot-maven-plugin-1.3.0.RELEASE.jar
  423. [INFO] ------------------------------------------------------------------------
  424. [INFO] BUILD FAILURE
  425. [INFO] ------------------------------------------------------------------------
  426. [INFO] Total time: 0.336 s
  427. [INFO] Finished at: 2017-04-09T08:49:39+02:00
  428. [INFO] Final Memory: 11M/292M
  429. [INFO] ------------------------------------------------------------------------
  430. [ERROR] Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.RELEASE or one of its dependencies could not be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.RELEASE in feature (http://localhost:8081/repository/feature/) -> [Help 1]
  431. [ERROR]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement