Blame view

pom.xml 5.94 KB
Tobias committed
1 2 3
<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>
Tobias committed
4
	<groupId>org.stegosuite</groupId>
Tobias committed
5
	<artifactId>stegosuite</artifactId>
Tobias committed
6
	<version>0.9.0</version>
Tobias committed
7
	<name>stegosuite</name>
Tobias committed
8
	<description>A free steganography tool to hide information in image files.</description>
Tobias committed
9 10 11 12 13 14 15 16 17
	<url>https://dev.stegosuite.org/stegosuite/stegosuite</url>
	<licenses>
		<license>
			<name>GNU General Public License, Version 3</name>
			<url>https://www.gnu.org/licenses/gpl-3.0.html</url>
			<distribution>manual</distribution>
			<comments>A free, copyleft license for software and other kinds of works</comments>
		</license>
	</licenses>
Tobias committed
18 19 20
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
Tobias committed
21
	<packaging>jar</packaging>
Tobias committed
22
	<build>
Tobias committed
23 24 25 26 27 28 29 30
		<resources>
			<resource>
				<directory>src/main/resources</directory>
			</resource>
			<resource>
				<directory>src/main/resources/i18n</directory>
			</resource>
		</resources>
Tobias committed
31 32 33 34
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
Tobias committed
35
				<version>3.8.0</version>
Tobias committed
36 37 38 39 40 41 42 43
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
Tobias committed
44
				<version>1.6.0</version>
Tobias committed
45 46 47
				<configuration>
					<mainClass>org.stegosuite.Stegosuite</mainClass>
				</configuration>
Tobias committed
48 49 50
			</plugin>
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
Tobias committed
51
				<version>3.1.0</version>
Tobias committed
52 53 54 55
				<configuration>
					<descriptorRefs>
						<descriptorRef>jar-with-dependencies</descriptorRef>
					</descriptorRefs>
Tobias committed
56 57
					<finalName>${project.artifactId}-${project.version}</finalName>
					<appendAssemblyId>false</appendAssemblyId>
Tobias committed
58 59
					<archive>
						<manifest>
Tobias committed
60
							<addClasspath>true</addClasspath>
Tobias committed
61 62 63 64
							<mainClass>org.stegosuite.Stegosuite</mainClass>
						</manifest>
					</archive>
				</configuration>
Tobias committed
65 66
				<executions>
					<execution>
Tobias committed
67
						<id>make-assembly</id>
Tobias committed
68 69 70 71 72 73 74 75 76
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
Tobias committed
77
				<version>3.1.0</version>
Tobias committed
78 79 80 81 82 83
				<executions>
					<execution>
						<id>default-jar</id>
						<phase>none</phase>
					</execution>
				</executions>
Tobias committed
84
			</plugin>
Tobias committed
85 86


Tobias committed
87 88 89 90 91 92 93
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>${swt.groupId}</groupId>
			<artifactId>${swt.artifactId}</artifactId>
Tobias committed
94
			<version>4.6</version>
Tobias committed
95 96 97 98
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
Tobias committed
99
			<version>1.7.25</version>
Tobias committed
100
		</dependency>
Tobias committed
101 102 103
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
Tobias committed
104
			<version>1.2.3</version>
Tobias committed
105 106 107 108
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-core</artifactId>
Tobias committed
109
			<version>1.2.3</version>
Tobias committed
110
		</dependency>
Facundo Javier Gelatti committed
111 112 113 114 115 116
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
Tobias committed
117 118 119 120 121
        <dependency>
    		<groupId>commons-cli</groupId>
    		<artifactId>commons-cli</artifactId>
    		<version>1.4</version>
		</dependency>
Facundo Javier Gelatti committed
122
    </dependencies>
Tobias committed
123 124 125 126 127 128

	<profiles>
		<profile>
			<id>linux</id>
			<activation>
				<os>
Tobias committed
129
					<family>unix</family>
Tobias committed
130 131 132 133 134 135 136
					<arch>amd64</arch>
				</os>
			</activation>
			<properties>
				<swt.groupId>org.eclipse.swt</swt.groupId>
				<swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
			</properties>
Tobias committed
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
			<build>
				<plugins>
					<plugin>
						<artifactId>jdeb</artifactId>
						<groupId>org.vafer</groupId>
						<version>1.5</version>
						<configuration>
							<dataSet>
								<data>
									<src>${project.build.directory}/${project.build.finalName}.jar</src>
									<type>file</type>
									<mapper>
										<type>perm</type>
										<prefix>/usr/share/stegosuite</prefix>
									</mapper>
								</data>
								<data>
									<src>${project.basedir}/src/deb/data/stegosuite</src>
									<type>file</type>
									<mapper>
										<type>perm</type>
										<prefix>/usr/bin/</prefix>
										<user>root</user>
										<group>root</group>
										<filemode>755</filemode>
									</mapper>
								</data>
								<data>
									<src>${project.basedir}/src/deb/data/stegosuite.desktop</src>
									<type>file</type>
									<mapper>
										<type>perm</type>
										<prefix>/usr/share/applications/</prefix>
										<user>root</user>
										<group>root</group>
										<filemode>644</filemode>
									</mapper>
								</data>
								<data>
									<src>${project.basedir}/src/deb/data/stegosuite.png</src>
									<type>file</type>
									<mapper>
										<type>perm</type>
										<prefix>/usr/share/stegosuite/icons/</prefix>
										<user>root</user>
										<group>root</group>
										<filemode>644</filemode>
									</mapper>
								</data>
							</dataSet>
						</configuration>
					</plugin>
				</plugins>
			</build>
Tobias committed
191 192 193 194 195
		</profile>
		<profile>
			<id>win64</id>
			<activation>
				<os>
Tobias committed
196
					<family>windows</family>
Tobias committed
197 198 199 200 201 202 203 204 205 206 207 208
					<arch>amd64</arch>
				</os>
			</activation>
			<properties>
				<swt.groupId>org.eclipse.swt</swt.groupId>
				<swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId>
			</properties>
		</profile>
		<profile>
			<id>mac64</id>
			<activation>
				<os>
Tobias committed
209
					<family>mac</family>
Tobias committed
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
					<arch>amd64</arch>
				</os>
			</activation>
			<properties>
				<swt.groupId>org.eclipse.swt</swt.groupId>
				<swt.artifactId>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId>
			</properties>
		</profile>
	</profiles>

	<repositories>
		<repository>
			<id>swt-maven-repo</id>
			<url>http://maven-eclipse.github.io/maven</url>
		</repository>
	</repositories>

Tobias committed
227
</project>