github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/java/test-fixtures/pom/commons-text-1.10.0/pom.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!--
     3   Licensed to the Apache Software Foundation (ASF) under one or more
     4   contributor license agreements.  See the NOTICE file distributed with
     5   this work for additional information regarding copyright ownership.
     6   The ASF licenses this file to You under the Apache License, Version 2.0
     7   (the "License"); you may not use this file except in compliance with
     8   the License.  You may obtain a copy of the License at
     9  
    10        http://www.apache.org/licenses/LICENSE-2.0
    11  
    12   Unless required by applicable law or agreed to in writing, software
    13   distributed under the License is distributed on an "AS IS" BASIS,
    14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15   See the License for the specific language governing permissions and
    16   limitations under the License.
    17  -->
    18  <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">
    19      <modelVersion>4.0.0</modelVersion>
    20      <parent>
    21          <groupId>org.apache.commons</groupId>
    22          <artifactId>commons-parent</artifactId>
    23          <version>54</version>
    24      </parent>
    25      <artifactId>commons-text</artifactId>
    26      <version>1.10.0</version>
    27      <name>Apache Commons Text</name>
    28      <description>Apache Commons Text is a library focused on algorithms working on strings.</description>
    29      <url>https://commons.apache.org/proper/commons-text</url>
    30  
    31      <properties>
    32          <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
    33          <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    34          <maven.compiler.source>1.8</maven.compiler.source>
    35          <maven.compiler.target>1.8</maven.compiler.target>
    36  
    37          <commons.componentid>text</commons.componentid>
    38          <commons.module.name>org.apache.commons.text</commons.module.name>
    39  
    40          <commons.release.version>1.10.0</commons.release.version>
    41          <commons.release.desc>(Java 8+)</commons.release.desc>
    42  
    43          <commons.jira.id>TEXT</commons.jira.id>
    44          <commons.jira.pid>12318221</commons.jira.pid>
    45  
    46          <commons.site.path>text</commons.site.path>
    47          <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text</commons.scmPubUrl>
    48          <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
    49  
    50          <commons.junit.version>5.9.1</commons.junit.version>
    51          <checkstyle.plugin.version>3.2.0</checkstyle.plugin.version>
    52          <checkstyle.version>9.3</checkstyle.version>
    53  
    54          <commons.spotbugs.plugin.version>4.7.2.0</commons.spotbugs.plugin.version>
    55          <commons.spotbugs.impl.version>4.7.2</commons.spotbugs.impl.version>
    56          <commons.pmd.version>3.19.0</commons.pmd.version>
    57          <commons.pmd-impl.version>6.49.0</commons.pmd-impl.version>
    58  
    59          <commons.mockito.version>4.8.0</commons.mockito.version>
    60          <commons.jacoco.version>0.8.8</commons.jacoco.version>
    61  
    62          <!-- apache-rat-plugin 0.13 and jdepend-maven-plugin 2.0 both fail with LinkageError when generating reports
    63          with maven site plugin 3.11+. However, javadoc 3.4.0+ fails with site plugin versions lower than 3.11. So, we'll
    64          use slightly older site and javadoc versions here in order to be able to generate all reports. -->
    65          <commons.site-plugin.version>3.10.0</commons.site-plugin.version>
    66          <commons.javadoc.version>3.4.1</commons.javadoc.version>
    67  
    68          <!-- 22.1.0 requires Java 11 -->
    69          <graalvm.version>22.0.0.2</graalvm.version>
    70          <commons.rng.version>1.4</commons.rng.version>
    71  
    72          <commons.japicmp.version>0.16.0</commons.japicmp.version>
    73          <japicmp.skip>false</japicmp.skip>
    74  
    75          <jmh.version>1.35</jmh.version>
    76          <commons.project-info.version>3.1.2</commons.project-info.version>
    77  
    78          <!-- Commons Release Plugin -->
    79          <commons.bc.version>1.9</commons.bc.version>
    80          <commons.rc.version>RC1</commons.rc.version>
    81          <commons.release.isDistModule>true</commons.release.isDistModule>
    82          <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
    83          <commons.releaseManagerName>Gary Gregory</commons.releaseManagerName>
    84          <commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey>
    85      </properties>
    86  
    87      <dependencies>
    88          <dependency>
    89              <groupId>org.apache.commons</groupId>
    90              <artifactId>commons-lang3</artifactId>
    91              <version>3.12.0</version>
    92          </dependency>
    93          <!-- testing -->
    94          <dependency>
    95              <groupId>org.junit.jupiter</groupId>
    96              <artifactId>junit-jupiter</artifactId>
    97              <scope>test</scope>
    98          </dependency>
    99          <dependency>
   100              <groupId>org.assertj</groupId>
   101              <artifactId>assertj-core</artifactId>
   102              <version>3.23.1</version>
   103              <scope>test</scope>
   104          </dependency>
   105          <dependency>
   106              <groupId>commons-io</groupId>
   107              <artifactId>commons-io</artifactId>
   108              <version>2.11.0</version>
   109              <scope>test</scope>
   110          </dependency>
   111          <dependency>
   112              <groupId>org.mockito</groupId>
   113              <!--  Use mockito-inline instead of mockito-core to mock and spy on final classes. -->
   114              <artifactId>mockito-inline</artifactId>
   115              <version>${commons.mockito.version}</version>
   116              <scope>test</scope>
   117          </dependency>
   118          <dependency>
   119              <groupId>org.graalvm.js</groupId>
   120              <artifactId>js</artifactId>
   121              <version>${graalvm.version}</version>
   122              <scope>test</scope>
   123          </dependency>
   124          <dependency>
   125              <groupId>org.graalvm.js</groupId>
   126              <artifactId>js-scriptengine</artifactId>
   127              <version>${graalvm.version}</version>
   128              <scope>test</scope>
   129          </dependency>
   130          <dependency>
   131              <groupId>org.apache.commons</groupId>
   132              <artifactId>commons-rng-simple</artifactId>
   133              <version>${commons.rng.version}</version>
   134              <scope>test</scope>
   135          </dependency>
   136          <dependency>
   137              <groupId>org.openjdk.jmh</groupId>
   138              <artifactId>jmh-core</artifactId>
   139              <version>${jmh.version}</version>
   140              <scope>test</scope>
   141          </dependency>
   142          <dependency>
   143              <groupId>org.openjdk.jmh</groupId>
   144              <artifactId>jmh-generator-annprocess</artifactId>
   145              <version>${jmh.version}</version>
   146              <scope>test</scope>
   147          </dependency>
   148      </dependencies>
   149  
   150      <inceptionYear>2014</inceptionYear>
   151  
   152      <scm>
   153          <connection>scm:git:https://gitbox.apache.org/repos/asf/commons-text</connection>
   154          <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-text</developerConnection>
   155          <url>https://gitbox.apache.org/repos/asf?p=commons-text.git</url>
   156      </scm>
   157  
   158      <issueManagement>
   159          <system>jira</system>
   160          <url>https://issues.apache.org/jira/browse/TEXT</url>
   161      </issueManagement>
   162  
   163      <distributionManagement>
   164          <site>
   165              <id>apache.website</id>
   166              <name>Apache Commons Site</name>
   167              <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text/</url>
   168          </site>
   169      </distributionManagement>
   170  
   171      <profiles>
   172          <profile>
   173              <id>setup-checkout</id>
   174              <activation>
   175                  <file>
   176                      <missing>site-content</missing>
   177                  </file>
   178              </activation>
   179              <build>
   180                  <plugins>
   181                      <plugin>
   182                          <groupId>org.apache.maven.plugins</groupId>
   183                          <artifactId>maven-antrun-plugin</artifactId>
   184                          <executions>
   185                              <execution>
   186                                  <id>prepare-checkout</id>
   187                                  <goals>
   188                                      <goal>run</goal>
   189                                  </goals>
   190                                  <phase>pre-site</phase>
   191                                  <configuration>
   192                                      <target>
   193                                          <exec executable="svn">
   194                                              <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
   195                                          </exec>
   196                                          <exec executable="svn">
   197                                              <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs"/>
   198                                          </exec>
   199                                          <pathconvert pathsep=" " property="dirs">
   200                                              <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*"/>
   201                                          </pathconvert>
   202                                          <exec executable="svn">
   203                                              <arg line="update --set-depth infinity ${dirs}"/>
   204                                          </exec>
   205                                      </target>
   206                                  </configuration>
   207                              </execution>
   208                          </executions>
   209                      </plugin>
   210                  </plugins>
   211              </build>
   212          </profile>
   213          <profile>
   214              <id>java9+</id>
   215              <activation>
   216                  <jdk>[9,)</jdk>
   217              </activation>
   218              <properties>
   219                  <!-- coverall version 4.3.0 does not work with java 9+, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
   220                  <coveralls.skip>true</coveralls.skip>
   221              </properties>
   222          </profile>
   223          <profile>
   224              <id>benchmark</id>
   225              <properties>
   226                  <skipTests>true</skipTests>
   227                  <benchmark>org.apache</benchmark>
   228              </properties>
   229              <build>
   230                  <plugins>
   231                      <plugin>
   232                          <groupId>org.codehaus.mojo</groupId>
   233                          <artifactId>exec-maven-plugin</artifactId>
   234                          <version>3.1.0</version>
   235                          <executions>
   236                              <execution>
   237                                  <id>benchmark</id>
   238                                  <phase>test</phase>
   239                                  <goals>
   240                                      <goal>exec</goal>
   241                                  </goals>
   242                                  <configuration>
   243                                      <classpathScope>test</classpathScope>
   244                                      <executable>java</executable>
   245                                      <arguments>
   246                                          <argument>-classpath</argument>
   247                                          <classpath/>
   248                                          <argument>org.openjdk.jmh.Main</argument>
   249                                          <argument>-rf</argument>
   250                                          <argument>json</argument>
   251                                          <argument>-rff</argument>
   252                                          <argument>target/jmh-result.${benchmark}.json</argument>
   253                                          <argument>${benchmark}</argument>
   254                                      </arguments>
   255                                  </configuration>
   256                              </execution>
   257                          </executions>
   258                      </plugin>
   259                  </plugins>
   260              </build>
   261          </profile>
   262      </profiles>
   263  </project>