sebiniemann / ArmadilloJava

Pure Java-based linear algebra library
armadillojava.org
8 stars 8 forks source link

Maven error when combined with unpack-dependencies #109

Closed wlfbck closed 5 years ago

wlfbck commented 10 years ago

Using

<dependency>
<groupId>org.armadillojava</groupId>
<artifactId>armadillojava</artifactId>
<version>4.000.0</version>
</dependency>

together with

                    <execution>
                        <id>unpack-dependencies</id>

                        <phase>package</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>${java.home}/../bin/javafxpackager</executable>
                            <arguments>
                                <argument>-createjar</argument>
                                <argument>-nocss2bin</argument>
                                <argument>-appclass</argument>
                                <argument>${mainClass}</argument>
                                <argument>-srcdir</argument>
                                <argument>${project.build.directory}/classes</argument>
                                <argument>-outdir</argument>
                                <argument>${project.build.directory}</argument>
                                <argument>-outfile</argument>
                                <argument>${project.build.finalName}.jar</argument>
                            </arguments>
                        </configuration>
                    </execution>

Results in:

Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.6:unpack-dependencies (unpack-dependencies) on project online-optimisation: Unknown archiver type: No such archiver: 'pom'. -> [Help 1]

Which comes from line

Unpacking C:\Users\Wolff\.m2\repository\com\github\fommil\netlib\all\1.1.2\all-1.1.2.pom to C:\Users\Wolff\Documents\NetBeansProjects\OOGUI\target\classes with includes "" and excludes ""

The empty quotationmarks at the end are normal (i have them for all of the unpacking steps). I think the error lies in specifiying the fommil.netlib-dependency as <type>pom</type> in ArmadilloJavas pom, but i'm only speculating. Unpacking is needed to use ControlsFX for example, so basically not optional.

sebiniemann commented 10 years ago

It will take some days before I got time to look into this, but we should aim to solve it in the upcomming sprint