summaryrefslogtreecommitdiffstats
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
parentec543d9ea26c6446177e9b4d7231ea6a56b3d855 (diff)
downloadvaadin-framework-7b5f4d08df77086c9e006b50d36bec587daf7485.tar.gz
vaadin-framework-7b5f4d08df77086c9e006b50d36bec587daf7485.zip
Add prerelease profile and remove inherited plug-in
-rw-r--r--bom/pom.xml18
-rw-r--r--pom.xml66
2 files changed, 62 insertions, 22 deletions
diff --git a/bom/pom.xml b/bom/pom.xml
index 56a6d65459..70ba309e0e 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -131,22 +131,4 @@
</dependencies>
</dependencyManagement>
- <profiles>
- <profile>
- <id>release</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>
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>