Module for generating distribution files.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/193e5430 Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/193e5430 Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/193e5430 Branch: refs/heads/master Commit: 193e5430f7459d38330e5eef5832982936a2d715 Parents: e0d68bd Author: Gilles <er...@apache.org> Authored: Mon Nov 28 23:03:09 2016 +0100 Committer: Gilles <er...@apache.org> Committed: Mon Nov 28 23:03:09 2016 +0100 ---------------------------------------------------------------------- dist-archive/pom.xml | 205 +++++++++++++++++++++++++++++++++ dist-archive/src/assembly/bin.xml | 42 +++++++ dist-archive/src/assembly/src.xml | 35 ++++++ 3 files changed, 282 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/193e5430/dist-archive/pom.xml ---------------------------------------------------------------------- diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml new file mode 100644 index 0000000..2cd99d3 --- /dev/null +++ b/dist-archive/pom.xml @@ -0,0 +1,205 @@ +<?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> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-parent</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>pom</packaging> + <name>Apache Commons RNG (full distribution)</name> + <description>This module creates the Apache Commons RNG distribution.</description> + + <dependencies> + + <!-- Module: Client API --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-client-api</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-client-api</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-client-api</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + <!-- Module: Core --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-core</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-core</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-core</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + <!-- Module: Simple --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-simple</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-simple</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-simple</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + <!-- Module: Sampling --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-sampling</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-sampling</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-sampling</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + <!-- Module: JMH --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-jmh</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-jmh</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-jmh</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + <!-- Module: Examples --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-examples</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-examples</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>sources</classifier> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-rng-examples</artifactId> + <version>1.0-SNAPSHOT</version> + <classifier>javadoc</classifier> + </dependency> + + </dependencies> + + <build> + <plugins> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>create-distribution</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/assembly/bin.xml</descriptor> + <descriptor>src/assembly/src.xml</descriptor> + </descriptors> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <configuration> + <createChecksum>true</createChecksum> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + </profiles> + +</project> http://git-wip-us.apache.org/repos/asf/commons-rng/blob/193e5430/dist-archive/src/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/dist-archive/src/assembly/bin.xml b/dist-archive/src/assembly/bin.xml new file mode 100644 index 0000000..7927455 --- /dev/null +++ b/dist-archive/src/assembly/bin.xml @@ -0,0 +1,42 @@ +<!-- + 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>zip</format> + </formats> + <baseDirectory>${project.artifactId}-${project.version}</baseDirectory> + <includeSiteDirectory>false</includeSiteDirectory> + <dependencySets> + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <useTransitiveDependencies>false</useTransitiveDependencies> + </dependencySet> + </dependencySets> + + <fileSets> + <fileSet> + <directory>${project.basedir}/..</directory> + <includes> + <include>LICENSE*.txt</include> + <include>NOTICE.txt</include> + <include>RELEASE-NOTES.txt</include> + </includes> + </fileSet> + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/commons-rng/blob/193e5430/dist-archive/src/assembly/src.xml ---------------------------------------------------------------------- diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml new file mode 100644 index 0000000..cf75fed --- /dev/null +++ b/dist-archive/src/assembly/src.xml @@ -0,0 +1,35 @@ +<!-- + 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>zip</format> + </formats> + <baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory> + <fileSets> + <fileSet> + <directory>${project.basedir}/..</directory> + <excludes> + <exclude>${project.build.directory}/**</exclude> + <exclude>.*/**</exclude> + <exclude>**/${project.build.directory}/**</exclude> + <exclude>**/.*/**</exclude> + </excludes> + </fileSet> + </fileSets> +</assembly>