Statistics
| Revision:

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

History | View | Annotate | Download (12.6 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.237</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
        <!--
67
        <dependency>
68
            <groupId>org.gvsig</groupId>
69
            <artifactId>org.gvsig.tools.lib</artifactId>
70
            <scope>test</scope>
71
        </dependency>
72
        -->
73
        <dependency>
74
            <groupId>org.gvsig</groupId>
75
            <artifactId>org.gvsig.i18n</artifactId>
76
            <scope>compile</scope>
77
        </dependency>
78
        <dependency>
79
            <groupId>org.gvsig</groupId>
80
            <artifactId>org.gvsig.andami</artifactId>
81
            <scope>compile</scope>
82
        </dependency>
83
        <dependency>
84
            <groupId>org.gvsig</groupId>
85
            <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
86
            <scope>compile</scope>
87
        </dependency>
88
        <dependency>
89
            <groupId>org.gvsig</groupId>
90
            <artifactId>org.gvsig.app.mainplugin</artifactId>
91
            <scope>compile</scope>
92
        </dependency>
93
        <dependency>
94
            <groupId>org.gvsig</groupId>
95
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
96
            <scope>compile</scope>
97
        </dependency>
98
        <dependency>
99
            <groupId>org.gvsig</groupId>
100
            <artifactId>org.gvsig.about.api</artifactId>
101
            <scope>compile</scope>
102
        </dependency>
103
        <dependency>
104
            <groupId>org.gvsig</groupId>
105
            <artifactId>org.gvsig.scripting.lib.api</artifactId>
106
            <scope>compile</scope>
107
        </dependency>
108
        <dependency>
109
            <groupId>org.gvsig</groupId>
110
            <artifactId>org.gvsig.scripting.swing.api</artifactId>
111
            <scope>compile</scope>
112
        </dependency>
113
        <dependency>
114
            <groupId>org.gvsig</groupId>
115
            <artifactId>org.gvsig.scripting.lib.impl</artifactId>
116
            <scope>compile</scope>
117
        </dependency>
118
        <dependency>
119
            <groupId>org.gvsig</groupId>
120
            <artifactId>org.gvsig.scripting.swing.impl</artifactId>
121
            <scope>compile</scope>
122
        </dependency>
123

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

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

    
310
    </dependencies>
311

    
312

    
313
    <properties>
314
        <gvsig.package.info.name>Scripting framework</gvsig.package.info.name>
315
        <gvsig.package.info.dependencies>required: org.gvsig.app.document.table.app.mainplugin -ge 2</gvsig.package.info.dependencies>
316
        <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-scripting/pool</gvsig.package.info.poolURL>
317
        <gvsig.package.info.sourcesURL>https://devel.gvsig.org/svn/gvsig-scripting</gvsig.package.info.sourcesURL>
318
        <gvsig.package.info.state>testing</gvsig.package.info.state>
319
        <gvsig.package.info.categories>Development</gvsig.package.info.categories>
320
        <gvsig.package.info.official>true</gvsig.package.info.official>
321

    
322
    </properties>
323

    
324
    <build>
325
        <plugins>
326

    
327
            <plugin>
328
                <groupId>org.apache.maven.plugins</groupId>
329
                <artifactId>maven-dependency-plugin</artifactId>
330
                <executions>
331
                    <execution>
332
                        <id>unpack</id>
333
                        <phase>process-sources</phase>
334
                        <goals>
335
                            <goal>unpack</goal>
336
                        </goals>
337
                        <configuration>
338
                            <artifactItems>
339
                                <artifactItem>
340
                                    <groupId>com.jeta</groupId>
341
                                    <artifactId>abeille</artifactId>
342
                                    <version>2.1.0.M3</version>
343
                                    <type>tar.gz</type>
344
                                    <overWrite>true</overWrite>
345
                                    <outputDirectory>target/abeille</outputDirectory>
346
                                </artifactItem>
347
                            </artifactItems>
348
                        </configuration>
349
                    </execution>
350
                </executions>
351
            </plugin>
352

    
353
        </plugins>
354
    </build>
355

    
356
</project>