.bgmprovider.1.1.3.source-code.pom.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <parent> <artifactId>gmssl</artifactId> <groupId>org.openeuler</groupId> <version>1.1.3</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>bgmprovider</artifactId> <name>bgmprovider</name> <dependencies> <dependency> <groupId>org.openeuler</groupId> <artifactId>jca</artifactId> </dependency> <dependency> <groupId>org.openeuler</groupId> <artifactId>jsse</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>jdk17</id> <activation> <jdk>17</jdk> </activation> <properties> <argLine> --add-exports=java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-exports=java.base/sun.security.pkcs=ALL-UNNAMED --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.base/sun.security.provider.certpath=ALL-UNNAMED --add-exports=java.base/sun.security.internal.spec=ALL-UNNAMED --add-opens=java.base/javax.crypto=ALL-UNNAMED --add-opens=java.base/sun.security.pkcs12=ALL-UNNAMED --add-exports=jdk.crypto.ec/sun.security.ec=ALL-UNNAMED --add-exports=jdk.crypto.ec/sun.security.ec=java.base </argLine> </properties> </profile> <profile> <id>jdk11</id> <activation> <jdk>11</jdk> </activation> <properties> <argLine> --add-exports=jdk.crypto.ec/sun.security.ec=ALL-UNNAMED --add-exports=jdk.crypto.ec/sun.security.ec=java.base </argLine> </properties> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine> ${argLine} </argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>