totpgenerator

TOTP code generator
git clone git://git.wimdupont.com/totpgenerator.git
Log | Files | Refs | README | LICENSE

pom.xml (3992B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <project xmlns="http://maven.apache.org/POM/4.0.0"
      3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      5     <modelVersion>4.0.0</modelVersion>
      6 
      7     <groupId>com.wimdupont</groupId>
      8     <artifactId>TotpGenerator</artifactId>
      9     <version>1.0-SNAPSHOT</version>
     10 
     11     <properties>
     12         <maven.compiler.source>21</maven.compiler.source>
     13         <maven.compiler.target>21</maven.compiler.target>
     14         <commons-codec.version>1.18.0</commons-codec.version>
     15         <bcpg-jdk18on.version>1.80</bcpg-jdk18on.version>
     16         <otp-java.version>2.1.0</otp-java.version>
     17         <junit-jupiter-engine.version>5.12.2</junit-jupiter-engine.version>
     18         <mockito.version>5.18.0</mockito.version>
     19     </properties>
     20 
     21     <dependencies>
     22         <dependency>
     23             <groupId>commons-codec</groupId>
     24             <artifactId>commons-codec</artifactId>
     25             <version>${commons-codec.version}</version>
     26         </dependency>
     27         <dependency>
     28             <groupId>org.bouncycastle</groupId>
     29             <artifactId>bcpg-jdk18on</artifactId>
     30             <version>${bcpg-jdk18on.version}</version>
     31         </dependency>
     32         <dependency>
     33             <groupId>org.bouncycastle</groupId>
     34             <artifactId>bcutil-jdk18on</artifactId>
     35             <version>${bcpg-jdk18on.version}</version>
     36         </dependency>
     37         <dependency>
     38             <groupId>com.github.bastiaanjansen</groupId>
     39             <artifactId>otp-java</artifactId>
     40             <version>${otp-java.version}</version>
     41         </dependency>
     42         <dependency>
     43             <groupId>org.junit.jupiter</groupId>
     44             <artifactId>junit-jupiter-engine</artifactId>
     45             <version>${junit-jupiter-engine.version}</version>
     46             <scope>test</scope>
     47         </dependency>
     48         <dependency>
     49             <groupId>org.mockito</groupId>
     50             <artifactId>mockito-core</artifactId>
     51             <version>${mockito.version}</version>
     52             <scope>test</scope>
     53         </dependency>
     54         <dependency>
     55             <groupId>org.mockito</groupId>
     56             <artifactId>mockito-junit-jupiter</artifactId>
     57             <version>${mockito.version}</version>
     58             <scope>test</scope>
     59         </dependency>
     60     </dependencies>
     61 
     62     <build>
     63         <plugins>
     64             <plugin>
     65                 <groupId>org.apache.maven.plugins</groupId>
     66                 <artifactId>maven-dependency-plugin</artifactId>
     67                 <executions>
     68                     <execution>
     69                         <id>copy-dependencies</id>
     70                         <phase>prepare-package</phase>
     71                         <goals>
     72                             <goal>copy-dependencies</goal>
     73                         </goals>
     74                         <configuration>
     75                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
     76                             <overWriteReleases>false</overWriteReleases>
     77                             <overWriteSnapshots>false</overWriteSnapshots>
     78                             <overWriteIfNewer>true</overWriteIfNewer>
     79                         </configuration>
     80                     </execution>
     81                 </executions>
     82             </plugin>
     83             <plugin>
     84                 <groupId>org.apache.maven.plugins</groupId>
     85                 <artifactId>maven-jar-plugin</artifactId>
     86                 <configuration>
     87                     <archive>
     88                         <manifest>
     89                             <addClasspath>true</addClasspath>
     90                             <classpathPrefix>lib/</classpathPrefix>
     91                             <mainClass>
     92                                 com.wimdupont.Main
     93                             </mainClass>
     94                         </manifest>
     95                     </archive>
     96                 </configuration>
     97             </plugin>
     98         </plugins>
     99     </build>
    100 </project>