Jump to content

Forge and maven


wyn_price

Recommended Posts

Ive set up and API for one of my mods, and am having some trouble with setting up the maven. I plan to upload it to the central repository. With little to no tutorials on how to do it online, ive given up and am going to ask people for help. So far Ive managed to set up the project with maven, submit a JIRA ticket and do (most) of the pom. Ive also managed to use Kleopatra (a GUI version of GPG) to verify the integrity of my .jar and my pom.xml. For reference, heres my pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>harshencastle</groupId>
  <artifactId>HarshenCastle</artifactId>
  <version>1.0</version>
  <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
</project>

Im not sure if theres somthing im doing very wrong or whats going on. I havent used Maven before and i think itll probally show. One day ill look back on this and cringe at how naive and stupid I was. But untill then...

Edited by wyn_price
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.