/ pom.xml
pom.xml
  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <project xmlns="http://maven.apache.org/POM/4.0.0"
  3           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5      <modelVersion>4.0.0</modelVersion>
  6  
  7      <groupId>ru.zoommax</groupId>
  8      <artifactId>SimpleServer</artifactId>
  9      <version>1.9.6</version>
 10      <name>Simple Server library</name>
 11      <description>HTTP server</description>
 12      <url>https://github.com/ZooMMaX/SimpleServer</url>
 13  
 14      <licenses>
 15          <license>
 16              <name>Apache License 2.0</name>
 17              <url>https://raw.githubusercontent.com/ZooMMaX/SimpleServer/master/LICENSE</url>
 18          </license>
 19      </licenses>
 20  
 21      <scm>
 22          <connection>scm:git:https://github.com/ZooMMaX/SimpleServer.git</connection>
 23          <url>https://github.com/ZooMMaX/SimpleServer</url>
 24          <developerConnection>scm:git:https://github.com/ZooMMaX/SimpleServer.git</developerConnection>
 25      </scm>
 26  
 27      <distributionManagement>
 28          <snapshotRepository>
 29              <id>ossrh</id>
 30              <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
 31          </snapshotRepository>
 32          <repository>
 33              <id>ossrh</id>
 34              <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
 35          </repository>
 36      </distributionManagement>
 37  
 38      <developers>
 39          <developer>
 40              <id>ZooMMaX</id>
 41              <name>Filatov Yuriy</name>
 42              <email>zoommax2009@gmail.com</email>
 43              <url>https://github.com/ZooMMaX</url>
 44          </developer>
 45      </developers>
 46  
 47      <properties>
 48          <maven.compiler.source>11</maven.compiler.source>
 49          <maven.compiler.target>11</maven.compiler.target>
 50          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 51  
 52          <plugin.nexus.staging.ver>1.6.13</plugin.nexus.staging.ver>
 53          <plugin.maven.source.ver>3.2.1</plugin.maven.source.ver>
 54          <plugin.maven.javadoc.ver>3.6.3</plugin.maven.javadoc.ver>
 55          <plugin.maven.gpg.ver>3.0.1</plugin.maven.gpg.ver>
 56          <plugin.maven.compiler.ver>3.10.1</plugin.maven.compiler.ver>
 57      </properties>
 58  
 59      <build>
 60          <pluginManagement>
 61              <plugins>
 62                  <plugin>
 63                      <groupId>org.sonatype.plugins</groupId>
 64                      <artifactId>nexus-staging-maven-plugin</artifactId>
 65                      <version>${plugin.nexus.staging.ver}</version>
 66                      <extensions>true</extensions>
 67                      <configuration>
 68                          <serverId>ossrh</serverId>
 69                          <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
 70                          <autoReleaseAfterClose>true</autoReleaseAfterClose>
 71                      </configuration>
 72                  </plugin>
 73                  <plugin>
 74                      <groupId>org.apache.maven.plugins</groupId>
 75                      <artifactId>maven-source-plugin</artifactId>
 76                      <version>${plugin.maven.source.ver}</version>
 77                      <executions>
 78                          <execution>
 79                              <id>attach-sources</id>
 80                              <goals>
 81                                  <goal>jar-no-fork</goal>
 82                              </goals>
 83                          </execution>
 84                      </executions>
 85                  </plugin>
 86                  <plugin>
 87                      <groupId>org.apache.maven.plugins</groupId>
 88                      <artifactId>maven-javadoc-plugin</artifactId>
 89                      <version>${plugin.maven.javadoc.ver}</version>
 90                      <executions>
 91                          <execution>
 92                              <id>attach-javadocs</id>
 93                              <goals>
 94                                  <goal>jar</goal>
 95                              </goals>
 96                          </execution>
 97                      </executions>
 98                  </plugin>
 99                  <plugin>
100                      <groupId>org.apache.maven.plugins</groupId>
101                      <artifactId>maven-gpg-plugin</artifactId>
102                      <version>${plugin.maven.gpg.ver}</version>
103                      <executions>
104                          <execution>
105                              <id>sign-artifacts</id>
106                              <phase>verify</phase>
107                              <goals>
108                                  <goal>sign</goal>
109                              </goals>
110                          </execution>
111                      </executions>
112                      <configuration>
113                          <gpgArguments>
114                              <arg>--pinentry-mode</arg>
115                              <arg>loopback</arg>
116                          </gpgArguments>
117                      </configuration>
118                  </plugin>
119              </plugins>
120          </pluginManagement>
121  
122  
123          <plugins>
124              <plugin>
125                  <groupId>org.apache.maven.plugins</groupId>
126                  <artifactId>maven-compiler-plugin</artifactId>
127                  <version>3.10.1</version>
128                  <configuration>
129                      <source>${maven.compiler.source}</source>
130                      <target>${maven.compiler.target}</target>
131                  </configuration>
132              </plugin>
133          </plugins>
134      </build>
135  
136      <repositories>
137          <repository>
138              <id>jitpack.io</id>
139              <url>https://jitpack.io</url>
140          </repository>
141      </repositories>
142  
143      <dependencies>
144          <dependency>
145              <groupId>org.projectlombok</groupId>
146              <artifactId>lombok</artifactId>
147              <version>1.18.30</version>
148              <scope>provided</scope>
149          </dependency>
150          <dependency>
151              <groupId>org.slf4j</groupId>
152              <artifactId>slf4j-api</artifactId>
153              <version>2.0.11</version>
154          </dependency>
155          <dependency>
156              <groupId>org.slf4j</groupId>
157              <artifactId>slf4j-simple</artifactId>
158              <version>2.0.11</version>
159              <scope>test</scope>
160          </dependency>
161          <dependency>
162              <groupId>org.reflections</groupId>
163              <artifactId>reflections</artifactId>
164              <version>0.10.2</version>
165          </dependency>
166          <dependency>
167              <groupId>com.github.Steppschuh</groupId>
168              <artifactId>Java-Markdown-Generator</artifactId>
169              <version>6159a7284f</version>
170          </dependency>
171      </dependencies>
172  
173      <profiles>
174          <profile>
175              <id>release</id>
176              <build>
177                  <plugins>
178                      <plugin>
179                          <groupId>org.sonatype.plugins</groupId>
180                          <artifactId>nexus-staging-maven-plugin</artifactId>
181                      </plugin>
182                      <plugin>
183                          <groupId>org.apache.maven.plugins</groupId>
184                          <artifactId>maven-source-plugin</artifactId>
185                      </plugin>
186                      <plugin>
187                          <groupId>org.apache.maven.plugins</groupId>
188                          <artifactId>maven-gpg-plugin</artifactId>
189                      </plugin>
190                      <plugin>
191                          <groupId>org.apache.maven.plugins</groupId>
192                          <artifactId>maven-javadoc-plugin</artifactId>
193                      </plugin>
194                  </plugins>
195              </build>
196          </profile>
197      </profiles>
198  
199  </project>