|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +** This is free and unencumbered software released into the public domain. |
| 4 | +** |
| 5 | +** Anyone is free to copy, modify, publish, use, compile, sell, or |
| 6 | +** distribute this software, either in source code form or as a compiled |
| 7 | +** binary, for any purpose, commercial or non-commercial, and by any |
| 8 | +** means. |
| 9 | +** |
| 10 | +** In jurisdictions that recognize copyright laws, the author or authors |
| 11 | +** of this software dedicate any and all copyright interest in the |
| 12 | +** software to the public domain. We make this dedication for the benefit |
| 13 | +** of the public at large and to the detriment of our heirs and |
| 14 | +** successors. We intend this dedication to be an overt act of |
| 15 | +** relinquishment in perpetuity of all present and future rights to this |
| 16 | +** software under copyright law. |
| 17 | +** |
| 18 | +** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 19 | +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 | +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 21 | +** IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 22 | +** OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 23 | +** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 24 | +** OTHER DEALINGS IN THE SOFTWARE. |
| 25 | +** |
| 26 | +** For more information, please refer to <http://unlicense.org/> |
| 27 | +--> |
| 28 | +<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"> |
| 29 | + <modelVersion>4.0.0</modelVersion> |
| 30 | + |
| 31 | + <parent> |
| 32 | + <groupId>org.kaazing</groupId> |
| 33 | + <artifactId>gateway.client.java.common</artifactId> |
| 34 | + <version>5.1.0.9</version> |
| 35 | + </parent> |
| 36 | + |
| 37 | + <groupId>org.kaazing</groupId> |
| 38 | + <artifactId>amqp.client.java.demo</artifactId> |
| 39 | + <name>Kaazing WebSocket Gateway - AMQP Java Client Demo</name> |
| 40 | + <packaging>jar</packaging> |
| 41 | + <version>5.0.0.1-SNAPSHOT</version> |
| 42 | + |
| 43 | + <url>https://github.com/kaazing/amqp.client.java.demo.git</url> |
| 44 | + <description>Java demo for AMQP 0-9-1 protocol over WebSocket(RFC-6455) transport.</description> |
| 45 | + <scm> |
| 46 | + <connection>scm:git:${project.scm.url}</connection> |
| 47 | + <developerConnection>scm:git:${project.scm.url}</developerConnection> |
| 48 | + < url> [email protected]:kaazing/amqp.client.java.demo.git</ url> |
| 49 | + </scm> |
| 50 | + |
| 51 | + <dependencies> |
| 52 | + <dependency> |
| 53 | + <groupId>org.kaazing</groupId> |
| 54 | + <artifactId>amqp.client.java</artifactId> |
| 55 | + <type>jar</type> |
| 56 | + <version>[5.0.0.0,5.1.0.0)</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.kaazing</groupId> |
| 60 | + <artifactId>gateway.client.java</artifactId> |
| 61 | + <version>[5.1.0.0,5.2.0.0)</version> |
| 62 | + </dependency> |
| 63 | + <!--dependency> |
| 64 | + <groupId>com.kaazing.gateway.core</groupId> |
| 65 | + <artifactId>com.kaazing.gateway.core.demo.resources</artifactId> |
| 66 | + <version>[4.0.0.0,4.1.0.0)</version> |
| 67 | + <type>zip</type> |
| 68 | + <classifier>headers</classifier> |
| 69 | + </dependency--> |
| 70 | + </dependencies> |
| 71 | + |
| 72 | + <build> |
| 73 | + <plugins> |
| 74 | + <!-- Create a shaded JAR for running the applet demo --> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-shade-plugin</artifactId> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <phase>package</phase> |
| 81 | + <goals> |
| 82 | + <goal>shade</goal> |
| 83 | + </goals> |
| 84 | + <configuration> |
| 85 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 86 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 87 | + <shadedClassifierName>shaded</shadedClassifierName> |
| 88 | + <transformers> |
| 89 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 90 | + <mainClass>org.kaazing.net.ws.amqp.demo.AmqpFrame</mainClass> |
| 91 | + </transformer> |
| 92 | + </transformers> |
| 93 | + <filters> |
| 94 | + <filter> |
| 95 | + <artifact>*:*</artifact> |
| 96 | + <excludes> |
| 97 | + <exclude>**/*.html</exclude> |
| 98 | + <exclude>**/*.java</exclude> |
| 99 | + <exclude>images/</exclude> |
| 100 | + <exclude>resources/</exclude> |
| 101 | + <exclude>checklist/</exclude> |
| 102 | + </excludes> |
| 103 | + </filter> |
| 104 | + </filters> |
| 105 | + </configuration> |
| 106 | + </execution> |
| 107 | + </executions> |
| 108 | + </plugin> |
| 109 | + |
| 110 | + <plugin> |
| 111 | + <groupId>org.apache.maven.plugins</groupId> |
| 112 | + <artifactId>maven-jar-plugin</artifactId> |
| 113 | + <version>2.5</version> |
| 114 | + <configuration> |
| 115 | + <archive> |
| 116 | + <manifest> |
| 117 | + </manifest> |
| 118 | + <manifestEntries> |
| 119 | + <Trusted-Library>true</Trusted-Library> |
| 120 | + <Permissions>all-permissions</Permissions> |
| 121 | + </manifestEntries> |
| 122 | + </archive> |
| 123 | + </configuration> |
| 124 | + </plugin> |
| 125 | + |
| 126 | + <!-- Copy the demo resources --> |
| 127 | + <plugin> |
| 128 | + <artifactId>maven-resources-plugin</artifactId> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <goals> |
| 132 | + <goal>resources</goal> |
| 133 | + </goals> |
| 134 | + <configuration> |
| 135 | + <outputDirectory>target/content</outputDirectory> |
| 136 | + </configuration> |
| 137 | + </execution> |
| 138 | + </executions> |
| 139 | + </plugin> |
| 140 | + |
| 141 | + <!-- Attach Demo Source Files --> |
| 142 | + <!-- BWA: Check to see if this is actually needed by a dependency anymore. --> |
| 143 | + <!-- I hate to do this, but maven-source-plugin doesn't seem |
| 144 | + to work as advertised: It doesn't generate or attach/install |
| 145 | + the sources despite my combinatorial explosion of attempts. |
| 146 | + I know assembly will work... --> |
| 147 | + <plugin> |
| 148 | + <groupId>org.apache.maven.plugins</groupId> |
| 149 | + <artifactId>maven-assembly-plugin</artifactId> |
| 150 | + <!-- this works for assembly build, but breaks from top-level --> |
| 151 | + <configuration> |
| 152 | + <filters> |
| 153 | + <filter>src/main/assembly/filter.properties</filter> |
| 154 | + </filters> |
| 155 | + </configuration> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <phase>verify</phase> |
| 159 | + <goals> |
| 160 | + <goal>single</goal> |
| 161 | + </goals> |
| 162 | + <configuration> |
| 163 | + <descriptors> |
| 164 | + <descriptor>src/main/assembly/sources.xml</descriptor> |
| 165 | + <descriptor>src/main/assembly/content.xml</descriptor> |
| 166 | + </descriptors> |
| 167 | + </configuration> |
| 168 | + </execution> |
| 169 | + </executions> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>com.google.code.maven-license-plugin</groupId> |
| 173 | + <artifactId>maven-license-plugin</artifactId> |
| 174 | + <configuration> |
| 175 | + <useDefaultExcludes>true</useDefaultExcludes> |
| 176 | + <failIfMissing>false</failIfMissing> |
| 177 | + </configuration> |
| 178 | + </plugin> |
| 179 | + </plugins> |
| 180 | + </build> |
| 181 | + |
| 182 | + <properties> |
| 183 | + <geronimo.spec.version>1.1.1</geronimo.spec.version> |
| 184 | + </properties> |
| 185 | +</project> |
0 commit comments