This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
forked from snicoll/spring-boot-daemon
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch release/1.1.0 into master
Distribute the executable fat-jar (smaller zip files) Include install/uninstall/startup/shutdown helper batch commands Fix sample application to be executible
- Loading branch information
Showing
18 changed files
with
220 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 74 additions & 41 deletions
115
spring-boot-daemon-sample/src/main/assembly/windows.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,80 @@ | ||
<?xml version="1.0"?> | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> | ||
<id>windows</id> | ||
<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> | ||
<id>windows</id> | ||
|
||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
|
||
<dependencySets> | ||
<dependencySet> | ||
<useProjectArtifact>true</useProjectArtifact> | ||
<outputDirectory>lib</outputDirectory> | ||
</dependencySet> | ||
</dependencySets> | ||
<dependencySets> | ||
<dependencySet> | ||
<useProjectArtifact>true</useProjectArtifact> | ||
<outputDirectory>lib</outputDirectory> | ||
<useTransitiveDependencies>false</useTransitiveDependencies> | ||
<useStrictFiltering>true</useStrictFiltering> | ||
<includes> | ||
<include>${project.groupId}:${project.artifactId}</include> | ||
</includes> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
<!-- Workaround to create logs directory --> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${dist.dir}</directory> | ||
<outputDirectory>logs</outputDirectory> | ||
<excludes> | ||
<exclude>*/**</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
<!-- Workaround to create logs directory --> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${dist.dir}</directory> | ||
<outputDirectory>logs</outputDirectory> | ||
<excludes> | ||
<exclude>*/**</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
|
||
<files> | ||
<file> | ||
<source>${dist.dir}/service.exe</source> | ||
<outputDirectory/> | ||
<destName>${dist.project.id}.exe</destName> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/service.xml</source> | ||
<outputDirectory/> | ||
<destName>${dist.project.id}.xml</destName> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/service.exe.config</source> | ||
<outputDirectory/> | ||
<destName>${dist.project.id}.exe.config</destName> | ||
</file> | ||
<files> | ||
<file> | ||
<source>${dist.dir}/service.exe</source> | ||
<outputDirectory/> | ||
<destName>${dist.service.name}.exe</destName> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/service.xml</source> | ||
<outputDirectory/> | ||
<destName>${dist.service.name}.xml</destName> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/service.exe.config</source> | ||
<outputDirectory/> | ||
<destName>${dist.service.name}.exe.config</destName> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/run.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/stop.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/status.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/install.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/startup.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/shutdown.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
<file> | ||
<source>${dist.dir}/uninstall.bat</source> | ||
<outputDirectory/> | ||
</file> | ||
|
||
</files> | ||
</assembly> | ||
</files> | ||
</assembly> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.