Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #24: Minor issues and warnings #25

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<properties>
<!-- Java 11 -->
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- Reproducible Build -->
<!-- See https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
Expand Down
13 changes: 11 additions & 2 deletions src/main/java/org/sentrysoftware/example/Example.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,21 @@
/**
* An Example class
*/
public class Example {
public final class Example {

/**
* The main function
*
* @param args Arguments passed to main
*/
public static void main() {
public static void main(final String[] args) {
System.out.println("Hello Open-source World!");
}

/**
* Private constructor to prevent instantiation
*/
private Example() {
throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
Binary file added src/site/resources/favicon.ico
Binary file not shown.
53 changes: 51 additions & 2 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,71 @@
<skin>
<groupId>org.sentrysoftware.maven</groupId>
<artifactId>sentry-maven-skin</artifactId>
<version>6.2.00</version>
<version>6.4.01</version>
</skin>

<bannerLeft>
<src>images/sentry-logo-114x40-white.png</src>
<href>https://sentrysoftware.org</href>
</bannerLeft>

<bannerRight>
<href>${project.scm.url}</href>
<name><![CDATA[<i class="fa-brands fa-github"></i> Edit on GitHub]]></name>
</bannerRight>

<custom>
<keywords>open source,oss</keywords>

<social>
<twitter>sentrysoftware</twitter>
<linkedin>sentry-software</linkedin>
<custom>
<title>Learn about our solutions on YouTube</title>
<href>https://www.youtube.com/SentrySoftware</href>
<icon>fa-brands fa-youtube</icon>
</custom>
<custom>
<title>Join us on Slack!</title>
<href>https://sentrysoftware.com/about/join-slack-community.html</href>
<icon>fa-brands fa-slack</icon>
</custom>
</social>

<additionalLinks>
<link>
<name>Terms of Service</name>
<href>https://sentrysoftware.com/legal/general.html</href>
</link>
<link>
<name>Privacy Policy</name>
<href>https://sentrysoftware.com/legal/privacy.html</href>
</link>
<link>
<name>Cookie Policy</name>
<href>https://sentrysoftware.com/legal/cookies.html</href>
</link>
<link>
<name>Disclaimer</name>
<href>https://sentrysoftware.com/legal/disclaimer.html</href>
</link>
<link>
<name>Trademarks</name>
<href>https://sentrysoftware.com/legal/trademarks.html</href>
</link>
<link>
<name>Code of Ethics</name>
<href>https://sentrysoftware.com/legal/ethics.html</href>
</link>
</additionalLinks>

</custom>

<body>

<links>
<item name="Fork on GitHub" href="${project.scm.url}" />
<item name="Other Repositories" href="https://sentrysoftware.org/repos.html" />
<item name="How to Contribute" href="https://sentrysoftware.org/contributing.html" />
</links>

<menu name="User Documentation">
Expand Down
Loading