|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<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"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>com.flowingcode.vaadin.addons.demo</groupId> |
| 7 | + <artifactId>commons-demo</artifactId> |
| 8 | + <version>5.3.0-SNAPSHOT</version> |
| 9 | + |
| 10 | + <name>Commons Demo</name> |
| 11 | + <description>Common classes for add-ons demo</description> |
| 12 | + <url>https://www.flowingcode.com/en/open-source/</url> |
| 13 | + |
| 14 | + <developers> |
| 15 | + <developer> |
| 16 | + <id>flowingcode</id> |
| 17 | + <organization>Flowing Code</organization> |
| 18 | + <organizationUrl>https://www.flowingcode.com</organizationUrl> |
| 19 | + </developer> |
| 20 | + </developers> |
| 21 | + |
| 22 | + <properties> |
| 23 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 24 | + <maven.compiler.source>17</maven.compiler.source> |
| 25 | + <maven.compiler.target>17</maven.compiler.target> |
| 26 | + <vaadin.version>24.3.13</vaadin.version> |
| 27 | + <jetty.version>11.0.26</jetty.version> |
| 28 | + </properties> |
| 29 | + |
| 30 | + <organization> |
| 31 | +<name>Flowing Code</name> |
| 32 | +<url>https://www.flowingcode.com</url> |
| 33 | + </organization> |
| 34 | + <inceptionYear>2020</inceptionYear> |
| 35 | + <licenses> |
| 36 | + <license> |
| 37 | + <name>Apache 2</name> |
| 38 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 39 | + <distribution>repo</distribution> |
| 40 | + </license> |
| 41 | + </licenses> |
| 42 | + |
| 43 | + <scm> |
| 44 | + <url>https://github.com/FlowingCode/CommonsDemo</url> |
| 45 | + <connection>scm:git:git://github.com/FlowingCode/CommonsDemo.git</connection> |
| 46 | + <developerConnection>scm:git:ssh://git@github.com:/FlowingCode/CommonsDemo.git</developerConnection> |
| 47 | + <tag>master</tag> |
| 48 | + </scm> |
| 49 | + |
| 50 | + <repositories> |
| 51 | + <repository> |
| 52 | + <id>central</id> |
| 53 | + <url>https://repo.maven.apache.org/maven2</url> |
| 54 | + <snapshots> |
| 55 | + <enabled>false</enabled> |
| 56 | + </snapshots> |
| 57 | + </repository> |
| 58 | + </repositories> |
| 59 | + |
| 60 | + <dependencyManagement> |
| 61 | + <dependencies> |
| 62 | + <dependency> |
| 63 | + <groupId>com.vaadin</groupId> |
| 64 | + <artifactId>vaadin-bom</artifactId> |
| 65 | + <version>${vaadin.version}</version> |
| 66 | + <type>pom</type> |
| 67 | + <scope>import</scope> |
| 68 | + </dependency> |
| 69 | + </dependencies> |
| 70 | + </dependencyManagement> |
| 71 | + |
| 72 | + <dependencies> |
| 73 | + <dependency> |
| 74 | + <groupId>com.vaadin</groupId> |
| 75 | + <artifactId>vaadin-core</artifactId> |
| 76 | + <optional>true</optional> |
| 77 | + </dependency> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>org.projectlombok</groupId> |
| 81 | + <artifactId>lombok</artifactId> |
| 82 | + <version>1.18.34</version> |
| 83 | + <scope>provided</scope> |
| 84 | + </dependency> |
| 85 | + |
| 86 | + <dependency> |
| 87 | + <groupId>jakarta.servlet</groupId> |
| 88 | + <artifactId>jakarta.servlet-api</artifactId> |
| 89 | + <version>6.0.0</version> |
| 90 | + <scope>provided</scope> |
| 91 | + </dependency> |
| 92 | + |
| 93 | + <dependency> |
| 94 | + <groupId>com.flowingcode.vaadin.addons</groupId> |
| 95 | + <artifactId>enhanced-tabs-addon</artifactId> |
| 96 | + <version>1.2.0</version> |
| 97 | + </dependency> |
| 98 | + |
| 99 | + <dependency> |
| 100 | + <groupId>com.flowingcode.vaadin</groupId> |
| 101 | + <artifactId>json-migration-helper</artifactId> |
| 102 | + <version>0.9.2</version> |
| 103 | + </dependency> |
| 104 | + |
| 105 | + <dependency> |
| 106 | + <groupId>junit</groupId> |
| 107 | + <artifactId>junit</artifactId> |
| 108 | + <version>4.11</version> |
| 109 | + <scope>test</scope> |
| 110 | + </dependency> |
| 111 | + |
| 112 | + <dependency> |
| 113 | + <groupId>org.slf4j</groupId> |
| 114 | + <artifactId>slf4j-simple</artifactId> |
| 115 | + <scope>test</scope> |
| 116 | + </dependency> |
| 117 | + |
| 118 | + <dependency> |
| 119 | + <groupId>com.vaadin</groupId> |
| 120 | + <artifactId>vaadin-testbench</artifactId> |
| 121 | + <scope>test</scope> |
| 122 | + <exclusions> |
| 123 | + <exclusion> |
| 124 | + <groupId>org.webjars.bowergithub.polymer</groupId> |
| 125 | + <artifactId>polymer</artifactId> |
| 126 | + </exclusion> |
| 127 | + </exclusions> |
| 128 | + </dependency> |
| 129 | + |
| 130 | + <dependency> |
| 131 | + <groupId>io.github.bonigarcia</groupId> |
| 132 | + <artifactId>webdrivermanager</artifactId> |
| 133 | + <version>6.3.2</version> |
| 134 | + <scope>test</scope> |
| 135 | + <exclusions> |
| 136 | + <exclusion> |
| 137 | + <groupId>net.java.dev.jna</groupId> |
| 138 | + <artifactId>jna</artifactId> |
| 139 | + </exclusion> |
| 140 | + </exclusions> |
| 141 | + </dependency> |
| 142 | + </dependencies> |
| 143 | + |
| 144 | + <build> |
| 145 | + <pluginManagement> |
| 146 | + <plugins> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-release-plugin</artifactId> |
| 150 | + <version>3.0.1</version> |
| 151 | + <configuration> |
| 152 | + <releaseProfiles>release</releaseProfiles> |
| 153 | + </configuration> |
| 154 | + </plugin> |
| 155 | + <plugin> |
| 156 | + <groupId>org.apache.maven.plugins</groupId> |
| 157 | + <artifactId>maven-deploy-plugin</artifactId> |
| 158 | + <version>2.8.2</version> |
| 159 | + </plugin> |
| 160 | + <plugin> |
| 161 | + <groupId>org.apache.maven.plugins</groupId> |
| 162 | + <artifactId>maven-surefire-plugin</artifactId> |
| 163 | + <version>2.22.1</version> |
| 164 | + <configuration> |
| 165 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 166 | + </configuration> |
| 167 | + </plugin> |
| 168 | + <plugin> |
| 169 | + <groupId>org.codehaus.mojo</groupId> |
| 170 | + <artifactId>license-maven-plugin</artifactId> |
| 171 | + <version>1.14</version> |
| 172 | + <configuration> |
| 173 | + <licenseName>apache_v2</licenseName> |
| 174 | + <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 175 | + <excludes> |
| 176 | + <exclude>**/AppShellConfiguratorImpl.class</exclude> |
| 177 | + <exclude>**/main/resources/META-INF/resources/frontend/prism.js</exclude> |
| 178 | + <exclude>**/main/resources/META-INF/resources/frontend/prism.css</exclude> |
| 179 | + <exclude>**/test/resources/**</exclude> |
| 180 | + <exclude>**/main/dev-bundle/**</exclude> |
| 181 | + </excludes> |
| 182 | + </configuration> |
| 183 | + </plugin> |
| 184 | + <plugin> |
| 185 | + <groupId>org.eclipse.jetty</groupId> |
| 186 | + <artifactId>jetty-maven-plugin</artifactId> |
| 187 | + <version>${jetty.version}</version> |
| 188 | + <configuration> |
| 189 | + <scanIntervalSeconds>3</scanIntervalSeconds> |
| 190 | + <!-- Use test scope because the UI/demo classes are in |
| 191 | + the test package. --> |
| 192 | + <useTestScope>true</useTestScope> |
| 193 | + <supportedPackagings> |
| 194 | + <supportedPackaging>jar</supportedPackaging> |
| 195 | + </supportedPackagings> |
| 196 | + <webApp> |
| 197 | + <resourceBases> |
| 198 | + <resourceBase>src/main/resources/META-INF/resources</resourceBase> |
| 199 | + <resourceBase>src/test/resources/META-INF/resources</resourceBase> |
| 200 | + </resourceBases> |
| 201 | + </webApp> |
| 202 | + </configuration> |
| 203 | + </plugin> |
| 204 | + </plugins> |
| 205 | + </pluginManagement> |
| 206 | + |
| 207 | + <plugins> |
| 208 | + <plugin> |
| 209 | + <groupId>org.apache.maven.plugins</groupId> |
| 210 | + <artifactId>maven-jar-plugin</artifactId> |
| 211 | + <version>3.1.2</version> |
| 212 | + <configuration> |
| 213 | + <!-- Generated file that shouldn't be included in add-ons --> |
| 214 | + <excludes> |
| 215 | + <exclude>META-INF/VAADIN/config/flow-build-info.json</exclude> |
| 216 | + </excludes> |
| 217 | + </configuration> |
| 218 | + </plugin> |
| 219 | + <plugin> |
| 220 | + <groupId>com.vaadin</groupId> |
| 221 | + <artifactId>vaadin-maven-plugin</artifactId> |
| 222 | + <version>${vaadin.version}</version> |
| 223 | + <executions> |
| 224 | + <execution> |
| 225 | + <goals> |
| 226 | + <goal>prepare-frontend</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
| 229 | + </executions> |
| 230 | + </plugin> |
| 231 | + <plugin> |
| 232 | + <groupId>org.apache.maven.plugins</groupId> |
| 233 | + <artifactId>maven-source-plugin</artifactId> |
| 234 | + <version>3.0.1</version> |
| 235 | + <executions> |
| 236 | + <execution> |
| 237 | + <id>attach-sources</id> |
| 238 | + <phase>package</phase> |
| 239 | + <goals> |
| 240 | + <goal>jar-no-fork</goal> |
| 241 | + </goals> |
| 242 | + </execution> |
| 243 | + </executions> |
| 244 | + </plugin> |
| 245 | + <plugin> |
| 246 | + <groupId>org.apache.maven.plugins</groupId> |
| 247 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 248 | + <version>3.11.1</version> |
| 249 | + <executions> |
| 250 | + <execution> |
| 251 | + <id>attach-javadocs</id> |
| 252 | + <phase>package</phase> |
| 253 | + <goals> |
| 254 | + <goal>jar</goal> |
| 255 | + </goals> |
| 256 | + </execution> |
| 257 | + </executions> |
| 258 | + <configuration> |
| 259 | + <quiet>true</quiet> |
| 260 | + <doclint>none</doclint> |
| 261 | + <failOnWarnings>true</failOnWarnings> |
| 262 | + <links> |
| 263 | + <link>https://javadoc.io/doc/com.vaadin/vaadin-platform-javadoc/${vaadin.version}</link> |
| 264 | + </links> |
| 265 | + </configuration> |
| 266 | + </plugin> |
| 267 | + </plugins> |
| 268 | + </build> |
| 269 | + |
| 270 | + <profiles> |
| 271 | + <profile> |
| 272 | + <id>gpg</id> |
| 273 | + <activation> |
| 274 | + <property> |
| 275 | + <name>env.MAVEN_GPG_PASSPHRASE</name> |
| 276 | + </property> |
| 277 | + </activation> |
| 278 | + <build> |
| 279 | + <plugins> |
| 280 | + <plugin> |
| 281 | + <groupId>org.apache.maven.plugins</groupId> |
| 282 | + <artifactId>maven-gpg-plugin</artifactId> |
| 283 | + <version>3.2.7</version> |
| 284 | + <executions> |
| 285 | + <execution> |
| 286 | + <id>sign-artifacts</id> |
| 287 | + <phase>verify</phase> |
| 288 | + <goals> |
| 289 | + <goal>sign</goal> |
| 290 | + </goals> |
| 291 | + </execution> |
| 292 | + </executions> |
| 293 | + </plugin> |
| 294 | + </plugins> |
| 295 | + </build> |
| 296 | + </profile> |
| 297 | + |
| 298 | + <profile> |
| 299 | + <id>release</id> |
| 300 | + <build> |
| 301 | + <plugins> |
| 302 | + <plugin> |
| 303 | + <groupId>org.sonatype.central</groupId> |
| 304 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 305 | + <version>0.8.0</version> |
| 306 | + <extensions>true</extensions> |
| 307 | + </plugin> |
| 308 | + </plugins> |
| 309 | + </build> |
| 310 | + </profile> |
| 311 | + |
| 312 | + <profile> |
| 313 | + <id>v25</id> |
| 314 | + <properties> |
| 315 | + <maven.compiler.source>21</maven.compiler.source> |
| 316 | + <maven.compiler.target>21</maven.compiler.target> |
| 317 | + <vaadin.version>25.0.0</vaadin.version> |
| 318 | + </properties> |
| 319 | + <dependencies> |
| 320 | + <dependency> |
| 321 | + <groupId>com.vaadin</groupId> |
| 322 | + <artifactId>vaadin-dev</artifactId> |
| 323 | + <optional>true</optional> |
| 324 | + </dependency> |
| 325 | + </dependencies> |
| 326 | + </profile> |
| 327 | + |
| 328 | + </profiles> |
| 329 | + |
| 330 | +</project> |
0 commit comments