chrisdchristo / capsule-maven-plugin

Capsule Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow capsule to be included by maven assembly

fzakaria opened this issue · comments

I use a maven docker plugin that has the same setup as the maven-assembly-plugin.

Ultimately, I'd like to get my capsule JAR assembled into the docker image.

If I have an assembly.xml with


    <dependencySets>
        <dependencySet>
            <outputDirectory>${app.dir}/lib</outputDirectory>
            <useProjectArtifact>true</useProjectArtifact>
            <useTransitiveDependencies>true</useTransitiveDependencies>
            <unpack>false</unpack>
            <scope>runtime</scope>
        </dependencySet>
    </dependencySets>

The capsule-jar is not included

I'm not really familiar with the maven docker plugin or the maven assembly plugin. What is exactly you want the capsule plugin to implement?

I'm trying to figure out why its not registering itself as the projectArtifact and therefore included as a JAR.
The regular JAR and all dependencies are included but not the -capsule.jar one.
(This may be the wrong forum for this question)

Maybe this helps?

Have a look at this issued we resolved before: #23

The plugin does attach the generated capsule as a maven artefact.

The classifier of the attached artifact is "capsule".