This commit is contained in:
Paolo Fabriani 2016-11-17 11:40:17 +00:00
parent fcc8219f72
commit d0ededbb40
2 changed files with 61 additions and 0 deletions

36
distro/descriptor.xml Normal file
View File

@ -0,0 +1,36 @@
<assembly
xmlns="http:***REMOVED***maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http:***REMOVED***www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http:***REMOVED***maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http:***REMOVED***maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>servicearchive</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>/</baseDirectory>
<fileSets>
<fileSet>
<directory>${distroDirectory***REMOVED***</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>README</include>
<include>LICENSE</include>
<include>profile.xml</include>
</includes>
<fileMode>755</fileMode>
<filtered>true</filtered>
</fileSet>
</fileSets>
<files>
<file>
<source>target/${build.finalName***REMOVED***.jar</source>
<outputDirectory>/${artifactId***REMOVED***</outputDirectory>
</file>
</files>
</assembly>

25
distro/profile.xml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http:***REMOVED***www.w3.org/2001/XMLSchema-instance">
<ID />
<Type>Library</Type>
<Profile>
<Description>${description***REMOVED***</Description>
<Class>DataminerPoolManager</Class>
<Name>${artifactId***REMOVED***</Name>
<Version>1.0.0</Version>
<Packages>
<Software>
<Name>${artifactId***REMOVED***</Name>
<Version>${version***REMOVED***</Version>
<MavenCoordinates>
<groupId>${groupId***REMOVED***</groupId>
<artifactId>${artifactId***REMOVED***</artifactId>
<version>${version***REMOVED***</version>
</MavenCoordinates>
<Files>
<File>${build.finalName***REMOVED***.jar</File>
</Files>
</Software>
</Packages>
</Profile>
</Resource>