锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
]]>
]]>
# ~/.bashrc: executed by bash(1) for non-login shells.
2# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
3# for examples
4
5# If not running interactively, don't do anything
6[ -z "$PS1" ] && return
7
8# don't put duplicate lines in the history. See bash(1) for more options
9#export HISTCONTROL=ignoredups
10
11# check the window size after each command and, if necessary,
12# update the values of LINES and COLUMNS.
13shopt -s checkwinsize
14
15# make less more friendly for non-text input files, see lesspipe(1)
16[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
17
18# set variable identifying the chroot you work in (used in the prompt below)
19if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
20 debian_chroot=$(cat /etc/debian_chroot)
21fi
22
23# set a fancy prompt (non-color, unless we know we "want" color)
24case "$TERM" in
25xterm-color)
26 PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
27 ;;
28*)
29 PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
30 ;;
31esac
32
33# Comment in the above and uncomment this below for a color prompt
34#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
35
36# If this is an xterm set the title to user@host:dir
37case "$TERM" in
38xterm*|rxvt*)
39 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
40 ;;
41*)
42 ;;
43esac
44
45# Alias definitions.
46# You may want to put all your additions into a separate file like
47# ~/.bash_aliases, instead of adding them here directly.
48# See /usr/share/doc/bash-doc/examples in the bash-doc package.
49
50#if [ -f ~/.bash_aliases ]; then
51# . ~/.bash_aliases
52#fi
53
54# enable color support of ls and also add handy aliases
55if [ "$TERM" != "dumb" ]; then
56 eval "`dircolors -b`"
57 alias ls='ls --color=auto'
58 #alias dir='ls --color=auto --format=vertical'
59 #alias vdir='ls --color=auto --format=long'
60fi
61
62# some more ls aliases
63#alias ll='ls -l'
64#alias la='ls -A'
65#alias l='ls -CF'
66
67# enable programmable completion features (you don't need to enable
68# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
69# sources /etc/bash.bashrc).
70#if [ -f /etc/bash_completion ]; then
71# . /etc/bash_completion
72#fi
73
source .bashrc
鏄劇ず鏁堟灉
]]>
1. 浣跨敤宸ュ叿CruiseControl
涓嬭澆鍦板潃 http://cruisecontrol.sourceforge.net/download.html 涓嬭澆鍚庤В鍘嬪埌鐩綍
2. 浣跨敤svn涓嬭澆欏圭洰鍒癈ruiseControl鐨刾rojects鐩綍涓?linux 浣跨敤svn鍛戒護checkout)
3. 淇敼CruiseControl鏍圭洰褰曚笅鐨刢onfig.xml (CruiseControl+maven2+SVN)
<?xml version="1.0" encoding="UTF-8"?>
2<cruisecontrol>
3 <property name="cruisedir" value="/root/tools/cruisecontrol-bin-2.8.3" />
4 <property name="logdir" value="${cruisedir}/logs" />
5 <property name="checkoutdir" value="${cruisedir}/projects" />
6 <property name="artifactdir" value="${cruisedir}/artifacts" />
7 <!-- 榪欓噷鐨?0100609MatchingManagerFromShanghai灝辨槸svn checkout鐨勯」鐩洰褰曞悕縐?nbsp; -->
8 <project name="20100609MatchingManagerFromShanghai">
9 <bootstrappers>
10 <svnbootstrapper localWorkingCopy="${checkoutdir}/${project.name}" />
11 </bootstrappers>
12 <modificationset quietperiod="30">
13 <svn localWorkingCopy="${checkoutdir}/${project.name}" />
14 </modificationset>
15 <!-- 姣忛殧300縐掑仛涓嬈aven 鐨?nbsp;clean package 錛岃繖閲岀殑300縐掑彲浠ヤ換鎰忔敼鍔?/span>-->
16 <schedule interval="300">
17 <!-- 浣跨敤maven鏉ヨ繘琛宑lean package, 闇瑕佹寚瀹歮aven鐩綍鍜宻etting鐩綍 -->
18 <maven2 mvnScript="/root/tools/apache-maven-2.2.0/bin/mvn" pomFile="${checkoutdir}/${project.name}/pom.xml" goal="clean package" settingsFile="/root/tools/apache-maven-2.2.0/conf/settings.xml" />
19 </schedule>
20 <log>
21 <merge dir="projects/${project.name}/target/test-results" />
22 </log>
23 <publishers>
24 <!-- 鍙互閰嶇疆閭歡閫氱煡-->
25 <email mailhost="smtp.cs-corpmail.cn" returnaddress="User@sh-db.com.cn" skipusers="false" reportsuccess="always" subjectprefix="[CruiseControl]" buildresultsurl="http://192.168.1.10:8080/cruisecontrol/buildresults/${project.name}" spamwhilebroken="true" username="User@sh-db.com.cn" password="User1234">
26 <failure address="User@sh-db.com.cn" />
27 <success address="User@sh-db.com.cn" />
28 </email>
29 </publishers>
30 <listeners />
31 </project>
32</cruisecontrol>
33
4. 鍚姩CruiseControl鏍圭洰褰曚笅鐨刢ruisecontrol.bat(linux涓嬩負(fù)cruisecontrol.sh)
5. 鍙互鎵撳紑http://192.168.1.10:8080/cruisecontrol/鏉ヨ繘琛岄厤緗?/h4>
]]>
/Files/shnulaa/shell.zip
]]>
Plugin | Type* | Version | Release Date | Description | Source Repository | Issue Tracking |
---|---|---|---|---|---|---|
Core plugins | Plugins corresponding to default core phases (ie. clean, compile). They may have muliple goals as well. | |||||
clean | B | 2.4.1 | 2010-05-12 | Clean up after the build. | SVN | JIRA |
compiler | B | 2.3.2 | 2010-09-09 | Compiles Java sources. | SVN | JIRA |
deploy | B | 2.5 | 2009-12-24 | Deploy the built artifact to the remote repository. | SVN | JIRA |
failsafe | B | 2.6 | 2010-08-16 | Run the Junit integration tests in an isolated classloader. | SVN | JIRA |
install | B | 2.3.1 | 2010-05-21 | Install the built artifact into the local repository. | SVN | JIRA |
resources | B | 2.4.3 | 2010-05-21 | Copy the resources to the output directory for including in the JAR. | SVN | JIRA |
site | B | 2.1.1 | 2010-06-04 | Generate a site for the current project. | SVN | JIRA |
surefire | B | 2.6 | 2010-08-16 | Run the Junit unit tests in an isolated classloader. | SVN | JIRA |
verifier | B | 1.0 | 2010-01-30 | Useful for integration tests - verifies the existence of certain conditions. | SVN | JIRA |
Packaging types / tools | These plugins relate to packaging respective artifact types. | |||||
ear | B | 2.4.2 | 2010-05-21 | Generate an EAR from the current project. | SVN | JIRA |
ejb | B | 2.3 | 2010-09-18 | Build an EJB (and optional client) from the current project. | SVN | JIRA |
jar | B | 2.3.1 | 2010-05-21 | Build a JAR from the current project. | SVN | JIRA |
rar | B | 2.2 | 2007-02-28 | Build a RAR from the current project. | SVN | JIRA |
war | B | 2.1 | 2010-08-18 | Build a WAR from the current project. | SVN | JIRA |
shade | B | 1.4 | 2010-08-11 | Build an Uber-JAR from the current project, including dependencies. | SVN | JIRA |
Reporting plugins | Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle. | |||||
changelog | R | 2.2 | 2010-05-28 | Generate a list of recent changes from your SCM. | SVN | JIRA |
changes | B+R | 2.3 | 2009-12-09 | Generate a report from issue tracking or a change document. | SVN | JIRA |
checkstyle | B+R | 2.6 | 2010-09-25 | Generate a checkstyle report. | SVN | JIRA |
clover | B+R | 2.4 | 2007-04-23 | Generate a Clover report. NOTE: Moved to Atlassian.com | SVN | JIRA |
doap | B | 1.0 | 2008-08-01 | Generate a Description of a Project (DOAP) file from a POM. | SVN | JIRA |
docck | B | 1.0 | 2008-11-16 | Documentation checker plugin. | SVN | JIRA |
javadoc | B+R | 2.7 | 2010-05-04 | Generate Javadoc for the project. | SVN | JIRA |
jxr | R | 2.2 | 2010-06-05 | Generate a source cross reference. | SVN | JIRA |
linkcheck | R | 1.0.1 | 2010-09-19 | Generate a Linkcheck report of your project's documentation. | SVN | JIRA |
pmd | B+R | 2.5 | 2010-05-04 | Generate a PMD report. | SVN | JIRA |
project-info-reports | R | 2.2 | 2010-05-20 | Generate standard project reports. | SVN | JIRA |
surefire-report | R | 2.6 | 2010-08-16 | Generate a report based on the results of unit tests. | SVN | JIRA |
Tools | These are miscellaneous tools available through Maven by default. | |||||
ant | B | 2.3 | 2009-11-11 | Generate an Ant build file for the project. | SVN | JIRA |
antrun | B | 1.3 | 2008-10-11 | Run a set of ant tasks from a phase of the build. | SVN | JIRA |
archetype | B | 2.0-alpha-5 | 2010-04-23 | Generate a skeleton project structure from an archetype. | SVN | JIRA |
assembly | B | 2.2-beta-5 | 2009-12-13 | Build an assembly (distribution) of sources and/or binaries. | SVN | JIRA |
dependency | B+R | 2.1 | 2009-01-10 | Dependency manipulation (copy, unpack) and analysis. | SVN | JIRA |
enforcer | B | 1.0-beta-1 | 2009-02-25 | Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution. | SVN | JIRA |
gpg | B | 1.1 | 2010-06-01 | Create signatures for the artifacts and poms. | SVN | JIRA |
help | B | 2.1.1 | 2010-03-26 | Get information about the working environment for the project. | SVN | JIRA |
invoker | B | 1.5 | 2009-10-26 | Run a set of Maven projects and verify the output. | SVN | JIRA |
jarsigner | B | 1.2 | 2009-09-30 | Signs or verifies project artifacts. | SVN | JIRA |
one | B | 1.2 | 2007-09-12 | A plugin for interacting with legacy Maven 1.x repositories and builds. | SVN | JIRA |
patch | B | 1.1.1 | 2010-01-06 | Use the gnu patch tool to apply patch files to source code. | SVN | JIRA |
B | 1.1 | 2009-12-13 | Generate a PDF version of your project's documentation. | SVN | JIRA | |
plugin | B+R | 2.6 | 2010-05-05 | Create a Maven plugin descriptor for any mojos found in the source tree, to include in the JAR. | SVN | JIRA |
release | B | 2.0 | 2010-02-10 | Release the current project - updating the POM and tagging in the SCM. | SVN | JIRA |
reactor | B | 1.0 | 2008-09-27 | Build a subset of interdependent projects in a reactor | SVN | JIRA |
remote-resources | B | 1.1 | 2009-09-22 | Copy remote resources to the output directory for inclusion in the artifact. | SVN | JIRA |
repository | B | 2.3.1 | 2010-07-21 | Plugin to help with repository-based tasks. | SVN | JIRA |
scm | B | 1.4 | 2010-08-08 | Generate a SCM for the current project. | SVN | JIRA |
source | B | 2.1.2 | 2010-05-21 | Build a JAR of sources for use in IDEs and distribution to the repository. | SVN | JIRA |
stage | B | 1.0-alpha-2 | 2009-07-14 | Assists with release staging and promotion. | SVN | JIRA |
toolchains | B | 1.0 | 2009-11-01 | Allows to share configuration across plugins. | SVN | JIRA |
IDEs | Plugins that simplify integration with integrated developer environments. | |||||
eclipse | B | 2.8 | 2010-02-25 | Generate an Eclipse project file for the current project. | SVN | JIRA |
idea | B | 2.2 | 2008-08-08 | Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules) | SVN | JIRA |