pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.jenkins-ci.plugins</groupId>
  6. <artifactId>plugin</artifactId>
  7. <version>5.18</version>
  8. <relativePath />
  9. </parent>
  10. <groupId>io.jenkins.plugins</groupId>
  11. <artifactId>mfa-totp</artifactId>
  12. <version>${revision}${changelist}</version>
  13. <packaging>hpi</packaging>
  14. <name>MFA TOTP Plugin</name>
  15. <description>Adds standards-compliant TOTP (RFC 6238) Multi-Factor Authentication to Jenkins.
  16. Compatible with all major authenticator apps (Google Authenticator, Microsoft Authenticator, Authy, etc.).
  17. Features secure secret storage, QR code enrollment, and flexible enforcement policies.</description>
  18. <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
  19. <licenses>
  20. <license>
  21. <name>MIT License</name>
  22. <url>https://opensource.org/license/mit/</url>
  23. </license>
  24. </licenses>
  25. <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
  26. <connection>scm:git:https://github.com/${gitHubRepo}</connection>
  27. <developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection>
  28. <tag>${scmTag}</tag>
  29. <url>https://github.com/${gitHubRepo}</url>
  30. </scm>
  31. <properties>
  32. <revision>1.0</revision>
  33. <changelist />
  34. <jenkins.baseline>2.479</jenkins.baseline>
  35. <jenkins.version>${jenkins.baseline}.3</jenkins.version>
  36. <gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
  37. <spotless.check.skip>false</spotless.check.skip>
  38. <security.reporting>https://www.jenkins.io/security/#reporting-vulnerabilities</security.reporting>
  39. <security.team>[email protected]</security.team>
  40. <!-- Library versions -->
  41. <otpjava.version>2.0.1</otpjava.version>
  42. <zxing.version>3.5.3</zxing.version>
  43. </properties>
  44. <dependencyManagement>
  45. <dependencies>
  46. <dependency>
  47. <groupId>io.jenkins.tools.bom</groupId>
  48. <artifactId>bom-${jenkins.baseline}.x</artifactId>
  49. <version>5054.v620b_5d2b_d5e6</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. </dependencies>
  54. </dependencyManagement>
  55. <dependencies>
  56. <!-- TOTP Implementation -->
  57. <dependency>
  58. <groupId>com.github.bastiaanjansen</groupId>
  59. <artifactId>otp-java</artifactId>
  60. <version>${otpjava.version}</version>
  61. </dependency>
  62. <!-- QR Code Generation -->
  63. <dependency>
  64. <groupId>com.google.zxing</groupId>
  65. <artifactId>core</artifactId>
  66. <version>${zxing.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.google.zxing</groupId>
  70. <artifactId>javase</artifactId>
  71. <version>${zxing.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>commons-codec</groupId>
  75. <artifactId>commons-codec</artifactId>
  76. <version>1.16.0</version>
  77. </dependency>
  78. <!-- Jenkins Security -->
  79. <dependency>
  80. <groupId>org.jenkins-ci.plugins</groupId>
  81. <artifactId>credentials</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.jenkins-ci.plugins.workflow</groupId>
  85. <artifactId>workflow-aggregator</artifactId>
  86. <version>2.6</version>
  87. <scope>test</scope>
  88. </dependency>
  89. <!-- Testing -->
  90. <dependency>
  91. <groupId>org.junit.jupiter</groupId>
  92. <artifactId>junit-jupiter</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.junit.vintage</groupId>
  97. <artifactId>junit-vintage-engine</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mockito</groupId>
  102. <artifactId>mockito-core</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.mockito</groupId>
  107. <artifactId>mockito-junit-jupiter</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. </dependencies>
  111. <repositories>
  112. <repository>
  113. <id>repo.jenkins-ci.org</id>
  114. <url>https://repo.jenkins-ci.org/public/</url>
  115. </repository>
  116. <repository>
  117. <id>jitpack.io</id>
  118. <url>https://jitpack.io</url>
  119. </repository>
  120. </repositories>
  121. <pluginRepositories>
  122. <pluginRepository>
  123. <id>repo.jenkins-ci.org</id>
  124. <url>https://repo.jenkins-ci.org/public/</url>
  125. </pluginRepository>
  126. </pluginRepositories>
  127. <build>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.jenkins-ci.tools</groupId>
  131. <artifactId>maven-hpi-plugin</artifactId>
  132. <extensions>true</extensions>
  133. <configuration>
  134. <compatibleSinceVersion>2.426.1</compatibleSinceVersion>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>