123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- <?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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-root</artifactId>
- <version>8.4-SNAPSHOT</version>
- </parent>
- <artifactId>vaadin-server</artifactId>
- <name>vaadin-server</name>
- <packaging>jar</packaging>
-
- <url>https://vaadin.com/</url>
- <description>Vaadin server</description>
-
- <dependencies>
- <!-- API DEPENDENCIES -->
-
- <!-- Liferay Portal Service -->
- <dependency>
- <groupId>com.liferay.portal</groupId>
- <artifactId>com.liferay.portal.kernel</artifactId>
- <version>${liferay.portal-kernel.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- Liferay 6 -->
- <dependency>
- <groupId>com.liferay.portal</groupId>
- <artifactId>portal-service</artifactId>
- <version>${liferay.portal-service.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <!--Servlet API -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!--Portlet API -->
- <dependency>
- <groupId>javax.portlet</groupId>
- <artifactId>portlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- Bean Validation API -->
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <scope>provided</scope>
- <optional>true</optional>
- </dependency>
-
- <!-- Sass compiler -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-sass-compiler</artifactId>
- </dependency>
-
- <!-- LIBRARY DEPENDENCIES (compile time) -->
- <!-- Project modules -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-shared</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-push</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-icons</artifactId>
- </dependency>
-
- <!-- Jsoup for BootstrapHandler -->
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- </dependency>
-
- <!-- Small reflection library -->
- <dependency>
- <groupId>com.vaadin.external</groupId>
- <artifactId>gentyref</artifactId>
- <version>1.2.0.vaadin1</version>
- </dependency>
-
- <!-- OSGi API -->
-
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- </dependency>
-
- <!-- TESTING DEPENDENCIES -->
-
- <!-- Test dependencies -->
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.reflections</groupId>
- <artifactId>reflections</artifactId>
- <version>0.9.11</version>
- <scope>test</scope>
- </dependency>
- <!-- For manual testing with PostgreSQL (see SQLTestConstants) -->
- <!-- <dependency><groupId>postgresql</groupId><artifactId>postgresql</artifactId><version>9.1-901.jdbc3</version></dependency> -->
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-font-icons</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <!-- VaadinIcons.java file -->
- <configuration>
- <includeGroupIds>com.vaadin</includeGroupIds>
- <includeArtifactIds>vaadin-icons</includeArtifactIds>
- <excludeTransitive>true</excludeTransitive>
- <includes>com/vaadin/icons/VaadinIcons.java</includes>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/vaadin-icons</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/vaadin-icons</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
-
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <!-- Copy .java files to package -->
- <execution>
- <id>copy-sources</id>
- <!-- here the phase you need -->
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.outputDirectory}</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>${project.build.directory}/vaadin-icons</directory>
- <filtering>false</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>checkstyle</goal>
- </goals>
- <phase>process-sources</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>compressbootstrap</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <property name="vaadinBootstrap.js"
- location="${project.build.outputDirectory}/VAADIN/vaadinBootstrap.js" />
-
- <!-- Gzipped version -->
- <gzip src="${vaadinBootstrap.js}"
- destfile="${vaadinBootstrap.js}.gz" />
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>biz.aQute.bnd</groupId>
- <artifactId>bnd-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- <index>false</index>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- <!-- Package src/test into a jar so that compatbility-server
- can use the same test classes, e.g. test beans -->
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- </plugins>
-
- <pluginManagement>
- <plugins>
- <!-- Make Eclipse add the source folder -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <versionRange>[1.0,)</versionRange>
- <goals>
- <goal>add-source</goal>
- <!--
- <goal>add-test-source</goal>
- <goal>add-resource</goal>
- <goal>add-test-resource</goal>
- <goal>maven-version</goal>
- <goal>parse-version</goal>
- -->
- </goals>
- </pluginExecutionFilter>
- <action>
- <execute>
- <runOnConfiguration>true</runOnConfiguration>
- <!-- <runOnIncremental>true</runOnIncremental> -->
- </execute>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- </project>
|