Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / pom.xml @ 1078

History | View | Annotate | Download (11.8 KB)

1
<?xml version="1.0" encoding="ISO-8859-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">
4
    <modelVersion>4.0.0</modelVersion>
5
    <artifactId>org.gvsig.scripting.app.mainplugin</artifactId>
6
    <packaging>jar</packaging>
7
    <name>${project.artifactId}</name>
8
    <description><![CDATA[
9
This plugin provides support for scripting to gvSIG.
10
Among other things it contains:
11

    
12
- The gvSIG scripting engine
13
- The gvSIG script editor
14
- Script engines for:
15
   - Jython
16
   - Groovy
17
   - javascript
18
   - Renjin
19

    
20
- The script install module for the add-on manager.
21
- Utilities to generate packages of complements with our scripts.
22
- Python libraries as:
23
   - Six - Utilities for writing code that runs on Python 2 and 3
24
   - PyLint - Python source code analyzer
25
   - Pygments - syntax highlighting package
26
   - CSSUtils - CSS Cascading Style Sheets library
27
   - Docutils - Python Documentation Utilities
28
   - geopy - client for several popular geocoding web services
29
   - PyInliner - CSS-to-inline-styles conversion tool for HTML
30
   - Statistics - functions for calculating statistics of data
31
   - Cartodb - simple CartoDB client to perform requests against the CartoDB API
32

    
33
- Java libraries to use from scripting like:
34
   - Abeille forms deseigner
35
   - jOpenDocument
36
   - JNumeric
37
   - CSSBox
38

    
39

    
40
This plugin can be configured to be preinstalled automatically, allowing 
41
"Script" type plugins to be installed during the application installation process. 
42
To do this, the following entries must be added to the "packages.properties" 
43
of gvspks::
44

    
45
    installers=scripts
46
    installer.scripts.initializer=org.gvsig.scripting.app.extension.ScriptsInstallerInitializer
47
    installer.scripts.package.code=org.gvsig.scripting.app.mainplugin
48
    installer.scripts.factory.name=Script
49
    installer.scripts.libs=lib
50

    
51
If the "installers" entry already exists, add "scripts" to the end separating 
52
it with a space.    
53
                            
54
]]></description>
55
    <parent>
56
        <groupId>org.gvsig</groupId>
57
        <artifactId>org.gvsig.scripting.app</artifactId>
58
        <version>2.3.69-SNAPSHOT</version>
59
    </parent>
60
    <dependencies>
61
        <dependency>
62
            <groupId>org.gvsig</groupId>
63
            <artifactId>org.gvsig.tools.lib</artifactId>
64
            <scope>compile</scope>
65
        </dependency>
66
        <dependency>
67
            <groupId>org.gvsig</groupId>
68
            <artifactId>org.gvsig.tools.lib</artifactId>
69
            <type>test-jar</type>
70
            <scope>test</scope>
71
        </dependency>
72
        <dependency>
73
            <groupId>org.gvsig</groupId>
74
            <artifactId>org.gvsig.i18n</artifactId>
75
            <scope>compile</scope>
76
        </dependency>
77
        <dependency>
78
            <groupId>org.gvsig</groupId>
79
            <artifactId>org.gvsig.andami</artifactId>
80
            <scope>compile</scope>
81
        </dependency>
82
        <dependency>
83
            <groupId>org.gvsig</groupId>
84
            <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
85
            <scope>compile</scope>
86
        </dependency>
87
        <dependency>
88
            <groupId>org.gvsig</groupId>
89
            <artifactId>org.gvsig.app.mainplugin</artifactId>
90
            <scope>compile</scope>
91
        </dependency>
92
        <dependency>
93
            <groupId>org.gvsig</groupId>
94
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
95
            <scope>compile</scope>
96
        </dependency>
97
        <dependency>
98
            <groupId>org.gvsig</groupId>
99
            <artifactId>org.gvsig.about.api</artifactId>
100
            <scope>compile</scope>
101
        </dependency>
102
        <dependency>
103
            <groupId>org.gvsig</groupId>
104
            <artifactId>org.gvsig.scripting.lib.api</artifactId>
105
            <scope>compile</scope>
106
        </dependency>
107
        <dependency>
