| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.indexer</groupId> |
| <artifactId>maven-indexer</artifactId> |
| <version>5.2.0.evr-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>indexer-core</artifactId> |
| |
| <name>Maven :: Indexer Core</name> |
| <description> |
| Indexer Core contains the core support for indexing Maven repositories, searching them, publishing and consuming remotely |
| published indexes. |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.indexer</groupId> |
| <artifactId>indexer-artifact</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </dependency> |
| |
| <!-- Lucene --> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-core</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-queryparser</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-analyzers-common</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-highlighter</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| |
| <!-- Aether --> |
| <dependency> |
| <groupId>org.sonatype.aether</groupId> |
| <artifactId>aether-api</artifactId> |
| <version>${aether.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.aether</groupId> |
| <artifactId>aether-util</artifactId> |
| <version>${aether.version}</version> |
| </dependency> |
| |
| <!-- Maven --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| |
| <!-- Plexus (as provided since you have to provide it when embedding MI) --> |
| <dependency> |
| <groupId>org.sonatype.sisu</groupId> |
| <artifactId>sisu-inject-plexus</artifactId> |
| </dependency> |
| |
| <!-- Wagon, as optional for those want to use ResourceFetcher backed by Wagons --> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-provider-api</artifactId> |
| <version>${wagon.version}</version> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- Using org.apache.maven.archetype.source.ArchetypeDataSource from it only --> |
| <dependency> |
| <groupId>org.apache.maven.archetype</groupId> |
| <artifactId>archetype-common</artifactId> |
| <version>${archetype.version}</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-project</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>velocity</groupId> |
| <artifactId>velocity</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jchardet</artifactId> |
| <groupId>net.sourceforge.jchardet</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>dom4j</artifactId> |
| <groupId>dom4j</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jdom</artifactId> |
| <groupId>jdom</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>maven-model</artifactId> |
| <groupId>org.apache.maven</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>plexus-velocity</artifactId> |
| <groupId>org.codehaus.plexus</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>velocity</artifactId> |
| <groupId>org.apache.velocity</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>commons-io</artifactId> |
| <groupId>commons-io</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>commons-collections</artifactId> |
| <groupId>commons-collections</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- ZipFacade (as optional, who wants to use it should include TrueZip) --> |
| <dependency> |
| <groupId>de.schlichtherle.truezip</groupId> |
| <artifactId>truezip-file</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>de.schlichtherle.truezip</groupId> |
| <artifactId>truezip-driver-zip</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- Test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jmock</groupId> |
| <artifactId>jmock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-http</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> |
| <systemPropertyVariables> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <indexerJar>${project.build.directory}/${project.artifactId}-${project.version}-cli.jar</indexerJar> |
| <index-server>${index-server}</index-server> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>README.md</exclude> |
| <exclude>src/test/repo/**</exclude> |
| <exclude>src/test/nexus-*/**</exclude> |
| <exclude>src/test/resources/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| </project> |