123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?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>7.7.0-SNAPSHOT</version>
- </parent>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-client-compiled</artifactId>
- <name>vaadin-client-compiled</name>
- <packaging>jar</packaging>
-
- <properties>
- <widgetset.name>com.vaadin.DefaultWidgetSet</widgetset.name>
- <widgetset.style>OBF</widgetset.style>
- <widgetset.local.workers>6</widgetset.local.workers>
- </properties>
-
- <organization>
- <name>Vaadin Ltd</name>
- </organization>
- <url>https://vaadin.com/</url>
- <description>Vaadin client compiled</description>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-server</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-client</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-client-compiler</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vaadin-buildhelpers</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.4.0</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <classpathScope>compile</classpathScope>
- <executable>${java.home}/bin/java</executable>
- <arguments>
- <!-- TODO: Do we need these? -->
- <!-- <jvmarg value="-Xss8M" /> -->
- <!-- <jvmarg value="-XX:MaxPermSize=256M" /> -->
- <!-- <jvmarg value="-Djava.awt.headless=true" /> -->
- <argument>-Dgwt.persistentunitcachedir=${project.build.directory}/compile</argument>
- <argument>-DvFailIfNotSerializable=true</argument>
-
- <argument>-classpath</argument>
- <classpath />
-
- <argument>com.google.gwt.dev.Compiler</argument>
-
- <argument>-workDir</argument>
- <argument>${project.build.directory}/compile</argument>
- <argument>-logLevel</argument>
- <argument>TRACE</argument>
- <argument>-war</argument>
- <!-- This will write the result directly to target/classes for packaging -->
- <argument>${project.build.outputDirectory}/VAADIN/widgetsets/</argument>
- <argument>-style</argument>
- <argument>${widgetset.style}</argument>
- <argument>-localWorkers</argument>
- <argument>${widgetset.local.workers}</argument>
-
- <argument>-strict</argument>
-
- <!-- Move unnecessary stuff to compile folder -->
- <argument>-deploy</argument>
- <argument>${project.build.directory}/compile</argument>
- <argument>-extra</argument>
- <argument>${project.build.directory}/compile</argument>
-
- <argument>${widgetset.name}</argument>
- </arguments>
- </configuration>
- </execution>
-
- <execution>
- <id>generate-export-package</id>
- <phase>package</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <classpathScope>compile</classpathScope>
- <executable>${java.home}/bin/java</executable>
- <arguments>
- <argument>-Dvaadin.version=${project.version}</argument>
- <argument>-DincludeNumberPackages=1</argument>
-
- <argument>-classpath</argument>
- <classpath />
-
- <argument>com.vaadin.buildhelpers.GeneratePackageExports</argument>
-
- <argument>${project.build.directory}/${project.build.finalName}.${project.packaging}</argument>
- <argument>VAADIN/widgetsets</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
- <!-- Export package is handled in exec plugin -->
- <Export-Package></Export-Package>
- <Import-Package></Import-Package>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- <index>false</index>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- <excludes>
- <exclude>VAADIN/widgetsets/WEB-INF</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- </project>
|