pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>de.mcs.tools.sps</groupId>
  4. <artifactId>spsemulator-gui</artifactId>
  5. <name>SPSEmulator-GUI</name>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <properties>
  9. <maven.compiler.source>1.8</maven.compiler.source>
  10. <maven.compiler.target>1.8</maven.compiler.target>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <failOnMissingWebXml>false</failOnMissingWebXml>
  14. <vaadin.version>12.0.5</vaadin.version>
  15. <jetty.version>9.4.11.v20180605</jetty.version>
  16. </properties>
  17. <repositories>
  18. <!-- Repository used by many Vaadin add-ons -->
  19. <repository>
  20. <id>Vaadin Directory</id>
  21. <url>http://maven.vaadin.com/vaadin-addons</url>
  22. </repository>
  23. <!-- Repository needed for the prerelease versions of Vaadin -->
  24. <repository>
  25. <id>vaadin-prereleases</id>
  26. <url>https://maven.vaadin.com/vaadin-prereleases</url>
  27. </repository>
  28. </repositories>
  29. <pluginRepositories>
  30. <!-- Repository needed for the prerelease versions of Vaadin -->
  31. <pluginRepository>
  32. <id>vaadin-prereleases</id>
  33. <url>https://maven.vaadin.com/vaadin-prereleases</url>
  34. </pluginRepository>
  35. </pluginRepositories>
  36. <dependencyManagement>
  37. <dependencies>
  38. <dependency>
  39. <groupId>com.vaadin</groupId>
  40. <artifactId>vaadin-bom</artifactId>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. <version>${vaadin.version}</version>
  44. </dependency>
  45. </dependencies>
  46. </dependencyManagement>
  47. <dependencies>
  48. <dependency>
  49. <groupId>com.vaadin</groupId>
  50. <artifactId>vaadin-core</artifactId>
  51. </dependency>
  52. <!-- Added to provide logging output as Flow uses -->
  53. <!-- the unbound SLF4J no-operation (NOP) logger implementation -->
  54. <dependency>
  55. <groupId>org.slf4j</groupId>
  56. <artifactId>slf4j-simple</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>javax.servlet</groupId>
  60. <artifactId>javax.servlet-api</artifactId>
  61. <version>3.1.0</version>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-beanutils</groupId>
  66. <artifactId>commons-beanutils</artifactId>
  67. <version>1.9.2</version>
  68. <type>jar</type>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.eclipse.jetty</groupId>
  75. <artifactId>jetty-maven-plugin</artifactId>
  76. <version>${jetty.version}</version>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. <profiles>
  81. <profile>
  82. <!-- Production mode can be activated with either property or profile -->
  83. <id>production-mode</id>
  84. <activation>
  85. <property>
  86. <name>vaadin.productionMode</name>
  87. </property>
  88. </activation>
  89. <properties>
  90. <vaadin.productionMode>true</vaadin.productionMode>
  91. </properties>
  92. <dependencies>
  93. <dependency>
  94. <groupId>com.vaadin</groupId>
  95. <artifactId>flow-server-production-mode</artifactId>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>com.vaadin</groupId>
  102. <artifactId>vaadin-maven-plugin</artifactId>
  103. <version>${vaadin.version}</version>
  104. <executions>
  105. <execution>
  106. <goals>
  107. <goal>copy-production-files</goal>
  108. <goal>package-for-production</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-war-plugin</artifactId>
  116. <version>3.1.0</version>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </profile>
  121. </profiles>
  122. </project>