-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
179 lines (167 loc) · 5.28 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright 2010 SOFTEC sa. All rights reserved.
*
* This source code is licensed under the Creative Commons
* Attribution-NonCommercial-NoDerivs 3.0 Luxembourg
* License.
*
* To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc-nd/3.0/lu/
* or send a letter to Creative Commons, 171 Second Street,
* Suite 300, San Francisco, California, 94105, USA.
-->
<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>
<parent>
<groupId>lu.softec</groupId>
<artifactId>softec</artifactId>
<version>2</version>
</parent>
<groupId>lu.softec.js</groupId>
<artifactId>i18n</artifactId>
<version>1.0</version>
<packaging>javascript</packaging>
<name>Javascript Localisation library</name>
<description>Implement Javascript Message Localisation</description>
<url>http://www.softec.lu/js/i18n</url>
<developers>
<developer>
<id>DenisG</id>
<name>Denis Gervalle</name>
<email>[email protected]</email>
<organization>SOFTEC sa</organization>
<organizationUrl>http://softec.lu/</organizationUrl>
<roles>
<role>CEO</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<issueManagement>
<system>Trac</system>
<url>https://trac.softec.lu/opensource</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.softec.lu/js/i18n</connection>
<developerConnection>scm:svn:https://svn.softec.lu/js/i18n</developerConnection>
<url>http://svn.softec.lu/js/i18n</url>
</scm>
<dependencies>
<dependency>
<groupId>lu.softec.js</groupId>
<artifactId>improved</artifactId>
<version>1.0</version>
<type>javascript</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>lu.softec.js</groupId>
<artifactId>apiloader</artifactId>
<version>1.0</version>
<type>javascript</type>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<outputDirectory>target/scripts</outputDirectory>
<testOutputDirectory>target/test-scripts</testOutputDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.mojo.javascript</groupId>
<artifactId>javascript-maven-plugin</artifactId>
<version>1.0-softec</version>
<extensions>true</extensions>
<configuration>
<preloadSources>
<source>improved.js</source>
<source>apiloader.js</source>
</preloadSources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.3</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo.javascript</groupId>
<artifactId>javascript-maven-plugin</artifactId>
<configuration>
<compressor>yahooUI</compressor>
<optimizationLevel>5</optimizationLevel>
<strip>debug.</strip>
</configuration>
<executions>
<execution>
<id>compress</id>
<phase>compile</phase>
<goals>
<goal>compress</goal>
</goals>
</execution>
<execution>
<id>test-compressed</id>
<phase>test</phase>
<goals>
<goal>prepare-jasmine-tests</goal>
<goal>jasmine</goal>
</goals>
<configuration>
<sourceDirectory>${project.build.directory}/compressed</sourceDirectory>
<jasmineTargetDir>${project.build.directory}/jasmine-compressed</jasmineTargetDir>
</configuration>
</execution>
<execution>
<id>package-compressed</id>
<phase>package</phase>
<goals>
<goal>attach-compressed</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<releases />
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>softec-opensource</id>
<url>http://nexus.softec.lu:8081/content/repositories/opensource</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases />
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>softec-opensource</id>
<url>http://nexus.softec.lu:8081/content/repositories/opensource</url>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>softec-opensource</id>
<name>Release Distribution Repository</name>
<url>http://nexus.softec.lu:8081/content/repositories/opensource</url>
</repository>
</distributionManagement>
</project>