Skip to content

Commit

Permalink
Dependency Cleanup (#52)
Browse files Browse the repository at this point in the history
* Dependency cleanup

* Fix sourcehawk configuraiton updates in tests
  • Loading branch information
brianwyka authored Mar 1, 2021
1 parent 0f906fa commit 072cb4e
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 47 deletions.
22 changes: 0 additions & 22 deletions attribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -837,28 +837,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


-------------------------------------------------------------------------------------------------------------------------------

Package: org.ow2.asm:asm:5.0.4

License: BSD-3-Clause

Copyrights:


License Text:
Copyright (c) <year> <owner> . All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-------------------------------------------------------------------------------------------------------------------------------

Package: org.opentest4j:opentest4j:1.2.0
Expand Down
1 change: 0 additions & 1 deletion cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:*:*</include>
<include>org.apache.maven:maven-model:*:*:*</include>
<include>org.codehaus.plexus:plexus-utils:*:*:*</include>
<include>org.ow2.asm:asm:*:*:*</include>
<include>org.slf4j:slf4j-api:*:*:*</include>
<include>org.slf4j:slf4j-nop:*:*:*</include>
<include>org.yaml:snakeyaml:*:*:*</include>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class FixCommandSpec extends CliBaseSpecification {
then:
properties.getProperty("config.stopBubbling") == "true"
properties.getProperty("lombok.addLombokGeneratedAnnotation") == "true"
properties.getProperty("lombok.anyConstructor.addConstructorProperties") == "true"
}
def "main: no files updated"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ file-protocols:
property-name: "config.stopBubbling"
expected-property-value: true
- enforcer: ".common.StringPropertyEquals"
property-name: "lombok.anyConstructor.addConstructorProperties"
property-name: "lombok.addLombokGeneratedAnnotation"
expected-property-value: true
- name: "Notice"
description: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ file-protocols:
property-name: "config.stopBubbling"
expected-property-value: false
- enforcer: ".common.StringPropertyEquals"
property-name: "lombok.anyConstructor.addConstructorProperties"
expected-property-value: false
property-name: "lombok.addLombokGeneratedAnnotation"
expected-property-value: true
- name: "Notice"
description: null
repository-path: "NOTICE.txt"
Expand Down
5 changes: 1 addition & 4 deletions cli/src/test/resources/repo-updates/lombok.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
config.stopBubbling = false

# This allows us to notify Jacoco static code analysis to skip scanning generated code
lombok.addLombokGeneratedAnnotation = false

# Constructor properties are useful for deserialization of objects with Jackson
lombok.anyConstructor.addConstructorProperties = false
lombok.addLombokGeneratedAnnotation = false
3 changes: 0 additions & 3 deletions cli/src/test/resources/repo-updates/sourcehawk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ file-protocols:
expected-property-value: true
- enforcer: .common.StringPropertyEquals
property-name: lombok.addLombokGeneratedAnnotation
expected-property-value: true
- enforcer: .common.StringPropertyEquals
property-name: lombok.anyConstructor.addConstructorProperties
expected-property-value: true
5 changes: 1 addition & 4 deletions cli/src/test/resources/repo/lombok.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
config.stopBubbling = true

# This allows us to notify Jacoco static code analysis to skip scanning generated code
lombok.addLombokGeneratedAnnotation = true

# Constructor properties are useful for deserialization of objects with Jackson
lombok.anyConstructor.addConstructorProperties = true
lombok.addLombokGeneratedAnnotation = true
3 changes: 0 additions & 3 deletions cli/src/test/resources/repo/sourcehawk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ file-protocols:
expected-property-value: true
- enforcer: .common.StringPropertyEquals
property-name: lombok.addLombokGeneratedAnnotation
expected-property-value: true
- enforcer: .common.StringPropertyEquals
property-name: lombok.anyConstructor.addConstructorProperties
expected-property-value: true
5 changes: 3 additions & 2 deletions cli/src/test/resources/sourcehawk-override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ file-protocols:
property-name: config.stopBubbling
expected-property-value: false
- enforcer: .common.StringPropertyEquals
property-name: lombok.anyConstructor.addConstructorProperties
expected-property-value: false
property-name: lombok.addLombokGeneratedAnnotation
expected-property-value: true


# Composable recursive source hawk configs (Must be public repo)
config-locations:
Expand Down
1 change: 0 additions & 1 deletion enforcer/file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:*:*:*</include>
<include>org.apache.maven:maven-model:*:*:*</include>
<include>org.codehaus.plexus:plexus-utils:*:*:*</include>
<include>org.ow2.asm:asm:*:*:*</include>
<include>org.slf4j:slf4j-api:*:*:*</include>
<include>org.yaml:snakeyaml:*:*:*</include>
</includes>
Expand Down
1 change: 0 additions & 1 deletion exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:*:*</include>
<include>org.apache.maven:maven-model:*:*:*</include>
<include>org.codehaus.plexus:plexus-utils:*:*:*</include>
<include>org.ow2.asm:asm:*:*:*</include>
<include>org.slf4j:slf4j-api:*:*:*</include>
<include>org.slf4j:slf4j-nop:*:*:*</include>
<include>org.yaml:snakeyaml:*:*:*</include>
Expand Down
2 changes: 1 addition & 1 deletion exec/src/test/resources/sourcehawk-flattened-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ file-protocols:
property-name: "config.stopBubbling"
expected-property-value: true
- enforcer: ".common.StringPropertyEquals"
property-name: "lombok.anyConstructor.addConstructorProperties"
property-name: "lombok.addLombokGeneratedAnnotation"
expected-property-value: true
- name: "Notice"
description: null
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
<includes>
<include>com.fasterxml.jackson.core:*:*:*:*</include>
<include>com.optum.sourcehawk:*:*:*:*</include>
<include>javax.activation:activation</include>
<include>*:*:*:*:provided</include>
<include>*:*:*:*:test</include>
</includes>
Expand Down

0 comments on commit 072cb4e

Please sign in to comment.