I am process of preparing .jar file which required to be placed under definations folder, when I tried to do so, I am facing few dependency errors, I am not sure whether those dependency are required or not
I have tried to do "mvn package of "Data collection configuration" given in sample_reports.tar.gz of "Re: Install report server - Part 2 – report definitions" discussion
When I try to do so I got error
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Data Collection Report 1.0.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.radensolutions:nxreporting:jar:2.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.470 s
[INFO] Finished at: 2015-09-11T09:05:20+05:30
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on 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-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
if I remove the dependency
<dependencies>
<dependency>
<groupId>com.radensolutions</groupId>
<artifactId>nxreporting</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
build gets completed successfully following error
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Data Collection Report 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- gmavenplus-plugin:1.4:execute (set-build-uuid-property) @ dci ---
[ERROR] Unable to determine Groovy version. Is Groovy declared as a dependency?
[ERROR] Unable to determine Groovy version. Is Groovy declared as a dependency?
[ERROR] Unable to determine Groovy version. Is Groovy declared as a dependency?
[ERROR] Unable to determine Groovy version. Is Groovy declared as a dependency?
[ERROR] Your Groovy version (null) doesn't support script execution. The minimum version of Groovy required is 1.5.0. Skipping script execution.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dci ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dci ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ dci ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\mproject\dci\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ dci ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ dci ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ dci ---
[INFO] Building jar: C:\mproject\dci\target\dci-1.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.332 s
[INFO] Finished at: 2015-09-11T09:11:45+05:30
[INFO] Final Memory: 8M/20M
[INFO] ------------------------------------------------------------------------
Now can I post this created Jar file under definiations folder ?
You missing some of the dependencies. You can either build them yourself, or wait a bit – I'll push them to maven central.