-
Notifications
You must be signed in to change notification settings - Fork 0
Adding a new version
Mitchell Skaggs edited this page Nov 1, 2017
·
2 revisions
- Apache Maven installed and the binaries on your
%PATH%
, etc. - A clone of the
ftc-lib-repo
repository with themvn-repo
branch checked out - The library, javadocs, and sources to add
mvn install:install-file -Dfile=${path-to-install-file} -Dsources=${path-to-sources-file} -DlocalRepositoryPath=${path-to-root-of-ftc-lib-repo} -DartifactId=org.first.ftc -DgroupId=${name-of-lib} -Dversion=${ftc-version}
analytics
blocks
ftc-common
hardware
inspection
robotcore
vuforia-incomplete
wireless-p2p
The vuforia-incomplete
artifact is the Vuforia.jar
without native C++ dependencies.
mvn install:install-file -Dfile=ftc_app/libs/FtcCommon-release.aar -Dsources=ftc_app/libs/FtcCommon-release-sources.jar -DlocalRepositoryPath=ftc-lib-repo/ -DartifactId=ftc-common -DgroupId=org.first.ftc -Dversion=3.5 -Dpackaging=aar
This command assumes that you are located in the root of the ftc-lib-repo
repository and have the ftc_app
repository cloned. If there is no sources
.jar
, the -Dsources
flag can be removed.
- Clone the most recent version of
ftc_app
- Execute the
mvn install:install-file
goal for each file in theftc_app/libs/
directory - Add, commit, and push the resulting files to the
mvn-repo
branch