-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR for openapi-generator-maven-plugin inputSpec -- Allow jar: URLs (#…
…18576) * Added support for <inputSpec/> arguments of JAR URLs. E.g., jar:jar-specific-uri!/spec.yml. * Resolve and search COMPILE dependencies for inputSpec resource. * Added test cases for openapi-generator-maven-plugin:generate input specifications: * URLs of the form jar:jar-specific-uri!/spec.yaml * Resources on the compilation classpath in addition to the existing FILE test case. * Check for inputSpecFile existence else it is a remote URL && url is not empty * replaced deprecated usage * use Unix separators when on win-os * example with jar inputSpec * Comment not required anymore Was introduced with #7587 could be removed with #10544 * referenced same maven version these artifacts are referenced by same ${project.version} in https://github.com/apache/maven/blob/master/pom.xml * updating maven dependencies to 3.9.6 --------- Co-authored-by: Allen D. Ball <ball@hcf.dev>
- Loading branch information
1 parent
9222231
commit 9a35914
Showing
15 changed files
with
178 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+3.42 KB
...nerator-maven-plugin/src/test/resources/default/local-repo/petstore/schema/1/schema-1.jar
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
...nerator-maven-plugin/src/test/resources/default/local-repo/petstore/schema/1/schema-1.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>petstore</groupId> | ||
<artifactId>schema</artifactId> | ||
<version>1</version> | ||
<description>POM was created from install:install-file</description> | ||
</project> |
12 changes: 12 additions & 0 deletions
12
...ven-plugin/src/test/resources/default/local-repo/petstore/schema/maven-metadata-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<groupId>petstore</groupId> | ||
<artifactId>schema</artifactId> | ||
<versioning> | ||
<release>1</release> | ||
<versions> | ||
<version>1</version> | ||
</versions> | ||
<lastUpdated>20210724220722</lastUpdated> | ||
</versioning> | ||
</metadata> |
Oops, something went wrong.