Advertisement
Guest User

pom.xml

a guest
Jan 27th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.77 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <parent>
  6.         <groupId>org.springframework.boot</groupId>
  7.         <artifactId>spring-boot-starter-parent</artifactId>
  8.         <version>2.2.4.RELEASE</version>
  9.         <relativePath/> <!-- lookup parent from repository -->
  10.     </parent>
  11.     <groupId>com.bazi</groupId>
  12.     <artifactId>ttmk</artifactId>
  13.     <version>0.0.1-SNAPSHOT</version>
  14.     <name>ttmk</name>
  15.     <description>Project for Databases 2019/20</description>
  16.  
  17.     <properties>
  18.         <java.version>1.8</java.version>
  19.     </properties>
  20.  
  21.     <dependencies>
  22.         <dependency>
  23.             <groupId>org.springframework.boot</groupId>
  24.             <artifactId>spring-boot-starter-data-jdbc</artifactId>
  25.         </dependency>
  26.         <dependency>
  27.             <groupId>org.springframework.boot</groupId>
  28.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>org.springframework.boot</groupId>
  32.             <artifactId>spring-boot-starter-jdbc</artifactId>
  33.         </dependency>
  34.         <dependency>
  35.             <groupId>org.springframework.boot</groupId>
  36.             <artifactId>spring-boot-starter-thymeleaf</artifactId>
  37.         </dependency>
  38.         <dependency>
  39.             <groupId>org.springframework.boot</groupId>
  40.             <artifactId>spring-boot-starter-web</artifactId>
  41.         </dependency>
  42.  
  43.         <dependency>
  44.             <groupId>org.springframework.boot</groupId>
  45.             <artifactId>spring-boot-devtools</artifactId>
  46. <!--            <scope>runtime</scope>-->
  47.             <optional>true</optional>
  48.         </dependency>
  49.         <dependency>
  50.             <groupId>org.postgresql</groupId>
  51.             <artifactId>postgresql</artifactId>
  52. <!--            <scope>runtime</scope>-->
  53.         </dependency>
  54.         <dependency>
  55.             <groupId>org.springframework.boot</groupId>
  56.             <artifactId>spring-boot-configuration-processor</artifactId>
  57.             <optional>true</optional>
  58.         </dependency>
  59.         <dependency>
  60.             <groupId>org.projectlombok</groupId>
  61.             <artifactId>lombok</artifactId>
  62.             <optional>true</optional>
  63.         </dependency>
  64.         <dependency>
  65.             <groupId>org.springframework.boot</groupId>
  66.             <artifactId>spring-boot-starter-test</artifactId>
  67.             <scope>test</scope>
  68.             <exclusions>
  69.                 <exclusion>
  70.                     <groupId>org.junit.vintage</groupId>
  71.                     <artifactId>junit-vintage-engine</artifactId>
  72.                 </exclusion>
  73.             </exclusions>
  74.         </dependency>
  75.         <dependency>
  76.             <groupId>org.springframework.boot</groupId>
  77.             <artifactId>spring-boot-starter-actuator</artifactId>
  78.         </dependency>
  79.  
  80.     </dependencies>
  81.  
  82.     <build>
  83.         <plugins>
  84.             <plugin>
  85.                 <groupId>org.springframework.boot</groupId>
  86.                 <artifactId>spring-boot-maven-plugin</artifactId>
  87.             </plugin>
  88.             <plugin>
  89.                 <groupId>org.apache.maven.plugins</groupId>
  90.                 <artifactId>maven-surefire-plugin</artifactId>
  91.             </plugin>
  92.             <plugin>
  93.                 <artifactId>maven-antrun-plugin</artifactId>
  94.                 <version>1.8</version>
  95.                 <executions>
  96.                     <execution> <!--mvn antrun:run@hbm2java-->
  97.                         <id>hbm2java</id>
  98.                         <phase>none</phase>
  99.                         <configuration>
  100.                             <target>
  101.                                 <echo message="Start generating entities .."/>
  102.                                 <taskdef name="hibernatetool"
  103.                                         classname="org.hibernate.tool.ant.HibernateToolTask"/>
  104.                                 <hibernatetool>
  105.                                     <jdbcconfiguration
  106.                                            revengfile="src/main/hibernate.reveng.xml"
  107.                                            packagename="com.bazi.ttmk"
  108.                                            detectmanytomany="true"
  109.                                            configurationfile="src/main/hibernate.cfg.xml"/>
  110.                                     <hbm2java destdir="src/main/java" jdk5="true" ejb3="true"/>
  111.                                 </hibernatetool>
  112.                                 <echo message="End generating entities"/>
  113.                             </target>
  114.                         </configuration>
  115.                         <goals>
  116.                             <goal>run</goal>
  117.                         </goals>
  118.                     </execution>
  119.                 </executions>
  120.                 <dependencies>
  121.                     <dependency>
  122.                         <groupId>org.hibernate</groupId>
  123.                         <artifactId>hibernate-core</artifactId>
  124.                         <version>4.3.11.Final</version>
  125.                     </dependency>
  126.                     <dependency>
  127.                         <groupId>org.hibernate</groupId>
  128.                         <artifactId>hibernate-entitymanager</artifactId>
  129.                         <version>4.3.11.Final</version>
  130.                     </dependency>
  131.                     <dependency>
  132.                         <groupId>org.hibernate.common</groupId>
  133.                         <artifactId>hibernate-commons-annotations</artifactId>
  134.                         <version>4.0.5.Final</version>
  135.                     </dependency>
  136.                     <dependency>
  137.                         <groupId>org.hibernate.javax.persistence</groupId>
  138.                         <artifactId>hibernate-jpa-2.1-api</artifactId>
  139.                         <version>1.0.0.Final</version>
  140.                     </dependency>
  141.                     <dependency>
  142.                         <groupId>javax.transaction</groupId>
  143.                         <artifactId>jta</artifactId>
  144.                         <version>1.1</version>
  145.                     </dependency>
  146.                     <dependency>
  147.                         <groupId>freemarker</groupId>
  148.                         <artifactId>freemarker</artifactId>
  149.                         <version>2.3.8</version>
  150.                     </dependency>
  151.                     <dependency>
  152.                         <groupId>org.postgresql</groupId>
  153.                         <artifactId>postgresql</artifactId>
  154.                         <version>9.4.1207.jre7</version>
  155.                     </dependency>
  156.                     <dependency>
  157.                         <groupId>commons-logging</groupId>
  158.                         <artifactId>commons-logging</artifactId>
  159.                         <version>1.1</version>
  160.                     </dependency>
  161.                     <dependency>
  162.                         <groupId>commons-collections</groupId>
  163.                         <artifactId>commons-collections</artifactId>
  164.                         <version>3.2.1</version>
  165.                     </dependency>
  166.                     <dependency>
  167.                         <groupId>org.hibernate</groupId>
  168.                         <artifactId>hibernate-tools</artifactId>
  169.                         <version>4.3.2.Final</version>
  170.                         <exclusions>
  171.                             <exclusion>
  172.                                 <groupId>*</groupId>
  173.                                 <artifactId>*</artifactId>
  174.                             </exclusion>
  175.                         </exclusions>
  176.                     </dependency>
  177.                 </dependencies>
  178.             </plugin>
  179.         </plugins>
  180.     </build>
  181.  
  182. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement