|
| 1 | +<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"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + <groupId>com.teragrep</groupId> |
| 4 | + <artifactId>rlp_09</artifactId> |
| 5 | + <version>${revision}${sha1}${changelist}</version> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <name>rlp_09</name> |
| 8 | + <properties> |
| 9 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 10 | + <maven.compiler.source>17</maven.compiler.source> |
| 11 | + <maven.compiler.target>17</maven.compiler.target> |
| 12 | + <java.version>17</java.version> |
| 13 | + <revision>0.0.1</revision> |
| 14 | + <changelist>-SNAPSHOT</changelist> |
| 15 | + <sha1/> |
| 16 | + <dropwizard-metrics.version>4.2.25</dropwizard-metrics.version> |
| 17 | + <rlp_01.version>4.0.1</rlp_01.version> |
| 18 | + </properties> |
| 19 | + <dependencies> |
| 20 | + <!-- dropwizard metrics --> |
| 21 | + <dependency> |
| 22 | + <groupId>io.dropwizard.metrics</groupId> |
| 23 | + <artifactId>metrics-core</artifactId> |
| 24 | + <version>${dropwizard-metrics.version}</version> |
| 25 | + </dependency> |
| 26 | + <!-- RELP --> |
| 27 | + <dependency> |
| 28 | + <groupId>com.teragrep</groupId> |
| 29 | + <artifactId>rlp_01</artifactId> |
| 30 | + <version>${rlp_01.version}</version> |
| 31 | + </dependency> |
| 32 | + <!-- Syslog message --> |
| 33 | + <dependency> |
| 34 | + <groupId>com.teragrep</groupId> |
| 35 | + <artifactId>rlo_14</artifactId> |
| 36 | + <version>1.0.1</version> |
| 37 | + </dependency> |
| 38 | + </dependencies> |
| 39 | + <build> |
| 40 | + <finalName>${artifactId}</finalName> |
| 41 | + <plugins> |
| 42 | + <plugin> |
| 43 | + <groupId>org.apache.rat</groupId> |
| 44 | + <artifactId>apache-rat-plugin</artifactId> |
| 45 | + <version>0.15</version> |
| 46 | + <inherited>false</inherited> |
| 47 | + <executions> |
| 48 | + <execution> |
| 49 | + <phase>test</phase> |
| 50 | + <goals> |
| 51 | + <goal>check</goal> |
| 52 | + </goals> |
| 53 | + </execution> |
| 54 | + </executions> |
| 55 | + <configuration> |
| 56 | + <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> |
| 57 | + <licenses> |
| 58 | + <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> |
| 59 | + <notes>Also allow the license url to be https.</notes> |
| 60 | + <patterns> |
| 61 | + <pattern>https://github.com/teragrep/teragrep/blob/main/LICENSE</pattern> |
| 62 | + </patterns> |
| 63 | + </license> |
| 64 | + </licenses> |
| 65 | + <consoleOutput>true</consoleOutput> |
| 66 | + <excludeSubProjects>false</excludeSubProjects> |
| 67 | + <excludes> |
| 68 | + <!-- git --> |
| 69 | + <exclude>.git/**</exclude> |
| 70 | + <exclude>.gitattributes</exclude> |
| 71 | + <exclude>.gitignore</exclude> |
| 72 | + <exclude>.gitmodules</exclude> |
| 73 | + <!-- ci --> |
| 74 | + <exclude>.github/workflows/*.yml</exclude> |
| 75 | + <exclude>.github/workflows/*.yaml</exclude> |
| 76 | + <exclude>.github/ISSUE_TEMPLATE/*</exclude> |
| 77 | + <exclude>toolchains.xml</exclude> |
| 78 | + <exclude>settings.xml</exclude> |
| 79 | + <exclude>rpm/**</exclude> |
| 80 | + <!-- assembly file --> |
| 81 | + <exclude>src/main/assembly/jar-with-dependencies.xml</exclude> |
| 82 | + <!-- readme --> |
| 83 | + <exclude>README.adoc</exclude> |
| 84 | + </excludes> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 89 | + <version>3.4.1</version> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <id>enforce</id> |
| 93 | + <phase>none</phase> |
| 94 | + </execution> |
| 95 | + <execution> |
| 96 | + <id>enforce-maven</id> |
| 97 | + <goals> |
| 98 | + <goal>enforce</goal> |
| 99 | + </goals> |
| 100 | + <configuration> |
| 101 | + <rules> |
| 102 | + <requireMavenVersion> |
| 103 | + <version>3.2.5</version> |
| 104 | + </requireMavenVersion> |
| 105 | + </rules> |
| 106 | + </configuration> |
| 107 | + </execution> |
| 108 | + </executions> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.apache.maven.plugins</groupId> |
| 112 | + <artifactId>maven-compiler-plugin</artifactId> |
| 113 | + <version>3.12.1</version> |
| 114 | + <configuration> |
| 115 | + <compilerArgument>-Xlint:all</compilerArgument> |
| 116 | + </configuration> |
| 117 | + </plugin> |
| 118 | + <plugin> |
| 119 | + <groupId>org.apache.maven.plugins</groupId> |
| 120 | + <artifactId>maven-jar-plugin</artifactId> |
| 121 | + <version>3.3.0</version> |
| 122 | + <configuration> |
| 123 | + <archive> |
| 124 | + <manifest> |
| 125 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 126 | + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 127 | + </manifest> |
| 128 | + </archive> |
| 129 | + </configuration> |
| 130 | + </plugin> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-assembly-plugin</artifactId> |
| 134 | + <version>3.6.0</version> |
| 135 | + <configuration> |
| 136 | + <descriptors> |
| 137 | + <descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor> |
| 138 | + </descriptors> |
| 139 | + <archive> |
| 140 | + <manifest> |
| 141 | + <mainClass>com.teragrep.rlp_09.Main</mainClass> |
| 142 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 143 | + </manifest> |
| 144 | + </archive> |
| 145 | + </configuration> |
| 146 | + <executions> |
| 147 | + <execution> |
| 148 | + <id>make-assembly</id> |
| 149 | + <phase>package</phase> |
| 150 | + <goals> |
| 151 | + <goal>single</goal> |
| 152 | + </goals> |
| 153 | + </execution> |
| 154 | + </executions> |
| 155 | + </plugin> |
| 156 | + </plugins> |
| 157 | + </build> |
| 158 | + <profiles> |
| 159 | + <profile> |
| 160 | + <id>publish-github-packages</id> |
| 161 | + <build> |
| 162 | + <plugins> |
| 163 | + <plugin> |
| 164 | + <groupId>org.apache.maven.plugins</groupId> |
| 165 | + <artifactId>maven-gpg-plugin</artifactId> |
| 166 | + <version>3.1.0</version> |
| 167 | + <executions> |
| 168 | + <execution> |
| 169 | + <id>sign-artifacts</id> |
| 170 | + <phase>verify</phase> |
| 171 | + <goals> |
| 172 | + <goal>sign</goal> |
| 173 | + </goals> |
| 174 | + <configuration> |
| 175 | + <gpgArguments> |
| 176 | + <arg>--pinentry-mode</arg> |
| 177 | + <arg>loopback</arg> |
| 178 | + </gpgArguments> |
| 179 | + </configuration> |
| 180 | + </execution> |
| 181 | + </executions> |
| 182 | + </plugin> |
| 183 | + </plugins> |
| 184 | + </build> |
| 185 | + <distributionManagement> |
| 186 | + <repository> |
| 187 | + <id>github</id> |
| 188 | + <name>GitHub Packages</name> |
| 189 | + <url>https://maven.pkg.github.com/${env.GITHUB_REPOSITORY}</url> |
| 190 | + </repository> |
| 191 | + </distributionManagement> |
| 192 | + </profile> |
| 193 | + </profiles> |
| 194 | +</project> |
0 commit comments