Skip to content

Commit

Permalink
Merge pull request #2191 from hazendaz/master
Browse files Browse the repository at this point in the history
Add more plugins for controlling formatting and move sortpom into normal formatting profile
  • Loading branch information
hazendaz authored Jan 20, 2024
2 parents e182a83 + 404ac24 commit f4e332c
Show file tree
Hide file tree
Showing 40 changed files with 231 additions and 128 deletions.
224 changes: 163 additions & 61 deletions Source/JNA/pom.xml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Source/JNA/src/site/markdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ WAFFLE - Windows Authentication Framework
[![Java CI](https://github.com/Waffle/waffle/workflows/Java%20CI/badge.svg)](https://github.com/Waffle/waffle/actions?query=workflow%3A%22Java+CI%22)
[![DotNET CI](https://github.com/Waffle/waffle/workflows/DotNET/badge.svg)](https://github.com/Waffle/waffle/workflows/DotNET)
[![Coverity Scan Status](https://scan.coverity.com/projects/22153/badge.svg)](https://scan.coverity.com/projects/22153)
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=Waffle_waffle&metric=coverage)](https://sonarcloud.io/dashboard?id=Waffle_waffle)
[![Coverage Status Sonar](https://sonarcloud.io/api/project_badges/measure?project=Waffle_waffle&metric=coverage)](https://sonarcloud.io/component_measures?id=Waffle_waffle&metric=coverage)
[![Coverage Status Coveralls](https://coveralls.io/repos/Waffle/waffle/badge.svg?branch=master&service=github)](https://coveralls.io/github/Waffle/waffle?branch=master)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.github.waffle/waffle-jna/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.waffle/waffle-jna)
[![releases](https://img.shields.io/github/v/release/Waffle/waffle)](https://github.com/Waffle/waffle/releases/tag/waffle-parent-2.3.0)
[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-filter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -79,7 +79,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-form/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions Source/JNA/waffle-demo/waffle-form/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -77,7 +77,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-jaas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions Source/JNA/waffle-demo/waffle-jaas/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -77,7 +77,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-mixed-post/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -73,7 +73,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-mixed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions Source/JNA/waffle-demo/waffle-mixed/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -73,7 +73,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-negotiate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -73,7 +73,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-spring-boot-filter2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-spring-boot-filter3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-spring-filter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -27,7 +27,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sec="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd">
http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd">

<!-- windows authentication provider -->
<bean id="waffleWindowsAuthProvider" class="waffle.windows.auth.impl.WindowsAuthProviderImpl" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -73,7 +73,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-demo/waffle-spring-form/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MIT License
Copyright (c) 2010-2022 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -73,7 +73,7 @@
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= role %>">
</form>
<br><br>
<br><br>
You can logoff by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
This should cause automatic re-logon with Waffle and a new session ID.
Expand Down
14 changes: 7 additions & 7 deletions Source/JNA/waffle-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down Expand Up @@ -113,8 +113,8 @@
<artifactId>apache-el</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down Expand Up @@ -154,10 +154,10 @@
<version>${jsp.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions Source/JNA/waffle-jna-jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MIT License
Copyright (c) 2010-2023 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Copyright (c) 2010-2024 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-jna/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion Source/JNA/waffle-shiro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
12 changes: 6 additions & 6 deletions Source/JNA/waffle-spring-boot2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@
<description>Sping Boot integration for WAFFLE</description>
<url>https://waffle.github.io/waffle/</url>

<modules>
<module>waffle-spring-boot-autoconfigure2</module>
<module>waffle-spring-boot-starter2</module>
</modules>

<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand All @@ -60,11 +65,6 @@
<module.name>waffle.spring.boot2</module.name>
</properties>

<modules>
<module>waffle-spring-boot-autoconfigure2</module>
<module>waffle-spring-boot-starter2</module>
</modules>

<dependencyManagement>
<dependencies>
<!-- Internal Dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<scm>
<connection>scm:git:ssh://[email protected]/waffle/waffle.git</connection>
<developerConnection>scm:git:ssh://[email protected]/waffle/waffle.git</developerConnection>
<url>https://github.com/Waffle/waffle</url>
<tag>HEAD</tag>
<url>https://github.com/Waffle/waffle</url>
</scm>

<properties>
Expand Down
Loading

0 comments on commit f4e332c

Please sign in to comment.