|
| 1 | +<!-- |
| 2 | +SPDX-FileCopyrightText: 2024 Robin Vobruba <hoijui.quaero@gmail.com> |
| 3 | +
|
| 4 | +SPDX-License-Identifier: Unlicense |
| 5 | +--> |
| 6 | + |
| 7 | +<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"> |
| 8 | + <modelVersion>4.0.0</modelVersion> |
| 9 | + |
| 10 | + <properties> |
| 11 | + <project.packageName>com.illposed.osc.cmds</project.packageName> |
| 12 | + <supported.osc.version>1.0</supported.osc.version> |
| 13 | + <project.mainClass>${project.packageName}.ConsoleEchoServer</project.mainClass> |
| 14 | + </properties> |
| 15 | + |
| 16 | + <parent> |
| 17 | + <groupId>com.illposed.osc</groupId> |
| 18 | + <artifactId>javaosc-parent</artifactId> |
| 19 | + <version>0.10-SNAPSHOT</version> |
| 20 | + <relativePath>../parent</relativePath> |
| 21 | + </parent> |
| 22 | + |
| 23 | + <artifactId>javaosc-cmds</artifactId> |
| 24 | + <version>0.10-SNAPSHOT</version> |
| 25 | + |
| 26 | + <packaging>jar</packaging> |
| 27 | + |
| 28 | + <name>JavaOSC-Commands</name> |
| 29 | + <description>An Open Sound Control library implementation in Java - Commands</description> |
| 30 | + |
| 31 | + <build> |
| 32 | + <defaultGoal>package</defaultGoal> |
| 33 | + |
| 34 | + <plugins> |
| 35 | + <plugin> |
| 36 | + <groupId>org.apache.maven.plugins</groupId> |
| 37 | + <artifactId>maven-jar-plugin</artifactId> |
| 38 | + <configuration> |
| 39 | + <archive> |
| 40 | + <manifest> |
| 41 | + <addClasspath>true</addClasspath> |
| 42 | + <classpathPrefix>dependency</classpathPrefix> |
| 43 | + <packageName>${project.packageName}</packageName> |
| 44 | + <mainClass>${project.mainClass}</mainClass> |
| 45 | + </manifest> |
| 46 | + </archive> |
| 47 | + </configuration> |
| 48 | + </plugin> |
| 49 | + |
| 50 | + <!-- |
| 51 | + This generates an extra jar file that can be run standalone. |
| 52 | + --> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-assembly-plugin</artifactId> |
| 56 | + <configuration> |
| 57 | + <descriptorRefs> |
| 58 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 59 | + </descriptorRefs> |
| 60 | + <archive> |
| 61 | + <manifest> |
| 62 | + <mainClass>${project.mainClass}</mainClass> |
| 63 | + </manifest> |
| 64 | + </archive> |
| 65 | + </configuration> |
| 66 | + </plugin> |
| 67 | + |
| 68 | + <plugin> |
| 69 | + <groupId>org.codehaus.mojo</groupId> |
| 70 | + <artifactId>exec-maven-plugin</artifactId> |
| 71 | + <configuration> |
| 72 | + <mainClass>${project.mainClass}</mainClass> |
| 73 | + </configuration> |
| 74 | + </plugin> |
| 75 | + |
| 76 | + <plugin> |
| 77 | + <groupId>org.apache.maven.plugins</groupId> |
| 78 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 79 | + <executions> |
| 80 | + <execution> |
| 81 | + <goals> |
| 82 | + <!-- Execute during the maven "verify" phase (`mvn verify`) --> |
| 83 | + <goal>check</goal> |
| 84 | + </goals> |
| 85 | + </execution> |
| 86 | + </executions> |
| 87 | + </plugin> |
| 88 | + |
| 89 | + <!-- <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-pmd-plugin</artifactId> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <goals> --> |
| 95 | + <!-- Execute during the maven "verify" phase (`mvn verify`) --> |
| 96 | + <!-- <goal>check</goal> --> |
| 97 | + <!-- </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + <configuration> |
| 101 | + <excludes> |
| 102 | + <exclude>com/illposed/osc/OSCSerializer.java</exclude> |
| 103 | + <exclude>com/illposed/osc/argument/ArgumentHandler.java</exclude> |
| 104 | + <exclude>com/illposed/osc/messageselector/OSCPatternAddressMessageSelector.java</exclude> |
| 105 | + </excludes> |
| 106 | + </configuration> |
| 107 | + </plugin> --> |
| 108 | + |
| 109 | + <plugin> |
| 110 | + <groupId>com.github.spotbugs</groupId> |
| 111 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 112 | + <executions> |
| 113 | + <execution> |
| 114 | + <goals> |
| 115 | + <!-- Execute during the maven "verify" phase (`mvn verify`) --> |
| 116 | + <!-- <goal>check</goal> --> |
| 117 | + </goals> |
| 118 | + </execution> |
| 119 | + </executions> |
| 120 | + </plugin> |
| 121 | + </plugins> |
| 122 | + </build> |
| 123 | + |
| 124 | + <dependencies> |
| 125 | + <dependency> |
| 126 | + <groupId>com.illposed.osc</groupId> |
| 127 | + <artifactId>javaosc-core</artifactId> |
| 128 | + <version>0.10-SNAPSHOT</version> |
| 129 | + </dependency> |
| 130 | + <dependency> |
| 131 | + <groupId>org.slf4j</groupId> |
| 132 | + <artifactId>slf4j-simple</artifactId> |
| 133 | + <scope>runtime</scope> |
| 134 | + </dependency> |
| 135 | + </dependencies> |
| 136 | + |
| 137 | +</project> |
| 138 | + |
0 commit comments