Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.sid</groupId>
  6. <artifactId>ebotique</artifactId>
  7. <name>EBotiqueV3</name>
  8. <packaging>war</packaging>
  9. <version>1.0.0-BUILD-SNAPSHOT</version>
  10. <properties>
  11. <java-version>1.6</java-version>
  12. <org.springframework-version>3.2.2.RELEASE</org.springframework-version>
  13. <org.aspectj-version>1.6.10</org.aspectj-version>
  14. <org.slf4j-version>1.6.6</org.slf4j-version>
  15. </properties>
  16. <dependencies>
  17. <!-- Spring -->
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-context</artifactId>
  21. <version>${org.springframework-version}</version>
  22. <exclusions>
  23. <!-- Exclude Commons Logging in favor of SLF4j -->
  24. <exclusion>
  25. <groupId>commons-logging</groupId>
  26. <artifactId>commons-logging</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-webmvc</artifactId>
  33. <version>${org.springframework-version}</version>
  34. </dependency>
  35.  
  36. <!-- AspectJ -->
  37. <dependency>
  38. <groupId>org.aspectj</groupId>
  39. <artifactId>aspectjrt</artifactId>
  40. <version>${org.aspectj-version}</version>
  41. </dependency>
  42.  
  43. <!-- Logging -->
  44. <dependency>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>slf4j-api</artifactId>
  47. <version>${org.slf4j-version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>jcl-over-slf4j</artifactId>
  52. <version>${org.slf4j-version}</version>
  53. <scope>runtime</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.slf4j</groupId>
  57. <artifactId>slf4j-log4j12</artifactId>
  58. <version>${org.slf4j-version}</version>
  59. <scope>runtime</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>log4j</groupId>
  63. <artifactId>log4j</artifactId>
  64. <version>1.2.15</version>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>javax.mail</groupId>
  68. <artifactId>mail</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <groupId>javax.jms</groupId>
  72. <artifactId>jms</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>com.sun.jdmk</groupId>
  76. <artifactId>jmxtools</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>com.sun.jmx</groupId>
  80. <artifactId>jmxri</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. <scope>runtime</scope>
  84. </dependency>
  85.  
  86. <!-- @Inject -->
  87. <dependency>
  88. <groupId>javax.inject</groupId>
  89. <artifactId>javax.inject</artifactId>
  90. <version>1</version>
  91. </dependency>
  92.  
  93. <!-- Servlet -->
  94. <dependency>
  95. <groupId>javax.servlet</groupId>
  96. <artifactId>servlet-api</artifactId>
  97. <version>2.5</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>javax.servlet.jsp</groupId>
  102. <artifactId>jsp-api</artifactId>
  103. <version>2.1</version>
  104. <scope>provided</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>javax.servlet</groupId>
  108. <artifactId>jstl</artifactId>
  109. <version>1.2</version>
  110. </dependency>
  111.  
  112. <!-- Test -->
  113. <dependency>
  114. <groupId>junit</groupId>
  115. <artifactId>junit</artifactId>
  116. <version>4.7</version>
  117. <scope>test</scope>
  118. </dependency>
  119.  
  120. <!-- Hibernate-->
  121. <dependency>
  122. <groupId>org.hibernate</groupId>
  123. <artifactId>hibernate-entitymanager</artifactId>
  124. <version>3.6.0.Final</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.hibernate</groupId>
  128. <artifactId>hibernate-validator</artifactId>
  129. <version>4.1.0.Final</version>
  130. </dependency>
  131. <!-- MySQL Connector-->
  132. <dependency>
  133. <groupId>mysql</groupId>
  134. <artifactId>mysql-connector-java</artifactId>
  135. <version>5.1.6</version>
  136. </dependency>
  137.  
  138.  
  139. <!-- Spring -->
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-tx</artifactId>
  143. <version>>${org.springframework-version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-orm</artifactId>
  148. <version>>${org.springframework-version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-beans</artifactId>
  153. <version>>${org.springframework-version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.springframework</groupId>
  157. <artifactId>spring-core</artifactId>
  158. <version>>${org.springframework-version}</version>
  159. </dependency>
  160. </dependencies>
  161.  
  162.  
  163.  
  164. <build>
  165. <plugins>
  166. <plugin>
  167. <artifactId>maven-eclipse-plugin</artifactId>
  168. <version>2.9</version>
  169. <configuration>
  170. <additionalProjectnatures>
  171. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  172. </additionalProjectnatures>
  173. <additionalBuildcommands>
  174. <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
  175. </additionalBuildcommands>
  176. <downloadSources>true</downloadSources>
  177. <downloadJavadocs>true</downloadJavadocs>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-compiler-plugin</artifactId>
  183. <version>2.5.1</version>
  184. <configuration>
  185. <source>1.6</source>
  186. <target>1.6</target>
  187. <compilerArgument>-Xlint:all</compilerArgument>
  188. <showWarnings>true</showWarnings>
  189. <showDeprecation>true</showDeprecation>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.codehaus.mojo</groupId>
  194. <artifactId>exec-maven-plugin</artifactId>
  195. <version>1.2.1</version>
  196. <configuration>
  197. <mainClass>org.test.int1.Main</mainClass>
  198. </configuration>
  199. </plugin>
  200. </plugins>
  201. </build>
  202. </project>
  203.  
  204. Description Resource Path Location Type
  205. ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-beans:jar:>3.2.2.RELEASE: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-beans:pom:>3.2.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): C:UsersMarwenBta.m2repositoryorgspringframeworkspring-beans>3.2.2.RELEASEspring-beans->3.2.2.RELEASE.pom.ahc985459e75c4648d7 (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte) pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  206. ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-orm:jar:>3.2.2.RELEASE: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-orm:pom:>3.2.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): C:UsersMarwenBta.m2repositoryorgspringframeworkspring-orm>3.2.2.RELEASEspring-orm->3.2.2.RELEASE.pom.ahcf3ba8e697e9b4549 (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte) pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  207. Missing artifact org.springframework:spring-context:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  208. ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-core:jar:>3.2.2.RELEASE: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-core:pom:>3.2.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): C:UsersMarwenBta.m2repositoryorgspringframeworkspring-core>3.2.2.RELEASEspring-core->3.2.2.RELEASE.pom.ahc23be8a1b03fa4ea4 (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte) pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  209. ArtifactDescriptorException: Failed to read artifact descriptor for org.springframework:spring-tx:jar:>3.2.2.RELEASE: ArtifactResolutionException: Could not transfer artifact org.springframework:spring-tx:pom:>3.2.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): C:UsersMarwenBta.m2repositoryorgspringframeworkspring-tx>3.2.2.RELEASEspring-tx->3.2.2.RELEASE.pom.ahca3575630da624133 (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte) pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  210. Missing artifact org.springframework:spring-webmvc:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  211. Missing artifact org.springframework:spring-expression:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  212. Missing artifact org.aspectj:aspectjrt:jar:1.6.10 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  213. Missing artifact org.springframework:spring-web:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  214. Missing artifact aopalliance:aopalliance:jar:1.0 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  215. Missing artifact org.springframework:spring-aop:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  216. Missing artifact org.springframework:spring-core:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  217. Missing artifact org.springframework:spring-beans:jar:3.2.2.RELEASE pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  218. Missing artifact javax.servlet:servlet-api:jar:2.5 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  219. Missing artifact javax.inject:javax.inject:jar:1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  220. Missing artifact javax.servlet:jstl:jar:1.2 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  221. Missing artifact javax.servlet.jsp:jsp-api:jar:2.1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  222. Missing artifact org.slf4j:jcl-over-slf4j:jar:1.6.6 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  223. Missing artifact org.slf4j:slf4j-api:jar:1.6.6 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  224. Missing artifact log4j:log4j:jar:1.2.15 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  225. Missing artifact org.slf4j:slf4j-log4j12:jar:1.6.6 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  226. Missing artifact dom4j:dom4j:jar:1.6.1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  227. Missing artifact commons-collections:commons-collections:jar:3.1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  228. Missing artifact javax.transaction:jta:jar:1.1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  229. Missing artifact org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  230. Missing artifact org.hibernate:hibernate-entitymanager:jar:3.6.0.Final pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  231. Missing artifact junit:junit:jar:4.7 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  232. Missing artifact antlr:antlr:jar:2.7.6 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  233. Missing artifact org.hibernate:hibernate-core:jar:3.6.0.Final pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  234. Missing artifact javax.validation:validation-api:jar:1.0.0.GA pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  235. Missing artifact org.hibernate:hibernate-validator:jar:4.1.0.Final pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  236. Missing artifact mysql:mysql-connector-java:jar:5.1.6 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  237. Missing artifact asm:asm:jar:3.1 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  238. Missing artifact cglib:cglib:jar:2.2 pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  239. Missing artifact org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  240. Missing artifact javassist:javassist:jar:3.12.0.GA pom.xml /EBotiqueV3 line 1 Maven Dependency Problem
  241.  
  242. <?xml version="1.0" encoding="UTF-8"?>
  243. <beans xmlns="http://www.springframework.org/schema/beans"
  244. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  245. xmlns:context="http://www.springframework.org/schema/context"
  246. xmlns:tx="http://www.springframework.org/schema/tx"
  247. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  248. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
  249. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd">
  250. <bean id="datasource"
  251. class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  252. <property name="driverClassName" value="com.mysql.jdbc.Driver"></property>
  253. <property name="url" value="jdbc:mysql://localhost:3306/eboutique"></property>
  254. <property name="username" value="eboutique"></property>
  255. <property name="password" value="user"></property>
  256. </bean>
  257. <bean id="persistenceUnitManager"
  258. class="org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager">
  259. <property name="defaultDataSource" ref="datasource"></property>
  260. <property name="persistenceXmlLocations">
  261. <list>
  262. <value>classpath*:META-INF/persistence.xml</value>
  263. </list>
  264. </property>
  265. </bean>
  266. <bean id="entityManagerFactory"
  267. class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
  268. <property name="persistenceUnitManager" ref="persistenceUnitManager"></property>
  269. <property name="persistenceUnitName" value="UP_EBOUTIQUE"></property>
  270. </bean>
  271. <bean id="transactionManager"
  272. class="org.springframework.orm.jpa.JpaTransactionManager">
  273. <property name="entityManagerFactory" ref="entityManagerFactory"></property>
  274. </bean>
  275. <tx:annotation-driven transaction-manager="transactionManager"/>
  276. <context:annotation-config></context:annotation-config>
  277. </beans>
  278.  
  279. <dependency>
  280. <groupId>org.springframework</groupId>
  281. <artifactId>spring-tx</artifactId>
  282. <version>3.2.2.RELEASE</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.springframework</groupId>
  286. <artifactId>spring-orm</artifactId>
  287. <version>3.2.2.RELEASE</version>
  288. </dependency>
  289.  
  290. <repositories>
  291. <repository>
  292. <id>spring-releases</id>
  293. <name>Spring Releases</name>
  294. <url>https://repo.spring.io/libs-release</url>
  295. </repository>
  296. </repositories>
  297. <pluginRepositories>
  298. <pluginRepository>
  299. <id>spring-releases</id>
  300. <name>Spring Releases</name>
  301. <url>https://repo.spring.io/libs-release</url>
  302. </pluginRepository>
  303. </pluginRepositories>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement