Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Compiling Jasper Report with Maven ... dependency error

Compiling Jasper Report with Maven ... dependency error

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 15.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    Dennis Prior
    wrote on last edited by
    #1

    Hi all,

    I try to pack my simple Report into a .jar -file using maven. My NetXMS Version is 2.0.5, also the Reporting Server.

    Maven says:

    [ERROR] Failed to execute goal on project dci: Could not resolve dependencies fo
    r project org.netxms.report:dci:jar:1.0.0: Could not find artifact com.radensolu
    tions:nxreporting:jar:2.0-SNAPSHOT -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
    n project dci: Could not resolve dependencies for project org.netxms.report:dci:
    jar:1.0.0: Could not find artifact com.radensolutions:nxreporting:jar:2.0-SNAPSH
    OT

    Maven cannot find the dependency com.radensolutions:nxreporting ... any help for this?

    1 Reply Last reply
    0
    • D
      D
      Dennis Prior
      wrote on last edited by
      #2

      I think there are missing som Repos...

      [ERROR] Failed to execute goal on project empty: Could not resolve dependencies
      for project org.netxms.report:empty:jar:1.0.0: Failure to find com.radensolution
      s:nxreporting:jar:2.0.5 in https://repo.maven.apache.org/maven2 was cached in th
      e local repository, resolution will not be reattempted until the update interval
       of central has elapsed or updates are forced -> [Help 1]

      1 Reply Last reply
      0
      • A
        A
        Alex Kirhenshtein
        wrote on last edited by
        #3

        You can remove this dependency if you are not using custom java data sources.

        Most likely you'll need to add groovy-all dependency (it's used for packaging):

                <dependency>
                    <groupId>org.codehaus.groovy</groupId>
                    <artifactId>groovy-all</artifactId>
                    <version>2.4.4</version>
                </dependency>
        
        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups