Added files used in creating RCs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@928539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4dcc3e66d2
commit
b64e027c3a
|
@ -0,0 +1,77 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# -----------------------------------------------------------------------------
|
||||
#
|
||||
# Shell script to create commons math RCs.
|
||||
# This script should be run from a fresh checkout of the RC tag.
|
||||
#
|
||||
# $Revision$ $Date$
|
||||
# -----------------------------------------------------------------------------
|
||||
# Set script variables
|
||||
version=2.1
|
||||
repo_path=~/.m2/repository/org/apache/commons/commons-math/${version}
|
||||
site_mods_path=./siteMods
|
||||
release_path=~/math-release
|
||||
#
|
||||
# Delete any locally installed artifacts from previous runs
|
||||
rm -rf ${repo_path}
|
||||
echo "Cleaned maven repo."
|
||||
rm -rf ${release_path}
|
||||
echo "Cleaned local release directory"
|
||||
mvn clean
|
||||
#
|
||||
# Chicanery to get only the userguide in the site
|
||||
cp ${site_mods_path}/pom.xml .
|
||||
cp ${site_mods_path}/site.xml src/site/
|
||||
mvn site
|
||||
cp ${site_mods_path}/site.css target/site/css
|
||||
rm target/site/*
|
||||
rm -rf target/site/style
|
||||
cp -r target/apidocs target/site
|
||||
svn revert src/site/site.xml
|
||||
svn revert pom.xml
|
||||
#
|
||||
# Generate the release artifacts and install them locally
|
||||
mvn assembly:assembly
|
||||
mvn -Prc -DcreateChecksum=true install
|
||||
#
|
||||
# Copy the zips/tarballs and release notes to release directory
|
||||
mkdir ${release_path}
|
||||
cp ${repo_path}/*.zip ${release_path}
|
||||
cp ${repo_path}/*.zip.* ${release_path}
|
||||
cp ${repo_path}/*.gz ${release_path}
|
||||
cp ${repo_path}/*.gz.* ${release_path}
|
||||
cp RELEASE-NOTES.txt ${release_path}
|
||||
#
|
||||
# Copy site
|
||||
cp -R target/site ${release_path}
|
||||
#
|
||||
# Copy maven artifacts
|
||||
cp -R ${repo_path} ${release_path}
|
||||
#
|
||||
# Rename maven, site directories
|
||||
mv ${release_path}/${version} ${release_path}/maven
|
||||
mv ${release_path}/site ${release_path}/docs
|
||||
echo "Artifacts copied."
|
||||
#
|
||||
# Delete tars/zips from maven subdirectory
|
||||
rm ${release_path}/maven/*.zip
|
||||
rm ${release_path}/maven/*.zip*
|
||||
rm ${release_path}/maven/*.gz
|
||||
rm ${release_path}/maven/*.gz*
|
||||
echo "Release candidate complete"
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# -----------------------------------------------------------------------------
|
||||
#
|
||||
# Shell script to update download page and release notes prior
|
||||
# to preparing a commons math release candidate.
|
||||
#
|
||||
# Note: RELEASE-NOTES.txt may need a little reformatting prior
|
||||
# to checkin. Both RELEASE-NOTES.txt and the generated download
|
||||
# page need to be checked in after review.
|
||||
#
|
||||
# $Revision$ $Date$
|
||||
# ----------------------------------------------------------------------------
|
||||
mvn changes:announcement-generate
|
||||
mv target/announcement/math-release-notes.vm RELEASE-NOTES.txt
|
||||
mvn commons:download-page
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<!--
|
||||
Stripped down maven pom used for generating commons math userguide by itself.
|
||||
-->
|
||||
<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>org.apache.commons</groupId>
|
||||
<artifactId>commons-math</artifactId>
|
||||
<version>2.1</version>
|
||||
<name>Commons Math User Guide</name>
|
||||
<inceptionYear>2003</inceptionYear>
|
||||
<description>User Guide</description>
|
||||
<url>http://commons.apache.org/math/</url>
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://issues.apache.org/jira/browse/MATH</url>
|
||||
</issueManagement>
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/math/trunk</connection>
|
||||
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/math/trunk</developerConnection>
|
||||
<url>http://svn.apache.org/viewvc/commons/proper/math/trunk</url>
|
||||
</scm>
|
||||
<properties>
|
||||
<commons.componentid>math</commons.componentid>
|
||||
<commons.release.version>2.0</commons.release.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
</build>
|
||||
<reporting>
|
||||
</reporting>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
body {
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-left: 4px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
ul, ol {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #fff;
|
||||
border: none;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 4px;
|
||||
padding: 4px 4px 4px 6px;
|
||||
background-color: #036;
|
||||
font-weight: 900;
|
||||
font-size: 13px;
|
||||
background-image: url(../images/nw_maj_rond.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #fff;
|
||||
background-color: #888;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 4px;
|
||||
padding: 4px 4px 4px 6px;
|
||||
border: none;
|
||||
font-weight: 900;
|
||||
font-size: 13px;
|
||||
background-image: url(../images/nw_maj_rond.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
div#bodyColumn {
|
||||
margin-top: 0px;
|
||||
margin-left: 158px;
|
||||
}
|
||||
|
||||
div#bodyColumn a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
div#bodyColumn a:link {
|
||||
color: #00f;
|
||||
}
|
||||
div#bodyColumn a:visited {
|
||||
color: #00f;
|
||||
}
|
||||
a:active, a:hover {
|
||||
color: #f30 !important;
|
||||
}
|
||||
|
||||
div.source {
|
||||
background-color: #eee;
|
||||
color: #000;
|
||||
margin-right: 0px;
|
||||
margin-left: 4px;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
div#leftColumn {
|
||||
color: #000;
|
||||
background-color: #eee;
|
||||
margin-left: 0px;
|
||||
margin-top: 0px;
|
||||
border-right: 1px solid #aaa;
|
||||
border-bottom: 1px solid #aaa;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#navcolumn {
|
||||
margin-top: 0px;
|
||||
|
||||
color: #000;
|
||||
border: none;
|
||||
padding: 6px 4px 0 8px;
|
||||
}
|
||||
|
||||
#navcolumn li {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
#navcolumn h5 {
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
#banner, #banner td {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#banner td {
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#menuCommons a.externalLink, #menuCommons a.externalLink:link, #menuCommons a.externalLink:visited, #menuCommons a.externalLink:active, #menuCommons a.externalLink:hover {
|
||||
background-image: none;
|
||||
padding-right: 0px;
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<!--
|
||||
Stripped down nav for just the commons-math user guide.
|
||||
TODO: get this generated somehow from the "real" site.xml
|
||||
so it does not have to be maintained separately.
|
||||
-->
|
||||
<project name="Math">
|
||||
<skin>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-skin</artifactId>
|
||||
<version>2</version>
|
||||
</skin>
|
||||
<publishDate position="none"/>
|
||||
<body>
|
||||
<menu name="User Guide">
|
||||
<item name="Contents" href="/userguide/index.html"/>
|
||||
<item name="Overview" href="/userguide/overview.html"/>
|
||||
<item name="Statistics" href="/userguide/stat.html"/>
|
||||
<item name="Data Generation" href="/userguide/random.html"/>
|
||||
<item name="Linear Algebra" href="/userguide/linear.html"/>
|
||||
<item name="Numerical Analysis" href="/userguide/analysis.html"/>
|
||||
<item name="Special Functions" href="/userguide/special.html"/>
|
||||
<item name="Utilities" href="/userguide/utilities.html"/>
|
||||
<item name="Complex Numbers" href="/userguide/complex.html"/>
|
||||
<item name="Distributions" href="/userguide/distribution.html"/>
|
||||
<item name="Fractions" href="/userguide/fraction.html"/>
|
||||
<item name="Transform Methods" href="/userguide/transform.html"/>
|
||||
<item name="3D Geometry" href="/userguide/geometry.html"/>
|
||||
<item name="Optimization" href="/userguide/optimization.html"/>
|
||||
<item name="Ordinary Differential Equations" href="/userguide/ode.html"/>
|
||||
<item name="Genetic Algorithms" href="/userguide/genetics.html"/>
|
||||
</menu>
|
||||
|
||||
</body>
|
||||
</project>
|
Loading…
Reference in New Issue