Skip to content

Commit a8da1bc

Browse files
committed
Updated sources
1 parent 09ab32e commit a8da1bc

File tree

2 files changed

+134
-88
lines changed

2 files changed

+134
-88
lines changed

pom.xml

Lines changed: 134 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,73 @@
133133
<execution>
134134
<phase>package</phase>
135135
<configuration>
136-
<tasks>
137-
<exec
138-
dir="${project.basedir}"
139-
executable="powershell"
140-
failonerror="true">
141-
<arg line="-Command &quot;(Get-Content simplified-pom.template) | ForEach-Object { $_ -replace &quot;{{VERSION}}&quot;, {&quot;${project.version}&quot;} } | Set-Content simplified-pom.xml&quot;" />
142-
</exec>
143-
</tasks>
136+
<target>
137+
<echo file="${project.basedir}/simplified-pom.xml" encoding="UTF-8"><![CDATA[
138+
<?xml version="1.0" encoding="UTF-8"?>
139+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
140+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
141+
<modelVersion>4.0.0</modelVersion>
142+
143+
<groupId>${project.groupId}</groupId>
144+
<artifactId>${project.artifactId}</artifactId>
145+
<version>${project.version}</version>
146+
<packaging>${project.packaging}</packaging>
147+
148+
<name>${project.name}</name>
149+
<description>${project.description}</description>
150+
<url>${project.url}</url>
151+
152+
<licenses>
153+
<license>
154+
<name>MIT License</name>
155+
<url>https://opensource.org/licenses/mit-license.php</url>
156+
</license>
157+
</licenses>
158+
159+
<developers>
160+
<developer>
161+
<name>GroupDocs</name>
162+
<email>support@groupdocs.cloud</email>
163+
<organization>Aspose Pty Ltd</organization>
164+
<organizationUrl>https://www.groupdocs.cloud</organizationUrl>
165+
</developer>
166+
</developers>
167+
168+
<dependencies>
169+
<dependency>
170+
<groupId>io.swagger</groupId>
171+
<artifactId>swagger-annotations</artifactId>
172+
<version>${swagger-core-version}</version>
173+
</dependency>
174+
<dependency>
175+
<groupId>com.squareup.okhttp</groupId>
176+
<artifactId>okhttp</artifactId>
177+
<version>${okhttp-version}</version>
178+
</dependency>
179+
<dependency>
180+
<groupId>com.squareup.okhttp</groupId>
181+
<artifactId>logging-interceptor</artifactId>
182+
<version>${okhttp-version}</version>
183+
</dependency>
184+
<dependency>
185+
<groupId>com.google.code.gson</groupId>
186+
<artifactId>gson</artifactId>
187+
<version>${gson-version}</version>
188+
</dependency>
189+
<dependency>
190+
<groupId>io.gsonfire</groupId>
191+
<artifactId>gson-fire</artifactId>
192+
<version>${gson-fire-version}</version>
193+
</dependency>
194+
<dependency>
195+
<groupId>org.threeten</groupId>
196+
<artifactId>threetenbp</artifactId>
197+
<version>${threetenbp-version}</version>
198+
</dependency>
199+
</dependencies>
200+
</project>
201+
]]></echo>
202+
</target>
144203
</configuration>
145204
<goals>
146205
<goal>run</goal>
@@ -214,14 +273,73 @@
214273
<execution>
215274
<phase>package</phase>
216275
<configuration>
217-
<tasks>
218-
<exec
219-
dir="${project.basedir}"
220-
executable="powershell"
221-
failonerror="true">
222-
<arg line="-Command &quot;(Get-Content simplified-pom.template) | ForEach-Object { $_ -replace &quot;{{VERSION}}&quot;, {&quot;${project.version}&quot;} } | Set-Content simplified-pom.xml&quot;" />
223-
</exec>
224-
</tasks>
276+
<target>
277+
<echo file="${project.basedir}/simplified-pom.xml" encoding="UTF-8"><![CDATA[
278+
<?xml version="1.0" encoding="UTF-8"?>
279+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
280+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
281+
<modelVersion>4.0.0</modelVersion>
282+
283+
<groupId>${project.groupId}</groupId>
284+
<artifactId>${project.artifactId}</artifactId>
285+
<version>${project.version}</version>
286+
<packaging>${project.packaging}</packaging>
287+
288+
<name>${project.name}</name>
289+
<description>${project.description}</description>
290+
<url>${project.url}</url>
291+
292+
<licenses>
293+
<license>
294+
<name>MIT License</name>
295+
<url>https://opensource.org/licenses/mit-license.php</url>
296+
</license>
297+
</licenses>
298+
299+
<developers>
300+
<developer>
301+
<name>GroupDocs</name>
302+
<email>support@groupdocs.cloud</email>
303+
<organization>Aspose Pty Ltd</organization>
304+
<organizationUrl>https://www.groupdocs.cloud</organizationUrl>
305+
</developer>
306+
</developers>
307+
308+
<dependencies>
309+
<dependency>
310+
<groupId>io.swagger</groupId>
311+
<artifactId>swagger-annotations</artifactId>
312+
<version>${swagger-core-version}</version>
313+
</dependency>
314+
<dependency>
315+
<groupId>com.squareup.okhttp</groupId>
316+
<artifactId>okhttp</artifactId>
317+
<version>${okhttp-version}</version>
318+
</dependency>
319+
<dependency>
320+
<groupId>com.squareup.okhttp</groupId>
321+
<artifactId>logging-interceptor</artifactId>
322+
<version>${okhttp-version}</version>
323+
</dependency>
324+
<dependency>
325+
<groupId>com.google.code.gson</groupId>
326+
<artifactId>gson</artifactId>
327+
<version>${gson-version}</version>
328+
</dependency>
329+
<dependency>
330+
<groupId>io.gsonfire</groupId>
331+
<artifactId>gson-fire</artifactId>
332+
<version>${gson-fire-version}</version>
333+
</dependency>
334+
<dependency>
335+
<groupId>org.threeten</groupId>
336+
<artifactId>threetenbp</artifactId>
337+
<version>${threetenbp-version}</version>
338+
</dependency>
339+
</dependencies>
340+
</project>
341+
]]></echo>
342+
</target>
225343
</configuration>
226344
<goals>
227345
<goal>run</goal>

simplified-pom.template

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)