Max' Third Party Maven Repository
This repository hosts artifacts that cannot be found on the official maven servers.
Access (For anyone using maven)
-
To access these artifacts, add this repository configuration to your
pom.xml
:<repositories> <repository> <id>Max's third party repo on a UQAM GitLab file server</id> <url>https://max.pages.info.uqam.ca/inf2050repo/</url> </repository> </repositories>
-
A sample test dependency is the xox (Tic Tac Toe) Model and Controller artifact:
<dependencies> <dependency> <groupId>ca.uqam</groupId> <artifactId>xoxinternals</artifactId> <version>1.7</version> </dependency> </dependencies>
Adding new artifacts (For Max only)
tl;dr: use the
updaterepo.sh
script. Copies all locally installed halma interface/test version to repo.
- Make sure your maven artifact project has the hashsums feature enabled for the install phase:
<!-- Create checksum for everything installed to local .m2 repo. Creates SHA1 and MD5--> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> <configuration> <createChecksum>true</createChecksum> </configuration> </plugin>
- Access your local
~.m2/repository/
folder. Locate the artifact you want to expose, e.g.:$ pwd; tree ca /Users/schieder/.m2/repository ca └── uqam └── xoxinternals └── 1.7 ├── _remote.repositories ├── xoxinternals-1.7.jar ├── xoxinternals-1.7.jar.sha1 ├── xoxinternals-1.7.pom └── xoxinternals-1.7.pom.sha1 4 directories, 5 files
- Add the entire folder structure to the
public
folder of this repo. -
push
your changes to the GitLab server and wait a few seconds. - Your artifact is available at: https://max.pages.info.uqam.ca/inf2050repo/pathtoartifactfiles