From 0d2234b6b448acc33d737bace773fbc56e1838a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sch=C3=A4rtl?= <andreas@schaertl.me> Date: Tue, 12 May 2020 10:35:27 +0200 Subject: [PATCH] uloimport: set up mvn --- src/uloimport/.gitignore | 2 + src/uloimport/.idea/codeStyles/Project.xml | 7 --- .../.idea/codeStyles/codeStyleConfig.xml | 5 -- src/uloimport/.idea/compiler.xml | 13 ----- src/uloimport/.idea/jarRepositories.xml | 20 ------- src/uloimport/.idea/misc.xml | 14 ----- src/uloimport/.idea/workspace.xml | 53 ------------------- src/uloimport/pom.xml | 10 ++-- 8 files changed, 8 insertions(+), 116 deletions(-) create mode 100644 src/uloimport/.gitignore delete mode 100644 src/uloimport/.idea/codeStyles/Project.xml delete mode 100644 src/uloimport/.idea/codeStyles/codeStyleConfig.xml delete mode 100644 src/uloimport/.idea/compiler.xml delete mode 100644 src/uloimport/.idea/jarRepositories.xml delete mode 100644 src/uloimport/.idea/misc.xml delete mode 100644 src/uloimport/.idea/workspace.xml diff --git a/src/uloimport/.gitignore b/src/uloimport/.gitignore new file mode 100644 index 0000000..5bd05d6 --- /dev/null +++ b/src/uloimport/.gitignore @@ -0,0 +1,2 @@ +target +.idea \ No newline at end of file diff --git a/src/uloimport/.idea/codeStyles/Project.xml b/src/uloimport/.idea/codeStyles/Project.xml deleted file mode 100644 index 919ce1f..0000000 --- a/src/uloimport/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,7 +0,0 @@ -<component name="ProjectCodeStyleConfiguration"> - <code_scheme name="Project" version="173"> - <ScalaCodeStyleSettings> - <option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" /> - </ScalaCodeStyleSettings> - </code_scheme> -</component> \ No newline at end of file diff --git a/src/uloimport/.idea/codeStyles/codeStyleConfig.xml b/src/uloimport/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100644 index a55e7a1..0000000 --- a/src/uloimport/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ -<component name="ProjectCodeStyleConfiguration"> - <state> - <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" /> - </state> -</component> \ No newline at end of file diff --git a/src/uloimport/.idea/compiler.xml b/src/uloimport/.idea/compiler.xml deleted file mode 100644 index 76324e5..0000000 --- a/src/uloimport/.idea/compiler.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="CompilerConfiguration"> - <annotationProcessing> - <profile name="Maven default annotation processors profile" enabled="true"> - <sourceOutputDir name="target/generated-sources/annotations" /> - <sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> - <outputRelativeToContentRoot value="true" /> - <module name="uloimport" /> - </profile> - </annotationProcessing> - </component> -</project> \ No newline at end of file diff --git a/src/uloimport/.idea/jarRepositories.xml b/src/uloimport/.idea/jarRepositories.xml deleted file mode 100644 index 712ab9d..0000000 --- a/src/uloimport/.idea/jarRepositories.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="RemoteRepositoriesConfiguration"> - <remote-repository> - <option name="id" value="central" /> - <option name="name" value="Central Repository" /> - <option name="url" value="https://repo.maven.apache.org/maven2" /> - </remote-repository> - <remote-repository> - <option name="id" value="central" /> - <option name="name" value="Maven Central repository" /> - <option name="url" value="https://repo1.maven.org/maven2" /> - </remote-repository> - <remote-repository> - <option name="id" value="jboss.community" /> - <option name="name" value="JBoss Community repository" /> - <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" /> - </remote-repository> - </component> -</project> \ No newline at end of file diff --git a/src/uloimport/.idea/misc.xml b/src/uloimport/.idea/misc.xml deleted file mode 100644 index d24ea8e..0000000 --- a/src/uloimport/.idea/misc.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ExternalStorageConfigurationManager" enabled="true" /> - <component name="MavenProjectsManager"> - <option name="originalFiles"> - <list> - <option value="$PROJECT_DIR$/pom.xml" /> - </list> - </option> - </component> - <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/out" /> - </component> -</project> \ No newline at end of file diff --git a/src/uloimport/.idea/workspace.xml b/src/uloimport/.idea/workspace.xml deleted file mode 100644 index 4cf77db..0000000 --- a/src/uloimport/.idea/workspace.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ChangeListManager"> - <list default="true" id="5c0c96ea-f1ee-4ed4-b92c-6e411366b16f" name="Default Changelist" comment="" /> - <option name="SHOW_DIALOG" value="false" /> - <option name="HIGHLIGHT_CONFLICTS" value="true" /> - <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> - <option name="LAST_RESOLUTION" value="IGNORE" /> - </component> - <component name="ProjectCodeStyleSettingsMigration"> - <option name="version" value="1" /> - </component> - <component name="ProjectId" id="1bneDStQ0P7cGiTIKSyFMMZWbuE" /> - <component name="ProjectViewState"> - <option name="hideEmptyMiddlePackages" value="true" /> - <option name="showLibraryContents" value="true" /> - </component> - <component name="PropertiesComponent"> - <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> - <property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> - <property name="settings.editor.selected.configurable" value="preferences.keymap" /> - </component> - <component name="RunManager"> - <configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> - <option name="MAIN_CLASS_NAME" value="info.kwarc.uloimport.Main" /> - <module name="uloimport" /> - <extension name="coverage"> - <pattern> - <option name="PATTERN" value="info.kwarc.uloimport.*" /> - <option name="ENABLED" value="true" /> - </pattern> - </extension> - <method v="2"> - <option name="Make" enabled="true" /> - </method> - </configuration> - <recent_temporary> - <list> - <item itemvalue="Application.Main" /> - </list> - </recent_temporary> - </component> - <component name="TaskManager"> - <task active="true" id="Default" summary="Default task"> - <changelist id="5c0c96ea-f1ee-4ed4-b92c-6e411366b16f" name="Default Changelist" comment="" /> - <created>1589272164344</created> - <option name="number" value="Default" /> - <option name="presentableId" value="Default" /> - <updated>1589272164344</updated> - </task> - <servers /> - </component> -</project> \ No newline at end of file diff --git a/src/uloimport/pom.xml b/src/uloimport/pom.xml index f9223ba..e8c00a9 100644 --- a/src/uloimport/pom.xml +++ b/src/uloimport/pom.xml @@ -1,12 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>info.kwarc.uloimport</groupId> <artifactId>uloimport</artifactId> <version>indev</version> - + <properties> + <!-- https://stackoverflow.com/questions/59601077/intellij-errorjava-error-release-version-5-not-supported --> + <maven.compiler.source>1.11</maven.compiler.source> + <maven.compiler.target>1.11</maven.compiler.target> + </properties> </project> \ No newline at end of file -- GitLab