Skip to content

Commit

Permalink
Merge branch 'release/3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed May 13, 2016
2 parents 0238f1e + e43654b commit a51247a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@
<archive>
<manifest>
<mainClass>edu.illinois.library.cantaloupe.StandaloneEntry</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
<packagingExcludes>WEB-INF/lib/javax.servlet-api-*.jar</packagingExcludes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public static String getVersion() {
String className = clazz.getSimpleName() + ".class";
URL classUrl = clazz.getResource(className);
if (classUrl != null) {
String classPath = clazz.getResource(className).toString();
if (classPath.startsWith("jar")) {
String manifestPath = classPath.substring(0, classPath.lastIndexOf("!") + 1) +
String classPath = classUrl.toString();
if (classPath.startsWith("file")) {
String manifestPath = classPath.substring(0, classPath.lastIndexOf("/WEB-INF")) +
"/META-INF/MANIFEST.MF";
try {
Manifest manifest = new Manifest(new URL(manifestPath).openStream());
Expand Down
2 changes: 1 addition & 1 deletion website/manual/3.1/developers.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h3 id="Releasing">Releasing</h3>
<li>Merge into "release/vX.X"</li>
<li>Update the version in <span class="filename">pom.xml</span> and commit this change</li>
<li>Merge into "master"</li>
<li>Create the release .zip archive with <code>mvn package</code></li>
<li>Create the release .zip archive with <code>mvn clean; mvn package</code></li>
<li>Check that the .zip archive is as expected</li>
<li>Tag the release: <code>git tag -a v{version} -m 'Tag v{version}'</code></li>
<li>Push the code: <code>git push origin master; git push origin release/x.x; git push --tags</code></li>
Expand Down

0 comments on commit a51247a

Please sign in to comment.