pom.xml 1.84 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>fi.codecrew.moya</groupId>
	<artifactId>moya-ear</artifactId>
	<version>0.2.0</version>
	<packaging>ear</packaging>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-ear-plugin</artifactId>
				<version>2.8</version>
				<configuration>
					<earSourceDirectory>EarContent</earSourceDirectory>
					<generateApplicationXml>true</generateApplicationXml>
					<version>7</version>
					<defaultLibBundleDir>lib</defaultLibBundleDir>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>fi.codecrew.moya</groupId>
			<artifactId>moya-beans</artifactId>
			<version>0.2.0</version>
			<type>ejb</type>
		</dependency>
		<dependency>
			<groupId>fi.codecrew.moya</groupId>
			<artifactId>moya-web</artifactId>
			<version>0.2.0</version>
			<type>war</type>
		</dependency>


		<!-- Jos web-projektin antaa lisätä libinsä itse libit menevät tuplana -->
		<!-- WEB-INF/lib hakemistoon. Rajoitetaan siis sinne meneviä libejä -->
		<!-- web-projektin pom.xml:ssä ja lisätään tarvittavat riippuvuudet tänne -->
		<!-- Riippuvuuksia ei tarvitse lisätä jos joku muu projekti lisää jo valmiiksi -->

		<dependency>
			<!-- Primefaces dependency -->
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<version>1.3</version>
		</dependency>
		<dependency>
			<groupId>org.apache.sshd</groupId>
			<artifactId>sshd-core</artifactId>
			<version>0.8.0</version>
		</dependency>

		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-jdk14</artifactId>
			<version>1.7.5</version>
		</dependency>
	</dependencies>
</project>