108
            <groupId>org.gvsig</groupId>
109
            <artifactId>org.gvsig.scripting.swing.api</artifactId>
110
            <scope>compile</scope>
111
        </dependency>
112
        <dependency>
113
            <groupId>org.gvsig</groupId>
114
            <artifactId>org.gvsig.scripting.lib.impl</artifactId>
115
            <scope>compile</scope>
116
        </dependency>
117
        <dependency>
118
            <groupId>org.gvsig</groupId>
119
            <artifactId>org.gvsig.scripting.swing.impl</artifactId>
120
            <scope>compile</scope>
121
        </dependency>
122

    
123
        <!-- force adding -->
124
        <dependency>
125
            <groupId>org.ini4j</groupId>
126
            <artifactId>ini4j</artifactId>
127
            <scope>runtime</scope>
128
        </dependency>
129
        <dependency>
130
            <groupId>net.sourceforge.thinlet</groupId>
131
            <artifactId>thinlet</artifactId>
132
            <scope>runtime</scope>
133
        </dependency>
134
        <dependency>
135
            <groupId>org.gvsig</groupId>
136
            <artifactId>org.gvsig.scripting.thing</artifactId>
137
            <scope>runtime</scope>
138
        </dependency>
139
        <dependency>
140
            <groupId>com.jeta</groupId>
141
            <artifactId>abeille</artifactId>
142
            <type>tar.gz</type>
143
            <scope>runtime</scope>
144
        </dependency>
145
        <dependency>
146
            <groupId>org.jopendocument</groupId>
147
            <artifactId>jOpenDocument</artifactId>
148
            <scope>runtime</scope>
149
        </dependency>
150
        <dependency>
151
            <groupId>com.github.tbekolay.jnumeric</groupId>
152
            <artifactId>jnumeric</artifactId>
153
            <scope>runtime</scope>
154
        </dependency>
155
 
156
        <dependency>
157
            <groupId>org.apache.tika</groupId>
158
            <artifactId>tika-core</artifactId>
159
            <scope>runtime</scope>
160
        </dependency>
161

    
162
        <dependency>
163
            <groupId>org.python</groupId>
164
            <artifactId>${jython.artifactId}</artifactId>
165
            <scope>runtime</scope>
166
        </dependency>
167
        <dependency>
168
            <groupId>org.codehaus.groovy</groupId>
169
            <artifactId>groovy-all</artifactId>
170
            <scope>runtime</scope>
171
        </dependency>
172
        <dependency>
173
            <groupId>org.renjin</groupId>
174
            <artifactId>renjin-script-engine</artifactId>
175
            <classifier>jar-with-dependencies</classifier>
176
            <scope>runtime</scope>
177
        </dependency>      
178
        
179
        <!--
180
        <dependency>
181
            <groupId>org.scala-lang</groupId>
182
            <artifactId>scala-dist</artifactId>
183
            <scope>runtime</scope>
184
        </dependency>
185
        <dependency>
186
            <groupId>org.scala-lang</groupId>
187
            <artifactId>scala-compiler</artifactId>
188
            <scope>runtime</scope>
189
        </dependency>
190
        <dependency>
191
            <groupId>org.scala-lang</groupId>
192
            <artifactId>scala-library</artifactId>
193
            <scope>runtime</scope>
194
        </dependency>
195
        <dependency>
196
            <groupId>org.scala-lang</groupId>
197
            <artifactId>scala-reflect</artifactId>
198
            <scope>runtime</scope>
199
        </dependency>
200
        <dependency>
201
            <groupId>org.scala-lang</groupId>
202
            <artifactId>scalap</artifactId>
203
            <scope>runtime</scope>
204
        </dependency>
205
        <dependency>
206
            <groupId>jline</groupId>
207
            <artifactId>jline</artifactId>
208
            <scope>runtime</scope>
209
        </dependency>
210
        -->
211
        <dependency>
212
            <groupId>net.sf.cssbox</groupId>
213
            <artifactId>swingbox</artifactId>
214
            <scope>runtime</scope>
215
        </dependency>
216
        <dependency>
217
            <groupId>net.sf.cssbox</groupId>
218
            <artifactId>cssbox</artifactId>
219
            <scope>runtime</scope>
