Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.07 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.  
  5.     <groupId>com.skywaylab</groupId>
  6.     <artifactId>Storage</artifactId>
  7.     <version>0.26-SNAPSHOT</version>
  8.     <packaging>war</packaging>
  9.  
  10.     <name>Storage</name>
  11.  
  12.     <properties>
  13.         <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.     </properties>
  16.  
  17.     <dependencies>
  18.         <dependency>
  19.             <groupId>junit</groupId>
  20.             <artifactId>junit</artifactId>
  21.             <version>4.12</version>
  22.             <scope>test</scope>
  23.         </dependency>
  24.         <dependency>
  25.             <groupId>org.hamcrest</groupId>
  26.             <artifactId>hamcrest-core</artifactId>
  27.             <version>1.3</version>
  28.             <scope>test</scope>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>javax</groupId>
  32.             <artifactId>javaee-web-api</artifactId>
  33.             <version>6.0</version>
  34.             <scope>provided</scope>
  35.         </dependency>
  36.        
  37.         <dependency>
  38.             <groupId>mysql</groupId>
  39.             <artifactId>mysql-connector-java</artifactId>
  40.             <version>5.1.17</version>
  41.             <type>jar</type>
  42.             <scope>runtime</scope>
  43.         </dependency>
  44.  
  45.         <dependency>
  46.           <groupId>org.jooq</groupId>
  47.           <artifactId>jooq</artifactId>
  48.           <version>3.6.4</version>
  49.         </dependency>
  50.         <dependency>
  51.           <groupId>org.jooq</groupId>
  52.           <artifactId>jooq-meta</artifactId>
  53.           <version>3.6.4</version>
  54.         </dependency>
  55.         <dependency>
  56.           <groupId>org.jooq</groupId>
  57.           <artifactId>jooq-codegen</artifactId>
  58.           <version>3.6.4</version>
  59.         </dependency>
  60.  
  61.         <dependency>
  62.             <groupId>org.json</groupId>
  63.             <artifactId>json</artifactId>
  64.             <version>20160212</version>
  65.         </dependency>
  66.        
  67.         <dependency>
  68.             <groupId>com.fasterxml.jackson.dataformat</groupId>
  69.             <artifactId>jackson-dataformat-xml</artifactId>
  70.             <version>2.6.3</version>
  71.         </dependency>
  72.  
  73.         <dependency>
  74.             <groupId>com.google.api-client</groupId>
  75.             <artifactId>google-api-client</artifactId>
  76.             <version>1.22.0</version>
  77.         </dependency>
  78.        
  79.         <dependency>
  80.             <groupId>com.google.apis</groupId>
  81.             <artifactId>google-api-services-androidpublisher</artifactId>
  82.             <version>v2-rev44-1.22.0</version>
  83.         </dependency>
  84.     </dependencies>    
  85.  
  86.     <build>
  87.         <plugins>
  88.             <plugin>
  89.                 <groupId>org.apache.maven.plugins</groupId>
  90.                 <artifactId>maven-compiler-plugin</artifactId>
  91.                 <version>2.3.2</version>
  92.                 <configuration>
  93.                     <source>1.6</source>
  94.                     <target>1.6</target>
  95.                     <compilerArguments>
  96.                         <endorseddirs>${endorsed.dir}</endorseddirs>
  97.                     </compilerArguments>
  98.                 </configuration>
  99.             </plugin>
  100.             <plugin>
  101.                 <groupId>org.apache.maven.plugins</groupId>
  102.                 <artifactId>maven-war-plugin</artifactId>
  103.                 <version>2.1.1</version>
  104.                 <configuration>
  105.                     <failOnMissingWebXml>false</failOnMissingWebXml>
  106.                 </configuration>
  107.             </plugin>
  108.             <plugin>
  109.                 <groupId>org.apache.maven.plugins</groupId>
  110.                 <artifactId>maven-dependency-plugin</artifactId>
  111.                 <version>2.1</version>
  112.                 <executions>
  113.                     <execution>
  114.                         <phase>validate</phase>
  115.                         <goals>
  116.                             <goal>copy</goal>
  117.                         </goals>
  118.                         <configuration>
  119.                             <outputDirectory>${endorsed.dir}</outputDirectory>
  120.                             <silent>true</silent>
  121.                             <artifactItems>
  122.                                 <artifactItem>
  123.                                     <groupId>javax</groupId>
  124.                                     <artifactId>javaee-endorsed-api</artifactId>
  125.                                     <version>6.0</version>
  126.                                     <type>jar</type>
  127.                                 </artifactItem>
  128.                             </artifactItems>
  129.                         </configuration>
  130.                     </execution>
  131.                 </executions>
  132.             </plugin>
  133.             <plugin>
  134.                 <groupId>org.apache.maven.plugins</groupId>
  135.                 <artifactId>maven-checkstyle-plugin</artifactId>
  136.                 <version>2.17</version>
  137.                 <dependencies>
  138.                     <dependency>
  139.                         <groupId>com.puppycrawl.tools</groupId>
  140.                         <artifactId>checkstyle</artifactId>
  141.                         <version>6.11.2</version>
  142.                     </dependency>
  143.                 </dependencies>
  144.             </plugin>
  145.            
  146.             <plugin>
  147.  
  148.                 <!-- Specify the maven code generator plugin -->
  149.                 <groupId>org.jooq</groupId>
  150.                 <artifactId>jooq-codegen-maven</artifactId>
  151.                 <version>3.6.4</version>
  152.  
  153.                 <!-- The plugin should hook into the generate goal -->
  154.                 <executions>
  155.                     <execution>
  156.                         <goals>
  157.                             <goal>generate</goal>
  158.                         </goals>
  159.                     </execution>
  160.                 </executions>
  161.  
  162.                 <dependencies>
  163.                     <dependency>
  164.                         <groupId>mysql</groupId>
  165.                         <artifactId>mysql-connector-java</artifactId>
  166.                         <version>5.1.17</version>
  167.                         <type>jar</type>
  168.                         <scope>runtime</scope>
  169.                     </dependency>
  170.                 </dependencies>
  171.  
  172.                 <!-- Specify the plugin configuration.
  173.                The configuration format is the same as for the standalone code generator -->
  174.                 <configuration>
  175.  
  176.                     <!-- JDBC connection parameters -->
  177.                     <jdbc>
  178.                         <driver>com.mysql.jdbc.Driver</driver>
  179.                         <url>jdbc:mysql://localhost:3306/nyasha_db</url>
  180.                         <user>root</user>
  181.                         <password></password>
  182.                     </jdbc>
  183.  
  184.                     <!-- Generator parameters -->
  185.                     <generator>
  186.                         <database>
  187.                             <name>org.jooq.util.mysql.MySQLDatabase</name>
  188.                             <includes>.*</includes>
  189.                             <excludes></excludes>
  190.                             <inputSchema>nyasha_db</inputSchema>
  191.                         </database>
  192.                         <target>
  193.                             <packageName>db.schema</packageName>
  194.                             <directory>/src/main/java</directory>
  195.                         </target>
  196.                     </generator>
  197.                 </configuration>
  198.             </plugin>
  199.  
  200.            
  201.         </plugins>
  202.         <resources>        
  203.             <resource>
  204.                 <directory>../../asseets/data/</directory>
  205.             </resource>
  206.             <resource>
  207.                 <directory>../../asseets/data_server/</directory>                
  208.             </resource>
  209.             <resource>
  210.                 <directory>../../client/src/model/dataStorage/</directory>
  211.                 <includes>
  212.                     <include>tables.xml</include>                  
  213.                 </includes>                            
  214.             </resource>
  215.         </resources>
  216.     </build>
  217.  
  218. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement