Compiling Jasper Report with Maven ... dependency error

Started by Dennis Prior, August 09, 2016, 04:45:17 PM

Previous topic - Next topic

Dennis Prior

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?

Dennis Prior

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]

Alex Kirhenshtein

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>