Skip to content

Commit

Permalink
change module order (sometimes not built in correct order)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdbosch committed Dec 2, 2024
1 parent 358f573 commit b0647f1
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 135 deletions.
216 changes: 108 additions & 108 deletions guide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,114 +2,114 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>restguide-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>

<artifactId>rest-styleguide</artifactId>
<packaging>pom</packaging>
<name>REST Styleguide</name>
<description>REST style guide for Belgian government institutions</description>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>restguide-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>

<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.3</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>3.5.3</version>
</extension>
</extensions>
<artifactId>rest-styleguide</artifactId>
<packaging>pom</packaging>
<name>REST Styleguide</name>
<description>REST style guide for Belgian government institutions</description>

<defaultGoal>package</defaultGoal>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
<version>2.2.14</version>
</dependency>
<dependency>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>asciidoctorj-rest-guide-extensions</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.spring.asciidoctor</groupId>
<artifactId>spring-asciidoctor-extensions-block-switch</artifactId>
<version>0.6.3</version>
</dependency>
</dependencies>
<configuration>
<attributes>
<source-highlighter>coderay</source-highlighter>
</attributes>
<requires>
<require>asciidoctor-diagram</require>
</requires>
</configuration>
<executions>
<execution>
<id>generate-styleguide</id>
<phase>compile</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDocumentName>index.adoc</sourceDocumentName>
<outputDirectory>${project.build.directory}/generated-docs</outputDirectory>
<attributes>
<stylesheet>my-theme.css</stylesheet>
</attributes>
</configuration>
</execution>
<execution>
<id>generate-problems</id>
<phase>compile</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDirectory>${basedir}/src/main/asciidoc/problems</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-docs/problems</outputDirectory>
<attributes>
<stylesheet>../my-theme.css</stylesheet>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>create-distribution</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/asciidoc-zip.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.3</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>3.5.3</version>
</extension>
</extensions>

<defaultGoal>package</defaultGoal>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
<version>2.2.14</version>
</dependency>
<dependency>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>asciidoctorj-rest-guide-extensions</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.spring.asciidoctor</groupId>
<artifactId>spring-asciidoctor-extensions-block-switch</artifactId>
<version>0.6.3</version>
</dependency>
</dependencies>
<configuration>
<attributes>
<source-highlighter>coderay</source-highlighter>
</attributes>
<requires>
<require>asciidoctor-diagram</require>
</requires>
</configuration>
<executions>
<execution>
<id>generate-styleguide</id>
<phase>compile</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDocumentName>index.adoc</sourceDocumentName>
<outputDirectory>${project.build.directory}/generated-docs</outputDirectory>
<attributes>
<stylesheet>my-theme.css</stylesheet>
</attributes>
</configuration>
</execution>
<execution>
<id>generate-problems</id>
<phase>compile</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDirectory>${basedir}/src/main/asciidoc/problems</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-docs/problems</outputDirectory>
<attributes>
<stylesheet>../my-theme.css</stylesheet>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>create-distribution</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/asciidoc-zip.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
54 changes: 27 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>restguide-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>REST Styleguide</name>
<description>REST style guide for Belgian government institutions</description>
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.belgif.restguide</groupId>
<artifactId>restguide-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>REST Styleguide - parent project</name>
<description>REST style guide for Belgian government institutions</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<asciidoctorj.version>2.5.11</asciidoctorj.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<developers>
<developer>
<name>REST Guide working group</name>
<email>[email protected]</email>
</developer>
</developers>

<modules>
<module>guide</module>
<module>asciidoc-extensions</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<asciidoctorj.version>2.5.11</asciidoctorj.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<developers>
<developer>
<name>REST Guide working group</name>
<email>[email protected]</email>
</developer>
</developers>

<build>
<defaultGoal>package</defaultGoal>
</build>
<modules>
<module>asciidoc-extensions</module>
<module>guide</module>
</modules>

<build>
<defaultGoal>package</defaultGoal>
</build>

</project>

0 comments on commit b0647f1

Please sign in to comment.