Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.3
-
None
-
None
Description
Here's a Buildfile with embedded tests to demonstrate the issue:
repositories.remote << "http://www.ibiblio.org/maven2/"
repositories.remote << "http://www.intalio.org/public/maven2/"
AXIS2_WAR = "org.apache.axis2:axis2-webapp:war:1.3"
define "merge" do
project.version = "0.1"
project.group = "foo"
package(:war).merge(artifact(AXIS2_WAR)).exclude("WEB-INF/").exclude("META-INF/").exclude("axis2-web/index.jsp")
check package(:war), 'should contain axis2-web directory' do
it.should contain('axis2-web/*')
end
check package(:war).path('WEB-INF'), 'should not contain WEB-INF' do
it.should_not contain('*/')
end
check package(:war).path('WEB-INF'), 'WEF-INF should not contain axis2-war/index.jsp' do
it.should_not contain('axis2-war/index.jsp')
end
end