pom.xml 4.2 KB

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