1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <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"> |
---|
3 | <modelVersion>4.0.0</modelVersion> |
---|
4 | |
---|
5 | <groupId>pt.gov.cartaodecidadao.applet</groupId> |
---|
6 | <artifactId>applets-cc</artifactId> |
---|
7 | <version>1.0-SNAPSHOT</version> |
---|
8 | <packaging>pom</packaging> |
---|
9 | |
---|
10 | <name>applets-cc</name> |
---|
11 | <url>http://www.cartaodecidadao.pt/</url> |
---|
12 | |
---|
13 | <organization> |
---|
14 | <name>AMA - Agência para a Modernização Administrativa</name> |
---|
15 | <url>http://www.ama.pt/</url> |
---|
16 | </organization> |
---|
17 | |
---|
18 | <properties> |
---|
19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
20 | </properties> |
---|
21 | |
---|
22 | <dependencies> |
---|
23 | <dependency> |
---|
24 | <groupId>junit</groupId> |
---|
25 | <artifactId>junit</artifactId> |
---|
26 | <version>3.8.1</version> |
---|
27 | <scope>test</scope> |
---|
28 | </dependency> |
---|
29 | </dependencies> |
---|
30 | |
---|
31 | <modules> |
---|
32 | <module>webapp</module> |
---|
33 | <module>auth-applet</module> |
---|
34 | <module>auth-app</module> |
---|
35 | <module>standalone-auth-applet</module> |
---|
36 | <module>standalone-auth-app</module> |
---|
37 | <module>native-libraries</module> |
---|
38 | <module>nativelib-linux-amd64</module> |
---|
39 | <module>nativelib-linux-x86</module> |
---|
40 | <module>nativelib-windows-x86</module> |
---|
41 | <module>nativelib-macosx-universal</module> |
---|
42 | <module>util-applet</module> |
---|
43 | <module>util-app</module> |
---|
44 | <module>cc-custom-laf</module> |
---|
45 | <module>cc-commons</module> |
---|
46 | </modules> |
---|
47 | |
---|
48 | <build> |
---|
49 | <pluginManagement> |
---|
50 | <plugins> |
---|
51 | <plugin> |
---|
52 | <groupId>org.apache.maven.plugins</groupId> |
---|
53 | <artifactId>maven-compiler-plugin</artifactId> |
---|
54 | <version>2.3.2</version> |
---|
55 | <configuration> |
---|
56 | <source>1.6</source> |
---|
57 | <target>1.6</target> |
---|
58 | </configuration> |
---|
59 | </plugin> |
---|
60 | <plugin> |
---|
61 | <groupId>org.codehaus.mojo.webstart</groupId> |
---|
62 | <artifactId>webstart-maven-plugin</artifactId> |
---|
63 | <version>1.0-beta-2</version> |
---|
64 | <executions> |
---|
65 | <execution> |
---|
66 | <phase>package</phase> |
---|
67 | <goals> |
---|
68 | <goal>jnlp-inline</goal> |
---|
69 | </goals> |
---|
70 | </execution> |
---|
71 | </executions> |
---|
72 | <configuration> |
---|
73 | <libPath>codebase</libPath> |
---|
74 | <jnlp> |
---|
75 | <allPermissions>true</allPermissions> |
---|
76 | <j2seVersion>1.6+</j2seVersion> |
---|
77 | <inputTemplateResourcePath>${project.parent.basedir}/src/main/jnlp/</inputTemplateResourcePath> |
---|
78 | <inputTemplate>template.vm</inputTemplate> |
---|
79 | </jnlp> |
---|
80 | <codebase>./</codebase> |
---|
81 | <sign> |
---|
82 | <keystore>${sign.default.keystore}</keystore> |
---|
83 | <alias>${sign.default.keyalias}</alias> |
---|
84 | <storepass>${sign.default.storepass}</storepass> |
---|
85 | <keypass>${sign.default.keypass}</keypass> |
---|
86 | </sign> |
---|
87 | <unsignAlreadySignedJars>true</unsignAlreadySignedJars> |
---|
88 | </configuration> |
---|
89 | </plugin> |
---|
90 | </plugins> |
---|
91 | </pluginManagement> |
---|
92 | </build> |
---|
93 | |
---|
94 | <profiles> |
---|
95 | <profile> |
---|
96 | <id>use-pack200</id> |
---|
97 | <build> |
---|
98 | <pluginManagement> |
---|
99 | <plugins> |
---|
100 | <plugin> |
---|
101 | <groupId>org.codehaus.mojo.webstart</groupId> |
---|
102 | <artifactId>webstart-maven-plugin</artifactId> |
---|
103 | <configuration> |
---|
104 | <gzip>true</gzip> |
---|
105 | <pack200>true</pack200> |
---|
106 | </configuration> |
---|
107 | </plugin> |
---|
108 | </plugins> |
---|
109 | </pluginManagement> |
---|
110 | </build> |
---|
111 | </profile> |
---|
112 | </profiles> |
---|
113 | |
---|
114 | </project> |
---|