Skip to content

Commit

Permalink
Release improvements (#1195)
Browse files Browse the repository at this point in the history
* Can run mvn assembly:single outside of build

* Filter dependency html files

* Use assembly to rename versioned properties files
  • Loading branch information
chingor13 authored Oct 29, 2018
1 parent 020a042 commit 1207585
Show file tree
Hide file tree
Showing 40 changed files with 462 additions and 364 deletions.
91 changes: 91 additions & 0 deletions google-api-client-assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,102 @@
<filtered>true</filtered>
<outputDirectory>google-api-java-client</outputDirectory>
</file>
<file>
<source>properties/google-api-client.jar.properties</source>
<destName>google-api-client-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-api-client-android.jar.properties</source>
<destName>google-api-client-android-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-api-client-gson.jar.properties</source>
<destName>google-api-client-gson-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-api-client-jackson2.jar.properties</source>
<destName>google-api-client-jackson2-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-api-client-protobuf.jar.properties</source>
<destName>google-api-client-protobuf-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-api-client-xml.jar.properties</source>
<destName>google-api-client-xml-${project.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client.jar.properties</source>
<destName>google-http-client-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-android.jar.properties</source>
<destName>google-http-client-android-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-gson.jar.properties</source>
<destName>google-http-client-gson-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-jackson.jar.properties</source>
<destName>google-http-client-jackson-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-jackson2.jar.properties</source>
<destName>google-http-client-jackson2-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-jdo.jar.properties</source>
<destName>google-http-client-jdo-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-protobuf.jar.properties</source>
<destName>google-http-client-protobuf-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-http-client-xml.jar.properties</source>
<destName>google-http-client-xml-${project.http.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
<file>
<source>properties/google-oauth-client.jar.properties</source>
<destName>google-oauth-client-${project.oauth.version}.jar.properties</destName>
<outputDirectory>google-api-java-client/libs</outputDirectory>
<filtered>true</filtered>
</file>
</files>
<fileSets>
<fileSet>
<directory>dependencies</directory>
<outputDirectory>google-api-java-client/dependencies</outputDirectory>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>target/libs</directory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="xleft">
<span id="publishDate">Last Published: 2018-08-20</span>
&nbsp;| <span id="projectVersion">Version: 1.26.0</span>
&nbsp;| <span id="projectVersion">Version: ${project.version}</span>
</div>
<div class="xright">

Expand Down Expand Up @@ -63,13 +63,13 @@ <h3>compile<a name="compile"></a></h3>
<tr class="b">
<td>com.google.api-client</td>
<td><a class="externalLink" href="https://github.com/google/google-api-java-client/google-api-client">google-api-client</a></td>
<td>1.26.0</td>
<td>${project.version}</td>
<td>jar</td>
<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr>
<tr class="a">
<td>com.google.http-client</td>
<td><a class="externalLink" href="https://github.com/google/google-http-java-client/google-http-client-android">google-http-client-android</a></td>
<td>1.26.0</td>
<td>${project.http.version}</td>
<td>jar</td>
<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr></table></div><a name="Project_Dependencies_provided"></a>
<div class="section">
Expand Down Expand Up @@ -128,13 +128,13 @@ <h3>compile<a name="compile"></a></h3>
<tr class="a">
<td>com.google.http-client</td>
<td><a class="externalLink" href="https://github.com/google/google-http-java-client/google-http-client">google-http-client</a></td>
<td>1.26.0</td>
<td>${project.http.version}</td>
<td>jar</td>
<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr>
<tr class="b">
<td>com.google.http-client</td>
<td><a class="externalLink" href="https://github.com/google/google-http-java-client/google-http-client-jackson2">google-http-client-jackson2</a></td>
<td>1.26.0</td>
<td>${project.http.version}</td>
<td>jar</td>
<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr>
<tr class="a">
Expand All @@ -146,7 +146,7 @@ <h3>compile<a name="compile"></a></h3>
<tr class="b">
<td>com.google.oauth-client</td>
<td><a class="externalLink" href="https://github.com/google/google-oauth-java-client/google-oauth-client">google-oauth-client</a></td>
<td>1.26.0</td>
<td>${project.oauth.version}</td>
<td>jar</td>
<td><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></td></tr>
<tr class="a">
Expand Down Expand Up @@ -229,7 +229,7 @@ <h2>Project Dependency Graph<a name="Project_Dependency_Graph"></a></h2><script
<div class="section">
<h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
<ul>
<li>com.google.api-client:google-api-client-android:jar:1.26.0 <img id="_img1" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep0', '_img1' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep0" style="display:none">
<li>com.google.api-client:google-api-client-android:jar:${project.version} <img id="_img1" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep0', '_img1' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep0" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Android Platform Extensions to the Google APIs Client Library for Java.</th></tr>
Expand Down Expand Up @@ -331,7 +331,7 @@ <h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
These properties make JSON an ideal data-interchange language.</p>
<p><b>URL: </b><a class="externalLink" href="http://www.json.org/java/index.html">http://www.json.org/java/index.html</a></p>
<p><b>Project License: </b><a class="externalLink" href="http://www.json.org/license.html">provided without support or warranty</a></p></td></tr></table></div></li></ul></li>
<li>com.google.api-client:google-api-client:jar:1.26.0 (compile) <img id="_img21" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep20', '_img21' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep20" style="display:none">
<li>com.google.api-client:google-api-client:jar:${project.version} (compile) <img id="_img21" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep20', '_img21' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep20" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Google APIs Client Library for Java</th></tr>
Expand All @@ -341,7 +341,7 @@ <h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
<p><b>URL: </b><a class="externalLink" href="https://github.com/google/google-api-java-client/google-api-client">https://github.com/google/google-api-java-client/google-api-client</a></p>
<p><b>Project License: </b><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></p></td></tr></table></div>
<ul>
<li>com.google.oauth-client:google-oauth-client:jar:1.26.0 (compile) <img id="_img23" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep22', '_img23' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep22" style="display:none">
<li>com.google.oauth-client:google-oauth-client:jar:${project.oauth.version} (compile) <img id="_img23" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep22', '_img23' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep22" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Google OAuth Client Library for Java</th></tr>
Expand All @@ -361,7 +361,7 @@ <h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
<p><b>Description: </b>JSR305 Annotations for Findbugs</p>
<p><b>URL: </b><a class="externalLink" href="http://findbugs.sourceforge.net/">http://findbugs.sourceforge.net/</a></p>
<p><b>Project License: </b><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></p></td></tr></table></div></li></ul></li>
<li>com.google.http-client:google-http-client-jackson2:jar:1.26.0 (compile) <img id="_img27" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep26', '_img27' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep26" style="display:none">
<li>com.google.http-client:google-http-client-jackson2:jar:${project.http.version} (compile) <img id="_img27" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep26', '_img27' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep26" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Jackson 2 extensions to the Google HTTP Client Library for Java.</th></tr>
Expand Down Expand Up @@ -394,7 +394,7 @@ <h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
per the JSR-305 spec.</p>
<p><b>URL: </b><a class="externalLink" href="https://github.com/google/guava/guava">https://github.com/google/guava/guava</a></p>
<p><b>Project License: </b><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></p></td></tr></table></div></li></ul></li>
<li>com.google.http-client:google-http-client-android:jar:1.26.0 (compile) <img id="_img33" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep32', '_img33' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep32" style="display:none">
<li>com.google.http-client:google-http-client-android:jar:${project.http.version} (compile) <img id="_img33" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep32', '_img33' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep32" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Android Platform Extensions to the Google HTTP Client Library for Java.</th></tr>
Expand All @@ -404,7 +404,7 @@ <h3>Dependency Tree<a name="Dependency_Tree"></a></h3>
<p><b>URL: </b><a class="externalLink" href="https://github.com/google/google-http-java-client/google-http-client-android">https://github.com/google/google-http-java-client/google-http-client-android</a></p>
<p><b>Project License: </b><a class="externalLink" href="http://www.apache.org/licenses/LICENSE-2.0.txt">The Apache Software License, Version 2.0</a></p></td></tr></table></div>
<ul>
<li>com.google.http-client:google-http-client:jar:1.26.0 (compile) <img id="_img35" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep34', '_img35' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep34" style="display:none">
<li>com.google.http-client:google-http-client:jar:${project.http.version} (compile) <img id="_img35" src="./images/icon_info_sml.gif" alt="Information" onclick="toggleDependencyDetail( '_dep34', '_img35' );" style="cursor: pointer;vertical-align:text-bottom;"></img><div id="_dep34" style="display:none">
<table border="0" class="bodyTable">
<tr class="a">
<th>Google HTTP Client Library for Java</th></tr>
Expand Down Expand Up @@ -479,7 +479,7 @@ <h2>Dependency File Details<a name="Dependency_File_Details"></a></h2>
<td>1.6</td>
<td>release</td></tr>
<tr class="a">
<td>google-api-client-1.26.0.jar</td>
<td>google-api-client-${project.version}.jar</td>
<td>199.67 kB</td>
<td>141</td>
<td>110</td>
Expand All @@ -503,23 +503,23 @@ <h2>Dependency File Details<a name="Dependency_File_Details"></a></h2>
<td>1.6</td>
<td>debug</td></tr>
<tr class="b">
<td>google-http-client-1.26.0.jar</td>
<td>google-http-client-${project.http.version}.jar</td>
<td>261.81 kB</td>
<td>223</td>
<td>200</td>
<td>16</td>
<td>1.6</td>
<td>debug</td></tr>
<tr class="a">
<td>google-http-client-android-1.26.0.jar</td>
<td>google-http-client-android-${project.http.version}.jar</td>
<td>11.86 kB</td>
<td>21</td>
<td>11</td>
<td>3</td>
<td>1.6</td>
<td>debug</td></tr>
<tr class="b">
<td>google-http-client-jackson2-1.26.0.jar</td>
<td>google-http-client-jackson2-${project.http.version}.jar</td>
<td>6.58 kB</td>
<td>13</td>
<td>5</td>
Expand All @@ -535,7 +535,7 @@ <h2>Dependency File Details<a name="Dependency_File_Details"></a></h2>
<td>1.5</td>
<td>debug</td></tr>
<tr class="b">
<td>google-oauth-client-1.26.0.jar</td>
<td>google-oauth-client-${project.oauth.version}.jar</td>
<td>61.64 kB</td>
<td>57</td>
<td>47</td>
Expand Down Expand Up @@ -684,7 +684,7 @@ <h2>Dependency Repository Locations<a name="Dependency_Repository_Locations"></a
<td>-</td>
<td>-</td></tr>
<tr class="a">
<td>com.google.api-client:google-api-client:jar:1.26.0</td>
<td>com.google.api-client:google-api-client:jar:${project.version}</td>
<td>-</td>
<td>-</td>
<td>-</td></tr>
Expand All @@ -699,17 +699,17 @@ <h2>Dependency Repository Locations<a name="Dependency_Repository_Locations"></a
<td>-</td>
<td>-</td></tr>
<tr class="b">
<td>com.google.http-client:google-http-client:jar:1.26.0</td>
<td>com.google.http-client:google-http-client:jar:${project.http.version}</td>
<td>-</td>
<td>-</td>
<td>-</td></tr>
<tr class="a">
<td>com.google.http-client:google-http-client-android:jar:1.26.0</td>
<td>com.google.http-client:google-http-client-android:jar:${project.http.version}</td>
<td>-</td>
<td>-</td>
<td>-</td></tr>
<tr class="b">
<td>com.google.http-client:google-http-client-jackson2:jar:1.26.0</td>
<td>com.google.http-client:google-http-client-jackson2:jar:${project.http.version}</td>
<td>-</td>
<td>-</td>
<td>-</td></tr>
Expand All @@ -719,7 +719,7 @@ <h2>Dependency Repository Locations<a name="Dependency_Repository_Locations"></a
<td>-</td>
<td>-</td></tr>
<tr class="b">
<td>com.google.oauth-client:google-oauth-client:jar:1.26.0</td>
<td>com.google.oauth-client:google-oauth-client:jar:${project.oauth.version}</td>
<td>-</td>
<td>-</td>
<td>-</td></tr>
Expand Down
Loading

0 comments on commit 1207585

Please sign in to comment.