-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
The maven package builds correctly and without error, but when I try to install the .xar (target/exist-expath-file-module-1.0-SNAPSHOT.xar
), the Dashboard Package Manager gives me this error:
Inconsistent package descriptor, the JAR file is not in the package: ntinuations-library_2.11-1.0.1.jar
Digging into the project directory to try to find the reference to this apparently truncated filename, I found that exist-expath-file-module/target/expath-descriptors-3e387942-9387-4536-b560-05e6de31a0b9/exist.xml
matched, along with several other jars whose names also appeared to be truncated:
<package xmlns="http://exist-db.org/ns/expath-pkg" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<jar>ule-1.0-SNAPSHOT.jar</jar>
<jar>ile-module-1.0-SNAPSHOT.jar</jar>
<jar>m_2.11-1.3.3.jar</jar>
<jar>ntinuations-library_2.11-1.0.1.jar</jar>
<jar>-core_2.11-0.4.3-1.jar</jar>
<jar>-file_2.11-0.4.3-1.jar</jar>
<jar>brary-2.11.5.jar</jar>
<jar>rser-combinators_2.11-1.0.2.jar</jar>
<jar>flect-2.11.0.jar</jar>
<jar>l_2.11-1.0.2.jar</jar>
<jar>oncurrent_2.11-7.1.0.jar</jar>
<jar>ore_2.11-7.1.1.jar</jar>
<jar>ffect_2.11-7.1.0.jar</jar>
<jar>tream_2.11-0.6a.jar</jar>
<jar>its_2.11-1.0.4.jar</jar>
</package>
I'm afraid I don't know how to address this issue. I'm happy to try any suggestion you might have!
Below is the console output of mvn package
should there be any clues.
$ mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building eXist EXPath File Module 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ file-module ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/joe/workspace/exist-expath-file-module/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ file-module ---
[INFO] No sources to compile
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:compile (default) @ file-module ---
[WARNING] Expected all dependencies to require Scala version: 2.11.5
[WARNING] org.exist.expath.module:file-module:1.0-SNAPSHOT requires scala version: 2.11.5
[WARNING] org.scalaz:scalaz-core_2.11:7.1.1 requires scala version: 2.11.5
[WARNING] org.scala-lang.modules:scala-parser-combinators_2.11:1.0.2 requires scala version: 2.11.1
[WARNING] Multiple versions of scala libraries detected!
[INFO] /Users/joe/workspace/exist-expath-file-module/src/main/scala:-1: info: compiling
[INFO] Compiling 3 source files to /Users/joe/workspace/exist-expath-file-module/target/classes at 1454789630804
[WARNING] warning: there were two deprecation warnings; re-run with -deprecation for details
[WARNING] warning: there were 12 feature warnings; re-run with -feature for details
[WARNING] two warnings found
[INFO] prepare-compile in 0 s
[INFO] compile in 10 s
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ file-module ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/joe/workspace/exist-expath-file-module/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ file-module ---
[INFO] No sources to compile
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:testCompile (default) @ file-module ---
[WARNING] Expected all dependencies to require Scala version: 2.11.5
[WARNING] org.exist.expath.module:file-module:1.0-SNAPSHOT requires scala version: 2.11.5
[WARNING] org.scalaz:scalaz-core_2.11:7.1.1 requires scala version: 2.11.5
[WARNING] org.scala-lang.modules:scala-parser-combinators_2.11:1.0.2 requires scala version: 2.11.1
[WARNING] Multiple versions of scala libraries detected!
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ file-module ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ file-module ---
[INFO] Building jar: /Users/joe/workspace/exist-expath-file-module/target/file-module-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.5.3:single (make-assembly) @ file-module ---
[INFO] Reading assembly descriptor: src/assembly/unpacked-dist.xml
[WARNING] The assembly descriptor contains a filesystem-root relative reference,which is not cross platform compatible /
[INFO] Copying files to /Users/joe/workspace/exist-expath-file-module/target/file-module-1.0-SNAPSHOT-bin
[WARNING] Assembly file: /Users/joe/workspace/exist-expath-file-module/target/file-module-1.0-SNAPSHOT-bin is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO] Building jar: /Users/joe/workspace/exist-expath-file-module/target/file-module-1.0-SNAPSHOT-jar-with-dependencies.jar
[INFO]
[INFO] --- kuberam-expath-plugin:0.4.1:make-xar (create-xar) @ file-module ---
mavenResourcesExecution: org.apache.maven.shared.filtering.MavenResourcesExecution@1e1b4e8b
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to /Users/joe/workspace/exist-expath-file-module/target/make-xar-tmp
mavenResourcesExecution: org.apache.maven.shared.filtering.MavenResourcesExecution@75c85a8a
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to /Users/joe/workspace/exist-expath-file-module/target/expath-descriptors-78d6ebbc-07f6-4ae7-8446-dedb7f1a2727
[INFO] Building zip: /Users/joe/workspace/exist-expath-file-module/target/exist-expath-file-module-1.0-SNAPSHOT.xar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.511 s
[INFO] Finished at: 2016-02-06T12:14:10-08:00
[INFO] Final Memory: 23M/472M
[INFO] ------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels