| <?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>29</version> |
| </parent> |
| |
| <groupId>org.apache.karaf.minho</groupId> |
| <artifactId>minho</artifactId> |
| <packaging>pom</packaging> |
| <version>0.2-SNAPSHOT</version> |
| <name>Apache Karaf Minho</name> |
| |
| <properties> |
| <lombok.version>1.18.24</lombok.version> |
| <junit.version>5.9.1</junit.version> |
| <slf4j.version>1.7.36</slf4j.version> |
| <project.build.outputTimestamp>1672827975</project.build.outputTimestamp> |
| <maven.compiler.source>11</maven.compiler.source> |
| <maven.compiler.target>11</maven.compiler.target> |
| </properties> |
| |
| <scm> |
| <connection>scm:git:https://github.com/apache/karaf-minho</connection> |
| <developerConnection>scm:git:https://github.com/apache/karaf-minho</developerConnection> |
| <url>https://github.com/apache/karaf-minho</url> |
| <tag>minho-0.1</tag> |
| </scm> |
| |
| <modules> |
| <module>boot</module> |
| <module>services</module> |
| <module>tooling</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>5.0.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.minho</groupId> |
| <artifactId>minho-banner</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.minho</groupId> |
| <artifactId>minho-boot</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.minho</groupId> |
| <artifactId>minho-config-json</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.minho</groupId> |
| <artifactId>minho-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <skippedModules>minho-jmx</skippedModules> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| <configuration> |
| <trimStackTrace>false</trimStackTrace> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <id>enforce-maven</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>[3.6.3,4)</version> |
| </requireMavenVersion> |
| <requireJavaVersion> |
| <version>[11,)</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.mycila</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <version>4.2.rc3</version> |
| <executions> |
| <execution> |
| <id>check-license</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <inherited>false</inherited> |
| <configuration> |
| <aggregate>true</aggregate> |
| <header>${maven.multiModuleProjectDirectory}/src/license/header.txt</header> |
| <headerDefinitions> |
| <headerDefinition>${maven.multiModuleProjectDirectory}/src/license/header_format.xml</headerDefinition> |
| </headerDefinitions> |
| <mapping> |
| <adoc>DOUBLESLASH_STYLE</adoc> |
| </mapping> |
| <excludes> |
| <exclude>**/*.idea</exclude> |
| <exclude>LICENSE</exclude> |
| <exclude>NOTICE</exclude> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>**/src/license/**</exclude> |
| <exclude>**/pom.xml.versionsBackup</exclude> |
| <exclude>**/*.properties</exclude> |
| <exclude>**/doc/**/*</exclude> |
| <exclude>.asf.yaml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>rat</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.13</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <exclude>**/target/**/*</exclude> |
| <exclude>**/*.txt</exclude> |
| <!-- GIT files --> |
| <exclude>**/.git/**/*</exclude> |
| <!-- IDEA files --> |
| <exclude>**/.idea/**/*</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.ipr</exclude> |
| <exclude>**/*.iws</exclude> |
| <!-- Eclipse files --> |
| <exclude>**/.*</exclude> |
| <exclude>**/eclipse-classes/**/*</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/bin/**</exclude> |
| <!-- jline --> |
| <exclude>**/src/main/java/jline/**/*.java</exclude> |
| <!-- test manifests --> |
| <exclude>**/*.mf</exclude> |
| <!-- test json files --> |
| <exclude>**/*.json</exclude> |
| <!-- test properties files --> |
| <exclude>**/*.properties</exclude> |
| <!-- For Jenkins, ignore the .repository --> |
| <exclude>.repository/**</exclude> |
| <!-- jar files --> |
| <exclude>**/*.jar</exclude> |
| <!-- doc --> |
| <exclude>**/doc/**/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |