-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): offline jsweet maven repo (#826)
* fix(jsweet): use project local repo to get jsweet artefacts hosted on disconnected maven repo cincheo/jsweet#780 * fix: upgrade jsweet maven plugin to 2.3.7 cause 2.3.5 is no more hosted on maven central * fix: add jsweet-maven-plugin 2.3.5 and its dependency jsweet-transpiler-2.3.5 to local maven repo to avoid transpilation issue using jsweet-maven-plugin 2.3.7 causes runtime crash in apicurio studio with error: Uncaught TypeError: Class extends value undefined is not a constructor or null MC Oas30Responses.ts:29 RC Oas30CallbackPathItem.ts:13 --------- Co-authored-by: Benjamin Ledentec <benjamin.ledentec@partnre.com>
- Loading branch information
Showing
9 changed files
with
841 additions
and
17 deletions.
There are no files selected for viewing
Binary file added
BIN
+46.2 KB
dependencies/org/jsweet/ext/sourcemap-builder/1.0.0/sourcemap-builder-1.0.0.jar
Binary file not shown.
130 changes: 130 additions & 0 deletions
130
dependencies/org/jsweet/ext/sourcemap-builder/1.0.0/sourcemap-builder-1.0.0.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,130 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.jsweet.ext</groupId> | ||
<artifactId>sourcemap-builder</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>jar</packaging> | ||
|
||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<properties> | ||
<timestamp>${maven.build.timestamp}</timestamp> | ||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<java.version.release>11</java.version.release> | ||
<java.version>1.${java.version.release}</java.version> | ||
</properties> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<release>${java.version.release}</release> | ||
<compilerVersion>${java.version}</compilerVersion> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<compilerArgs> | ||
</compilerArgs> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.1.1</version> | ||
<configuration> | ||
<sourcepath>src/main/java</sourcepath> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<skip>${skipJavadoc}</skip> | ||
<fixTags>all</fixTags> | ||
<failOnError>false</failOnError> | ||
<destDir>sourcemap-${project.version}</destDir> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.8.6</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.11</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<distributionManagement> | ||
<repository> | ||
<id>jsweet-release</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-release-local</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>jsweet-snapshots</id> | ||
<name>libs-snapshot</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<repositories> | ||
<repository> | ||
<id>jsweet-central</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-release-local</url> | ||
</repository> | ||
<repository> | ||
<snapshots /> | ||
<id>jsweet-snapshots</id> | ||
<name>libs-snapshot</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url> | ||
</repository> | ||
<repository> | ||
<id>jsweet-external</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/ext-release-local</url> | ||
</repository> | ||
</repositories> | ||
</project> |
Binary file added
BIN
+247 KB
...encies/org/jsweet/ext/typescript.java-ts.core/1.4.0.1/typescript.java-ts.core-1.4.0.1.jar
Binary file not shown.
134 changes: 134 additions & 0 deletions
134
...encies/org/jsweet/ext/typescript.java-ts.core/1.4.0.1/typescript.java-ts.core-1.4.0.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,134 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.jsweet.ext</groupId> | ||
<artifactId>typescript.java-ts.core</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.4.0.1</version> | ||
<properties> | ||
<timestamp>${maven.build.timestamp}</timestamp> | ||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.18.1</version> | ||
<configuration> | ||
<includes> | ||
<include>**/*.java</include> | ||
</includes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.0.0</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.10.3</version> | ||
<configuration> | ||
<javadocVersion>1.8</javadocVersion> | ||
<sourcepath>src</sourcepath> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<skip>${skipJavadoc}</skip> | ||
<fixTags>all</fixTags> | ||
<failOnError>false</failOnError> | ||
<reportOutputDirectory>javadoc-out</reportOutputDirectory> | ||
<destDir>javadoc-out/ts.core-${project.version}</destDir> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.eclipsesource.minimal-json</groupId> | ||
<artifactId>minimal-json</artifactId> | ||
<version>0.9.4</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.8.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.tukaani</groupId> | ||
<artifactId>xz</artifactId> | ||
<version>1.8</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.osgi</groupId> | ||
<artifactId>org.osgi.core</artifactId> | ||
<version>4.3.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
|
||
<repositories> | ||
<repository> | ||
<id>jsweet-central</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-release-local</url> | ||
</repository> | ||
<repository> | ||
<snapshots /> | ||
<id>jsweet-snapshots</id> | ||
<name>libs-snapshot</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url> | ||
</repository> | ||
<repository> | ||
<id>jsweet-external</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/ext-release-local</url> | ||
</repository> | ||
</repositories> | ||
<distributionManagement> | ||
<repository> | ||
<id>jsweet-release</id> | ||
<name>libs-release</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-release-local</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>jsweet-snapshots</id> | ||
<name>libs-snapshot</name> | ||
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
</project> |
Binary file added
BIN
+25.4 KB
dependencies/org/jsweet/jsweet-maven-plugin/2.3.5/jsweet-maven-plugin-2.3.5.jar
Binary file not shown.
Oops, something went wrong.