220
        </dependency>
221
        
222
        <dependency>
223
            <groupId>net.sourceforge.nekohtml</groupId>
224
            <artifactId>nekohtml</artifactId>
225
            <scope>runtime</scope>
226
        </dependency>
227
        <dependency>
228
            <groupId>net.sf.cssbox</groupId>
229
            <artifactId>jstyleparser</artifactId>
230
            <scope>runtime</scope>
231
        </dependency>
232
        <dependency>
233
            <groupId>org.antlr</groupId>
234
            <artifactId>antlr-runtime</artifactId>
235
            <!-- Ojo que forzamos una version en concreto -->
236
            <version>3.5.2</version>
237
        </dependency>     
238
        
239
        <!-- JGit runtime dependencies -->   
240
        <dependency>
241
            <groupId>org.eclipse.jgit</groupId>
242
            <artifactId>org.eclipse.jgit</artifactId>
243
            <scope>runtime</scope>
244
        </dependency>                    
245
        
246
        <dependency>
247
            <groupId>org.icepdf.os</groupId>
248
            <artifactId>icepdf-viewer</artifactId>
249
            <version>6.2.2</version>
250
            <exclusions>
251
                <exclusion>
252
                    <groupId>batik</groupId>
253
                    <artifactId>batik-awt-util</artifactId>
254
                </exclusion>        
255
                <exclusion>
256
                    <groupId>batik</groupId>
257
                    <artifactId>batik-dom</artifactId>
258
                </exclusion>        
259
                <exclusion>
260
                    <groupId>batik</groupId>
261
                    <artifactId>batik-svg-dom</artifactId>
262
                </exclusion>        
263
                <exclusion>
264
                    <groupId>batik</groupId>
265
                    <artifactId>batik-svggen</artifactId>
266
                </exclusion>        
267
                <exclusion>
268
                    <groupId>batik</groupId>
269
                    <artifactId>batik-util</artifactId>
270
                </exclusion>        
271
                <exclusion>
272
                    <groupId>batik</groupId>
273
                    <artifactId>batik-xml</artifactId>
274
                </exclusion>        
275
            </exclusions>
276
                
277
        </dependency>
278
                
279
        <dependency>
280
            <groupId>com.vladsch.flexmark</groupId>
281
            <artifactId>flexmark-all</artifactId>
282
            <version>0.27.0</version>
283
        </dependency>
284

    
285
    </dependencies>
286

    
287

    
288
    <properties>
289
        <gvsig.package.info.name>Scripting framework</gvsig.package.info.name>
290
        <gvsig.package.info.dependencies>required: org.gvsig.app.document.table.app.mainplugin -ge 2</gvsig.package.info.dependencies>
291
        <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-scripting/pool</gvsig.package.info.poolURL>
292
        <gvsig.package.info.sourcesURL>https://devel.gvsig.org/svn/gvsig-scripting</gvsig.package.info.sourcesURL>
293
        <gvsig.package.info.state>testing</gvsig.package.info.state>
294
        <gvsig.package.info.categories>Development</gvsig.package.info.categories>
295
        <gvsig.package.info.official>true</gvsig.package.info.official>
296

    
297
    </properties>
298

    
299
    <build>
300
        <plugins>
301

    
302
            <plugin>
303
                <groupId>org.apache.maven.plugins</groupId>
304
                <artifactId>maven-dependency-plugin</artifactId>
305
                <executions>
306
                    <execution>
307
                        <id>unpack</id>
308
                        <phase>process-sources</phase>
309
                        <goals>
310
                            <goal>unpack</goal>
311
                        </goals>
312
                        <configuration>
313
                            <artifactItems>
314
                                <artifactItem>
315
                                    <groupId>com.jeta</groupId>
316
                                    <artifactId>abeille</artifactId>
317
                                    <version>2.1.0.M3</version>
318
                                    <type>tar.gz</type>
319
                                    <overWrite>true</overWrite>
320
                                    <outputDirectory>target/abeille</outputDirectory>
321
                                </artifactItem>
322
                            </artifactItems>
323
                        </configuration>
324
                    </execution>
325
                </executions>
326
            </plugin>
327

    
328
        </plugins>
329
    </build>
330

    
331
</project>