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>standalone-auth-applet</module> |
---|
34 | <module>native-libraries</module> |
---|
35 | <module>nativelib-linux-amd64</module> |
---|
36 | <module>nativelib-linux-x86</module> |
---|
37 | <module>nativelib-windows-x86</module> |
---|
38 | <module>nativelib-macosx-universal</module> |
---|
39 | <module>util-applet</module> |
---|
40 | <module>cc-custom-laf</module> |
---|
41 | <module>cc-commons</module> |
---|
42 | </modules> |
---|
43 | |
---|
44 | <build> |
---|
45 | <pluginManagement> |
---|
46 | <plugins> |
---|
47 | <plugin> |
---|
48 | <groupId>org.apache.maven.plugins</groupId> |
---|
49 | <artifactId>maven-compiler-plugin</artifactId> |
---|
50 | <version>2.3.2</version> |
---|
51 | <configuration> |
---|
52 | <source>1.6</source> |
---|
53 | <target>1.6</target> |
---|
54 | </configuration> |
---|
55 | </plugin> |
---|
56 | <plugin> |
---|
57 | <groupId>org.codehaus.mojo.webstart</groupId> |
---|
58 | <artifactId>webstart-maven-plugin</artifactId> |
---|
59 | <version>1.0-beta-2</version> |
---|
60 | <executions> |
---|
61 | <execution> |
---|
62 | <phase>package</phase> |
---|
63 | <goals> |
---|
64 | <goal>jnlp-inline</goal> |
---|
65 | </goals> |
---|
66 | </execution> |
---|
67 | </executions> |
---|
68 | <configuration> |
---|
69 | <libPath>codebase</libPath> |
---|
70 | <jnlp> |
---|
71 | <allPermissions>true</allPermissions> |
---|
72 | <j2seVersion>1.6+</j2seVersion> |
---|
73 | <inputTemplateResourcePath>${project.parent.basedir}/src/main/jnlp/</inputTemplateResourcePath> |
---|
74 | <inputTemplate>template.vm</inputTemplate> |
---|
75 | </jnlp> |
---|
76 | <codebase>./</codebase> |
---|
77 | <sign> |
---|
78 | <keystore>${sign.default.keystore}</keystore> |
---|
79 | <alias>${sign.default.keyalias}</alias> |
---|
80 | <storepass>${sign.default.storepass}</storepass> |
---|
81 | <keypass>${sign.default.keypass}</keypass> |
---|
82 | </sign> |
---|
83 | <unsignAlreadySignedJars>true</unsignAlreadySignedJars> |
---|
84 | </configuration> |
---|
85 | </plugin> |
---|
86 | </plugins> |
---|
87 | </pluginManagement> |
---|
88 | </build> |
---|
89 | |
---|
90 | <profiles> |
---|
91 | <profile> |
---|
92 | <id>use-pack200</id> |
---|
93 | <build> |
---|
94 | <pluginManagement> |
---|
95 | <plugins> |
---|
96 | <plugin> |
---|
97 | <groupId>org.codehaus.mojo.webstart</groupId> |
---|
98 | <artifactId>webstart-maven-plugin</artifactId> |
---|
99 | <configuration> |
---|
100 | <gzip>true</gzip> |
---|
101 | <pack200>true</pack200> |
---|
102 | </configuration> |
---|
103 | </plugin> |
---|
104 | </plugins> |
---|
105 | </pluginManagement> |
---|
106 | </build> |
---|
107 | </profile> |
---|
108 | </profiles> |
---|
109 | |
---|
110 | </project> |
---|