修改为interfaces
This commit is contained in:
@@ -242,11 +242,6 @@
|
||||
<artifactId>transmittable-thread-local</artifactId>
|
||||
<version>2.12.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-client</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
{{- if and (eq .microserviceFrameworkType "DUBBO") .microserviceFrameworkVersion }}
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
@@ -287,6 +282,31 @@
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>1.7.3</version>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>flatten</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>flatten</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>flatten.clean</id>
|
||||
<phase>clean</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
|
||||
18
template/public_api/dist/pom.xml
vendored
18
template/public_api/dist/pom.xml
vendored
@@ -8,12 +8,12 @@
|
||||
<version>${revision}</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>{{ .artifactId }}-public-api-dist</artifactId>
|
||||
<artifactId>{{ .artifactId }}-api</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-public-api-api</artifactId>
|
||||
<artifactId>{{ .artifactId }}-public-interfaces</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -26,13 +26,6 @@
|
||||
<build>
|
||||
<finalName>{{ .artifactId }}-api</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
@@ -62,13 +55,12 @@
|
||||
</includes>
|
||||
</filter>
|
||||
</filters>
|
||||
|
||||
<outputFile>${project.build.directory}/${project.build.finalName}.jar</outputFile>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||||
<createDependencyReducedPom>true</createDependencyReducedPom>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
</project>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<version>${revision}</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>{{ .artifactId }}-public-api-api</artifactId>
|
||||
<artifactId>{{ .artifactId }}-public-api-interfaces</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<modules>
|
||||
<module>types</module>
|
||||
<module>api</module>
|
||||
<module>interfaces</module>
|
||||
<module>dist</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user