myabc/markdownj

Cant install from Maven

ralfstx opened this issue · 4 comments

The maven snippet found on http://markdownj.org/

<dependency>
  <groupId>org.markdownj</groupId>
  <artifactId>markdownj</artifactId>
  <version>0.4.0</version>
</dependency>

leads to the following error:

Downloading: http://repo.maven.apache.org/maven2/org/markdownj/markdownj/0.4.0/markdownj-0.4.0.pom
[WARNING] The POM for org.markdownj:markdownj:jar:0.4.0 is missing, no dependency information available
...
[ERROR] Failed to execute goal on project slides: Could not resolve dependencies for project com.eclipsesource.trainings:slides:jar:0.0.1-SNAPSHOT: Could not find artifact org.markdownj:markdownj:jar:0.4.0 in central (http://repo.maven.apache.org/maven2) -> [Help 1]

@ralfstx please try specifying 0.4 as version.

@myabc That doesn't work either:

Could not find artifact org.markdownj:markdownj:jar:0.4

I guess the problem is that the packaging type is not jar but pom. AWhen adding <type>pom</pom> to the dependency, the artifact is found, however, it does not import the classes from the core module.

I've found that directly importing the core module works when using 0.4 as suggested. Thanks for the quick help!

<dependency>
  <groupId>org.markdownj</groupId>
  <artifactId>markdownj-core</artifactId>
  <version>0.4</version>
</dependency>

Closed by #29.