Fix missing directory 'maven' in source release packages, adjust the related test-Ant-script to call 'assemble' instead of 'jar' to catch something like this in the future.

Also exclude some more intermediate files/directories from the source package.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-11-14 19:50:39 +00:00
parent 0480ef3722
commit a1c9f7f723
2 changed files with 9 additions and 2 deletions

View File

@ -1958,8 +1958,11 @@ under the License.
<mappedresources cache="true">
<fileset dir="." excludes="build/**,
dist*/**,
maven/**,
lib/**,
bin/**,
out/**,
sonar/**/target/**,
sonar/*/src/**,
compile-lib/**,
ooxml-lib/**,
scripts/**,
@ -1970,6 +1973,10 @@ under the License.
*.lnk,
*.rdf,
*.swp,
*.launch,
*.log,
.gradle/**,
.idea/**,
.settings/**,
.classpath,
.settings/**,

View File

@ -77,7 +77,7 @@ Before running this, you should execute the "assemble" target in the main build.
<!-- finally call Ant on the extracted source to check if we can build the packages -->
<echo message="Building in temporary dir ${dirversion}/"/>
<ant dir="${dirversion}" target="jar" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/>
<ant dir="${dirversion}" target="assemble" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/>
</target>
<target name="runCompileTest" depends="init" description="Verify that we can compile most examples without including excelant or scratchpad jars">