提交 682d7938 编写于 作者: wu-sheng's avatar wu-sheng

add plugins to release sources

上级 e0905177
...@@ -80,17 +80,22 @@ ...@@ -80,17 +80,22 @@
<skipDocker>true</skipDocker> <skipDocker>true</skipDocker>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<!-- 源码插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- 发布时自动将源码同时发布的配置 -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<version>2.4</version>
</plugin>
</plugins> </plugins>
</build> </build>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>DataCarrier</id>
<name>bintray</name>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
</project> </project>
...@@ -20,6 +20,27 @@ ...@@ -20,6 +20,27 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<!-- 源码插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- 发布时自动将源码同时发布的配置 -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<version>2.4</version>
</plugin>
</plugins>
</build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>bintray-wu-sheng-sky-walking-repository</id> <id>bintray-wu-sheng-sky-walking-repository</id>
......
...@@ -20,6 +20,27 @@ ...@@ -20,6 +20,27 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<!-- 源码插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- 发布时自动将源码同时发布的配置 -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<version>2.4</version>
</plugin>
</plugins>
</build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>bintray-wu-sheng-sky-walking-repository</id> <id>bintray-wu-sheng-sky-walking-repository</id>
......
...@@ -20,6 +20,27 @@ ...@@ -20,6 +20,27 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<!-- 源码插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- 发布时自动将源码同时发布的配置 -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<version>2.4</version>
</plugin>
</plugins>
</build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>bintray-wu-sheng-sky-walking-repository</id> <id>bintray-wu-sheng-sky-walking-repository</id>
......
...@@ -13,6 +13,26 @@ ...@@ -13,6 +13,26 @@
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<!-- 源码插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<!-- 发布时自动将源码同时发布的配置 -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<version>2.4</version>
</plugin>
</plugins>
</build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>bintray-wu-sheng-sky-walking-repository</id> <id>bintray-wu-sheng-sky-walking-repository</id>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<parent> <parent>
<artifactId>skywalking-sniffer</artifactId> <artifactId>skywalking-sniffer</artifactId>
<groupId>com.a.eye</groupId> <groupId>com.a.eye</groupId>
<version>2.1-2017</version> <version>2.0-2016</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>skywalking-agent</artifactId> <artifactId>skywalking-agent</artifactId>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册