59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
|
<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>ru.akarpov.lab5</groupId>
|
||
|
<artifactId>lab5</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>javax.xml.bind</groupId>
|
||
|
<artifactId>jaxb-api</artifactId>
|
||
|
<version>2.3.1</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.8.1</version>
|
||
|
<configuration>
|
||
|
<source>15</source>
|
||
|
<target>15</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>3.0.0</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>exec-java-server</id>
|
||
|
<goals>
|
||
|
<goal>java</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<mainClass>Main</mainClass>
|
||
|
<arguments>
|
||
|
<argument>server</argument>
|
||
|
</arguments>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>exec-java-client</id>
|
||
|
<goals>
|
||
|
<goal>java</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<mainClass>Main</mainClass>
|
||
|
<arguments>
|
||
|
<argument>client</argument>
|
||
|
</arguments>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|