|
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 |
|
5 |
| - <groupId>org.mvnsearch.h2</groupId> |
| 5 | + <groupId>org.mvnsearch</groupId> |
6 | 6 | <artifactId>h2-functions-4-mysql</artifactId>
|
7 | 7 | <version>1.0.0-SNAPSHOT</version>
|
8 | 8 | <packaging>jar</packaging>
|
|
12 | 12 | <description>H2 user defined functions for MySQL compatible</description>
|
13 | 13 |
|
14 | 14 | <properties>
|
| 15 | + <java.version>1.8</java.version> |
| 16 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 17 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
15 | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
16 | 19 | </properties>
|
17 | 20 |
|
| 21 | + <licenses> |
| 22 | + <license> |
| 23 | + <name>The Apache License, Version 2.0</name> |
| 24 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 25 | + </license> |
| 26 | + </licenses> |
| 27 | + |
18 | 28 | <scm>
|
19 | 29 | <connection>scm:git:git@github.com:linux-china/h2-functions-4-mysql.git</connection>
|
20 | 30 | <developerConnection>scm:git:git@github.com:linux-china/h2-functions-4-mysql.git</developerConnection>
|
21 | 31 | <url>https://github.com/linux-china/h2-functions-4-mysql</url>
|
22 | 32 | </scm>
|
23 | 33 |
|
| 34 | + <distributionManagement> |
| 35 | + <snapshotRepository> |
| 36 | + <id>ossrh</id> |
| 37 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 38 | + </snapshotRepository> |
| 39 | + <repository> |
| 40 | + <id>ossrh</id> |
| 41 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 42 | + </repository> |
| 43 | + </distributionManagement> |
| 44 | + |
24 | 45 | <developers>
|
25 | 46 | <developer>
|
26 | 47 | <id>linux_china</id>
|
|
70 | 91 | <artifactId>maven-compiler-plugin</artifactId>
|
71 | 92 | <version>3.8.1</version>
|
72 | 93 | <configuration>
|
73 |
| - <source>1.8</source> |
74 |
| - <target>1.8</target> |
| 94 | + <parameters>true</parameters> |
75 | 95 | </configuration>
|
76 | 96 | </plugin>
|
77 | 97 | </plugins>
|
78 | 98 | </build>
|
| 99 | + |
| 100 | + <profiles> |
| 101 | + <profile> |
| 102 | + <id>release</id> |
| 103 | + <build> |
| 104 | + <plugins> |
| 105 | + <plugin> |
| 106 | + <groupId>org.sonatype.plugins</groupId> |
| 107 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 108 | + <version>1.6.8</version> |
| 109 | + <extensions>true</extensions> |
| 110 | + <configuration> |
| 111 | + <serverId>ossrh</serverId> |
| 112 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 113 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-source-plugin</artifactId> |
| 119 | + <version>3.2.1</version> |
| 120 | + <executions> |
| 121 | + <execution> |
| 122 | + <id>attach-sources</id> |
| 123 | + <goals> |
| 124 | + <goal>jar-no-fork</goal> |
| 125 | + </goals> |
| 126 | + </execution> |
| 127 | + </executions> |
| 128 | + </plugin> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 132 | + <version>3.1.1</version> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <id>attach-javadocs</id> |
| 136 | + <goals> |
| 137 | + <goal>jar</goal> |
| 138 | + </goals> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + </plugin> |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-gpg-plugin</artifactId> |
| 145 | + <version>1.6</version> |
| 146 | + <executions> |
| 147 | + <execution> |
| 148 | + <id>sign-artifacts</id> |
| 149 | + <phase>verify</phase> |
| 150 | + <goals> |
| 151 | + <goal>sign</goal> |
| 152 | + </goals> |
| 153 | + <configuration> |
| 154 | + <gpgArguments> |
| 155 | + <arg>--pinentry-mode</arg> |
| 156 | + <arg>loopback</arg> |
| 157 | + </gpgArguments> |
| 158 | + </configuration> |
| 159 | + </execution> |
| 160 | + </executions> |
| 161 | + </plugin> |
| 162 | + </plugins> |
| 163 | + </build> |
| 164 | + </profile> |
| 165 | + </profiles> |
79 | 166 | </project>
|
0 commit comments