diff --git a/core/conn/jdbcT4/Makefile b/core/conn/jdbcT4/Makefile index 5ded2ea1c6..ade92692b8 100644 --- a/core/conn/jdbcT4/Makefile +++ b/core/conn/jdbcT4/Makefile @@ -29,7 +29,7 @@ all: build_all build_all: target/jdbcT4-${TRAFODION_VER}.jar target/jdbcT4-${TRAFODION_VER}.jar: $(java_files) LICENSE NOTICE - echo "$(MAVEN) package -DskipTests" + @echo "$(MAVEN) package -DskipTests" set -o pipefail && $(MAVEN) install -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -DskipTests | tee build_jdbct4.log | grep --line-buffered -E -e '^\[[^WId]' -e '^\[INFO\] B[Uu][Ii][Ll][Dd]' -e 'to compile' cp target/jdbcT4-${TRAFODION_VER}.jar ${TRAF_HOME}/export/lib mkdir -p ../clients diff --git a/core/conn/jdbcT4/pom.xml b/core/conn/jdbcT4/pom.xml index 3af7fa6f48..fed1739a60 100644 --- a/core/conn/jdbcT4/pom.xml +++ b/core/conn/jdbcT4/pom.xml @@ -239,6 +239,15 @@ + + disable-javadoc-doclint + + [1.8,) + + + -Xdoclint:none + + apache-release @@ -286,6 +295,10 @@ org.apache.maven.plugins maven-javadoc-plugin 2.9 + + true + ${javadoc.opts} + attach-javadocs diff --git a/dcs/Makefile b/dcs/Makefile index 76c64b92d2..3e66af0469 100644 --- a/dcs/Makefile +++ b/dcs/Makefile @@ -26,24 +26,25 @@ BLD_TRAFODION_DCS_TARNAME =dcs-$(TRAFODION_VER).tar.gz VFILE =trafodion-dcs.jar.versions GENVERS =./genvers +java_files:=$(shell find src/main/java -name *.java*|grep -v Vproc.java) .NOTPARALLEL: all -all: build_all +all: target/dcs-$(TRAFODION_VER).jar -build_all: build_chk - echo "$(MAVEN) site package -DskipTests" - echo "### For full Maven output, see file build_dcs.log" - set -o pipefail && $(MAVEN) site package -DskipTests | tee build_dcs.log | grep --line-buffered -E -e '^\[[^WId]' -e '^\[INFO\] B[Uu][Ii][Ll][Dd]' -e 'to compile' - $(RM) $(VFILE) - -build_chk: +target/dcs-$(TRAFODION_VER).jar: $(java_files) $(GENVERS) > $(VFILE) @if [ $(GENVERS) -nt target/$(BLD_TRAFODION_DCS_TARNAME) ]; then echo "update manifest"; $(RM) -f target/$(BLD_TRAFODION_DCS_TARNAME); fi @if [ $(TRAF_HOME)/export/include/SCMBuildStr.h -nt target/$(BLD_TRAFODION_DCS_TARNAME) ]; then echo "update manifest"; $(RM) -f target/$(BLD_TRAFODION_DCS_TARNAME); fi + @echo "$(MAVEN) site package -DskipTests" + @echo "### For full Maven output, see file build_dcs.log" + set -o pipefail && $(MAVEN) site package -DskipTests | tee build_dcs.log | grep --line-buffered -E -e '^\[[^WId]' -e '^\[INFO\] B[Uu][Ii][Ll][Dd]' -e 'to compile' + $(RM) $(VFILE) -clean: +mvn_clean: -$(MAVEN) clean | grep ERROR + +clean: $(shell if [ -d target ]; then echo "mvn_clean"; fi) $(RM) build_dcs.log $(RM) $(VFILE) $(RM) ../${DISTRIBUTION_DIR}/$(BLD_TRAFODION_DCS_TARNAME) diff --git a/dcs/pom.xml b/dcs/pom.xml index 206e424489..e2cca0452c 100644 --- a/dcs/pom.xml +++ b/dcs/pom.xml @@ -129,8 +129,8 @@ 2.5.1 true - 1.7 - 1.7 + ${source.version} + ${target.version} @@ -527,6 +527,8 @@ true org.trafodion.dcs.SmallTests org.trafodion.dcs.MediumTests, org.trafodion.dcs.LargeTests + 1.7 + 1.7 @@ -654,6 +656,17 @@ + + disable-javadoc-doclint + + [1.8,) + + + -Xdoclint:none + 1.8 + 1.8 + + jdbc @@ -742,6 +755,7 @@ ${maven.javadoc.plugin.version} true + ${javadoc.opts}