Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor tweaks to Sourceforge tarball generation instructions

...

The previous actions will have checked out the release tag into the target directory under [dspace-src]/target/checkout/dspace/. Navigate to that directory and execute the creation of the distributions using the following command. This will create two zip, bzip and gzipped files in the target directory. One set of files is the "binary" release, and the other set is the source release.

(Note: If you've already removed the target/checkout directory, you can also checkout a fresh copy of the newly tagged version and run this command from the DSpace parent the [dspace-src]/dspace/ directory.)

Code Block
localhost$ cd target/checkout/dspace/
 localhost$ mvn package -Pdistributions
 [INFO] Scanning for projects...
 [INFO]
 [INFO] ----------------------------------------------------------------------------
 [INFO] Building DSpace ParentAssembly Project
 [INFO]    task-segment: [package]and Configuration 3.0
 [INFO] ----------------------------------------------------------------------------
 ....
 [INFO] [site:attach-descriptor]
 [INFO] [assembly--- maven-assembly-plugin:2.2.1:single -(execution. default-)]
 [INFO] @ dspace ---
 [INFO] Reading assembly descriptor: src/main/assembly/release.xml
 [INFO] Reading assembly descriptor: src/main/assembly/src-release.xml
 [INFO] Building zip: ...[full-path-to-dspace-src]/dspace/target/dspace-1.83.0-release.zip
 [INFO] Building tar: ...[full-path-to-dspace-src]/dspace/target/dspace-1.83.0-release.tar.gz
 [INFO] Building tar: ...[full-path-to-dspace-src]/dspace/target/dspace-1.83.0-release.tar.bz2
 [INFO] Building zip: ...[full-path-to-dspace-src]/dspace/target/dspace-1.83.0-src-release.zip
 [INFO] Building tar: ...[full-path-to-dspace-src]/dspace/target/dspace-13.8.0-src-release.tar.gz
 [INFO] Building tar: ...[full-path-to-dspace-src]/dspace/target/dspace-13.8.0-src-release.tar.bz2
  [INFO] ------------------------------------------------------------------------
 [INFO] BUILD SUCCESSFULSUCCESS
 [INFO] ------------------------------------------------------------------------

...