Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
af2cf824
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
af2cf824
编写于
7月 05, 2011
作者:
S
Stephen Connolly
提交者:
Kohsuke Kawaguchi
7月 12, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
more removal of antrun
上级
394f215d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
90 addition
and
61 deletion
+90
-61
pom.xml
pom.xml
+15
-0
remoting/pom.xml
remoting/pom.xml
+4
-11
war/pom.xml
war/pom.xml
+71
-50
未找到文件。
pom.xml
浏览文件 @
af2cf824
...
...
@@ -270,6 +270,21 @@ THE SOFTWARE.
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
2.2.1
</version>
</plugin>
<plugin>
<artifactId>
maven-jarsigner-plugin
</artifactId>
<version>
1.2
</version>
<configuration>
<!--
during the development, debug profile will cause
the jars to be signed by a self-certified dummy public key.
For release, you should define the real values in ~/.m2/settings.xml
-->
<alias>
${hudson.sign.alias}
</alias>
<storepass>
${hudson.sign.storepass}
</storepass>
<keystore>
${hudson.sign.keystore}
</keystore>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-resources-plugin
</artifactId>
...
...
remoting/pom.xml
浏览文件 @
af2cf824
...
...
@@ -105,22 +105,15 @@ THE SOFTWARE.
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-jarsigner-plugin
</artifactId>
<version>
1.2
</version>
<executions>
<execution>
<goals>
<goal>
sign
</goal>
</goals>
<configuration>
<!--
during the development, debug profile defined in ../pom.xml will cause
the jars to be signed by a self-certified dummy public key.
For release, you should define the real values in ~/.m2/settings.xml
-->
<alias>
${hudson.sign.alias}
</alias>
<storepass>
${hudson.sign.storepass}
</storepass>
<keystore>
${hudson.sign.keystore}
</keystore>
</configuration>
</execution>
</executions>
</plugin>
...
...
war/pom.xml
浏览文件 @
af2cf824
...
...
@@ -161,7 +161,7 @@ THE SOFTWARE.
<goal>
list
</goal>
</goals>
<configuration>
<outputFile>
${
basedir}/target/classes
/dependencies.txt
</outputFile>
<outputFile>
${
project.build.outputDirectory}
/dependencies.txt
</outputFile>
</configuration>
</execution>
<execution>
...
...
@@ -176,7 +176,70 @@ THE SOFTWARE.
<includeArtifactIds>
executable-war
</includeArtifactIds>
<includeScope>
provided
</includeScope>
<includes>
**/*.class
</includes>
<outputDirectory>
target/generated-resources
</outputDirectory>
<outputDirectory>
${project.build.directory}/generated-resources
</outputDirectory>
</configuration>
</execution>
<execution>
<id>
resgen
</id>
<phase>
generate-resources
</phase>
<goals>
<goal>
copy
</goal>
</goals>
<configuration>
<artifactItems>
<!-- dependencies that goes to unusual locations -->
<artifactItem>
<groupId>
${project.groupId}
</groupId>
<artifactId>
remoting
</artifactId>
<outputDirectory>
${project.build.directory}/generated-resources/WEB-INF
</outputDirectory>
<destFileName>
remoting.jar
</destFileName>
</artifactItem>
<artifactItem>
<groupId>
${project.groupId}
</groupId>
<artifactId>
remoting
</artifactId>
<outputDirectory>
${project.build.directory}/generated-resources/WEB-INF
</outputDirectory>
<destFileName>
slave.jar
</destFileName>
</artifactItem>
<artifactItem>
<groupId>
${project.groupId}
</groupId>
<artifactId>
cli
</artifactId>
<classifier>
jar-with-dependencies
</classifier>
<outputDirectory>
${project.build.directory}/generated-resources/WEB-INF
</outputDirectory>
<destFileName>
jenkins-cli.jar
</destFileName>
</artifactItem>
<artifactItem>
<groupId>
org.jenkins-ci
</groupId>
<artifactId>
winstone
</artifactId>
<outputDirectory>
${project.build.directory}/generated-resources
</outputDirectory>
<destFileName>
winstone.jar
</destFileName>
</artifactItem>
<!-- bundled plugins -->
<artifactItem>
<groupId>
${project.groupId}
</groupId>
<artifactId>
maven-plugin
</artifactId>
<type>
hpi
</type>
</artifactItem>
<artifactItem>
<groupId>
org.jenkins-ci.plugins
</groupId>
<artifactId>
ssh-slaves
</artifactId>
<version>
0.17
</version>
<type>
hpi
</type>
</artifactItem>
<artifactItem>
<groupId>
org.jenkins-ci.plugins
</groupId>
<artifactId>
subversion
</artifactId>
<version>
1.28
</version>
<type>
hpi
</type>
</artifactItem>
<artifactItem>
<groupId>
org.jvnet.hudson.plugins
</groupId>
<artifactId>
cvs
</artifactId>
<version>
1.2
</version>
<type>
hpi
</type>
</artifactItem>
</artifactItems>
<outputDirectory>
${project.build.directory}/generated-resources/WEB-INF/plugins
</outputDirectory>
<stripVersion>
true
</stripVersion>
</configuration>
</execution>
</executions>
...
...
@@ -195,7 +258,7 @@ THE SOFTWARE.
<configuration>
<artifacts>
<artifact>
<file>
${
basedir}/target
/${project.build.finalName}.war
</file>
<file>
${
project.build.directory}
/${project.build.finalName}.war
</file>
<type>
jar
</type>
<classifier>
war-for-test
</classifier>
</artifact>
...
...
@@ -204,44 +267,12 @@ THE SOFTWARE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.jvnet.maven-antrun-extended-plugin
</groupId>
<artifactId>
maven-antrun-extended-plugin
</artifactId>
<!-- version specified in grandparent pom -->
<executions>
<execution>
<id>
resgen
</id>
<phase>
generate-resources
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<verifyArtifact>
false
</verifyArtifact>
<tasks>
<mkdir
dir=
"target/generated-resources"
/>
<!-- dependencies that goes to unusual locations -->
<resolveArtifact
artifactId=
"remoting"
tofile=
"${basedir}/target/generated-resources/WEB-INF/remoting.jar"
/>
<resolveArtifact
artifactId=
"remoting"
tofile=
"${basedir}/target/generated-resources/WEB-INF/slave.jar"
/>
<resolveArtifact
groupId=
"${project.groupId}"
artifactId=
"cli"
classifier=
"jar-with-dependencies"
version=
"${project.version}"
type=
"jar"
tofile=
"${basedir}/target/generated-resources/WEB-INF/jenkins-cli.jar"
/>
<resolveArtifact
artifactId=
"winstone"
tofile=
"${basedir}/target/generated-resources/winstone.jar"
/>
<!-- bundled plugins -->
<resolveArtifact
type=
"hpi"
groupId=
"${project.groupId}"
artifactId=
"maven-plugin"
version=
"${project.version}"
tofile=
"${basedir}/target/generated-resources/WEB-INF/plugins/maven-plugin.hpi"
/>
<resolveArtifact
type=
"hpi"
groupId=
"org.jenkins-ci.plugins"
artifactId=
"ssh-slaves"
version=
"0.17"
tofile=
"${basedir}/target/generated-resources/WEB-INF/plugins/ssh-slaves.hpi"
/>
<resolveArtifact
type=
"hpi"
groupId=
"org.jenkins-ci.plugins"
artifactId=
"subversion"
version=
"1.28"
tofile=
"${basedir}/target/generated-resources/WEB-INF/plugins/subversion.hpi"
/>
<resolveArtifact
type=
"hpi"
groupId=
"org.jvnet.hudson.plugins"
artifactId=
"cvs"
version=
"1.2"
tofile=
"${basedir}/target/generated-resources/WEB-INF/plugins/cvs.hpi"
/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- generate licenses.xml -->
<groupId>
com.cloudbees
</groupId>
<artifactId>
maven-license-plugin
</artifactId>
<!-- version specified in grandparent pom -->
<configuration>
<generateLicenseXml>
target/classes
/META-INF/licenses.xml
</generateLicenseXml>
<generateLicenseXml>
${project.build.outputDirectory}
/META-INF/licenses.xml
</generateLicenseXml>
<inlineScript>
filter {
// add Winstone since we are bundling it.
...
...
@@ -374,27 +405,17 @@ THE SOFTWARE.
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<!-- version specified in grandparent pom -->
<artifactId>
maven-jarsigner-plugin
</artifactId>
<version>
1.2
</version>
<executions>
<!-- sign the war -->
<execution>
<id>
signWar
</id>
<phase>
verify
</phase>
<goals>
<goal>
ru
n
</goal>
<goal>
sig
n
</goal>
</goals>
<configuration>
<tasks>
<!--
during the development, debug profile defined in ../pom.xml will cause
the jars to be signed by a self-certified dummy public key.
For release, you should define the real values in ~/.m2/settings.xml
-->
<signjar
jar=
"target/jenkins.war"
alias=
"${hudson.sign.alias}"
keystore=
"${hudson.sign.keystore}"
storepass=
"${hudson.sign.storepass}"
/>
</tasks>
<archive>
${project.build.directory}/${project.build.finalName}.${project.packaging}
</archive>
</configuration>
</execution>
</executions>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录