2

Does anyone know the Maven dependency code for JMathPlot for eclipse

 <dependency>
      <groupId>jmathplot</groupId>
      <artifactId>jmathplot</artifactId>
      <version>1.0</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/jmathplot.jar</systemPath>
    </dependency>

Error is it can't find jmathplot/jmathplot/1.0

EDIT1:

OK I put the jar file in folder

C:/Users/MyName/Eclipse/Workspace1/MyProjectName/

Next to src, target,assembly folders

I changed dependency to:

 <dependency>
          <groupId>jmathplot</groupId>
          <artifactId>jmathplot</artifactId>
          <version>1.0</version>
          <scope>system</scope>
          <systemPath>${project.basedir}/jmathplot.jar</systemPath>
        </dependency>

And I get the error:

com.tradable.terminal!.plugin.storage.Tr!PluginPackageException: PluginId: com.NoviumResearch.ValueAtRisk, The resource lib/jmathplot.jar does not exist

It seems to be trying to look in "lib" not sure why

demongolem
  • 9,474
  • 36
  • 90
  • 105
ManInMoon
  • 6,795
  • 15
  • 70
  • 133

1 Answers1

1

With your Maven snippet you're telling Maven to get the jar from this path: {project folder}/lib/jmathplot.jar

You can solve the issue creating a lib folder in the Eclipse project and then copy there the jmathplot jar.

You can download the jar from here: http://jmathplot.googlecode.com/svn/trunk/jmathplot/dist/jmathplot.jar

Fedy2
  • 3,147
  • 4
  • 26
  • 44