1
================================================================================
2
Licensed to the Apache Software Foundation (ASF) under one or more
3
contributor license agreements. See the NOTICE file distributed with
4
this work for additional information regarding copyright ownership.
5
The ASF licenses this file to You under the Apache License, Version 2.0
6
(the "License"); you may not use this file except in compliance with
7
the License. You may obtain a copy of the License at
9
http://www.apache.org/licenses/LICENSE-2.0
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
================================================================================
18
$Id: README.txt 1353103 2012-06-23 09:46:50Z kkolinko $
20
General preparations before any publishing:
21
1 - Download Maven Ant Tasks (version 2.1.0 is known to work) and place it in
23
2 - Generate a standard Tomcat release (see BUILDING.txt)
24
3 - Copy mvn.properties.default to mvn.properties and adjust it as necessary.
25
You will need to set asf.ldap.username and you'll probably need to set
27
The other properties should be OK. Note: you will be prompted for your
28
GPG pass-phrase and LDAP password when the script runs.
30
To publish a snapshot do the following:
31
1 - ant -f mvn-pub.xml deploy-snapshot
33
https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/
35
To release do the following:
36
1 - ant -f mvn-pub.xml deploy-release
37
that step creates a staging area in
38
https://repository.apache.org/index.html#stagingRepositories
39
2 - check the upload and then close the repository
40
3 - include the repository in the VOTE thread
41
4 - in https://repository.apache.org/index.html#stagingRepositories release it