Skip to content

Commit

Permalink
added license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlau committed Jul 15, 2013
1 parent 04535d9 commit b3260ce
Show file tree
Hide file tree
Showing 105 changed files with 1,781 additions and 119 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->

fixture
=======

Expand Down
51 changes: 47 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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">
Expand Down Expand Up @@ -440,6 +455,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>check-file-header</id>
<goals>
<goal>check-file-header</goal>
</goals>
<phase>verify</phase>
<configuration>
<canUpdateLicense>false</canUpdateLicense>
<extraExtensions>
<kt>java</kt>
</extraExtensions>
<failOnMissingHeader>true</failOnMissingHeader>
<inceptionYear>2013</inceptionYear>
<licenseName>apache_v2</licenseName>
<organizationName>Martin Lau</organizationName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
Expand Down Expand Up @@ -501,18 +540,22 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
16 changes: 16 additions & 0 deletions src/main/annotation/org/springframework/core/io/annotations.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name='org.springframework.core.io.Resource org.springframework.core.io.Resource createRelative(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name="org.springframework.core.io.support.ResourcePatternResolver org.springframework.core.io.Resource[] getResources(java.lang.String)">
<annotation name="jet.runtime.typeinfo.KotlinSignature">
<val name="value" val="&quot;fun getResources(locationPattern: String): Array&lt;Resource&gt;&quot;" />
</annotation>
</item>
<item name="org.springframework.core.io.support.ResourcePatternUtils org.springframework.core.io.support.ResourcePatternResolver getResourcePatternResolver(org.springframework.core.io.ResourceLoader)">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="org.springframework.core.io.support.ResourcePatternResolver org.springframework.core.io.Resource[] getResources(java.lang.String)">
<annotation name="jet.runtime.typeinfo.KotlinSignature">
<val name="value" val="&quot;fun getResources(locationPattern: String): Array&lt;Resource&gt;&quot;"/>
</annotation>
</item>
<item name="org.springframework.core.io.support.ResourcePatternUtils org.springframework.core.io.support.ResourcePatternResolver getResourcePatternResolver(org.springframework.core.io.ResourceLoader)">
<annotation name="org.jetbrains.annotations.NotNull"/>
</item>
</root>

Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name="org.springframework.security.authentication.AuthenticationManager org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication)">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="org.springframework.security.authentication.AuthenticationManager org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication) 0">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="org.springframework.security.authentication.AuthenticationManager org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication)">
<annotation name="org.jetbrains.annotations.NotNull"/>
</item>
<item name="org.springframework.security.authentication.AuthenticationManager org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication) 0">
<annotation name="org.jetbrains.annotations.NotNull"/>
</item>
</root>

Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name='org.springframework.security.core.GrantedAuthority java.lang.String getAuthority()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name='org.springframework.security.core.context.SecurityContextHolder org.springframework.security.core.context.SecurityContext getContext()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Martin Lau
-
- 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.
-->
<root>
<item name="org.springframework.security.core.userdetails.UserDetails java.lang.String getPassword()">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="org.springframework.security.core.userdetails.UserDetails java.lang.String getUsername()">
<annotation name="org.jetbrains.annotations.NotNull" />
</item>
<item name="org.springframework.security.core.userdetails.UserDetails java.util.Collection&lt;? extends org.springframework.security.core.GrantedAuthority&gt; getAuthorities()">
<annotation name="jet.runtime.typeinfo.KotlinSignature">
<val name="value" val="&quot;fun getAuthorities(): Collection&lt;out GrantedAuthority&gt;&quot;" />
</annotation>
</item>
<item name="org.springframework.security.core.userdetails.UserDetails java.lang.String getPassword()">
<annotation name="org.jetbrains.annotations.NotNull"/>
</item>
<item name="org.springframework.security.core.userdetails.UserDetails java.lang.String getUsername()">
<annotation name="org.jetbrains.annotations.NotNull"/>
</item>
<item name="org.springframework.security.core.userdetails.UserDetails java.util.Collection&lt;? extends org.springframework.security.core.GrantedAuthority&gt; getAuthorities()">
<annotation name="jet.runtime.typeinfo.KotlinSignature">
<val name="value" val="&quot;fun getAuthorities(): Collection&lt;out GrantedAuthority&gt;&quot;"/>
</annotation>
</item>
<item name='org.springframework.security.core.userdetails.UserDetailsService org.springframework.security.core.userdetails.UserDetails loadUserByUsername(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
Expand Down
Loading

0 comments on commit b3260ce

Please sign in to comment.