Statistics
| Revision:

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

History | View | Annotate | Download (10.1 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.52-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
        <dependency>
180
            <groupId>org.scala-lang</groupId>
181
            <artifactId>scala-dist</artifactId>
182
            <scope>runtime</scope>
183
        </dependency>
184
        <dependency>
185
            <groupId>org.scala-lang</groupId>
186
            <artifactId>scala-compiler</artifactId>
187
            <scope>runtime</scope>
188
        </dependency>
189
        <dependency>
190
            <groupId>org.scala-lang</groupId>
191
            <artifactId>scala-library</artifactId>
192
            <scope>runtime</scope>
193
        </dependency>
194
        <dependency>
195
            <groupId>org.scala-lang</groupId>
196
            <artifactId>scala-reflect</artifactId>
197
            <scope>runtime</scope>
198
        </dependency>
199
        <dependency>
200
            <groupId>org.scala-lang</groupId>
201
            <artifactId>scalap</artifactId>
202
            <scope>runtime</scope>
203
        </dependency>
204
        <dependency>
205
            <groupId>jline</groupId>
206
            <artifactId>jline</artifactId>
207
            <scope>runtime</scope>
208
        </dependency>
209
        <dependency>
210
            <groupId>net.sf.cssbox</groupId>
211
            <artifactId>swingbox</artifactId>
212
            <scope>runtime</scope>
213
        </dependency>
214
        <dependency>
215
            <groupId>net.sf.cssbox</groupId>
216
            <artifactId>cssbox</artifactId>
217
            <scope>runtime</scope>
218
        </dependency>
219
        
220
        <dependency>
221
            <groupId>net.sourceforge.nekohtml</groupId>
222
            <artifactId>nekohtml</artifactId>
223
            <scope>runtime</scope>
224
        </dependency>
225
        <dependency>
226
            <groupId>net.sf.cssbox</groupId>
227
            <artifactId>jstyleparser</artifactId>
228
            <scope>runtime</scope>
229
        </dependency>
230
        <dependency>
231
            <groupId>org.antlr</groupId>
232
            <artifactId>antlr-runtime</artifactId>
233
            <!-- Ojo que forzamos una version en concreto -->
234
            <version>3.5.2</version>
235
        </dependency>                    
236
    </dependencies>
237

    
238

    
239
    <properties>
240
        <gvsig.package.info.name>Scripting framework</gvsig.package.info.name>
241
        <gvsig.package.info.dependencies>required: org.gvsig.app.document.table.app.mainplugin -ge 2</gvsig.package.info.dependencies>
242
        <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-scripting/pool</gvsig.package.info.poolURL>
243
        <gvsig.package.info.sourcesURL>https://devel.gvsig.org/svn/gvsig-scripting</gvsig.package.info.sourcesURL>
244
        <gvsig.package.info.state>testing</gvsig.package.info.state>
245
        <gvsig.package.info.categories>Development</gvsig.package.info.categories>
246
        <gvsig.package.info.official>true</gvsig.package.info.official>
247

    
248
    </properties>
249

    
250
    <build>
251
        <plugins>
252

    
253
            <plugin>
254
                <groupId>org.apache.maven.plugins</groupId>
255
                <artifactId>maven-dependency-plugin</artifactId>
256
                <executions>
257
                    <execution>
258
                        <id>unpack</id>
259
                        <phase>process-sources</phase>
260
                        <goals>
261
                            <goal>unpack</goal>
262
                        </goals>
263
                        <configuration>
264
                            <artifactItems>
265
                                <artifactItem>
266
                                    <groupId>com.jeta</groupId>
267
                                    <artifactId>abeille</artifactId>
268
                                    <version>2.1.0.M3</version>
269
                                    <type>tar.gz</type>
270
                                    <overWrite>true</overWrite>
271
                                    <outputDirectory>target/abeille</outputDirectory>
272
                                </artifactItem>
273
                            </artifactItems>
274
                        </configuration>
275
                    </execution>
276
                </executions>
277
            </plugin>
278

    
279
        </plugins>
280
    </build>
281

    
282
</project>