Commit 66bd8518 authored by Dr. Martin Goik's avatar Dr. Martin Goik

Adding deploy target for simpler publishing to

maven.mi.hdm-stuttgart.de.
parent 4c154405
......@@ -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>
......@@ -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>
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment