mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 02:33:54 +00:00 
			
		
		
		
	[build] create jar without version in openapi-generator-online (#876)
Simplify other scripts needing this jar Consistent with openapi-generator-cli
This commit is contained in:
		
							parent
							
								
									f802f8b7d7
								
							
						
					
					
						commit
						010b469914
					
				@ -26,7 +26,7 @@ RUN mkdir -p ${TARGET_DIR}
 | 
			
		||||
 | 
			
		||||
WORKDIR ${TARGET_DIR}
 | 
			
		||||
 | 
			
		||||
COPY --from=builder ${GEN_DIR}/modules/openapi-generator-online/target/openapi-generator-*.jar ${TARGET_DIR}/openapi-generator-online.jar
 | 
			
		||||
COPY --from=builder ${GEN_DIR}/modules/openapi-generator-online/target/openapi-generator.jar ${TARGET_DIR}/openapi-generator-online.jar
 | 
			
		||||
 | 
			
		||||
ENV GENERATOR_HOST=http://localhost
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,6 @@ declare -a files=("CI/pom.xml.bash"
 | 
			
		||||
                  "modules/openapi-generator-maven-plugin/pom.xml"
 | 
			
		||||
                  "modules/openapi-generator-online/pom.xml"
 | 
			
		||||
                  "modules/openapi-generator/pom.xml"
 | 
			
		||||
                  "modules/openapi-generator-online/Dockerfile"
 | 
			
		||||
                  "pom.xml")
 | 
			
		||||
 | 
			
		||||
for filename in "${files[@]}"; do
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,7 @@ FROM openjdk:8-jre-alpine
 | 
			
		||||
 | 
			
		||||
WORKDIR /generator
 | 
			
		||||
 | 
			
		||||
COPY target/openapi-generator-online-3.2.3-SNAPSHOT.jar /generator/openapi-generator-online.jar
 | 
			
		||||
COPY target/openapi-generator-online.jar /generator/openapi-generator-online.jar
 | 
			
		||||
 | 
			
		||||
ENV GENERATOR_HOST=http://localhost
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -27,6 +27,7 @@
 | 
			
		||||
        </dependencies>
 | 
			
		||||
    </dependencyManagement>
 | 
			
		||||
    <build>
 | 
			
		||||
        <finalName>openapi-generator-online</finalName>
 | 
			
		||||
        <sourceDirectory>src/main/java</sourceDirectory>
 | 
			
		||||
        <plugins>
 | 
			
		||||
            <plugin>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user