Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit ee60a2b

Browse files
committed
working packaging with jdeb
1 parent 3321599 commit ee60a2b

File tree

4 files changed

+28
-19
lines changed

4 files changed

+28
-19
lines changed

pom.xml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
<version>2.5</version>
4141
<scope>provided</scope>
4242
</dependency>
43+
44+
<dependency>
45+
<groupId>javax.el</groupId>
46+
<artifactId>javax.el-api</artifactId>
47+
<version>2.2.4</version>
48+
<scope>provided</scope>
49+
</dependency>
50+
4351
<dependency>
4452
<groupId>commons-fileupload</groupId>
4553
<artifactId>commons-fileupload</artifactId>
@@ -161,7 +169,7 @@
161169
</dependencies>
162170

163171
<build>
164-
<finalName>${project.artifactId}</finalName>
172+
<finalName>generator</finalName>
165173
<plugins>
166174
<plugin>
167175
<groupId>org.apache.maven.plugins</groupId>
@@ -199,7 +207,7 @@
199207
</executions>
200208
</plugin>
201209

202-
<!-- Maven Tomcat Plugin mvn tomcat7:deplouy|redeploy -->
210+
<!-- Maven Tomcat Plugin mvn tomcat7:deploy|redeploy -->
203211
<plugin>
204212
<groupId>org.apache.tomcat.maven</groupId>
205213
<artifactId>tomcat7-maven-plugin</artifactId>
@@ -225,11 +233,23 @@
225233
</goals>
226234
<configuration>
227235

228-
<deb>${project.build.directory}/${artifactId}_${version}_all.deb</deb>
229-
<changesOut>${project.build.directory}/${artifactId}_${version}_all.changes</changesOut>
236+
<deb>${project.build.directory}/${project.artifactId}_${project.version}_all.deb</deb>
237+
<changesOut>${project.build.directory}/${project.artifactId}_${project.version}_all.changes</changesOut>
230238

231-
<dataSet>
232-
<data>
239+
<dataSet>
240+
<data>
241+
<type>template</type>
242+
<paths>
243+
<path>/jobs</path>
244+
</paths>
245+
<mapper>
246+
<type>perm</type>
247+
<prefix>/var/generator</prefix>
248+
<user>tomcat7</user>
249+
<group>tomcat7</group>
250+
</mapper>
251+
</data>
252+
<data>
233253
<src>${project.build.directory}/${project.build.finalName}.war</src>
234254
<type>file</type>
235255
<mapper>

src/deb/control/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Version: 1.2.0
33
Section: web
44
Priority: extra
55
Architecture: all
6-
Depends: openjdk-8-jdk, tomcat7, spring-batch-admin-geoknow, ${misc:Depends}
6+
Depends: oracle-java8-installer, tomcat7
77
Maintainer: Alejandra Garcia-Rojas M <[email protected]>
88
Distribution: development
99
Homepage: http://stack.linkeddata.org/getting-started/geoknow-generator/
@@ -12,4 +12,4 @@ Description: The GeoKnow Generator provides a workbench that integrates of tools
1212
and are part of the [Linked Data Stack](http://stack.linkeddata.org/).
1313
These workbench aim to provide the required methods and tools
1414
to easly integrate and process geospatial data
15-
across a wide range of data sources on the web of data.
15+
across a wide range of data sources on the web of data.

src/deb/control/dirs

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/deb/control/geoknow-generator-ui.postinst

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)