add classpath and Java Version requirements to RELEASE-PROCESS.md
This commit is contained in:
@ -17,6 +17,11 @@ in their main repository.
|
||||
3. Ensure you got hamcrest-integration, hamcrest-library, hamcrest-core in the hamcrest.home directory.
|
||||
4. Ensure junit 4.12 at least in junit.home, ensure the jar file is named `junit4.jar`.
|
||||
5. Ensure to have updated the changelog with the changes done.
|
||||
6. Ensure that you are configured to build i2p.i2p with Java 8. On Debian it is easiest to set with
|
||||
`update-alternatives --config java` and picking Java 8. **TODO:** add instructions for non-Debian-based
|
||||
systems.
|
||||
7. Ensure that you have a Java 1.7 bootclasspath available. (See **Maven Central** step 2A.)
|
||||
|
||||
|
||||
## Get all the dependencies ready
|
||||
|
||||
@ -25,6 +30,13 @@ in their main repository.
|
||||
1. Check out a clean copy of i2p.i2p at the correct release version. (Make a clean checkout)
|
||||
2. Build the maven packages via `ant mavenCentral` where you end up with mavencentral-*.jar files in the
|
||||
current directory.
|
||||
2. **A)** I2P for Android requires a Java 1.7 bootclasspath, but the servlet jar requires Java 8. So, to do the builds:
|
||||
- First set `bootclasspath=/path/to/java/7/rt.jar` in override.properties
|
||||
- Build with `ant mavenCentral`
|
||||
- upload everything *except* servlet.jar
|
||||
- Unset bootclasspath in override.properties
|
||||
- Build with `ant mavenCentral`
|
||||
- upload servlet.jar
|
||||
3. Login to http://oss.sonatype.org for uploading the mavencentral-*.jar bundles.
|
||||
4. In nexus, choose "Staging Upload" and upload all of the files with upload mode set to "Artifacts with POM".
|
||||
When uploading the files to nexus, you *must* upload the pom.xml files, and all of their artifacts. For each
|
||||
|
Reference in New Issue
Block a user