Skip to content

Packaging into jar-with-dependencies gives NoSuchFileException #4

Description

@theRealSuperMario
  • modified pom.xml
<plugin>
		  <groupId>org.apache.maven.plugins</groupId>
		  <artifactId>maven-assembly-plugin</artifactId>
		  <executions>
		    <execution>
		      <phase>package</phase>
		      <goals>
		        <goal>single</goal>
		      </goals>
		      <configuration>
		        <archive>
		          <manifest>
		            <mainClass>gui.Gui</mainClass>
		          </manifest>
		        </archive>
		        <descriptorRefs>
		          <descriptorRef>jar-with-dependencies</descriptorRef>
		        </descriptorRefs>
		      </configuration>
		    </execution>
		  </executions>
		</plugin>
  • maven commands
mvn clean install package
  • error
Catched NoSuchFileException: XXX/tkunerlab_suresim/STORMVis/target/STORMVis-0.0.1-SNAPSHOT-jar-with-dependencies-natives-macosx-universal.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions