Author: gk
Date: Wed Aug 13 15:09:33 2025
New Revision: 1927786
Log:
- Update READMe with still valid informations
- Add binary assembly to torque-maven-plugin module to allow generation of
binaries for publishing with dependencies like in the other modules.
Modified:
db/torque/trunk/README.md
db/torque/trunk/torque-maven-plugin/pom.xml
Modified: db/torque/trunk/README.md
==============================================================================
--- db/torque/trunk/README.md Wed Aug 13 13:13:36 2025 (r1927785)
+++ db/torque/trunk/README.md Wed Aug 13 15:09:33 2025 (r1927786)
@@ -191,15 +191,16 @@ Note: We need to add profiles managers,
of the tagged version (which is then uploaded to nexus) and is running the
build process again.
In module torque-test the beans and manager java is generated only, if the
beforementioned profiles are active.
-###### Important information for version < 5.1
+###### Important information for release build
From the developer-guide: Running release:prepare "will change the version in
the poms
to the release version and then run a clean verify cycle on the new poms.
This will fail because **the test project** needs the *maven plugin* which is
not installed
in the new version yet.
To fix this, you might have to run **rm derby.log**,
-then run **mvn install** to install the torque artifacts in the release
version.
-Then run again **mvn -Ptest release:prepare ..** to finish building the
release".
+then run **mvn install** to install the torque artifacts in the release
version.
+
+Then run again **mvn -Ptest release:prepare ..** to finish building the
release.
This requires **activated profile test** to also apply the release prepare
step to module torque-test,
which is by default not in modules list.
Modified: db/torque/trunk/torque-maven-plugin/pom.xml
==============================================================================
--- db/torque/trunk/torque-maven-plugin/pom.xml Wed Aug 13 13:13:36 2025
(r1927785)
+++ db/torque/trunk/torque-maven-plugin/pom.xml Wed Aug 13 15:09:33 2025
(r1927786)
@@ -137,5 +137,33 @@
<properties>
<maven.api.version>3.9.6</maven.api.version>
</properties>
+
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+
<descriptor>../src/main/assembly/bin-with-dependencies.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]