Jan Lahoda  committed db05077

Trying to ensure that both the maven plugin and jackpot tool are in the local repository before running the plugin's test

  • Participants
  • Parent commits f8c057f

Comments (0)

Files changed (1)

File cmdline/

 ant "$@" clean && ant "$@" build && ant "$@" test && (cd compiler; ant "$@" create-standalone-compiler && build/test/scripted/run )  && (cd tool; ant "$@" create-standalone-tool && build/test/scripted/run ) || exit 1
+mvn $MAVEN_EXTRA_ARGS install:install-file -Dfile=tool/build/jackpot/jackpot.jar -DgroupId=org.netbeans.modules.jackpot30 -DartifactId=tool -Dversion=7.2-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
+(cd maven; mvn $MAVEN_EXTRA_ARGS install -DskipTests;  mvn $MAVEN_EXTRA_ARGS -Dmaven.executable=`which mvn` test)
 mkdir -p "$MAVEN_REPO"
 mvn $MAVEN_EXTRA_ARGS install:install-file -Dfile=tool/build/jackpot/jackpot.jar -DgroupId=org.netbeans.modules.jackpot30 -DartifactId=tool -Dversion=7.2-SNAPSHOT -Dpackaging=jar -DgeneratePom=true "-DlocalRepositoryPath=$MAVEN_REPO"
-(cd maven; mvn $MAVEN_EXTRA_ARGS -Dmaven.executable=`which mvn` -DaltDeploymentRepository=temp::default::file://"$MAVEN_REPO" deploy)
+(cd maven; mvn $MAVEN_EXTRA_ARGS -DskipTests -DaltDeploymentRepository=temp::default::file://"$MAVEN_REPO" deploy)
 (cd build; zip -r .m2)