You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Christos (Jira)" <ji...@apache.org> on 2021/05/31 11:09:00 UTC

[jira] [Created] (UNOMI-489) Build Apache Unomi JAR

Christos created UNOMI-489:
------------------------------

             Summary: Build Apache Unomi JAR
                 Key: UNOMI-489
                 URL: https://issues.apache.org/jira/browse/UNOMI-489
             Project: Apache Unomi
          Issue Type: Wish
          Components: build
    Affects Versions: 1.5.0
         Environment: Windows 10
            Reporter: Christos
             Fix For: 1.5.0


I'm trying to create a JAR file for Apache Unomi 1.5.0 so that I can provide it as input in some security tests I'm running. It doesn't need to be operational, I just need it to contain most of the submodules of the project. I am running the following:

mvn clean compile assembly:assembly -DskipTests=true -Dcheckstyle.skip

Even though Maven reports success on every submodule, it reports a failure in the Root project with the following:

[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.8:kar (default-kar) on project unomi-router-karaf-feature: Failed to create archive: C:\Users\Findorgri\Desktop\unomi-unomi-root-1.5.0\extensions\router\router-api\target\classes isn't a file. -> [Help 1]

I have also tried with assembly:single instead of assembly:assembly and in this case I get:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly (default-cli) on project unomi-root: Error reading assemblies: No assembly descriptors found. -> [Help 1]


 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)