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 ## Built With
@ -25,10 +25,9 @@ Tell people how to cite this software.
* Cite an associated paper? * Cite an associated paper?
* Use a specific BibTeX entry for the software? * Use a specific BibTeX entry for the software?
@software{,
@Manual{,
title = {gCube Resource Registry Service}, title = {gCube Resource Registry Service},
author = {{Frosini, Luca}}, author = {Frosini, Luca},
organization = {ISTI - CNR}, organization = {ISTI - CNR},
address = {Pisa, Italy}, address = {Pisa, Italy},
year = 2019, 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> <groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry</artifactId> <artifactId>resource-registry</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>2.1.0-SNAPSHOT</version>
<name>Resource Registry</name> <name>Resource Registry Service</name>
<description>Resource Registry</description> <description>The Resource Registry is a web-service which represent the core component of the gCube Information System</description>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
@ -104,7 +104,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -128,7 +128,6 @@
<includes> <includes>
<include>LICENSE.md</include> <include>LICENSE.md</include>
<include>README.md</include> <include>README.md</include>
<include>web.xml</include>
<include>gcube-app.xml</include> <include>gcube-app.xml</include>
<include>changelog.xml</include> <include>changelog.xml</include>
</includes> </includes>
@ -138,28 +137,16 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- <finalName>${artifactId}</finalName> -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>descriptor.xml</descriptor>
</descriptors>
</configuration>
<executions> <executions>
<execution> <execution>
<id>servicearchive</id> <id>make-servicearchive</id>
<phase>install</phase> <phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </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>