Author: sebb Date: Mon Jul 21 16:39:05 2025 New Revision: 1927381 Log: Move localisation into Maven site build
Modified: commons/cms-site/trunk/commons-site-build.sh commons/cms-site/trunk/pom.xml Modified: commons/cms-site/trunk/commons-site-build.sh ============================================================================== --- commons/cms-site/trunk/commons-site-build.sh Mon Jul 21 13:51:07 2025 (r1927380) +++ commons/cms-site/trunk/commons-site-build.sh Mon Jul 21 16:39:05 2025 (r1927381) @@ -15,9 +15,6 @@ svn co https://svn.apache.org/repos/infr # Run the content generation (batch mode) mvn -B site -# localise shields.io references -python3 fixshields.py - echo "Now remove any files that no longer exist" # Missing files have '!' in the first column of the status line (svn status target/site | grep "^!" | cut -c2- | xargs -I {} svn delete "{}") || : Modified: commons/cms-site/trunk/pom.xml ============================================================================== --- commons/cms-site/trunk/pom.xml Mon Jul 21 13:51:07 2025 (r1927380) +++ commons/cms-site/trunk/pom.xml Mon Jul 21 16:39:05 2025 (r1927381) @@ -171,6 +171,28 @@ </execution> </executions> </plugin> + <!-- localise shields.io references --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <configuration> + <executable>python3</executable> + <arguments> + <argument>fixshields.py</argument> + </arguments> + </configuration> + <id>python_build</id> + <phase>site</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> <pluginManagement> <plugins>
