Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 2a751ec

Browse files
committedSep 9, 2021
Make the project executable and leverage maven
Because of maven, we can use the default packages to package the whole application as a standard jar. Signed-off-by: MaSven <dev@mail.smarquardt.space>
1 parent 280a8af commit 2a751ec

20 files changed

+234
-0
lines changed
 

‎.gitignore

+118
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/target/
2+
3+
4+
# Created by https://www.toptal.com/developers/gitignore/api/eclipse,java,maven
5+
# Edit at https://www.toptal.com/developers/gitignore?templates=eclipse,java,maven
6+
7+
### Eclipse ###
8+
.metadata
9+
bin/
10+
tmp/
11+
*.tmp
12+
*.bak
13+
*.swp
14+
*~.nib
15+
local.properties
16+
.settings/
17+
.loadpath
18+
.recommenders
19+
20+
# External tool builders
21+
.externalToolBuilders/
22+
23+
# Locally stored "Eclipse launch configurations"
24+
*.launch
25+
26+
# PyDev specific (Python IDE for Eclipse)
27+
*.pydevproject
28+
29+
# CDT-specific (C/C++ Development Tooling)
30+
.cproject
31+
32+
# CDT- autotools
33+
.autotools
34+
35+
# Java annotation processor (APT)
36+
.factorypath
37+
38+
# PDT-specific (PHP Development Tools)
39+
.buildpath
40+
41+
# sbteclipse plugin
42+
.target
43+
44+
# Tern plugin
45+
.tern-project
46+
47+
# TeXlipse plugin
48+
.texlipse
49+
50+
# STS (Spring Tool Suite)
51+
.springBeans
52+
53+
# Code Recommenders
54+
.recommenders/
55+
56+
# Annotation Processing
57+
.apt_generated/
58+
.apt_generated_test/
59+
60+
# Scala IDE specific (Scala & Java development for Eclipse)
61+
.cache-main
62+
.scala_dependencies
63+
.worksheet
64+
65+
# Uncomment this line if you wish to ignore the project description file.
66+
# Typically, this file would be tracked if it contains build/dependency configurations:
67+
#.project
68+
69+
### Eclipse Patch ###
70+
# Spring Boot Tooling
71+
.sts4-cache/
72+
73+
### Java ###
74+
# Compiled class file
75+
*.class
76+
77+
# Log file
78+
*.log
79+
80+
# BlueJ files
81+
*.ctxt
82+
83+
# Mobile Tools for Java (J2ME)
84+
.mtj.tmp/
85+
86+
# Package Files #
87+
*.jar
88+
*.war
89+
*.nar
90+
*.ear
91+
*.zip
92+
*.tar.gz
93+
*.rar
94+
95+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
96+
hs_err_pid*
97+
98+
### Maven ###
99+
target/
100+
pom.xml.tag
101+
pom.xml.releaseBackup
102+
pom.xml.versionsBackup
103+
pom.xml.next
104+
release.properties
105+
dependency-reduced-pom.xml
106+
buildNumber.properties
107+
.mvn/timing.properties
108+
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
109+
.mvn/wrapper/maven-wrapper.jar
110+
111+
### Maven Patch ###
112+
# Eclipse m2e generated files
113+
# Eclipse Core
114+
.project
115+
# JDT-specific (Eclipse Java Development Tools)
116+
.classpath
117+
118+
# End of https://www.toptal.com/developers/gitignore/api/eclipse,java,maven

‎.sdkmanrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=16.0.1.hs-adpt

‎7Clicker.jar

-350 KB
Binary file not shown.

‎README.md

Whitespace-only changes.

‎jnativehook-2.0.3.jar

-189 KB
Binary file not shown.

‎pom.xml

+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6+
<modelVersion>4.0.0</modelVersion>
7+
8+
<groupId>space.smarquardt</groupId>
9+
<artifactId>7clicker</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<packaging>jar</packaging>
12+
13+
<name>7clicker</name>
14+
<!-- FIXME change it to the project's website -->
15+
<url>http://www.example.com</url>
16+
17+
<properties>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
<maven.compiler.source>16</maven.compiler.source>
20+
<maven.compiler.target>16</maven.compiler.target>
21+
<maven.compiler.release>16</maven.compiler.release>
22+
<project.build.outputTimestamp>1</project.build.outputTimestamp>
23+
</properties>
24+
25+
<dependencies>
26+
<!-- https://mvnrepository.com/artifact/com.1stleg/jnativehook -->
27+
<dependency>
28+
<groupId>com.1stleg</groupId>
29+
<artifactId>jnativehook</artifactId>
30+
<version>2.0.2</version>
31+
</dependency>
32+
<!-- https://mvnrepository.com/artifact/org.pushingpixels/trident -->
33+
<dependency>
34+
<groupId>org.pushingpixels</groupId>
35+
<artifactId>trident</artifactId>
36+
<version>1.3</version>
37+
</dependency>
38+
<!-- https://mvnrepository.com/artifact/com.apple/AppleJavaExtensions -->
39+
<dependency>
40+
<groupId>com.apple</groupId>
41+
<artifactId>AppleJavaExtensions</artifactId>
42+
<version>1.4</version>
43+
</dependency>
44+
</dependencies>
45+
46+
<build>
47+
<pluginManagement><!-- lock down plugins versions to avoid using Maven
48+
defaults (may be moved to parent pom) -->
49+
<plugins>
50+
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
51+
<plugin>
52+
<artifactId>maven-clean-plugin</artifactId>
53+
<version>3.1.0</version>
54+
</plugin>
55+
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
56+
<plugin>
57+
<artifactId>maven-resources-plugin</artifactId>
58+
<version>3.0.2</version>
59+
</plugin>
60+
<plugin>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<version>3.8.0</version>
63+
</plugin>
64+
<plugin>
65+
<artifactId>maven-surefire-plugin</artifactId>
66+
<version>2.22.1</version>
67+
</plugin>
68+
<plugin>
69+
<artifactId>maven-install-plugin</artifactId>
70+
<version>2.5.2</version>
71+
</plugin>
72+
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
73+
<plugin>
74+
<artifactId>maven-site-plugin</artifactId>
75+
<version>3.7.1</version>
76+
</plugin>
77+
<plugin>
78+
<artifactId>maven-project-info-reports-plugin</artifactId>
79+
<version>3.0.0</version>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-assembly-plugin</artifactId>
84+
<version>3.3.0</version>
85+
</plugin>
86+
</plugins>
87+
</pluginManagement>
88+
<plugins>
89+
<plugin>
90+
<artifactId>maven-assembly-plugin</artifactId>
91+
<configuration>
92+
<archive>
93+
<manifest>
94+
<mainClass>com.ruffian7.sevenclicker.AutoClicker</mainClass>
95+
</manifest>
96+
</archive>
97+
<descriptorRefs>
98+
<descriptorRef>jar-with-dependencies</descriptorRef>
99+
</descriptorRefs>
100+
</configuration>
101+
<executions>
102+
<execution>
103+
<id>make-assembly</id>
104+
<phase>package</phase>
105+
<goals>
106+
<goal>single</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
</plugins>
112+
</build>
113+
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎trident.jar

-103 KB
Binary file not shown.

0 commit comments

Comments
 (0)
This repository has been archived.