Skip to content

Commit a373a83

Browse files
authored
Merge pull request #1 from xdev-software/develop
Release
2 parents 8a5f658 + f3c7bc2 commit a373a83

24 files changed

Lines changed: 844 additions & 126 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ body:
1414
attributes:
1515
label: "Checklist"
1616
options:
17-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/maven-music-plugin/releases/latest)"
17+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/music-maven-plugin/releases/latest)"
1818
required: true
19-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/maven-music-plugin/issues) or [closed](https://github.com/xdev-software/maven-music-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
19+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/music-maven-plugin/issues) or [closed](https://github.com/xdev-software/music-maven-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
2020
required: true
2121
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
2222
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/maven-music-plugin/issues) or [closed](https://github.com/xdev-software/maven-music-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/music-maven-plugin/issues) or [closed](https://github.com/xdev-software/music-maven-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
1818
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/maven-music-plugin/issues) or [closed](https://github.com/xdev-software/maven-music-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/music-maven-plugin/issues) or [closed](https://github.com/xdev-software/music-maven-plugin/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
1818
required: true

.run/Run Demo.run.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.run/Run Maven Demo.run.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Maven Demo" type="MavenRunConfiguration" factoryName="Maven">
3+
<MavenSettings>
4+
<option name="myGeneralSettings" />
5+
<option name="myRunnerSettings" />
6+
<option name="myRunnerParameters">
7+
<MavenRunnerParameters>
8+
<option name="cmdOptions" />
9+
<option name="profiles">
10+
<set />
11+
</option>
12+
<option name="goals">
13+
<list>
14+
<option value="install" />
15+
</list>
16+
</option>
17+
<option name="multimoduleDir" />
18+
<option name="pomFileName" />
19+
<option name="profilesMap">
20+
<map />
21+
</option>
22+
<option name="projectsCmdOptionValues">
23+
<list />
24+
</option>
25+
<option name="resolveToWorkspace" value="false" />
26+
<option name="workingDirPath" value="$PROJECT_DIR$" />
27+
</MavenRunnerParameters>
28+
</option>
29+
</MavenSettings>
30+
<method v="2" />
31+
</configuration>
32+
</component>

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 1.0.0
2+
3+
_Initial release_

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ You should have the following things installed:
3434
* Ensure that the JDK/Java-Version is correct
3535

3636

37-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/maven-music-plugin/release.yml?branch=master)](https://github.com/xdev-software/maven-music-plugin/actions/workflows/release.yml)
37+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/music-maven-plugin/release.yml?branch=master)](https://github.com/xdev-software/music-maven-plugin/actions/workflows/release.yml)
3838

3939
Before releasing:
40-
* Consider doing a [test-deployment](https://github.com/xdev-software/maven-music-plugin/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40+
* Consider doing a [test-deployment](https://github.com/xdev-software/music-maven-plugin/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
4141
* Check the [changelog](CHANGELOG.md)
4242

4343
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

README.md

Lines changed: 83 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,87 @@
1-
[![Latest version](https://img.shields.io/maven-central/v/software.xdev/maven-music-plugin?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev/maven-music-plugin)
2-
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/maven-music-plugin/check-build.yml?branch=develop)](https://github.com/xdev-software/maven-music-plugin/actions/workflows/check-build.yml?query=branch%3Adevelop)
3-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_maven-music-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_maven-music-plugin)
1+
[![Latest version](https://img.shields.io/maven-central/v/software.xdev/music-maven-plugin?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev/music-maven-plugin)
2+
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/music-maven-plugin/check-build.yml?branch=develop)](https://github.com/xdev-software/music-maven-plugin/actions/workflows/check-build.yml?query=branch%3Adevelop)
3+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_music-maven-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_music-maven-plugin)
44

5-
# maven-music-plugin
5+
# music-maven-plugin
66

7+
🎵 Plays some background music while Maven is building.
8+
9+
## Usage
10+
11+
### Basic
12+
13+
The following configuration will play some "elevator" music in the background as soon as Maven starts building:
14+
15+
```xml
16+
<plugin>
17+
<groupId>software.xdev</groupId>
18+
<artifactId>music-maven-plugin</artifactId>
19+
<version>...</version>
20+
<!-- You might also want to add <inherited>false</inherited> here to not run it in every child module -->
21+
<executions>
22+
<execution>
23+
<phase>validate</phase>
24+
<goals>
25+
<goal>music</goal>
26+
</goals>
27+
</execution>
28+
</executions>
29+
</plugin>
30+
```
31+
32+
### Customizing the music
33+
34+
You can customize the music by adding other sources:
35+
36+
```xml
37+
<configuration>
38+
<sources>
39+
<musicSource>
40+
<uri>https://incompetech.com/music/royalty-free/mp3-royaltyfree/Corncob.mp3</uri>
41+
</musicSource>
42+
<musicSource>
43+
<!-- Relative to project directory -->
44+
<file>my_cool_music.mp3</file>
45+
</musicSource>
46+
<musicSource>
47+
<classpath>/default/Andrew_Codeman_-_03_-_Mussels_short_version.ogg</classpath>
48+
</musicSource>
49+
</sources>
50+
<shuffle>true</shuffle>
51+
</configuration>
52+
```
53+
54+
#### Supported codecs
55+
56+
| Codec | Container |
57+
| --- | --- |
58+
| [MP3](https://en.wikipedia.org/wiki/MP3) | ``.mp3`` |
59+
| [Vorbis](https://en.wikipedia.org/wiki/Vorbis) | [``.ogg``](https://en.wikipedia.org/wiki/Ogg) |
60+
61+
> [!NOTE]
62+
> Container files can also include different codecs.
63+
> For example ``.ogg`` can also contain ``Opus``, ``Speex``, ``FLAC``, ... which are not supported.
64+
65+
> [!TIP]
66+
> If you want to convert to supported formats you can do so with [``ffmpeg``](https://www.ffmpeg.org/):<br/>
67+
> ``ffmpeg -i music.opus music.ogg``
768
869
## Installation
9-
[Installation guide for the latest release](https://github.com/xdev-software/maven-music-plugin/releases/latest#Installation)
70+
[Installation guide for the latest release](https://github.com/xdev-software/music-maven-plugin/releases/latest#Installation)
71+
72+
## Run the demo
73+
74+
> [!WARNING]
75+
> Might be loud!
76+
77+
* Checkout the repo
78+
* Run ``mvn install``
79+
80+
## Why?
81+
This is obviously a joke/fun plugin.<br/>
82+
You probably shouldn't use it in production or maybe only on April 1st to annoy your colleagues :P
83+
84+
We got the idea during XDEV's christmas party as [rfichtner](https://github.com/rfichtner) always needs more plugins for funnier Maven presentations and was inspired by [this GraalVM issue from joshlong](https://github.com/oracle/graal/issues/5327).
1085

1186
## Support
1287
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
@@ -15,4 +90,6 @@ If you need support as soon as possible and you can't wait for any pull request,
1590
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
1691

1792
## Dependencies and Licenses
18-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/maven-music-plugin/dependencies)
93+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/music-maven-plugin/dependencies)
94+
95+
The license and download information for the [built-in music](./music-maven-plugin/src/main/resources/default/) can be found in [sources.txt](./music-maven-plugin/src/main/resources/default/sources.txt).

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## Reporting a Vulnerability
44

5-
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/maven-music-plugin/security/advisories/new).
5+
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/music-maven-plugin/security/advisories/new).

maven-music-plugin-demo/pom.xml

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)