Skip to content
Snippets Groups Projects
Commit 6072e556 authored by Ludo Stellingwerff's avatar Ludo Stellingwerff
Browse files

Fix release of bundle javadoc, document different release branch setup

parent 7417562b
No related branches found
Tags v3.1.0
No related merge requests found
......@@ -16,7 +16,6 @@
<properties>
<android.version>4.1.1.4</android.version>
<maven.shade.version>2.2</maven.shade.version>
<jzlib.version>1.1.3</jzlib.version>
</properties>
......@@ -77,7 +76,7 @@
<version>${project.parent.version}</version>
<artifactId>eve-scheduling-persistent</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>${project.parent.groupId}</groupId>
<version>${project.parent.version}</version>
<artifactId>eve-scheduling-sync</artifactId>
......@@ -103,6 +102,7 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
......@@ -123,7 +123,7 @@
<executions>
<execution>
<id>copy-javadoc-files</id>
<phase>verify</phase>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
......@@ -137,9 +137,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
......@@ -16,7 +16,6 @@
<properties>
<android.version>4.1.1.4</android.version>
<maven.shade.version>2.2</maven.shade.version>
<jzlib.version>1.1.3</jzlib.version>
</properties>
......@@ -92,6 +91,7 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
......@@ -112,7 +112,7 @@
<executions>
<execution>
<id>copy-javadoc-files</id>
<phase>verify</phase>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
......@@ -126,6 +126,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
......
......@@ -14,10 +14,6 @@
<name>EVE Bundle Full</name>
<url>http://almende.github.com/eve</url>
<properties>
<maven.shade.version>2.2</maven.shade.version>
</properties>
<dependencies>
<dependency>
<groupId>${project.parent.groupId}</groupId>
......@@ -83,7 +79,6 @@
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
......@@ -105,7 +100,7 @@
<executions>
<execution>
<id>copy-javadoc-files</id>
<phase>verify</phase>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
......@@ -119,6 +114,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
......
......@@ -14,10 +14,6 @@
<name>EVE Bundle Full - Embedded Jetty Server</name>
<url>http://almende.github.com/eve</url>
<properties>
<maven.shade.version>2.2</maven.shade.version>
</properties>
<dependencies>
<dependency>
<groupId>${project.parent.groupId}</groupId>
......@@ -109,7 +105,7 @@
<executions>
<execution>
<id>copy-javadoc-files</id>
<phase>verify</phase>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
......@@ -123,6 +119,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper.version}</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
......
......@@ -15,10 +15,16 @@
<name>EVE Bundle Parent</name>
<url>http://almende.github.com/eve</url>
<properties>
<maven.shade.version>2.2</maven.shade.version>
<build-helper.version>1.9.1</build-helper.version>
</properties>
<modules>
<module>eve_full</module>
<module>eve_full_embed</module>
<module>eve_android</module>
<module>eve_android_ws</module>
</modules>
</project>
......@@ -18,22 +18,23 @@ Requirements:
3: git commit -a
4: git push --all
5: git tag <ver> //(version with prefix 'v', e.g. v1.1.0)
6: git push --tags
7: mvn clean deploy -Prelease
5: git branch -b <ver>_release
6: git push --set-upstream origin <ver>_release
7: git checkout master
8: mvn clean deploy -Prelease
8: mvn versions:set -DnewVersion=<ver+1>-SNAPSHOT
9: git commit -a
10: git push --all
9: mvn versions:set -DnewVersion=<ver+1>-SNAPSHOT
10: git commit -a
11: git push --all
11: Login to: https://oss.sonatype.org (Really login, not just opening the page! )
12: Goto: "Staging repositories" (if you can't find it, you didn't login:) )
13: select comalmende repos
14: click on "close"
12: Login to: https://oss.sonatype.org (Really login, not just opening the page! )
13: Goto: "Staging repositories" (if you can't find it, you didn't login:) )
14: select comalmende repos
15: click on "close"
<Fix any errors that might popup>
<download and test>
15: click on "release"
16: Tell the world!
16: click on "release"
17: Tell the world!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment