Skip to content

Commit

Permalink
1.add license-maven-plugin
Browse files Browse the repository at this point in the history
2.update license
  • Loading branch information
fartherp committed Jul 12, 2019
1 parent 96b2e6e commit 8da3335
Show file tree
Hide file tree
Showing 29 changed files with 528 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2009-2019 the original author or authors.
# Copyright (c) 2018-2019 CK.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![Build Status](https://travis-ci.org/fartherp/framework-spring-boot.svg?branch=master)](https://travis-ci.org/fartherp/framework-spring-boot)
[![Coverage Status](https://coveralls.io/repos/github/fartherp/framework-spring-boot/badge.svg?branch=master)](https://coveralls.io/github/fartherp/framework-spring-boot?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.fartherp.spring.boot/framework-spring-boot-starter/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.fartherp.spring.boot/framework-spring-boot-starter/)
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/com.github.fartherp.spring.boot/framework-spring-boot-starter.svg)](https://oss.sonatype.org/content/repositories/snapshots/com/github/fartherp/spring/boot/framework-spring-boot-starter)
[![GitHub release](https://img.shields.io/github/release/fartherp/framework-spring-boot.svg)](https://github.com/fartherp/framework-spring-boot/releases)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Project Stats](https://www.openhub.net/p/framework-spring-boot/widgets/project_thin_badge.gif)](https://www.openhub.net/p/framework-spring-boot)
Expand Down
45 changes: 42 additions & 3 deletions framework-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2018. CK. All rights reserved.
-->
Copyright (c) 2018-2019 CK.
Licensed 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>
<artifactId>framework-spring-boot</artifactId>
Expand All @@ -14,6 +27,32 @@
<artifactId>framework-spring-boot-autoconfigure</artifactId>
<name>framework-spring-boot-autoconfigure</name>

<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>${project.basedir}/../license.txt</header>
<failIfMissing>true</failIfMissing>
<mapping>
<java>JAVADOC_STYLE</java>
</mapping>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<!-- Compile dependencies -->
<dependency>
Expand Down Expand Up @@ -53,4 +92,4 @@
</exclusions>
</dependency>
</dependencies>
</project>
</project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.configuration;

import org.springframework.context.annotation.Import;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.configuration;

import com.github.fartherp.framework.core.bean.ServiceLocator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.configuration;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.initializer;

import com.github.fartherp.framework.core.bean.ServiceLocator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

/**
* Created by IntelliJ IDEA.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2019. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.configuration;

import com.github.fartherp.framework.core.bean.ServiceLocator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.initializer;

import com.github.fartherp.framework.core.bean.ServiceLocator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.initializer;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2018. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.initializer;

import org.springframework.stereotype.Service;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2019. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.service;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2019. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.service.impl;

import com.github.fartherp.framework.spring.boot.autoconfigure.service.UserService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
/*
* Copyright (c) 2019. CK. All rights reserved.
/**
* Copyright (c) 2018-2019 CK.
*
* Licensed 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.
*/

package com.github.fartherp.framework.spring.boot.autoconfigure.service.impl;

import com.github.fartherp.framework.spring.boot.autoconfigure.service.UserService;
Expand Down
Loading

0 comments on commit 8da3335

Please sign in to comment.