Skip to content

Commit

Permalink
Relase 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaseder committed May 7, 2024
1 parent 0ca9c71 commit c220768
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 52 deletions.
101 changes: 75 additions & 26 deletions jOOX-java-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,41 +164,90 @@
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<version>1.5.3</version>
<executions>
<execution>
<id>replace-apidocs-jar</id>
<phase>package</phase>
<goals>
<goal>replace</goal>
</goals>

<configuration>
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</head>]]></token>
<value><![CDATA[
<meta name="robots" content="noindex">
<link rel="canonical" href="https://www.jooq.org/products/jOOX/javadoc/latest">
</head>
]]></value>
</replacement>
</replacements>
</configuration>
</execution>

<execution>
<id>replace-apidocs-ga</id>
<phase>package</phase>
<goals>
<goal>replace</goal>
</goals>

<configuration>

<!-- There's an error when trying to find the top module's /target/apidocs-ga directory -->
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs-ga</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</body>]]></token>
<value><![CDATA[
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PB08BGF2SR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PB08BGF2SR');
</script>
</body>
]]></value>
</replacement>
</replacements>
</configuration>
</execution>
</executions>
<configuration>
</plugin>

<!-- There's an error when trying to find the top module's /target/apidocs-ga directory -->
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs-ga</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</body>]]></token>
<value><![CDATA[
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PB08BGF2SR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PB08BGF2SR');
</script>
</body>
]]></value>
</replacement>
</replacements>
</configuration>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>repack</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete file="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/>
<zip basedir="${project.build.directory}/apidocs" destfile="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/>
</target>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
Expand Down
101 changes: 75 additions & 26 deletions jOOX/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,41 +164,90 @@
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<version>1.5.3</version>
<executions>
<execution>
<id>replace-apidocs-jar</id>
<phase>package</phase>
<goals>
<goal>replace</goal>
</goals>

<configuration>
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</head>]]></token>
<value><![CDATA[
<meta name="robots" content="noindex">
<link rel="canonical" href="https://www.jooq.org/products/jOOX/javadoc/latest">
</head>
]]></value>
</replacement>
</replacements>
</configuration>
</execution>

<execution>
<id>replace-apidocs-ga</id>
<phase>package</phase>
<goals>
<goal>replace</goal>
</goals>

<configuration>

<!-- There's an error when trying to find the top module's /target/apidocs-ga directory -->
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs-ga</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</body>]]></token>
<value><![CDATA[
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PB08BGF2SR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PB08BGF2SR');
</script>
</body>
]]></value>
</replacement>
</replacements>
</configuration>
</execution>
</executions>
<configuration>
</plugin>

<!-- There's an error when trying to find the top module's /target/apidocs-ga directory -->
<ignoreErrors>true</ignoreErrors>
<basedir>${project.build.directory}/apidocs-ga</basedir>
<includes>
<include>**/*.html</include>
</includes>
<replacements>
<replacement>
<token><![CDATA[</body>]]></token>
<value><![CDATA[
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PB08BGF2SR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PB08BGF2SR');
</script>
</body>
]]></value>
</replacement>
</replacements>
</configuration>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>repack</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete file="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/>
<zip basedir="${project.build.directory}/apidocs" destfile="${project.build.directory}/${artifactId}-${version}-javadoc.jar"/>
</target>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
Expand Down

0 comments on commit c220768

Please sign in to comment.