totpgenerator

Generate TOTP verification codes based on encrypted GPG files.
git clone git://git.wimdupont.com/totpgenerator.git
Log | Files | Refs | README | LICENSE

pom.xml (3796B)


      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.17.0</commons-codec.version>
     15         <bcpg-jdk18on.version>1.78.1</bcpg-jdk18on.version>
     16         <otp-java.version>2.0.3</otp-java.version>
     17         <junit-jupiter-engine.version>5.10.2</junit-jupiter-engine.version>
     18         <mockito.version>5.12.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>com.github.bastiaanjansen</groupId>
     34             <artifactId>otp-java</artifactId>
     35             <version>${otp-java.version}</version>
     36         </dependency>
     37         <dependency>
     38             <groupId>org.junit.jupiter</groupId>
     39             <artifactId>junit-jupiter-engine</artifactId>
     40             <version>${junit-jupiter-engine.version}</version>
     41             <scope>test</scope>
     42         </dependency>
     43         <dependency>
     44             <groupId>org.mockito</groupId>
     45             <artifactId>mockito-core</artifactId>
     46             <version>${mockito.version}</version>
     47             <scope>test</scope>
     48         </dependency>
     49         <dependency>
     50             <groupId>org.mockito</groupId>
     51             <artifactId>mockito-junit-jupiter</artifactId>
     52             <version>${mockito.version}</version>
     53             <scope>test</scope>
     54         </dependency>
     55     </dependencies>
     56 
     57     <build>
     58         <plugins>
     59             <plugin>
     60                 <groupId>org.apache.maven.plugins</groupId>
     61                 <artifactId>maven-dependency-plugin</artifactId>
     62                 <executions>
     63                     <execution>
     64                         <id>copy-dependencies</id>
     65                         <phase>prepare-package</phase>
     66                         <goals>
     67                             <goal>copy-dependencies</goal>
     68                         </goals>
     69                         <configuration>
     70                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
     71                             <overWriteReleases>false</overWriteReleases>
     72                             <overWriteSnapshots>false</overWriteSnapshots>
     73                             <overWriteIfNewer>true</overWriteIfNewer>
     74                         </configuration>
     75                     </execution>
     76                 </executions>
     77             </plugin>
     78             <plugin>
     79                 <groupId>org.apache.maven.plugins</groupId>
     80                 <artifactId>maven-jar-plugin</artifactId>
     81                 <configuration>
     82                     <archive>
     83                         <manifest>
     84                             <addClasspath>true</addClasspath>
     85                             <classpathPrefix>lib/</classpathPrefix>
     86                             <mainClass>
     87                                 com.wimdupont.Main
     88                             </mainClass>
     89                         </manifest>
     90                     </archive>
     91                 </configuration>
     92             </plugin>
     93         </plugins>
     94     </build>
     95 </project>