Fixed distro files and pom

This commit is contained in:
Luca Frosini 2019-12-05 16:59:10 +01:00
parent 2e57ccd304
commit 50edc71829
4 changed files with 9 additions and 84 deletions

View File

@ -1,6 +1,6 @@
# gCube Catalogue Service
# Resource Registry Service
This service allows any client to publish on the gCube Catalogue.
The Resource Registry is a web-service which represent the core component of the gCube Information System
## Built With
@ -25,10 +25,9 @@ Tell people how to cite this software.
* Cite an associated paper?
* Use a specific BibTeX entry for the software?
@Manual{,
@software{,
title = {gCube Resource Registry Service},
author = {{Frosini, Luca}},
author = {Frosini, Luca},
organization = {ISTI - CNR},
address = {Pisa, Italy},
year = 2019,

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>servicearchive</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>/</baseDirectory>
<fileSets>
<fileSet>
<directory>.</directory>
<outputDirectory>${file.separator}</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>README.md</include>
<include>LICENSE.md</include>
<include>gcube-app.xml</include>
<include>changelog.xml</include>
<include>profile.xml</include>
</includes>
<fileMode>755</fileMode>
<filtered>true</filtered>
</fileSet>
</fileSets>
<files>
<file>
<source>target${file.separator}${build.finalName}.${project.packaging}</source>
<outputDirectory>${file.separator}${project.artifactId}</outputDirectory>
</file>
</files>
</assembly>

23
pom.xml
View File

@ -11,8 +11,8 @@
<groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry</artifactId>
<version>2.1.0-SNAPSHOT</version>
<name>Resource Registry</name>
<description>Resource Registry</description>
<name>Resource Registry Service</name>
<description>The Resource Registry is a web-service which represent the core component of the gCube Information System</description>
<packaging>war</packaging>
<properties>
@ -104,7 +104,7 @@
</dependency>
</dependencies>
<build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -128,7 +128,6 @@
<includes>
<include>LICENSE.md</include>
<include>README.md</include>
<include>web.xml</include>
<include>gcube-app.xml</include>
<include>changelog.xml</include>
</includes>
@ -138,28 +137,16 @@
</execution>
</executions>
</plugin>
<!-- <finalName>${artifactId}</finalName> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>descriptor.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>servicearchive</id>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
<id>make-servicearchive</id>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<Resource>
<ID />
<Type>Service</Type>
<Profile>
<Description>${project.description}</Description>
<Class>${serviceClass}</Class>
<Name>${project.artifactId}</Name>
<Version>1.0.0</Version>
<Packages>
<Main>
<Name>${project.artifactId}</Name>
<Version>${project.version}</Version>
<Description>${project.description}</Description>
<MavenCoordinates>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
</MavenCoordinates>
<Files>
<File>${build.finalName}.${project.packaging}</File>
</Files>
</Main>
</Packages>
</Profile>
</Resource>