Simple, JSR330-compatible Dependency Injection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

215 lines
5.6 KiB

<?xml version="1.0" encoding="UTF-8"?>
<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.perfectable</groupId>
<artifactId>perfectable</artifactId>
<version>27.0.0</version>
</parent>
<artifactId>injectable</artifactId>
<version>0</version>
<name>Injectable</name>
<description>Easy dependency injection</description>
<url>https://perfectable.org/</url>
<inceptionYear>2016</inceptionYear>
<licenses>
<license>
<name>GNU General Public License</name>
<url>http://www.gnu.org/licenses/gpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>nivertius</id>
<name>Paweł Płazieński</name>
<email>nivertius@gmail.com</email>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>
<scm>
<connection>scm:git:https://source.perfectable.org/nivertius/injectable.git</connection>
<developerConnection>scm:git:git@source.perfectable.org:nivertius/injectable.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<version.introspectable>5.0.0-SNAPSHOT</version.introspectable>
<version.testable>1.7.0</version.testable>
</properties>
<dependencies>
<dependency>
<groupId>org.perfectable</groupId>
<artifactId>introspectable</artifactId>
<version>${version.introspectable}</version>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.perfectable</groupId>
<artifactId>testable</artifactId>
<version>${version.testable}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.perfectable</groupId>
<artifactId>introspectable</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<!-- for tck-tests -->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject-tck</artifactId>
<version>1</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>perfectable-all</id>
<name>Perfectable</name>
<url>https://maven.perfectable.org/repo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>perfectable-all</id>
<name>Perfectable</name>
<url>https://maven.perfectable.org/repo</url>
</pluginRepository>
</pluginRepositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredUnusedDeclaredDependencies>
<!-- used for compilation, disappears after it -->
<dependency>com.google.auto.service:auto-service</dependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-testCompile</id>
<configuration>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<version>${version.autoservice}</version>
</path>
</annotationProcessorPaths>
<annotationProcessors>
<annotationProcessor>com.google.auto.service.processor.AutoServiceProcessor</annotationProcessor>
</annotationProcessors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.59</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>check-javadoc</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
<execution>
<id>check-javadoc</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>