github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/cataloger/java/test-fixtures/pom/neo4j-license-maven-plugin.pom.xml (about)

     1  <!-- sourced from https://github.com/neo4j/license-maven-plugin/blob/3/pom.xml -->
     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 http://maven.apache.org/maven-v4_0_0.xsd">
     3  
     4      <modelVersion>4.0.0</modelVersion>
     5      <parent>
     6          <groupId>org.sonatype.oss</groupId>
     7          <artifactId>oss-parent</artifactId>
     8          <version>7</version>
     9          <relativePath />
    10      </parent>
    11  
    12      <groupId>org.neo4j.build.plugins</groupId>
    13      <artifactId>license-maven-plugin</artifactId>å
    14      <version>4-SNAPSHOT</version>
    15      <packaging>maven-plugin</packaging>
    16  
    17      <name>${project.artifactId}</name>
    18      <description>Maven 2 plugin to check and update license headers in source files</description>
    19      <url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>
    20      <inceptionYear>2008</inceptionYear>
    21  
    22      <!--
    23          Properties
    24      -->
    25  
    26      <properties>
    27          <jdk>1.6</jdk>
    28          <jdk.version>1.6</jdk.version>
    29      </properties>
    30  
    31      <!--
    32          Versioning system
    33      -->
    34  
    35      <scm>
    36          <connection>scm:git:git://github.com/neo4j/license-maven-plugin.git</connection>
    37          <developerConnection>scm:git:git@github.com:neo4j/license-maven-plugin.git</developerConnection>
    38          <url>https://github.com/neo4j/license-maven-plugin</url>
    39      </scm>
    40  
    41      <!--
    42           Project settings
    43       -->
    44  
    45      <organization>
    46          <name>Mathieu Carbou</name>
    47          <url>http://mathieu.carbou.free.fr/</url>
    48      </organization>
    49  
    50      <licenses>
    51          <!-- this has been modified for the purposes of a syft test -->
    52          <license>
    53              <name>The Apache Software License, Version 2.0</name>
    54              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    55              <distribution>repo</distribution>
    56          </license>
    57          <license>
    58              <name>MIT</name>
    59          </license>
    60          <license>
    61              <url>https://opensource.org/license/unlicense/</url>
    62          </license>
    63      </licenses>
    64  
    65      <developers>
    66          <developer>
    67              <id>mimilowns</id>
    68              <name>Cédric</name>
    69              <email>mimilowns@gmail.com</email>
    70              <timezone>+1</timezone>
    71              <roles>
    72                  <role>developer</role>
    73              </roles>
    74          </developer>
    75          <developer>
    76              <id>mathieu.carbou</id>
    77              <name>Mathieu Carbou</name>
    78              <email>mathieu.carbou@gmail.com</email>
    79              <organization>Mycila</organization>
    80              <organizationUrl>http://mathieu.carbou.free.fr/</organizationUrl>
    81              <timezone>-5</timezone>
    82              <roles>
    83                  <role>project owner</role>
    84                  <role>developer</role>
    85              </roles>
    86          </developer>
    87      </developers>
    88  
    89      <issueManagement>
    90          <system>Google Code</system>
    91          <url>http://code.google.com/p/${project.artifactId}/issues/list</url>
    92      </issueManagement>
    93  
    94      <ciManagement />
    95  
    96      <mailingLists>
    97          <mailingList>
    98              <name>maven-license-plugin-announce</name>
    99              <subscribe>maven-license-plugin-announce-subscribe@googlegroups.com</subscribe>
   100              <unsubscribe>maven-license-plugin-announce-unsubscribe@googlegroups.com</unsubscribe>
   101              <archive>http://groups.google.com/group/maven-license-plugin-announce</archive>
   102          </mailingList>
   103          <mailingList>
   104              <name>maven-license-plugin-codesite</name>
   105              <subscribe>maven-license-plugin-codesite-subscribe@googlegroups.com</subscribe>
   106              <unsubscribe>maven-license-plugin-codesite-unsubscribe@googlegroups.com</unsubscribe>
   107              <archive>http://groups.google.com/group/maven-license-plugin-codesite</archive>
   108          </mailingList>
   109      </mailingLists>
   110  
   111      <!--
   112          Distributions
   113      -->
   114  
   115      <distributionManagement>
   116          <repository>
   117              <id>sonatype-nexus-staging</id>
   118              <name>Nexus Release Repository</name>
   119              <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
   120          </repository>
   121          <snapshotRepository>
   122              <id>snapshots@m2.neo4j.org</id>
   123              <name>snapshots@m2.neo4j.org</name>
   124              <url>http://m2.neo4j.org/content/repositories/snapshots</url>
   125          </snapshotRepository>
   126          <site>
   127              <id>neo4j-site</id>
   128              <url>scpexe://components.neo4j.org/home/neo/components/${project.artifactId}/${project.version}</url>
   129          </site>
   130      </distributionManagement>
   131  
   132      <!--
   133          BUILD
   134      -->
   135  
   136      <build>
   137          <extensions>
   138              <extension>
   139                  <groupId>org.apache.maven.wagon</groupId>
   140                  <artifactId>wagon-webdav</artifactId>
   141                  <version>1.0-beta-2</version>
   142              </extension>
   143          </extensions>
   144          <pluginManagement>
   145              <plugins>
   146                  <plugin>
   147                      <groupId>org.apache.felix</groupId>
   148                      <artifactId>maven-bundle-plugin</artifactId>
   149                      <version>2.1.0</version>
   150                  </plugin>
   151                  <plugin>
   152                      <groupId>org.apache.felix</groupId>
   153                      <artifactId>maven-ipojo-plugin</artifactId>
   154                      <version>1.6.0</version>
   155                  </plugin>
   156                  <plugin>
   157                      <groupId>com.mycila.maven-license-plugin</groupId>
   158                      <artifactId>maven-license-plugin</artifactId>
   159                      <version>1.8.0</version>
   160                  </plugin>
   161                  <plugin>
   162                      <artifactId>maven-antrun-plugin</artifactId>
   163                      <version>1.4</version>
   164                  </plugin>
   165                  <plugin>
   166                      <artifactId>maven-source-plugin</artifactId>
   167                      <version>2.1.2</version>
   168                  </plugin>
   169                  <plugin>
   170                      <artifactId>maven-jar-plugin</artifactId>
   171                      <version>2.3.1</version>
   172                  </plugin>
   173                  <plugin>
   174                      <artifactId>maven-javadoc-plugin</artifactId>
   175                      <version>2.7</version>
   176                  </plugin>
   177                  <plugin>
   178                      <artifactId>maven-deploy-plugin</artifactId>
   179                      <version>2.5</version>
   180                  </plugin>
   181                  <plugin>
   182                      <artifactId>maven-clean-plugin</artifactId>
   183                      <version>2.4.1</version>
   184                  </plugin>
   185                  <plugin>
   186                      <artifactId>maven-invoker-plugin</artifactId>
   187                      <version>1.5</version>
   188                  </plugin>
   189                  <plugin>
   190                      <artifactId>maven-shade-plugin</artifactId>
   191                      <version>1.3.3</version>
   192                  </plugin>
   193                  <plugin>
   194                      <artifactId>maven-assembly-plugin</artifactId>
   195                      <version>2.2-beta-5</version>
   196                  </plugin>
   197                  <plugin>
   198                      <artifactId>maven-dependency-plugin</artifactId>
   199                      <version>2.1</version>
   200                  </plugin>
   201                  <plugin>
   202                      <artifactId>maven-compiler-plugin</artifactId>
   203                      <version>2.3.1</version>
   204                  </plugin>
   205                  <plugin>
   206                      <artifactId>maven-release-plugin</artifactId>
   207                      <version>2.0</version>
   208                  </plugin>
   209                  <plugin>
   210                      <artifactId>maven-surefire-plugin</artifactId>
   211                      <version>2.6</version>
   212                  </plugin>
   213                  <plugin>
   214                      <groupId>org.apache.maven.plugins</groupId>
   215                      <artifactId>maven-gpg-plugin</artifactId>
   216                      <version>1.4</version>
   217                      <configuration>
   218                          <keyname>Neo Technology Build Server</keyname>
   219                          <useAgent>true</useAgent>
   220                      </configuration>
   221                  </plugin>
   222              </plugins>
   223          </pluginManagement>
   224          <plugins>
   225              <!-- for maven plugins -->
   226              <plugin>
   227                  <artifactId>maven-plugin-plugin</artifactId>
   228                  <version>2.6</version>
   229              </plugin>
   230              <plugin>
   231                  <artifactId>maven-clean-plugin</artifactId>
   232                  <configuration>
   233                      <filesets>
   234                          <fileset>
   235                              <directory>.clover</directory>
   236                          </fileset>
   237                          <fileset>
   238                              <directory>test-output</directory>
   239                          </fileset>
   240                      </filesets>
   241                  </configuration>
   242              </plugin>
   243              <!-- compilation -->
   244              <plugin>
   245                  <artifactId>maven-compiler-plugin</artifactId>
   246                  <configuration>
   247                      <source>${jdk}</source>
   248                      <target>${jdk}</target>
   249                  </configuration>
   250              </plugin>
   251              <!-- testing -->
   252              <plugin>
   253                  <artifactId>maven-surefire-plugin</artifactId>
   254              </plugin>
   255              <!-- packaging -->
   256              <plugin>
   257                  <artifactId>maven-jar-plugin</artifactId>
   258                  <configuration>
   259                      <archive>
   260                          <manifest>
   261                              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
   262                              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
   263                          </manifest>
   264                      </archive>
   265                  </configuration>
   266              </plugin>
   267              <plugin>
   268                  <artifactId>maven-source-plugin</artifactId>
   269                  <executions>
   270                      <execution>
   271                          <id>attach-sources</id>
   272                          <goals>
   273                              <goal>jar</goal>
   274                          </goals>
   275                      </execution>
   276                  </executions>
   277              </plugin>
   278              <plugin>
   279                  <artifactId>maven-remote-resources-plugin</artifactId>
   280                  <version>1.1</version>
   281                  <executions>
   282                      <execution>
   283                          <goals>
   284                              <goal>process</goal>
   285                          </goals>
   286                          <configuration>
   287                              <resourceBundles>
   288                                  <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
   289                              </resourceBundles>
   290                          </configuration>
   291                      </execution>
   292                  </executions>
   293              </plugin>
   294              <plugin>
   295                  <artifactId>maven-assembly-plugin</artifactId>
   296                  <configuration>
   297                      <descriptorRefs>
   298                          <descriptorRef>project</descriptorRef>
   299                      </descriptorRefs>
   300                  </configuration>
   301              </plugin>
   302              <!-- releasing -->
   303              <plugin>
   304                  <artifactId>maven-deploy-plugin</artifactId>
   305                  <configuration>
   306                      <updateReleaseInfo>true</updateReleaseInfo>
   307                  </configuration>
   308              </plugin>
   309              <plugin>
   310                  <artifactId>maven-release-plugin</artifactId>
   311              </plugin>
   312              <!-- documentation -->
   313              <plugin>
   314                  <artifactId>maven-dependency-plugin</artifactId>
   315              </plugin>
   316              <plugin>
   317                  <groupId>com.mycila.maven-license-plugin</groupId>
   318                  <artifactId>maven-license-plugin</artifactId>
   319                  <version>1.9.0</version>
   320                  <configuration>
   321                      <header>${basedir}/src/etc/header.txt</header>
   322                      <failIfMissing>true</failIfMissing>
   323                      <excludes>
   324                          <exclude>.gitignore</exclude>
   325                          <exclude>LICENSE.txt</exclude>
   326                          <exclude>NOTICE.txt</exclude>
   327                          <exclude>src/test/data/**</exclude>
   328                          <exclude>src/test/integration/**</exclude>
   329                          <exclude>src/test/resources/**</exclude>
   330                      </excludes>
   331                  </configuration>
   332                  <executions>
   333                      <execution>
   334                          <goals>
   335                              <goal>check</goal>
   336                          </goals>
   337                      </execution>
   338                  </executions>
   339              </plugin>
   340              <!-- automatically handle it tests -->
   341              <plugin>
   342                  <artifactId>maven-clean-plugin</artifactId>
   343                  <configuration>
   344                      <filesets>
   345                          <fileset>
   346                              <directory>it</directory>
   347                              <includes>
   348                                  <include>target/**</include>
   349                                  <include>*/target/**</include>
   350                              </includes>
   351                          </fileset>
   352                          <fileset>
   353                              <directory>target</directory>
   354                          </fileset>
   355                      </filesets>
   356                  </configuration>
   357              </plugin>
   358              <plugin>
   359                  <inherited>true</inherited>
   360                  <artifactId>maven-invoker-plugin</artifactId>
   361                  <configuration>
   362                      <projectsDirectory>it</projectsDirectory>
   363                      <showErrors>true</showErrors>
   364                      <streamLogs>true</streamLogs>
   365                      <skipInstallation>${ittest.skip}</skipInstallation>
   366                      <skipInvocation>${ittest.skip}</skipInvocation>
   367                      <properties>
   368                          <target.version>${target.version}</target.version>
   369                      </properties>
   370                      <goals>
   371                          <goal>test</goal>
   372                      </goals>
   373                      <pomIncludes>
   374                          <pomInclude>**/pom.xml</pomInclude>
   375                      </pomIncludes>
   376                  </configuration>
   377                  <executions>
   378                      <execution>
   379                          <id>integration-test</id>
   380                          <goals>
   381                              <goal>install</goal>
   382                              <goal>run</goal>
   383                          </goals>
   384                      </execution>
   385                  </executions>
   386              </plugin>
   387          </plugins>
   388      </build>
   389  
   390      <!--
   391           LIBS
   392      -->
   393  
   394      <dependencies>
   395          <dependency>
   396              <groupId>org.apache.maven</groupId>
   397              <artifactId>maven-plugin-api</artifactId>
   398              <version>3.0.1</version>
   399              <scope>compile</scope>
   400          </dependency>
   401          <dependency>
   402              <groupId>com.mycila.xmltool</groupId>
   403              <artifactId>xmltool</artifactId>
   404              <version>3.3</version>
   405              <scope>compile</scope>
   406          </dependency>
   407          <dependency>
   408              <groupId>org.apache.maven</groupId>
   409              <artifactId>maven-project</artifactId>
   410              <version>3.0-alpha-2</version>
   411              <scope>compile</scope>
   412              <exclusions>
   413                  <exclusion>
   414                      <artifactId>junit</artifactId>
   415                      <groupId>junit</groupId>
   416                  </exclusion>
   417              </exclusions>
   418          </dependency>
   419          <dependency>
   420              <groupId>org.codehaus.plexus</groupId>
   421              <artifactId>plexus-utils</artifactId>
   422              <version>2.0.5</version>
   423              <scope>compile</scope>
   424          </dependency>
   425          <!-- testing -->
   426          <dependency>
   427              <groupId>org.testng</groupId>
   428              <artifactId>testng</artifactId>
   429              <version>5.7</version>
   430              <classifier>jdk15</classifier>
   431              <scope>test</scope>
   432              <exclusions>
   433                  <exclusion>
   434                      <artifactId>junit</artifactId>
   435                      <groupId>junit</groupId>
   436                  </exclusion>
   437              </exclusions>
   438          </dependency>
   439          <dependency>
   440              <groupId>org.apache.maven</groupId>
   441              <artifactId>maven-embedder</artifactId>
   442              <version>3.0.1</version>
   443              <scope>test</scope>
   444          </dependency>
   445          <dependency>
   446              <groupId>org.apache.maven.plugin-testing</groupId>
   447              <artifactId>maven-plugin-testing-harness</artifactId>
   448              <version>2.0-alpha-1</version>
   449              <scope>test</scope>
   450              <exclusions>
   451                  <exclusion>
   452                      <artifactId>junit</artifactId>
   453                      <groupId>junit</groupId>
   454                  </exclusion>
   455              </exclusions>
   456          </dependency>
   457      </dependencies>
   458  
   459  </project>