forked from apache/mina
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90719cf
commit ae054ee
Showing
4 changed files
with
336 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you 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> | ||
<artifactId>mina-parent</artifactId> | ||
<groupId>org.apache.mina</groupId> | ||
<version>3.0.0-M1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>distribution</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Apache MINA Distribution</name> | ||
|
||
<properties> | ||
<docsFolder>${project.build.directory}/docs</docsFolder> | ||
</properties> | ||
|
||
<build> | ||
<finalName>apache-mina-${project.version}</finalName> | ||
|
||
<!-- Here, we create the src and bin packages --> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<configuration> | ||
<descriptors> | ||
<descriptor>src/main/assembly/bin.xml</descriptor> | ||
<descriptor>src/main/assembly/src.xml</descriptor> | ||
</descriptors> | ||
<tarLongFileMode>gnu</tarLongFileMode> | ||
</configuration> | ||
|
||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-core</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-examples</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-codec</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-http</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-coap</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-protobuf</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>mina-thrift</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
|
||
<!-- We don't include distribution nor benchmark as a dependency : it's not part of the release --> | ||
</dependencies> | ||
|
||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you 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>bin</id> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>tar.bz2</format> | ||
<format>zip</format> | ||
</formats> | ||
|
||
<fileSets> | ||
<!-- Copy licenses into '/' --> | ||
<fileSet> | ||
<directory>..</directory> | ||
<outputDirectory></outputDirectory> | ||
<includes> | ||
<include>README*</include> | ||
<include>LICENSE*</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- Copy Javadoc into '/docs' --> | ||
<fileSet> | ||
<directory>../target/site</directory> | ||
<outputDirectory>docs</outputDirectory> | ||
<includes> | ||
<include>apidocs*/**</include> | ||
<include>xref*/**</include> | ||
</includes> | ||
</fileSet> | ||
|
||
</fileSets> | ||
|
||
<files> | ||
<file> | ||
<source>../NOTICE-bin.txt</source> | ||
<outputDirectory></outputDirectory> | ||
<destName>NOTICE.txt</destName> | ||
</file> | ||
</files> | ||
|
||
<dependencySets> | ||
<!-- Copy Mina modules into '/dist' --> | ||
<dependencySet> | ||
<outputDirectory>dist</outputDirectory> | ||
<includes> | ||
<!-- Including only Mina modules --> | ||
<include>${project.groupId}:*</include> | ||
</includes> | ||
|
||
<excludes> | ||
<!-- Excluding sources jars --> | ||
<exclude>*:sources</exclude> | ||
|
||
<!-- Excluding transport-serial jar --> | ||
<exclude>${project.groupId}:mina-transport-serial</exclude> | ||
</excludes> | ||
</dependencySet> | ||
|
||
<!-- Copy Mina dependencies into '/lib' --> | ||
<dependencySet> | ||
<outputDirectory>lib</outputDirectory> | ||
<excludes> | ||
<!-- Excluding Mina modules --> | ||
<exclude>${project.groupId}:*</exclude> | ||
|
||
<!-- Excluding sources jars --> | ||
<exclude>*:sources</exclude> | ||
</excludes> | ||
</dependencySet> | ||
</dependencySets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you 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>src</id> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>tar.bz2</format> | ||
<format>zip</format> | ||
</formats> | ||
|
||
<fileSets> | ||
<!-- Copy licenses into '/' --> | ||
<fileSet> | ||
<directory>..</directory> | ||
<outputDirectory></outputDirectory> | ||
<includes> | ||
<include>README*</include> | ||
<include>LICENSE*</include> | ||
<include>NOTICE*</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- Copy Javadoc into '/docs' --> | ||
<fileSet> | ||
<directory>../target/site</directory> | ||
<outputDirectory>docs</outputDirectory> | ||
<includes> | ||
<include>apidocs*/**</include> | ||
<include>xref*/**</include> | ||
</includes> | ||
</fileSet> | ||
|
||
<!-- Copy sources into '/src' --> | ||
<fileSet> | ||
<directory>..</directory> | ||
<outputDirectory>src</outputDirectory> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
<excludes> | ||
<exclude>.git/**</exclude> | ||
<exclude>KEYS</exclude> | ||
<exclude>LICENSE*.txt</exclude> | ||
<exclude>NOTICE.txt</exclude> | ||
<exclude>**/target</exclude> | ||
<exclude>**/target/**</exclude> | ||
<exclude>**/.settings</exclude> | ||
<exclude>**/.settings/**</exclude> | ||
<exclude>**/.classpath</exclude> | ||
<exclude>**/.project</exclude> | ||
<exclude>**/*.gen</exclude> | ||
<exclude>**/.wtpmodules</exclude> | ||
<exclude>**/surefire*</exclude> | ||
<exclude>**/cobertura.ser</exclude> | ||
<exclude>**/velocity.log</exclude> | ||
<exclude>distribution</exclude> | ||
<exclude>distribution/**</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
|
||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters