aboutsummaryrefslogtreecommitdiff
path: root/subsonic-assembly
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
committerScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
commita1a18f77a50804e0127dfa4b0f5240c49c541184 (patch)
tree19a38880afe505beddb5590379a8134d7730a277 /subsonic-assembly
parentb61d787706979e7e20f4c3c4f93c1f129d92273f (diff)
downloaddsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip
Initial Commit
Diffstat (limited to 'subsonic-assembly')
-rw-r--r--subsonic-assembly/pom.xml63
-rw-r--r--subsonic-assembly/src/main/assembly/src.xml38
-rw-r--r--subsonic-assembly/src/main/assembly/standalone.xml43
-rw-r--r--subsonic-assembly/src/main/assembly/war.xml27
4 files changed, 171 insertions, 0 deletions
diff --git a/subsonic-assembly/pom.xml b/subsonic-assembly/pom.xml
new file mode 100644
index 00000000..74448d92
--- /dev/null
+++ b/subsonic-assembly/pom.xml
@@ -0,0 +1,63 @@
+<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/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>net.sourceforge.subsonic</groupId>
+ <artifactId>subsonic-assembly</artifactId>
+ <packaging>pom</packaging>
+ <name>Subsonic Assembly</name>
+
+ <parent>
+ <groupId>net.sourceforge.subsonic</groupId>
+ <artifactId>subsonic</artifactId>
+ <version>4.7.beta2</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>net.sourceforge.subsonic</groupId>
+ <artifactId>subsonic-main</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <finalName>subsonic-${project.version}</finalName>
+ <plugins>
+
+ <!-- Configuration of assembly plugin for creating the distributions. -->
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/war.xml</descriptor>
+ <descriptor>src/main/assembly/standalone.xml</descriptor>
+ <descriptor>src/main/assembly/src.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+
+ <!-- Work-around since the target directory is not created automatically. -->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <configuration>
+ <target>
+ <mkdir dir="target"/>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
diff --git a/subsonic-assembly/src/main/assembly/src.xml b/subsonic-assembly/src/main/assembly/src.xml
new file mode 100644
index 00000000..e1bbc75e
--- /dev/null
+++ b/subsonic-assembly/src/main/assembly/src.xml
@@ -0,0 +1,38 @@
+<!-- Defines the set of files that should be included in the source distribution. -->
+
+<assembly>
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+
+ <fileSet>
+ <directory>..</directory>
+ <includes>
+ <include>pom.xml</include>
+ </includes>
+ <outputDirectory></outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>../repo</directory>
+ <outputDirectory>repo</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>../subsonic-main</directory>
+ <includes>
+ <include>src/**</include>
+ <include>pom.xml</include>
+ <include>target/classes/build_number.txt</include>
+ <include>LICENSE.TXT</include>
+ <include>README.TXT</include>
+ <include>Getting Started.html</include>
+ </includes>
+ <outputDirectory>subsonic-main</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+</assembly>
diff --git a/subsonic-assembly/src/main/assembly/standalone.xml b/subsonic-assembly/src/main/assembly/standalone.xml
new file mode 100644
index 00000000..41e19918
--- /dev/null
+++ b/subsonic-assembly/src/main/assembly/standalone.xml
@@ -0,0 +1,43 @@
+<!-- Defines the set of files that should be included in the standalone distribution. -->
+
+<assembly>
+ <id>standalone</id>
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>../subsonic-main</directory>
+ <outputDirectory/>
+ <includes>
+ <include>README.TXT</include>
+ <include>LICENSE.TXT</include>
+ <include>Getting Started.html</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../subsonic-main/target</directory>
+ <outputDirectory/>
+ <includes>
+ <include>*.war</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../subsonic-booter/target</directory>
+ <outputDirectory/>
+ <includes>
+ <include>subsonic-booter-jar-with-dependencies.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../subsonic-booter/src/main/script</directory>
+ <outputDirectory/>
+ <includes>
+ <include>subsonic.sh</include>
+ <include>subsonic.bat</include>
+ </includes>
+ <fileMode>0777</fileMode>
+ </fileSet>
+ </fileSets>
+</assembly> \ No newline at end of file
diff --git a/subsonic-assembly/src/main/assembly/war.xml b/subsonic-assembly/src/main/assembly/war.xml
new file mode 100644
index 00000000..8aa4d188
--- /dev/null
+++ b/subsonic-assembly/src/main/assembly/war.xml
@@ -0,0 +1,27 @@
+<!-- Defines the set of files that should be included in the binary distribution. -->
+
+<assembly>
+ <id>war</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>../subsonic-main</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>README.TXT</include>
+ <include>LICENSE.TXT</include>
+ <include>Getting Started.html</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../subsonic-main/target</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>*.war</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly> \ No newline at end of file