MyTetra Share
Делитесь знаниями!
1. Создаем pom.xml
Время создания: 03.09.2017 08:13
Раздел: Maven - Порядок работы с новым проектом
Запись: xintrea/mytetra_db_mcold/master/base/1504415580obm6q6pd7u/text.html на raw.githubusercontent.com

pom:


<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/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>com.lynda</groupId>

<artifactId>sample</artifactId>

<packaging>jar</packaging>

<version>1.0-SNAPSHOT</version>

<name>sample</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>

<build>

<plugins>


<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-jar-plugin</artifactId>

<configuration>

<archive>

<manifest>

<addClasspath>true</addClasspath>

<!-- <classpathPrefix>lib/</classpathPrefix> -->

<classpathLayoutType>simple</classpathLayoutType>

<mainClass>com.lynda.App</mainClass>

</manifest>

<manifestEntries>

<Version>${buildNumber}</Version>

</manifestEntries>

</archive>

</configuration>

</plugin>

</plugins>

</build>

</project>


Так же в этом разделе:
 
MyTetra Share v.0.59
Яндекс индекс цитирования