title: installing a jar to the maven repository on heroku
body: <p>I have a .jar that isn't available in Maven Central or any of the other locations that I guess Maven pulls from by default. For my local setup I installed it to my local Maven repository and it worked fine afterwards (discussed in <a href="https://stackoverflow.com/questions/49308681/import-another-jars-program-into-my-jar">import another jar&#39;s program into my jar</a>) - meaning that my import statements in IntelliJ work fine now.</p>
  
  <p>But now I need to deploy my application to Heroku. So I'm sort of stuck: If I keep everything as-is, the Heroku build will fail with <code>Could not find artifact com.my.company:MyJar:jar:1.0</code>. But I need the jar in my app one way or the other so I don't think getting rid of the dependency is the way to go.</p>
  
  <p>I'm not really sure where to go from here. I can make the .jar available directly in the files I push to Heroku, but I guess I would need a way to specify something in the pom.xml like "treat the following directory like a repository." But I'm not sure if that's the right way.</p>