summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2017-02-28 15:19:07 +0200
committerHenri Sara <henri.sara@gmail.com>2017-02-28 16:55:24 +0200
commit7b5f4d08df77086c9e006b50d36bec587daf7485 (patch)
treeddee017ad1767acbe950fa26400b324b7f26675a /pom.xml
parentec543d9ea26c6446177e9b4d7231ea6a56b3d855 (diff)
downloadvaadin-framework-7b5f4d08df77086c9e006b50d36bec587daf7485.tar.gz
vaadin-framework-7b5f4d08df77086c9e006b50d36bec587daf7485.zip
Add prerelease profile and remove inherited plug-in
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml66
1 files changed, 62 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 292e9347fc..a9ff5a6e51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -675,11 +675,69 @@
</execution>
</executions>
</plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <!-- Pre-release build only builds artifacts that are deployed or
+ needed by them -->
+ <id>prerelease</id>
+ <properties>
+ <vaadin.plugin.version>${project.version}</vaadin.plugin.version>
+ </properties>
+ <modules>
+ <module>buildhelpers</module>
+ <module>shared</module>
+ <module>push</module>
+ <module>server</module>
+ <module>client</module>
+ <module>client-compiler</module>
+ <module>client-compiled</module>
+ <module>themes</module>
+ <module>compatibility-server</module>
+ <module>compatibility-client</module>
+ <module>compatibility-client-compiled</module>
+ <module>compatibility-shared</module>
+ <module>compatibility-themes</module>
+ <!-- Nexus staging bug needs the last module to be deployed. -->
+ <module>testbench-api</module>
+ <!-- BOM is built and released separately -->
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sources-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <!-- Only include java files -->
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.3</version>
+ <executions>
+ <execution>
+ <id>generate-javadoc</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <failOnError>false</failOnError>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>