Skip to content

Commit fdce05f

Browse files
committed
add profile docs-and-source
1 parent b58be9a commit fdce05f

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#添加
22

3-
mvn clean deploy -Dmaven.test.skip=true -Ptis -Dfast \
3+
mvn clean deploy -Dmaven.test.skip=true -Ptis,docs-and-source -Dfast \
44
-pl flink-cdc-connect/flink-cdc-source-connectors/flink-connector-kingbase-cdc\
55
,flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-paimon\
66
,flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc\

pom.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,5 +805,47 @@ limitations under the License.
805805
<maven.compiler.target>${java.version}</maven.compiler.target>
806806
</properties>
807807
</profile>
808+
809+
<profile>
810+
<!-- used for SNAPSHOT and regular releases -->
811+
<id>docs-and-source</id>
812+
<activation>
813+
<property>
814+
<name>docs-and-source</name>
815+
</property>
816+
</activation>
817+
<build>
818+
<plugins>
819+
<plugin>
820+
<groupId>org.apache.maven.plugins</groupId>
821+
<artifactId>maven-source-plugin</artifactId>
822+
<version>3.2.1</version>
823+
<executions>
824+
<execution>
825+
<id>attach-sources</id>
826+
<goals>
827+
<goal>jar-no-fork</goal>
828+
</goals>
829+
</execution>
830+
</executions>
831+
</plugin>
832+
<!-- <plugin>-->
833+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
834+
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
835+
<!-- <configuration>-->
836+
<!-- <quiet>true</quiet>-->
837+
<!-- </configuration>-->
838+
<!-- <executions>-->
839+
<!-- <execution>-->
840+
<!-- <id>attach-javadocs</id>-->
841+
<!-- <goals>-->
842+
<!-- <goal>jar</goal>-->
843+
<!-- </goals>-->
844+
<!-- </execution>-->
845+
<!-- </executions>-->
846+
<!-- </plugin>-->
847+
</plugins>
848+
</build>
849+
</profile>
808850
</profiles>
809851
</project>

0 commit comments

Comments
 (0)