title: java mvn: package javax.activation does not exist and mvn install not solving it
body: <p>I am trying to build the following package with mvn:
  <a href="https://github.com/mbechler/marshalsec" rel="nofollow noreferrer">https://github.com/mbechler/marshalsec</a></p>
  
  <p>I get this error:
  <code>[...]JDKUtil.java:[52,24] package javax.activation does not exist</code></p>
  
  <p>I tried downloading javax.activation from:
  <a href="https://mvnrepository.com/artifact/javax.activation/activation/1.1.1" rel="nofollow noreferrer">https://mvnrepository.com/artifact/javax.activation/activation/1.1.1</a></p>
  
  <p>and installing like this:
  <code>mvn install:install-file -Dfile=activation-1.1.1.jar -DgroupId=javax.activation -DartifactId=activation -Dversion=1.1.1 -Dpackaging=jar</code></p>
  
  <p>It seems to installed successfully:</p>
  
  <pre><code>[INFO] Installing [...]\AppData\Local\Temp\mvninstall13250992682429266805.pom to [...]\.m2\repository\javax\activation\activation\1.1.1\activation-1.1.1.pom
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  5.050 s
  [INFO] Finished at: 2020-04-22T17:31:35+03:00
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>But I am still getting the same error.
  Am I fetching the javax.activation from the wrong place?
  Am I not installing it correctly? </p>
  
  <p>Thanks ahead</p>
  
  <p><strong>EDIT: adding info</strong>, output of mvn help:effective-pom
  <a href="https://pastebin.com/0LP7BGZK" rel="nofollow noreferrer">https://pastebin.com/0LP7BGZK</a></p>