|
4 | 4 |
|
5 | 5 | <groupId>org.utplsql</groupId> |
6 | 6 | <artifactId>cli</artifactId> |
7 | | - <version>3.1.1-SNAPSHOT</version> |
| 7 | + <version>3.1.6</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | 10 | <name>cli</name> |
|
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 15 | <maven.compiler.source>1.8</maven.compiler.source> |
16 | 16 | <maven.compiler.target>1.8</maven.compiler.target> |
17 | | - <junit.platform.version>1.0.3</junit.platform.version> |
18 | | - <junit.jupiter.version>5.0.3</junit.jupiter.version> |
| 17 | + <junit.jupiter.version>5.4.0</junit.jupiter.version> |
19 | 18 | <travisBuildNumber>local</travisBuildNumber> |
20 | 19 | </properties> |
21 | 20 |
|
22 | 21 | <dependencies> |
23 | | - <dependency> |
24 | | - <groupId>org.utplsql</groupId> |
25 | | - <artifactId>java-api</artifactId> |
26 | | - <version>3.1.1</version> |
27 | | - <scope>compile</scope> |
28 | | - <exclusions> |
29 | | - <exclusion> |
30 | | - <groupId>com.oracle.jdbc</groupId> |
31 | | - <artifactId>ucp</artifactId> |
32 | | - </exclusion> |
33 | | - </exclusions> |
34 | | - </dependency> |
35 | | - <dependency> |
36 | | - <groupId>com.beust</groupId> |
37 | | - <artifactId>jcommander</artifactId> |
38 | | - <version>1.72</version> |
39 | | - <scope>compile</scope> |
40 | | - </dependency> |
41 | | - <dependency> |
42 | | - <groupId>com.zaxxer</groupId> |
43 | | - <artifactId>HikariCP</artifactId> |
44 | | - <version>2.7.2</version> |
45 | | - <scope>compile</scope> |
46 | | - </dependency> |
47 | 22 | <dependency> |
48 | | - <groupId>org.slf4j</groupId> |
49 | | - <artifactId>slf4j-nop</artifactId> |
50 | | - <version>1.7.25</version> |
| 23 | + <groupId>org.utplsql</groupId> |
| 24 | + <artifactId>java-api</artifactId> |
| 25 | + <version>3.1.6</version> |
51 | 26 | <scope>compile</scope> |
| 27 | + <exclusions> |
| 28 | + <exclusion> |
| 29 | + <groupId>com.oracle.jdbc</groupId> |
| 30 | + <artifactId>ucp</artifactId> |
| 31 | + </exclusion> |
| 32 | + <exclusion> |
| 33 | + <groupId>com.oracle.jdbc</groupId> |
| 34 | + <artifactId>ojdbc8</artifactId> |
| 35 | + </exclusion> |
| 36 | + <exclusion> |
| 37 | + <groupId>com.oracle.jdbc</groupId> |
| 38 | + <artifactId>orai18n</artifactId> |
| 39 | + </exclusion> |
| 40 | + </exclusions> |
52 | 41 | </dependency> |
53 | 42 | <dependency> |
54 | | - <groupId>org.junit.jupiter</groupId> |
55 | | - <artifactId>junit-jupiter-api</artifactId> |
56 | | - <version>${junit.jupiter.version}</version> |
57 | | - <scope>test</scope> |
| 43 | + <groupId>com.beust</groupId> |
| 44 | + <artifactId>jcommander</artifactId> |
| 45 | + <version>1.72</version> |
| 46 | + <scope>compile</scope> |
58 | 47 | </dependency> |
59 | 48 | <dependency> |
60 | | - <groupId>org.junit.jupiter</groupId> |
61 | | - <artifactId>junit-jupiter-engine</artifactId> |
62 | | - <version>${junit.jupiter.version}</version> |
63 | | - <scope>test</scope> |
| 49 | + <groupId>com.zaxxer</groupId> |
| 50 | + <artifactId>HikariCP</artifactId> |
| 51 | + <version>3.3.1</version> |
| 52 | + <scope>compile</scope> |
64 | 53 | </dependency> |
65 | 54 | <dependency> |
66 | 55 | <groupId>javax.xml.bind</groupId> |
67 | 56 | <artifactId>jaxb-api</artifactId> |
68 | 57 | <version>2.3.0</version> |
69 | 58 | </dependency> |
| 59 | + <dependency> |
| 60 | + <groupId>ch.qos.logback</groupId> |
| 61 | + <artifactId>logback-classic</artifactId> |
| 62 | + <version>1.2.3</version> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>com.oracle.jdbc</groupId> |
| 66 | + <artifactId>ojdbc8</artifactId> |
| 67 | + <version>12.2.0.1</version> |
| 68 | + <scope>compile</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>com.oracle.jdbc</groupId> |
| 72 | + <artifactId>orai18n</artifactId> |
| 73 | + <version>12.2.0.1</version> |
| 74 | + <scope>compile</scope> |
| 75 | + </dependency> |
| 76 | + |
| 77 | + <!-- Test --> |
| 78 | + <dependency> |
| 79 | + <groupId>org.junit.jupiter</groupId> |
| 80 | + <artifactId>junit-jupiter</artifactId> |
| 81 | + <version>${junit.jupiter.version}</version> |
| 82 | + <scope>test</scope> |
| 83 | + </dependency> |
| 84 | + |
70 | 85 | </dependencies> |
71 | 86 |
|
72 | 87 | <build> |
|
89 | 104 | </programs> |
90 | 105 | </configuration> |
91 | 106 | </plugin> |
92 | | - <plugin> |
93 | | - <groupId>com.google.code.maven-replacer-plugin</groupId> |
94 | | - <artifactId>replacer</artifactId> |
95 | | - <version>1.5.3</version> |
96 | | - <executions> |
97 | | - <execution> |
98 | | - <id>replace-version-number</id> |
99 | | - <phase>generate-sources</phase> |
100 | | - <goals> |
101 | | - <goal>replace</goal> |
102 | | - </goals> |
103 | | - </execution> |
104 | | - </executions> |
105 | | - <configuration> |
106 | | - <basedir>${project.basedir}/src/main/java</basedir> |
107 | | - <includes> |
108 | | - <include>**/CliVersionInfo.java</include> |
109 | | - </includes> |
110 | | - <preserveDir>true</preserveDir> |
111 | | - <replacements> |
112 | | - <replacement> |
113 | | - <token>MAVEN_PROJECT_NAME = ".*"</token> |
114 | | - <value>MAVEN_PROJECT_NAME = "${project.name}"</value> |
115 | | - </replacement> |
116 | | - <replacement> |
117 | | - <token>MAVEN_PROJECT_VERSION = ".*"</token> |
118 | | - <value>MAVEN_PROJECT_VERSION = "${project.version}"</value> |
119 | | - </replacement> |
120 | | - <replacement> |
121 | | - <token>BUILD_NO = ".*"</token> |
122 | | - <value>BUILD_NO = "${travisBuildNumber}"</value> |
123 | | - </replacement> |
124 | | - </replacements> |
125 | | - </configuration> |
126 | | - </plugin> |
127 | 107 | <plugin> |
128 | 108 | <groupId>org.apache.maven.plugins</groupId> |
129 | 109 | <artifactId>maven-surefire-plugin</artifactId> |
130 | | - <version>2.19.1</version> |
| 110 | + <version>2.22.0</version> |
131 | 111 | <configuration> |
132 | 112 | <excludes> |
133 | 113 | <exclude>**/*IT.java</exclude> |
134 | 114 | </excludes> |
135 | 115 | </configuration> |
136 | | - <dependencies> |
137 | | - <dependency> |
138 | | - <groupId>org.junit.platform</groupId> |
139 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
140 | | - <version>${junit.platform.version}</version> |
141 | | - </dependency> |
142 | | - </dependencies> |
143 | 116 | </plugin> |
144 | 117 | <plugin> |
145 | 118 | <groupId>org.apache.maven.plugins</groupId> |
146 | 119 | <artifactId>maven-failsafe-plugin</artifactId> |
147 | | - <version>2.19.1</version> |
| 120 | + <version>2.22.0</version> |
148 | 121 | <executions> |
149 | 122 | <execution> |
150 | 123 | <goals> |
|
153 | 126 | </goals> |
154 | 127 | </execution> |
155 | 128 | </executions> |
156 | | - <dependencies> |
157 | | - <dependency> |
158 | | - <groupId>org.junit.platform</groupId> |
159 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
160 | | - <version>${junit.platform.version}</version> |
161 | | - </dependency> |
162 | | - </dependencies> |
163 | 129 | </plugin> |
164 | 130 | </plugins> |
| 131 | + <resources> |
| 132 | + <resource> |
| 133 | + <directory>src/main/resources</directory> |
| 134 | + <filtering>true</filtering> |
| 135 | + <includes> |
| 136 | + <include>**/utplsql-cli.version</include> |
| 137 | + </includes> |
| 138 | + </resource> |
| 139 | + <resource> |
| 140 | + <directory>src/main/resources</directory> |
| 141 | + <filtering>false</filtering> |
| 142 | + <excludes> |
| 143 | + <exclude>**/utplsql-cli.version</exclude> |
| 144 | + </excludes> |
| 145 | + </resource> |
| 146 | + </resources> |
165 | 147 | </build> |
166 | 148 |
|
167 | 149 | <repositories> |
|
177 | 159 | <enabled>true</enabled> |
178 | 160 | </snapshots> |
179 | 161 | </repository> |
| 162 | + <repository> |
| 163 | + <id>maven.oracle.com</id> |
| 164 | + <releases> |
| 165 | + <enabled>true</enabled> |
| 166 | + </releases> |
| 167 | + <snapshots> |
| 168 | + <enabled>false</enabled> |
| 169 | + </snapshots> |
| 170 | + <url>https://maven.oracle.com</url> |
| 171 | + <layout>default</layout> |
| 172 | + </repository> |
180 | 173 | </repositories> |
181 | 174 |
|
| 175 | + <pluginRepositories> |
| 176 | + <pluginRepository> |
| 177 | + <id>maven.oracle.com</id> |
| 178 | + <url>https://maven.oracle.com</url> |
| 179 | + </pluginRepository> |
| 180 | + </pluginRepositories> |
| 181 | + |
182 | 182 | <profiles> |
183 | 183 | <profile> |
184 | 184 | <id>utPLSQL-local</id> |
|
0 commit comments