Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

29
LINES

< > BotCompany Repo | #1030396 // Maven Notes

Document

Skip tests:
 
  mvn package -DskipTests

Fat JAR:

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>3.3.0</version>
            <configuration>
                <descriptorRefs>
                    <descriptorRef>jar-with-dependencies</descriptorRef>
                </descriptorRefs>
            </configuration>
            <executions>
                <execution>
                    <id>assemble-all</id>
                    <phase>package</phase>
                    <goals>
                        <goal>single</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

Then: mvn package

download  show line numbers   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030396
Snippet name: Maven Notes
Eternal ID of this version: #1030396/2
Text MD5: a870f73aac55fac8fc9e78ee323c3f4e
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-24 20:14:20
Source code size: 801 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 57
Version history: 1 change(s)
Referenced in: [show references]