diff --git a/ws/Unitmarking/settings.xml.template b/settings.xml.template similarity index 100% rename from ws/Unitmarking/settings.xml.template rename to settings.xml.template diff --git a/ws/Archetypes/mi-maven-archetype-javafxml/pom.xml b/ws/Archetypes/mi-maven-archetype-javafxml/pom.xml index 61563a5a2be0ce5b1d38514eb354da9c5bfd6b39..03f991dbcd8466ea397105058e386c982c148794 100644 --- a/ws/Archetypes/mi-maven-archetype-javafxml/pom.xml +++ b/ws/Archetypes/mi-maven-archetype-javafxml/pom.xml @@ -14,5 +14,36 @@ This archetype is derived from https://github.com/zonski/javafx-basic-archetype </description> + <distributionManagement> + <!-- This requires configurations in ~/.m2/settings.xml, see local settings.xml.template + example file in overall git project root. --> + <repository> + <id>mi-maven-repository</id> + <url>scpexe://maven.mi.hdm-stuttgart.de/var/www/html/maven/Archetypes</url> + </repository> + </distributionManagement> + + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh-external</artifactId> + <version>2.10</version> + </extension> + </extensions> + + <plugins> + <!-- Get rid of build path warnings though this is not a Java project. --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + </plugins> + </build> </project> diff --git a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/pom.xml b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/pom.xml index 77953c637cff4650c594708cd4bb307c589dd943..8fbb5587233c55087220a70512ae4b6b2c5f48ff 100644 --- a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/pom.xml +++ b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/pom.xml @@ -5,28 +5,43 @@ <groupId>de.hdm-stuttgart.mi</groupId> <artifactId>mi-maven-archetype-jpa-hibernate</artifactId> <version>1.1</version> - <packaging>maven-archetype</packaging> + <packaging>jar</packaging> <name>mi-maven-archetype-jpa-hibernate</name> - <build> - <extensions> - <extension> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-packaging</artifactId> - <version>2.4</version> - </extension> - </extensions> - - <pluginManagement> - <plugins> - <plugin> - <artifactId>maven-archetype-plugin</artifactId> - <version>2.4</version> - </plugin> - </plugins> - </pluginManagement> - </build> - <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> + + <distributionManagement> + <!-- This requires configurations in ~/.m2/settings.xml, see local settings.xml.template + example file in overall git project root. --> + <repository> + <id>mi-maven-repository</id> + <url>scpexe://maven.mi.hdm-stuttgart.de/var/www/html/maven/Archetypes</url> + </repository> + </distributionManagement> + + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh-external</artifactId> + <version>2.10</version> + </extension> + </extensions> + + <plugins> + <!-- Get rid of build path warnings though this is not a Java project. --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + </plugins> + </build> + + </project> diff --git a/ws/Archetypes/mi-maven-archetype-quickstart/pom.xml b/ws/Archetypes/mi-maven-archetype-quickstart/pom.xml index e1c17ee07c276a920b5868a50761381189c096cf..fbe472ed0efdf8def3f3dac8d807054224338642 100644 --- a/ws/Archetypes/mi-maven-archetype-quickstart/pom.xml +++ b/ws/Archetypes/mi-maven-archetype-quickstart/pom.xml @@ -1,10 +1,42 @@ <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> + 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>de.hdm-stuttgart.mi</groupId> - <artifactId>mi-maven-archetype-quickstart</artifactId> - <version>1.1</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.mi</groupId> + <artifactId>mi-maven-archetype-quickstart</artifactId> + <version>1.1</version> + <packaging>jar</packaging> + + <distributionManagement> + <!-- This requires configurations in ~/.m2/settings.xml, see local settings.xml.template + example file in overall git project root. --> + <repository> + <id>mi-maven-repository</id> + <url>scpexe://maven.mi.hdm-stuttgart.de/var/www/html/maven/Archetypes</url> + </repository> + </distributionManagement> + + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh-external</artifactId> + <version>2.10</version> + </extension> + </extensions> + + <plugins> + <!-- Get rid of build path warnings though this is not a Java project. --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + </plugins> + </build> </project>