Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial out-of-the-box build support #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Partial out-of-the-box build support #35

wants to merge 1 commit into from

Conversation

RoyCurtis
Copy link

As-is, MultiInv is impossible to build from a cloned repository. This is because of missing required libraries and missing POM file entries. This makes it difficult for people to contribute changes and bug fixes.

This PR fixes the POM file and includes jar files for almost all the required libraries. This allows other contributors to be able to clone the repository and build from Maven or IDE without issues.

Changes

Testing

  • Successfully built MultiInv.jar from IntelliJ 14 using mvn clean package
  • Built jar not yet tested in server environment

Considerations

  • This commit increases the download size of the repository by at least 2MB
  • TuxTwoLib has been left out until it is ready for distribution, as per Tux2's wishes. When ready:
    • "Install" the lib to the local repo using this command in MultiInv's directory: mvn install:install-file -Dfile=path/to/TuxTwoLib.jar -DgroupId=Tux2.TuxTwoLib -DartifactId=TuxTwoLib -Dversion=bBUILDNUMBERHERE -Dpackaging=jar -DlocalRepositoryPath=lib
    • Update the <version>b7</version> tag in pom.xml for TuxTwoLib

This commit fixes the POM file and includes jar files for almost all the required libaries. This allows other contributors to be able to clone the repository and build from Maven or IDE without issues.

Changes made:

* Included required jar files as a local Maven repository (see http://randomizedsort.blogspot.co.uk/2011/10/configuring-maven-to-use-local-library.html )
* Removed Spout repo and dependency (unused, broken)
* Changed minimum code level to Java 1.7 (fixes IDE error with @OverRide in interfaces)
* Fixed version variable in generated JAR manifest

Note: TuxTwoLib has been left out until it is ready for distribution, as per Tux2's wishes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant