Skip to content

Commit

Permalink
Update management (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongZhang authored Aug 14, 2018
1 parent 818f0cd commit 39fa083
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 59 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<module>runtime-sofa-boot-starter</module>
<module>test-sofa-boot-starter</module>
<module>isle-sofa-boot-starter</module>
<module>runtime-sofa-boot-plugin</module>
</modules>

<properties>
Expand Down
99 changes: 99 additions & 0 deletions runtime-sofa-boot-plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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">
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-boot-runtime</artifactId>
<version>2.4.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>runtime-sofa-boot-plugin</artifactId>
<properties>
<ark.plugin.name>runtime-sofa-boot-plugin</ark.plugin.name>
<main.user.dir>../</main.user.dir>
</properties>

<dependencies>
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>runtime-sofa-boot-starter</artifactId>
<version>2.4.5-SNAPSHOT</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-plugin-maven-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>ark-plugin</goal>
</goals>

<configuration>
<priority>1500</priority>
<pluginName>${ark.plugin.name}</pluginName>
<imported>
</imported>
<exported>
<packages>
<package>com.alipay.sofa.runtime.api.*</package>
<package>com.alipay.sofa.runtime.model</package>
<package>com.alipay.sofa.runtime.spi.client</package>
<package>com.alipay.sofa.runtime.spi.component</package>
<package>com.alipay.sofa.runtime.spi.health</package>
<package>com.alipay.sofa.runtime.spi.log</package>
<package>com.alipay.sofa.runtime.spi.util</package>
<package>com.alipay.sofa.runtime.client.impl</package>
<package>com.alipay.sofa.runtime.component.impl</package>
</packages>

<classes>
<class>com.alipay.sofa.runtime.service.component.AbstractContract</class>
<class>com.alipay.sofa.runtime.service.component.Reference</class>
<class>com.alipay.sofa.runtime.service.component.Service</class>
<class>com.alipay.sofa.runtime.spi.binding.AbstractBinding</class>
<class>com.alipay.sofa.runtime.spi.binding.Binding</class>
<class>com.alipay.sofa.runtime.spi.binding.Contract</class>
</classes>
</exported>

<excludeGroupIds>
<excludeGroupId>org.springframework</excludeGroupId>
<excludeGroupId>org.springframework.boot</excludeGroupId>
<excludeGroupId>org.apache.tomcat.embed</excludeGroupId>
</excludeGroupIds>

<excludes>
<exclude>com.alipay.sofa:infra-sofa-boot-starter</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
53 changes: 0 additions & 53 deletions runtime-sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,57 +91,4 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-plugin-maven-plugin</artifactId>
<version>0.3.0</version>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>ark-plugin</goal>
</goals>

<configuration>
<priority>1500</priority>
<pluginName>${ark.plugin.name}</pluginName>
<imported>
</imported>
<exported>
<packages>
<package>com.alipay.sofa.runtime.api.*</package>
<package>com.alipay.sofa.runtime.model</package>
<package>com.alipay.sofa.runtime.spi.client</package>
<package>com.alipay.sofa.runtime.spi.component</package>
<package>com.alipay.sofa.runtime.spi.health</package>
<package>com.alipay.sofa.runtime.spi.log</package>
<package>com.alipay.sofa.runtime.spi.util</package>
<package>com.alipay.sofa.runtime.client.impl</package>
<package>com.alipay.sofa.runtime.component.impl</package>
</packages>

<classes>
<class>com.alipay.sofa.runtime.service.component.AbstractContract</class>
<class>com.alipay.sofa.runtime.service.component.Reference</class>
<class>com.alipay.sofa.runtime.service.component.Service</class>
<class>com.alipay.sofa.runtime.spi.binding.AbstractBinding</class>
<class>com.alipay.sofa.runtime.spi.binding.Binding</class>
<class>com.alipay.sofa.runtime.spi.binding.Contract</class>
</classes>
</exported>

<excludeGroupIds>
<excludeGroupId>org.springframework</excludeGroupId>
<excludeGroupId>org.springframework.boot</excludeGroupId>
<excludeGroupId>org.apache.tomcat.embed</excludeGroupId>
</excludeGroupIds>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
40 changes: 34 additions & 6 deletions sofaboot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

<spring.boot.version>1.4.2.RELEASE</spring.boot.version>
<sofa.boot.version>2.4.5-SNAPSHOT</sofa.boot.version>
<sofa.ark.version>0.3.0</sofa.ark.version>
<rpc.starter.version>5.4.3</rpc.starter.version>
<sofa.ark.version>0.4.1-SNAPSHOT</sofa.ark.version>
<rpc.starter.version>5.4.4-SNAPSHOT</rpc.starter.version>
<sofa.tracer.version>2.1.1</sofa.tracer.version>
<sofa.lookout.version>1.4.0</sofa.lookout.version>
<!-- sofa-common-tools for log -->
Expand Down Expand Up @@ -136,15 +136,13 @@
<!-- Ark Plugin Management begin -->
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>runtime-sofa-boot-starter</artifactId>
<classifier>ark-plugin</classifier>
<artifactId>runtime-sofa-boot-plugin</artifactId>
<version>${sofa.boot.version}</version>
</dependency>

<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>rpc-sofa-boot-starter</artifactId>
<classifier>ark-plugin</classifier>
<artifactId>rpc-sofa-boot-plugin</artifactId>
<version>${rpc.starter.version}</version>
</dependency>
<!-- Ark Plugin Management end -->
Expand Down Expand Up @@ -199,6 +197,11 @@
<artifactId>sofa-ark-maven-plugin</artifactId>
<version>${sofa.ark.version}</version>
</plugin>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-plugin-maven-plugin</artifactId>
<version>${sofa.ark.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -281,6 +284,31 @@
</snapshotRepository>
</distributionManagement>
</profile>

<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>maven-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>maven-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>

</project>

0 comments on commit 39fa083

Please sign in to comment.