Skip to content

Commit

Permalink
Use mycila license-maven-plugin to apply license headers
Browse files Browse the repository at this point in the history
Use mycila license-maven-plugin to apply license headers
  • Loading branch information
tylercamp committed Jan 10, 2023
2 parents 3790d32 + 7d70417 commit 76edccb
Show file tree
Hide file tree
Showing 43 changed files with 82 additions and 168 deletions.
40 changes: 40 additions & 0 deletions pom.xml
Expand Up @@ -30,6 +30,46 @@
</compilerArgs>
</configuration>
</plugin>
<plugin>
<!-- update header files with the command: mvn license:format -->
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.1</version>
<configuration>
<licenseSets>
<licenseSet>
<inlineHeader>
© 2023 Synopsys, Inc. All rights reserved worldwide.

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
</inlineHeader>
<keywords>
<keyword>©</keyword>
</keywords>
<excludes>
<exclude>pom.xml</exclude>
<exclude>*.md</exclude>

<exclude>Jenkinsfile</exclude>
<exclude>Jenkinsfile.Internal</exclude>
<exclude>src/spotbugs/**</exclude>

<exclude>src/main/resources/**</exclude>
<exclude>src/main/webapp/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/AnalysisRun.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import java.util.Date;
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/CodeDxClient.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import com.google.gson.Gson;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import org.apache.http.client.methods.HttpRequestBase;
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/CountGroup.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import java.util.List;
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/CountRequest.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/Filter.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import com.google.gson.annotations.SerializedName;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

import java.util.List;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/Job.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/Project.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;


Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

/**
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/com/secdec/codedx/api/client/TriageStatus.java
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.api.client;

public class TriageStatus {
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.security;

/**
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.security;

import java.security.cert.CertificateException;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.security;

import java.io.IOException;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.security;

import com.secdec.codedx.util.HashUtil;
Expand Down
@@ -1,6 +1,5 @@
/*
*
* © 2022 Synopsys, Inc. All rights reserved worldwide.
* © 2023 Synopsys, Inc. All rights reserved worldwide.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -12,9 +11,7 @@
* 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.secdec.codedx.security;

import java.security.cert.Certificate;
Expand Down

0 comments on commit 76edccb

Please sign in to comment.