|Kervin Sam 9d2b1b2574||6 years ago|
|src||6 years ago|
|README.md||6 years ago|
|pom.xml||6 years ago|
DrawPic-Core is a set of interfaces, classes, and resources that can be shared between any java-based implementation of the DrawPic server or client.
Having this separate repository allows for a common ground, or standard protocol, that can reduce errors caused by needing to maintain two sets of the same code.
It is meant to be “shaded into” the packages of the previously mentioned projects. This means that the packages/classes of this project will be included in their archives (jar files).
In order to do this, one must install the project into their local Maven repository. This is done by running Maven’s “install” goal in the project directory. Afterwards a dependent project can shade it by having the following in their pom.xml
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>cse110team4.drawpic:drawpic-core</include> </includes> </artifactSet> </configuration> </execution> </executions> </plugin> </plugins> </build>
Currently Kervin Sam is in charge of the structure and direction of the core files. It is recommended that other team members give him prior notice before attempting any changes as it could lead to breakage of dependents.