Skip to content

Commit

Permalink
optimized ext-tools plugin, disable source-plugin of java
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakang committed Apr 16, 2018
1 parent 8ab73e9 commit 8140bf8
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
import java.io.InputStreamReader;

/**
* Java调用命令行,并获取返回结果
* Created by jiakang on 2018/4/15.
* Java调用命令行,并获取返回结果
* @author jiakang
*/
public class CommandExecutor {

Expand Down
3 changes: 2 additions & 1 deletion common-code/src/main/java/com/david/common/util/Prints.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import org.apache.logging.log4j.message.ParameterizedMessage;

/**
* 打印。用于打印相关的封装
* Created by jiakang on 2017/5/19.
* 打印。用于打印相关的封装
* @author jiakang
*/
public class Prints {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
import com.david.common.util.CommandExecutor;
import org.junit.Test;

/**
* Created by jiakang on 2018/4/16
*
* @author jiakang
*/
public class CommandExecutorTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

/**
* Created by jiakang on 2017/5/19.
*
* @author jiakang
*/
public class PrintsTest {

Expand Down
17 changes: 16 additions & 1 deletion ext-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,20 @@

<artifactId>ext-tools</artifactId>


<build>
<plugins>
<!-- 禁用打源码插件 -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<attach>false</attach>
</configuration>
<executions>
<execution>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

import javax.annotation.Resource;

/**
* Created by jiakang on 2018/4/16
*
* @author jiakang
*/
@Slf4j
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:redis-rate-service-test.xml")
Expand Down

0 comments on commit 8140bf8

Please sign in to comment.