| <?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</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| </parent> |
| |
| <groupId>org.apache.winegrower</groupId> |
| <artifactId>winegrower</artifactId> |
| <version>1.0.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache Winegrower</name> |
| |
| <properties> |
| <junit.version>5.7.0</junit.version> |
| <osgi.version>7.0.0</osgi.version> |
| <slf4j.version>1.7.30</slf4j.version> |
| <xbean.version>4.18</xbean.version> |
| <aries-cdi.version>1.1.1</aries-cdi.version> |
| |
| <surefire.log.level>INFO</surefire.log.level> |
| |
| <winegrower.build.name.base>${project.groupId}</winegrower.build.name.base> |
| <!-- let's use a default but must be overriden in each delivery module --> |
| <winegrower.build.name>${winegrower.build.name.base}.${project.artifactId}</winegrower.build.name> |
| </properties> |
| |
| <modules> |
| <module>winegrower-core</module> |
| <module>winegrower-extension</module> |
| <module>winegrower-cepages</module> |
| <module>winegrower-examples</module> |
| <module>winegrower-documentation</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>29.0-jre</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <version>${osgi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.cmpn</artifactId> |
| <version>${osgi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-finder-shaded</artifactId> |
| <version>${xbean.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <!-- test dependencies --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| <configuration> |
| <source>8</source> |
| <target>8</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.1.0</version> |
| <configuration> |
| <archive combine.children="append"> |
| <manifestEntries> |
| <Automatic-Module-Name>${winegrower.build.name}</Automatic-Module-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| <configuration> |
| <trimStackTrace>false</trimStackTrace> |
| <systemPropertyVariables> |
| <org.slf4j.simpleLogger.defaultLogLevel>${surefire.log.level}</org.slf4j.simpleLogger.defaultLogLevel> |
| <org.slf4j.simpleLogger.logFile>System.out</org.slf4j.simpleLogger.logFile> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.8.5</version> |
| <executions> |
| <execution> |
| <id>prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <dataFile>${project.build.directory}/jacoco.exec</dataFile> |
| <outputDirectory>${project.build.directory}/jacoco-ut</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| |
| <plugin> <!-- mvn ossindex:audit --> |
| <groupId>org.sonatype.ossindex.maven</groupId> |
| <artifactId>ossindex-maven-plugin</artifactId> |
| <version>3.1.0</version> |
| <executions> |
| <execution> |
| <id>audit-dependencies</id> |
| <phase /> |
| <goals> |
| <goal>audit</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <scope>compile,runtime</scope> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <distributionManagement> |
| <site> |
| <id>site</id> |
| <url>${project.scm.url}</url> |
| </site> |
| </distributionManagement> |
| |
| <scm> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/karaf-winegrower</developerConnection> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/karaf-winegrower</connection> |
| <url>https://github.com/apache/karaf-winegrower</url> |
| <tag>HEAD</tag> |
| </scm> |
| </project> |