|
5 | 5 |
|
6 | 6 | <groupId>com.xdev-software</groupId>
|
7 | 7 | <artifactId>xapi-db-mysql-5</artifactId>
|
8 |
| - <version>0.0.1-SNAPSHOT</version> |
| 8 | + <version>1.0.0-SNAPSHOT</version> |
9 | 9 | <packaging>jar</packaging>
|
10 | 10 |
|
11 | 11 | <name>SqlEngine Database Adapter MySQL 5</name>
|
| 12 | + <description>SqlEngine Database Adapter MySQL 5</description> |
| 13 | + <url>https://github.com/xdev-software/xapi-db-mysql-5</url> |
12 | 14 |
|
| 15 | + <scm> |
| 16 | + <url>https://github.com/xdev-software/xapi-db-mysql-5</url> |
| 17 | + <connection>https://github.com/xdev-software/xapi-db-mysql-5.git</connection> |
| 18 | + </scm> |
13 | 19 |
|
| 20 | + <inceptionYear>2003</inceptionYear> |
| 21 | + |
| 22 | + <organization> |
| 23 | + <name>XDEV Software</name> |
| 24 | + <url>https://xdev-software.com</url> |
| 25 | + </organization> |
| 26 | + |
| 27 | + <developers> |
| 28 | + <developer> |
| 29 | + <name>XDEV Software</name> |
| 30 | + <organization>XDEV Software</organization> |
| 31 | + <url>https://www.xdev-software.com</url> |
| 32 | + </developer> |
| 33 | + </developers> |
| 34 | + |
14 | 35 | <licenses>
|
15 | 36 | <license>
|
16 | 37 | <name>GNU Lesser General Public License version 3</name>
|
17 | 38 | <url>https://www.gnu.org/licenses/lgpl-3.0.en.html</url>
|
| 39 | + <distribution>repo</distribution> |
18 | 40 | </license>
|
19 |
| - </licenses> |
| 41 | + </licenses> |
20 | 42 |
|
21 | 43 | <properties>
|
| 44 | + <javaVersion>1.8</javaVersion> |
| 45 | + |
22 | 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
23 | 47 | <license.licenseName>lgpl_v3</license.licenseName>
|
24 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
25 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
| 48 | + <maven.compiler.source>${javaVersion}</maven.compiler.source> |
| 49 | + <maven.compiler.target>${javaVersion}</maven.compiler.target> |
26 | 50 | </properties>
|
27 | 51 |
|
28 |
| - <organization> |
29 |
| - <name>XDEV Software</name> |
30 |
| - <url>https://xdev-software.com</url> |
31 |
| - </organization> |
32 |
| - <inceptionYear>2003</inceptionYear> |
| 52 | + <repositories> |
| 53 | + <!-- The order of definitions matters. Explicitly defining central here |
| 54 | + to make sure it has the highest priority. --> |
| 55 | + <repository> |
| 56 | + <id>central</id> |
| 57 | + <url>https://repo.maven.apache.org/maven2</url> |
| 58 | + <snapshots> |
| 59 | + <enabled>false</enabled> |
| 60 | + </snapshots> |
| 61 | + </repository> |
| 62 | + </repositories> |
| 63 | + |
| 64 | + <pluginRepositories> |
| 65 | + <!-- The order of definitions matters. Explicitly defining central here |
| 66 | + to make sure it has the highest priority. --> |
| 67 | + <pluginRepository> |
| 68 | + <id>central</id> |
| 69 | + <url>https://repo.maven.apache.org/maven2</url> |
| 70 | + <snapshots> |
| 71 | + <enabled>false</enabled> |
| 72 | + </snapshots> |
| 73 | + </pluginRepository> |
| 74 | + </pluginRepositories> |
| 75 | + |
| 76 | + <distributionManagement> |
| 77 | + <snapshotRepository> |
| 78 | + <id>ossrh</id> |
| 79 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 80 | + </snapshotRepository> |
| 81 | + <repository> |
| 82 | + <id>ossrh</id> |
| 83 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 84 | + </repository> |
| 85 | + </distributionManagement> |
33 | 86 |
|
34 | 87 | <dependencies>
|
35 | 88 | <dependency>
|
|
47 | 100 | <dependency>
|
48 | 101 | <groupId>junit</groupId>
|
49 | 102 | <artifactId>junit</artifactId>
|
50 |
| - <version>4.13.1</version> |
| 103 | + <version>4.13.2</version> |
51 | 104 | <scope>test</scope>
|
52 | 105 | </dependency>
|
53 | 106 | </dependencies>
|
54 | 107 |
|
55 |
| - |
56 | 108 | <build>
|
57 | 109 | <plugins>
|
58 |
| - |
59 | 110 | <plugin>
|
60 | 111 | <groupId>org.apache.maven.plugins</groupId>
|
61 | 112 | <artifactId>maven-clean-plugin</artifactId>
|
62 | 113 | <version>3.1.0</version>
|
63 | 114 | </plugin>
|
| 115 | + |
64 | 116 | <plugin>
|
65 | 117 | <groupId>org.apache.maven.plugins</groupId>
|
66 | 118 | <artifactId>maven-deploy-plugin</artifactId>
|
67 | 119 | <version>3.0.0-M1</version>
|
68 | 120 | </plugin>
|
| 121 | + |
69 | 122 | <plugin>
|
70 | 123 | <groupId>org.apache.maven.plugins</groupId>
|
71 | 124 | <artifactId>maven-install-plugin</artifactId>
|
72 | 125 | <version>3.0.0-M1</version>
|
73 | 126 | </plugin>
|
| 127 | + |
74 | 128 | <plugin>
|
75 | 129 | <groupId>org.apache.maven.plugins</groupId>
|
76 | 130 | <artifactId>maven-jar-plugin</artifactId>
|
77 | 131 | <version>3.2.0</version>
|
78 | 132 | </plugin>
|
| 133 | + |
79 | 134 | <plugin>
|
80 | 135 | <groupId>org.apache.maven.plugins</groupId>
|
81 | 136 | <artifactId>maven-resources-plugin</artifactId>
|
82 | 137 | <version>3.2.0</version>
|
83 | 138 | </plugin>
|
| 139 | + |
84 | 140 | <plugin>
|
85 | 141 | <groupId>org.apache.maven.plugins</groupId>
|
86 | 142 | <artifactId>maven-site-plugin</artifactId>
|
87 | 143 | <version>3.9.1</version>
|
88 | 144 | </plugin>
|
89 | 145 |
|
90 |
| - <plugin> |
91 |
| - <groupId>org.apache.maven.plugins</groupId> |
92 |
| - <artifactId>maven-source-plugin</artifactId> |
93 |
| - <version>3.2.1</version> |
94 |
| - <executions> |
95 |
| - <execution> |
96 |
| - <id>attach-sources</id> |
97 |
| - <phase>verify</phase> |
98 |
| - <goals> |
99 |
| - <goal>jar-no-fork</goal> |
100 |
| - </goals> |
101 |
| - </execution> |
102 |
| - </executions> |
103 |
| - </plugin> |
104 |
| - |
105 | 146 | <plugin>
|
106 | 147 | <artifactId>maven-surefire-plugin</artifactId>
|
107 | 148 | <version>3.0.0-M5</version>
|
108 | 149 | </plugin>
|
| 150 | + |
109 | 151 | <plugin>
|
110 | 152 | <groupId>org.apache.maven.plugins</groupId>
|
111 | 153 | <artifactId>maven-enforcer-plugin</artifactId>
|
|
122 | 164 | <version>3.5.4</version>
|
123 | 165 | </requireMavenVersion>
|
124 | 166 | <requireJavaVersion>
|
125 |
| - <version>1.8</version> |
| 167 | + <version>${javaVersion}</version> |
126 | 168 | </requireJavaVersion>
|
127 | 169 | </rules>
|
128 | 170 | </configuration>
|
|
135 | 177 | <version>3.8.1</version>
|
136 | 178 | <configuration>
|
137 | 179 | <compilerId>eclipse</compilerId>
|
138 |
| - <source>1.8</source> |
139 |
| - <target>1.8</target> |
| 180 | + <source>${javaVersion}</source> |
| 181 | + <target>${javaVersion}</target> |
140 | 182 | </configuration>
|
141 | 183 | <dependencies>
|
142 | 184 | <dependency>
|
|
151 | 193 | <groupId>org.codehaus.mojo</groupId>
|
152 | 194 | <artifactId>license-maven-plugin</artifactId>
|
153 | 195 | <version>2.0.0</version>
|
154 |
| - |
155 | 196 | <executions>
|
156 | 197 | <execution>
|
157 | 198 | <id>first</id>
|
|
168 | 209 | </execution>
|
169 | 210 | </executions>
|
170 | 211 | </plugin>
|
171 |
| - |
| 212 | + |
| 213 | + <plugin> |
| 214 | + <groupId>org.apache.maven.plugins</groupId> |
| 215 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 216 | + <version>3.3.0</version> |
| 217 | + <executions> |
| 218 | + <execution> |
| 219 | + <id>attach-javadocs</id> |
| 220 | + <phase>verify</phase> |
| 221 | + <goals> |
| 222 | + <goal>jar</goal> |
| 223 | + </goals> |
| 224 | + </execution> |
| 225 | + </executions> |
| 226 | + <configuration> |
| 227 | + <quiet>true</quiet> |
| 228 | + <doclint>none</doclint> |
| 229 | + </configuration> |
| 230 | + </plugin> |
| 231 | + |
| 232 | + <plugin> |
| 233 | + <groupId>org.apache.maven.plugins</groupId> |
| 234 | + <artifactId>maven-source-plugin</artifactId> |
| 235 | + <version>3.2.1</version> |
| 236 | + <executions> |
| 237 | + <execution> |
| 238 | + <id>attach-sources</id> |
| 239 | + <phase>verify</phase> |
| 240 | + <goals> |
| 241 | + <goal>jar-no-fork</goal> |
| 242 | + </goals> |
| 243 | + </execution> |
| 244 | + </executions> |
| 245 | + </plugin> |
172 | 246 | </plugins>
|
173 | 247 | </build>
|
174 | 248 |
|
|
0 commit comments