Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Add a new packaging type and plugins for creating "runnable" packages of .NET Applications.
Theese should by default include:
- Main artifact (dll or exe)
- Configuration file (app.config, modifiable through XDT?)
- transitive dependencies (runtime scope)
- further user-defined files
Current plan is to introduce a new ArtifactType:
/** * A zip containing everything an application (or library) needs * to be run, including transitive dependencies and so on. */ DOTNET_APPLICATION("dotnet-application", null, "app.zip"),
But we could also use the existing DOTNET_ARCHIVE with ending "zip".
Then this configuration for a new plugin would enable the packaging:
<plugin> <groupId>org.apache.npanday.plugins</groupId> <artifactId>application-maven-plugin</artifactId> <executions> <execution> <goals> <goal>prepare-package</goal> <goal>package</goal> </goals> </execution> </executions> </plugin>