This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-optaplanner.git
The following commit(s) were added to refs/heads/main by this push:
new e080aadcc3 [kie-issues#1562] Add profile for testing a custom build
using all repository tests. (#3137)
e080aadcc3 is described below
commit e080aadcc39d7a24f7328f54453e58c4d9445a7d
Author: Tibor Zimányi <[email protected]>
AuthorDate: Wed Oct 23 14:27:06 2024 +0200
[kie-issues#1562] Add profile for testing a custom build using all
repository tests. (#3137)
Add profile for testing a custom build using all repository tests.
---
build/optaplanner-build-parent/pom.xml | 43 ++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/build/optaplanner-build-parent/pom.xml
b/build/optaplanner-build-parent/pom.xml
index f018154480..c1459d50d7 100644
--- a/build/optaplanner-build-parent/pom.xml
+++ b/build/optaplanner-build-parent/pom.xml
@@ -939,5 +939,48 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>test-with-custom-binaries</id>
+ <activation>
+ <property>
+ <name>unpackbuild.version</name>
+ </property>
+ <file>
+ <exists>src/main/java</exists>
+ </file>
+ </activation>
+ <properties>
+ <maven.main.skip>true</maven.main.skip>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${unpackbuild.version}</version>
+ <type>${project.packaging}</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ <executions>
+ <execution>
+ <id>unpack-jar</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]