updated POM incl version
This commit is contained in:
parent
1aa4c4943f
commit
812ef57bd6
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,4 +11,5 @@ target
|
||||
.factorypath
|
||||
|
||||
# Swagger Codegen
|
||||
.swagger-Codegen
|
||||
.swagger-codegen
|
||||
.swagger-codegen-ignore
|
||||
|
37
pom.xml
37
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>acs-public-rest-api</artifactId>
|
||||
<version>1.0-SNAPSHOT-v2</version>
|
||||
<version>1.0-SNAPSHOT-v1-acs6</version>
|
||||
<name>Alfresco Content Services ReST API Client for Java</name>
|
||||
|
||||
<properties>
|
||||
@ -14,13 +14,15 @@
|
||||
|
||||
<!-- If you want to build for your specific version, point to your own
|
||||
installation -->
|
||||
<acs.baseUrl>https://api-explorer.alfresco.com/api-explorer</acs.baseUrl>
|
||||
<acs.baseUrl>http://localhost:8080/api-explorer</acs.baseUrl>
|
||||
<swagger.basePackage>com.inteligr8.alfresco.acs</swagger.basePackage>
|
||||
|
||||
<junit.version>5.7.2</junit.version>
|
||||
<spring.version>5.2.14.RELEASE</spring.version>
|
||||
<jersey.version>2.34</jersey.version>
|
||||
<cxf.version>3.3.2</cxf.version>
|
||||
|
||||
<api.model.disabled>true</api.model.disabled>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@ -242,7 +244,7 @@
|
||||
<plugin>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-codegen-maven-plugin</artifactId>
|
||||
<version>2.4.20</version>
|
||||
<version>2.4.21</version>
|
||||
<configuration>
|
||||
<language>jaxrs-cxf-client</language>
|
||||
<output>${basedir}</output>
|
||||
@ -302,6 +304,7 @@
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<skip>${api.model.disabled}</skip>
|
||||
<inputSpec>${project.build.directory}/downloads/alfresco-model.yaml</inputSpec>
|
||||
</configuration>
|
||||
</execution>
|
||||
@ -354,6 +357,28 @@
|
||||
</regexes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>add-ignoreUnknown</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>replace-file</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<filesets>
|
||||
<fileset>
|
||||
<directory>${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model</directory>
|
||||
<outputDirectory>${basedir}/src/gen/java/com/inteligr8/alfresco/acs/model</outputDirectory>
|
||||
</fileset>
|
||||
</filesets>
|
||||
<allowMultiLineMatch>true</allowMultiLineMatch>
|
||||
<regexes>
|
||||
<regex>
|
||||
<pattern>(\npublic class [A-Za-z][A-Za-z0-9]* \{)</pattern>
|
||||
<replacement>@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)$1</replacement>
|
||||
</regex>
|
||||
</regexes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
@ -385,7 +410,7 @@
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
@ -396,7 +421,7 @@
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>inteligr8-releases</id>
|
||||
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</project>
|
||||
</project>
|
||||
|
Loading…
x
Reference in New Issue
Block a user