Advertisement
Guest User

Untitled

a guest
Mar 6th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.99 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/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>com.eqs</groupId>
  6.     <artifactId>lei</artifactId>
  7.     <packaging>jar</packaging>
  8.     <version>1.0-SNAPSHOT</version>
  9.     <name>lei</name>
  10.     <scm>
  11.         <connection>scm:git:git://gitlab.intra/java/lei.git</connection>
  12.     </scm>
  13.     <parent>
  14.         <groupId>org.springframework.boot</groupId>
  15.         <artifactId>spring-boot-starter-parent</artifactId>
  16.         <version>1.4.4.RELEASE</version>       
  17.     </parent>
  18.     <properties>
  19.         <vaadin.version>8.0.0</vaadin.version>
  20.         <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
  21.         <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
  22.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23.         <maven.compiler.source>1.8</maven.compiler.source>
  24.         <maven.compiler.target>1.8</maven.compiler.target>
  25.         <java.version>1.8</java.version><!-- for spring boot -->
  26.         <start-class>com.eqs.lei.Application</start-class>
  27.         <thymeleaf.version>3.0.0.RELEASE</thymeleaf.version>
  28.         <thymeleaf-layout-dialect.version>2.0.0</thymeleaf-layout-dialect.version>
  29.     </properties>
  30.     <repositories>
  31.         <repository>
  32.             <id>vaadin-addons</id>
  33.             <url>http://maven.vaadin.com/vaadin-addons</url>
  34.         </repository>
  35.         <repository>
  36.             <id>vaadin-snapshots</id>
  37.             <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  38.             <releases>
  39.                 <enabled>false</enabled>
  40.             </releases>
  41.             <snapshots>
  42.                 <enabled>true</enabled>
  43.             </snapshots>
  44.         </repository>
  45.     </repositories>
  46.     <dependencyManagement>
  47.         <dependencies>
  48.             <dependency>
  49.                 <groupId>com.vaadin</groupId>
  50.                 <artifactId>vaadin-bom</artifactId>
  51.                 <version>${vaadin.version}</version>
  52.                 <type>pom</type>
  53.                 <scope>import</scope>
  54.             </dependency>
  55.         </dependencies>
  56.     </dependencyManagement>
  57.  
  58.     <dependencies>
  59.         <!-- ***** VAADIN ***** -->
  60.         <dependency>
  61.             <groupId>com.vaadin</groupId>
  62.             <artifactId>vaadin-compatibility-server</artifactId>
  63.         </dependency>      
  64.         <dependency>
  65.             <groupId>com.vaadin</groupId>
  66.             <artifactId>vaadin-compatibility-themes</artifactId>
  67.         </dependency>
  68.         <dependency>
  69.             <groupId>com.vaadin</groupId>
  70.             <artifactId>vaadin-compatibility-client-compiled</artifactId>
  71.         </dependency>
  72.         <dependency>
  73.             <groupId>com.vaadin</groupId>
  74.             <!-- https://vaadin.com/directory/#!addon/vaadin-spring -->
  75.             <artifactId>vaadin-spring</artifactId>
  76.             <version>2.0.0</version>
  77.         </dependency>      
  78.         <dependency>
  79.             <groupId>com.vaadin</groupId>
  80.             <!-- https://vaadin.com/directory#!addon/vaadin-spring-boot -->
  81.             <artifactId>vaadin-spring-boot</artifactId>
  82.             <version>2.0.0</version>
  83.         </dependency>
  84.         <dependency>
  85.             <groupId>org.vaadin.addon</groupId>
  86.             <artifactId>confirmdialog</artifactId>
  87.             <version>3.1.1</version>
  88.         </dependency>
  89.         <!-- ***** SPRING STARTER ***** -->
  90.         <dependency>
  91.             <groupId>org.springframework.boot</groupId>
  92.             <artifactId>spring-boot-starter-web</artifactId>
  93.         </dependency>
  94.         <dependency>
  95.             <groupId>org.springframework.boot</groupId>
  96.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  97.         </dependency>
  98.         <dependency>
  99.             <groupId>org.springframework.boot</groupId>
  100.             <artifactId>spring-boot-starter-security</artifactId>
  101.         </dependency>
  102.         <dependency>
  103.             <groupId>org.springframework.boot</groupId>
  104.             <artifactId>spring-boot-starter-tomcat</artifactId>
  105.             <scope>provided</scope>
  106.         </dependency>
  107.         <dependency>
  108.             <groupId>org.springframework.boot</groupId>
  109.             <artifactId>spring-boot-starter-actuator</artifactId>
  110.         </dependency>
  111.         <dependency>
  112.             <groupId>org.springframework.boot</groupId>
  113.             <artifactId>spring-boot-starter-thymeleaf</artifactId>
  114.         </dependency>      
  115.         <dependency>
  116.             <groupId>org.springframework.boot</groupId>
  117.             <artifactId>spring-boot-starter-test</artifactId>
  118.             <!-- <scope>tests</scope> -->
  119.         </dependency>
  120.         <dependency>
  121.             <groupId>commons-codec</groupId>
  122.             <artifactId>commons-codec</artifactId>
  123.             <version>1.10</version>
  124.         </dependency>
  125.         <!-- ***** SPRING & HIBERNATE ***** -->
  126.         <!-- starter-data-jpa <dependency>
  127.             <groupId>org.hibernate</groupId>
  128.             <artifactId>hibernate-core</artifactId>
  129.         </dependency>
  130.         <dependency>
  131.             <groupId>org.hibernate</groupId>
  132.             <artifactId>hibernate-entitymanager</artifactId>
  133.         </dependency> -->
  134.         <!--<dependency>  wenn du das weglässt zieht hibernate-entitymanager eine alte version
  135.             <groupId>org.hibernate</groupId>
  136.             <artifactId>hibernate-core</artifactId>
  137.             <version>5.1.0.Final</version>
  138.         </dependency> -->
  139.         <!--
  140.         <dependency>
  141.             <groupId>org.springframework</groupId>
  142.             <artifactId>spring-core</artifactId>
  143.         </dependency>
  144.         <dependency>
  145.             <groupId>org.springframework</groupId>
  146.             <artifactId>spring-beans</artifactId>
  147.         </dependency>
  148.         <dependency>
  149.             <groupId>commons-logging</groupId>
  150.             <artifactId>commons-logging</artifactId>
  151.         </dependency>-->
  152.         <!-- <dependency>
  153.             <groupId>org.springframework.security</groupId>
  154.             <artifactId>spring-security-config</artifactId>
  155.             <scope>compile</scope>
  156.         </dependency>
  157.         <dependency>
  158.             <groupId>org.springframework.security</groupId>
  159.             <artifactId>spring-security-web</artifactId>
  160.             <scope>compile</scope>
  161.         </dependency>  
  162.         <dependency>
  163.             <groupId>org.springframework</groupId>
  164.             <artifactId>spring-tx</artifactId>
  165.         </dependency>
  166.         <dependency>
  167.             <groupId>org.springframework</groupId>
  168.             <artifactId>spring-aspects</artifactId>
  169.         </dependency>
  170.         <dependency>
  171.             <groupId>org.springframework</groupId>
  172.             <artifactId>spring-orm</artifactId>
  173.         </dependency>-->
  174.  
  175.         <!-- <dependency>
  176.             <groupId>org.springframework.boot</groupId>
  177.             <artifactId>spring-boot-devtools</artifactId>
  178.             <optional>true</optional>
  179.         </dependency> -->
  180.  
  181.         <!-- ***** OTHER ***** -->
  182.        
  183.         <dependency>
  184.             <groupId>javax.validation</groupId>
  185.             <artifactId>validation-api</artifactId>
  186.             <version>1.1.0.Final</version>
  187.         </dependency>
  188.        
  189.         <dependency>
  190.             <groupId>commons-jxpath</groupId>
  191.             <artifactId>commons-jxpath</artifactId>
  192.             <version>1.3</version>
  193.         </dependency>
  194.         <dependency>
  195.             <groupId>commons-beanutils</groupId>
  196.             <artifactId>commons-beanutils</artifactId>
  197.         </dependency>
  198.         <dependency>
  199.             <groupId>javax.servlet</groupId>
  200.             <artifactId>javax.servlet-api</artifactId>
  201.         </dependency>
  202.         <dependency>
  203.             <groupId>jdom</groupId>
  204.             <artifactId>jdom</artifactId>
  205.             <version>1.1</version>
  206.         </dependency>
  207.         <dependency>
  208.             <groupId>javax.mail</groupId>
  209.             <artifactId>mail</artifactId>
  210.             <version>1.4.1</version>
  211.         </dependency>
  212.         <dependency>
  213.             <groupId>org.apache.pdfbox</groupId>
  214.             <artifactId>pdfbox</artifactId>
  215.             <version>2.0.3</version>
  216.         </dependency>
  217.         <dependency>
  218.             <groupId>org.apache.pdfbox</groupId>
  219.             <artifactId>fontbox</artifactId>
  220.             <version>2.0.3</version>
  221.         </dependency>
  222.         <dependency>
  223.             <groupId>org.apache.pdfbox</groupId>
  224.             <artifactId>xmpbox</artifactId>
  225.             <version>2.0.3</version>
  226.         </dependency>
  227.         <dependency>
  228.             <groupId>jstl</groupId>
  229.             <artifactId>jstl</artifactId>
  230.             <version>1.2</version>
  231.         </dependency>
  232.         <!--<dependency>  vaadin needs slf4j
  233.             <groupId>org.slf4j</groupId>
  234.             <artifactId>slf4j-log4j12</artifactId>
  235.         </dependency>-->
  236.         <!-- <dependency>
  237.             <groupId>javax.servlet</groupId>
  238.             <artifactId>jsp-api</artifactId>
  239.             <version>2.0</version>
  240.             <scope>provided</scope>
  241.         </dependency> -->
  242.         <dependency>
  243.             <groupId>mysql</groupId>
  244.             <artifactId>mysql-connector-java</artifactId>
  245.         </dependency>
  246.         <dependency>
  247.             <groupId>org.apache.commons</groupId>
  248.             <artifactId>commons-lang3</artifactId>
  249.             <version>3.4</version>
  250.         </dependency>
  251.         <dependency> <!-- https://github.com/solita/clamav-java -->
  252.             <groupId>fi.solita.clamav</groupId>
  253.             <artifactId>clamav-client</artifactId>
  254.             <version>1.0.1</version>
  255.         </dependency>
  256.         <dependency>
  257.             <groupId>org.apache.commons</groupId>
  258.             <artifactId>commons-csv</artifactId>
  259.             <version>1.4</version>
  260.         </dependency>
  261.         <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  262.         <dependency>
  263.             <groupId>org.bouncycastle</groupId>
  264.             <artifactId>bcprov-jdk15on</artifactId>
  265.             <version>1.56</version>
  266.         </dependency>
  267.         <dependency>
  268.             <groupId>commons-io</groupId>
  269.             <artifactId>commons-io</artifactId>
  270.             <version>2.5</version>
  271.         </dependency>
  272.                        
  273.  
  274.         <!-- must come last or ServletContext.getVirtualServerName() is not found  -->
  275.         <!-- don't use 1.0.0.GA from vaadin-client -->
  276.         <!--  <dependency>
  277.             <groupId>com.vaadin</groupId>
  278.             <artifactId>vaadin-client</artifactId>
  279.             <scope>provided</scope>
  280.         </dependency>   -->
  281.     </dependencies>
  282.  
  283.     <build>
  284.         <plugins>
  285.             <plugin>
  286.                 <groupId>org.springframework.boot</groupId>
  287.                 <artifactId>spring-boot-maven-plugin</artifactId>
  288.                 <version>1.5.2.RELEASE</version><!--$NO-MVN-MAN-VER$-->
  289.                 <configuration>
  290.                     <executable>true</executable>
  291.                     <jvmArguments>
  292.                         -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
  293.                     </jvmArguments>
  294.                     <executions>
  295.                         <execution>
  296.                             <goals>
  297.                                 <goal>build-info</goal>
  298.                             </goals>
  299.                         </execution>
  300.                     </executions>
  301.                     <!-- <additionalProperties>
  302.                         <encoding.source>UTF-8</encoding.source>
  303.                         <encoding.reporting>UTF-8</encoding.reporting>
  304.                         <java.source>${maven.compiler.source}</java.source>
  305.                         <java.target>${maven.compiler.target}</java.target>
  306.                     </additionalProperties> -->
  307.                 </configuration>
  308.             </plugin>
  309.             <plugin>
  310.                 <groupId>org.apache.maven.plugins</groupId>
  311.                 <artifactId>maven-compiler-plugin</artifactId>
  312.             </plugin>
  313.             <plugin>
  314.                 <groupId>org.apache.maven.plugins</groupId>
  315.                 <artifactId>maven-source-plugin</artifactId>
  316.             </plugin>
  317.             <!-- <plugin>
  318.                 <groupId>org.apache.maven.plugins</groupId>
  319.                 <artifactId>maven-resources-plugin</artifactId>
  320.                 <version>2.6</version>
  321.             </plugin> -->
  322.             <plugin>
  323.                 <groupId>org.apache.maven.plugins</groupId>
  324.                 <artifactId>maven-clean-plugin</artifactId>
  325.                 <!-- Clean up also any pre-compiled themes -->
  326.                 <configuration>
  327.                     <filesets>
  328.                         <fileset>
  329.                             <directory>src/main/webapp/VAADIN/themes</directory>
  330.                             <includes>
  331.                                 <include>**/styles.css</include>
  332.                                 <include>**/styles.scss.cache</include>
  333.                             </includes>
  334.                         </fileset>
  335.                     </filesets>
  336.                 </configuration>
  337.             </plugin>
  338.             <plugin>
  339.                 <groupId>org.apache.maven.plugins</groupId>
  340.                 <artifactId>maven-war-plugin</artifactId>
  341.                 <configuration>
  342.                     <failOnMissingWebXml>false</failOnMissingWebXml>
  343.                     <!-- Exclude some unnecessary files generated by the GWT compiler. -->
  344.                     <packagingExcludes>WEB-INF/classes/VAADIN/gwt-unitCache/**,
  345.                         WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
  346.                     <archive>
  347.                         <manifest>
  348.                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  349.                         </manifest>
  350.                         <manifestEntries>
  351.                             <git-SHA-1>${buildNumber}</git-SHA-1>
  352.                         </manifestEntries>
  353.                     </archive>                     
  354.                 </configuration>
  355.             </plugin>
  356.            
  357.             <plugin>
  358.                 <groupId>com.vaadin</groupId>
  359.                 <artifactId>vaadin-maven-plugin</artifactId>
  360.                 <version>${vaadin.plugin.version}</version>
  361.                 <configuration>
  362.                     <extraJvmArgs>-Xmx1G -Xss1024k</extraJvmArgs>
  363.                     <webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
  364.                     <draftCompile>false</draftCompile>
  365.                     <compileReport>false</compileReport>
  366.                     <style>OBF</style>
  367.                     <strict>true</strict>
  368.                 </configuration>
  369.                 <executions>
  370.                     <execution>
  371.                         <goals>
  372.                             <goal>update-theme</goal>
  373.                             <goal>update-widgetset</goal>
  374.                             <goal>compile</goal>
  375.                             <goal>compile-theme</goal>
  376.                         </goals>
  377.                     </execution>
  378.                 </executions>
  379.             </plugin>
  380.             <!-- The Jetty plugin allows us to easily test the development build by
  381.                 running jetty:run on the command line. -->
  382.             <plugin>
  383.                 <groupId>org.eclipse.jetty</groupId>
  384.                 <artifactId>jetty-maven-plugin</artifactId>
  385.                 <version>${jetty.plugin.version}</version>
  386.                 <configuration>
  387.                     <scanIntervalSeconds>2</scanIntervalSeconds>
  388.                 </configuration>
  389.             </plugin>
  390.             <plugin>
  391.                 <groupId>com.github.eirslett</groupId>
  392.                 <artifactId>frontend-maven-plugin</artifactId>
  393.                 <version>1.1</version>
  394.                 <configuration>
  395.                     <workingDirectory>src/main/resources/static</workingDirectory>
  396.                     <installDirectory>src/main/resources/static</installDirectory>
  397.                     <nodeVersion>v4.4.7</nodeVersion>
  398.                     <npmVersion>3.10.6</npmVersion>
  399.                 </configuration>
  400.                 <executions>
  401.                     <execution>
  402.                         <id>install node and npm</id>
  403.                         <goals>
  404.                             <goal>install-node-and-npm</goal>
  405.                         </goals>
  406.                         <phase>generate-resources</phase>
  407.                     </execution>
  408.                     <execution>
  409.                         <id>npm install</id>
  410.                         <goals>
  411.                             <goal>npm</goal>
  412.                         </goals>
  413.                         <phase>generate-resources</phase>
  414.                         <configuration>
  415.                             <arguments>install</arguments>
  416.                         </configuration>
  417.                     </execution>
  418.                     <execution>
  419.                         <id>bower install</id>
  420.                         <goals>
  421.                             <goal>bower</goal>
  422.                         </goals>
  423.                         <configuration>
  424.                             <arguments>install</arguments>
  425.                         </configuration>
  426.                     </execution>
  427.                     <execution>
  428.                         <id>gulp build</id>
  429.                         <goals>
  430.                             <goal>gulp</goal>
  431.                         </goals>
  432.                         <phase>generate-resources</phase>
  433.                         <configuration>
  434.                             <arguments>build</arguments>
  435.                         </configuration>
  436.                     </execution>
  437.                 </executions>
  438.             </plugin>
  439.             <plugin> <!-- http://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html -->
  440.                 <groupId>pl.project13.maven</groupId>
  441.                 <artifactId>git-commit-id-plugin</artifactId>
  442.             </plugin>
  443.          </plugins>
  444.         <extensions>
  445.             <extension>
  446.                 <groupId>org.apache.maven.wagon</groupId>
  447.                 <artifactId>wagon-ssh</artifactId>
  448.                 <version>2.10</version>
  449.             </extension>
  450.         </extensions>
  451.         <resources>
  452.           <resource>
  453.             <directory>src/main/resources</directory>
  454.             <excludes>
  455.               <exclude>static/node_modules/**</exclude>
  456.               <exclude>static/node/**</exclude>
  457.             </excludes>
  458.           </resource>
  459.           <resource>
  460.             <directory>src/main/java</directory>
  461.             <includes> <!-- PDFCreator -->
  462.               <include>**/*.ttf</include>
  463.               <include>**/*.icm</include>
  464.             </includes>
  465.           </resource>
  466.         </resources>
  467.     </build>
  468.     <profiles>
  469.         <profile>
  470.             <!-- Vaadin pre-release repositories -->
  471.             <id>vaadin-prerelease</id>
  472.             <activation>
  473.                 <activeByDefault>false</activeByDefault>
  474.             </activation>
  475.             <repositories>
  476.                 <repository>
  477.                     <id>vaadin-prereleases</id>
  478.                     <url>http://maven.vaadin.com/vaadin-prereleases</url>
  479.                 </repository>
  480.             </repositories>
  481.             <pluginRepositories>
  482.                 <pluginRepository>
  483.                     <id>vaadin-prereleases</id>
  484.                     <url>http://maven.vaadin.com/vaadin-prereleases</url>
  485.                 </pluginRepository>
  486.             </pluginRepositories>
  487.         </profile>
  488.         <profile>
  489.           <id>test</id>
  490.           <activation>
  491.             <activeByDefault>true</activeByDefault>
  492.           </activation>
  493.           <distributionManagement> 
  494.             <repository>
  495.                 <id>lei.intra</id>
  496.                 <url>scp://lei.intra</url>
  497.             </repository>
  498.           </distributionManagement>
  499.         </profile>
  500.         <profile>
  501.           <id>live</id>
  502.           <distributionManagement> 
  503.             <repository>
  504.                 <id>lei.eqs</id>
  505.                 <url>scp://lei.eqs</url>
  506.             </repository>
  507.           </distributionManagement>
  508.         </profile>
  509.     </profiles>
  510. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement