Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Create an assembly package for packing the OpenNTF binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Dumont committed Jul 23, 2013
1 parent e58cf9d commit 8ad2dac
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 7 deletions.
1 change: 1 addition & 0 deletions jaggr-assembly/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.settings
17 changes: 17 additions & 0 deletions jaggr-assembly/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jaggr-assembly</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
70 changes: 70 additions & 0 deletions jaggr-assembly/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!--
(C) Copyright 2012, IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.1.2-SNAPSHOT</version>
</parent>

<artifactId>jaggr-assembly</artifactId>
<packaging>pom</packaging>

<name>Jaggr Assembly</name>
<description>Assembly binary for posting to OpenNTF.org</description>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>${project.groupId}-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/openntf.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-service</artifactId>
</dependency>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-sample</artifactId>
</dependency>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-sample-dojo</artifactId>
</dependency>
</dependencies>
</project>
40 changes: 40 additions & 0 deletions jaggr-assembly/src/main/assembly/openntf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--
(C) Copyright 2012, IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<assembly>
<id>openntf</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<includes>
<include>com.ibm.jaggr:jaggr-sample</include>
<include>com.ibm.jaggr:jaggr-sample-dojo</include>
<include>com.ibm.jaggr:jaggr-service</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>..</directory>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</fileSet>
</fileSets>
</assembly>
37 changes: 30 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
<packaging>pom</packaging>

<modules>
<module>jaggr-service</module>
<module>jaggr-sample-dojo</module>
<module>jaggr-assembly</module>
<module>jaggr-sample</module>
<module>jaggr-sample-dojo</module>
<module>jaggr-service</module>
</modules>

<name>Javascript AMD Aggregator</name>
Expand Down Expand Up @@ -71,6 +72,11 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -111,6 +117,11 @@
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -140,6 +151,13 @@
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -151,11 +169,16 @@
<artifactId>jaggr-service</artifactId>
<version>1.1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-sample-dojo</artifactId>
<version>1.1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-sample</artifactId>
<version>1.1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ibm.jaggr</groupId>
<artifactId>jaggr-sample-dojo</artifactId>
<version>1.1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.wink</groupId>
<artifactId>wink-json4j</artifactId>
Expand Down

0 comments on commit 8ad2dac

Please sign in to comment.