Repository: struts Updated Branches: refs/heads/support-2-3 22cb8c7e7 -> 5d26c6c1e
WW-4570 Defines a minimal jar set to be used by users Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/5d26c6c1 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/5d26c6c1 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/5d26c6c1 Branch: refs/heads/support-2-3 Commit: 5d26c6c1e5ec466d231dcad4d70b670609b85248 Parents: 22cb8c7 Author: Lukasz Lenart <[email protected]> Authored: Fri Nov 20 13:16:26 2015 +0100 Committer: Lukasz Lenart <[email protected]> Committed: Fri Nov 20 13:16:26 2015 +0100 ---------------------------------------------------------------------- assembly/pom.xml | 26 ++++++++++++++ assembly/src/main/assembly/min-lib.xml | 53 +++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/5d26c6c1/assembly/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/pom.xml b/assembly/pom.xml index f73867a..8dab81b 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -129,6 +129,7 @@ <descriptors> <descriptor>src/main/assembly/all.xml</descriptor> <descriptor>src/main/assembly/lib.xml</descriptor> + <descriptor>src/main/assembly/min-lib.xml</descriptor> <descriptor>src/main/assembly/apps.xml</descriptor> <descriptor>src/main/assembly/src.xml</descriptor> <descriptor>src/main/assembly/docs.xml</descriptor> @@ -144,6 +145,16 @@ <dependencies> <dependency> + <groupId>org.apache.struts.xwork</groupId> + <artifactId>xwork-core</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.struts</groupId> + <artifactId>struts2-core</artifactId> + </dependency> + + <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-cdi-plugin</artifactId> </dependency> @@ -287,6 +298,21 @@ <artifactId>struts2-osgi-demo-bundle</artifactId> </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + </dependency> + + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-commons</artifactId> + </dependency> + + <dependency> + <groupId>asm</groupId> + <artifactId>asm</artifactId> + </dependency> + </dependencies> <properties> http://git-wip-us.apache.org/repos/asf/struts/blob/5d26c6c1/assembly/src/main/assembly/min-lib.xml ---------------------------------------------------------------------- diff --git a/assembly/src/main/assembly/min-lib.xml b/assembly/src/main/assembly/min-lib.xml new file mode 100644 index 0000000..e57154d --- /dev/null +++ b/assembly/src/main/assembly/min-lib.xml @@ -0,0 +1,53 @@ +<!-- +/* + * $Id$ + * + * 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 xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + + <id>min-lib</id> + <formats> + <format>zip</format> + </formats> + <dependencySets> + <dependencySet> + <useProjectArtifact>true</useProjectArtifact> + <useTransitiveDependencies>true</useTransitiveDependencies> + <outputDirectory>lib</outputDirectory> + <includes> + <include>org.apache.struts.xwork:xwork-core</include> + <include>org.apache.struts:struts2-core</include> + <include>org.freemarker:freemarker</include> + <include>org.apache.commons:commons-lang3</include> + <include>org.ow2.asm:asm</include> + <include>org.ow2.asm:asm-commons</include> + <include>org.ow2.asm:asm-tree</include> + <include>ognl:ognl</include> + <include>javassist:javassist</include> + <include>commons-fileupload:commons-fileupload</include> + <include>commons-io:commons-io</include> + <include>commons-logging:commons-logging</include> + </includes> + </dependencySet> + </dependencySets> +</assembly>
