From 914bd22ca5531580047026c6f8798cc476ba8aac Mon Sep 17 00:00:00 2001 From: Christopher Bohn <bohn@unl.edu> Date: Tue, 27 Oct 2020 16:57:07 -0500 Subject: [PATCH] updated maven & git files --- .gitignore | 55 ++++++++++++++++++- pom.xml | 34 +++++++++--- .../soft160/library/{.gitignore => .gitkeep} | 0 3 files changed, 80 insertions(+), 9 deletions(-) rename src/test/java/edu/unl/cse/soft160/library/{.gitignore => .gitkeep} (100%) diff --git a/.gitignore b/.gitignore index 5f2dbe1..a91bb38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,40 @@ +# Mac file finder metadata +.DS_Store +# Windows file metadata +._* +# Thumbnail image caches +Thumbs.db +ethumbs.db +# MS Office temporary file +~* +# Emacs backup file +*~ + +# Common +[Bb]in/ +[Bb]uild/ +[Oo]bj/ +[Oo]ut/ +[Tt]mp/ +[Xx]86/ +[Ii][Aa]32/ +[Xx]64/ +[Xx]86_64/ +[Xx]86-64/ +[Aa]rm +[Aa]32 +[Tt]32 +[Aa]64 +*.tmp +*.bak +*.bk +*.swp + +# Java files +*.class +javadoc/ + +# Maven target/ pom.xml.tag pom.xml.releaseBackup @@ -7,6 +44,22 @@ release.properties dependency-reduced-pom.xml buildNumber.properties .mvn/timing.properties - # Avoid ignoring Maven wrapper jar file (.jar files are usually ignored) !/.mvn/wrapper/maven-wrapper.jar + + +# JetBrains (IntelliJ IDEA, PyCharm, etc) files +.idea/ +cmake-build-*/ +*.iml +*.iws +*.ipr + +# Eclipse files +.settings/ +.project +.classpath +.buildpath +.loadpath +.factorypath +local.properties diff --git a/pom.xml b/pom.xml index bc427e3..97303ae 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,30 @@ <version>1.0-SNAPSHOT</version> <name>library</name> <url>http://maven.apache.org</url> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> - </dependency> - </dependencies> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>8</source> + <target>8</target> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.13</version> + <scope>test</scope> + </dependency> + </dependencies> </project> diff --git a/src/test/java/edu/unl/cse/soft160/library/.gitignore b/src/test/java/edu/unl/cse/soft160/library/.gitkeep similarity index 100% rename from src/test/java/edu/unl/cse/soft160/library/.gitignore rename to src/test/java/edu/unl/cse/soft160/library/.gitkeep -- GitLab