This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push: new e3570a64 Profile to allow testing with a packaged jar e3570a64 is described below commit e3570a649944861e9d6c5d89bab0dfb24712b41e Author: Sebb <s...@apache.org> AuthorDate: Mon Nov 27 20:16:18 2023 +0000 Profile to allow testing with a packaged jar [skip ci] --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pom.xml b/pom.xml index 1cc51dba..8160e055 100644 --- a/pom.xml +++ b/pom.xml @@ -339,6 +339,23 @@ The following provides more details on the included cryptographic software: </plugins> </build> </profile> + + <!-- Allow testing with a packaged jar --> + <profile> + <id>test-with-jar</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <classesDirectory>/dev/null</classesDirectory> + <additionalClasspathElements>${project.build.directory}/${project.artifactId}-${project.version}.jar</additionalClasspathElements> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> <build>