Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (47 sloc) 1.49 KB
<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>java-oo</groupId>
<artifactId>javac-oo-mvndemo</artifactId>
<version>0.6-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>java-oo</groupId>
<!-- javac 7:
<artifactId>javac-oo-plugin</artifactId>
<version>0.5</version>-->
<!-- javac 8: -->
<artifactId>javac8-oo-plugin</artifactId>
<version>0.5</version>
<scope>provided</scope> <!-- compile-only dep -->
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src</sourceDirectory>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>amelentev</id>
<url>http://amelentev.github.io/mvnrepo/</url>
</repository>
</repositories>
<!-- not needed for usage -->
<distributionManagement>
<repository>
<id>deploy</id>
<url>file:///home/mart/src/my/gitmvnrepo</url>
</repository>
</distributionManagement>
</project>