Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#5 Add module BasicPlayer. #6

Merged
merged 3 commits into from
Jun 27, 2016
Merged

Conversation

axiopisty
Copy link
Contributor

I added the BasicPlayer module with the sources downloaded from http://www.javazoom.net/jlgui/api.html.

A direct link for the zip file is: http://www.javazoom.net/jlgui/sources/basicplayer3.0.zip

Please note the following modifications to the BasicPlayer source code were made while adding them to this module:
1. Relocated src/javazoom to src/main/java/javazoom, and srctest/javazoom to src/test/java/javazoom. This was done to adhere to the standard maven file structure layout.
2. Replaced dependency on commons-logging-api with dependency on slf4j-api. This was done because commons-logging-api is not a valid OSGi bundle while slf4j-api is. This required changing BasicPlayer.java lines 48, 49, and 74 to use the slf4j api instead of commons logging.

Additional modifications to existing project code:
1. Updated project aggregate pom to include the basicplayer module.
2. Added javazoom.spi to the maven-bundle-plugin configuration instructions in the mp3spi module. BasicPlayer imports this package.
3. Updated README.adoc with information pertaining to the BasicPlayer module.

I added the BasicPlayer module with the sources downloaded from http://www.javazoom.net/jlgui/api.html.

A direct link for the zip file is: http://www.javazoom.net/jlgui/sources/basicplayer3.0.zip

Please note the following modifications to the BasicPlayer source code were made while adding them to this module:
    1. Relocated src/javazoom to src/main/java/javazoom, and srctest/javazoom to src/test/java/javazoom. This was done to adhere to the standard maven file structure layout.
    2. Replaced dependency on commons-logging-api with dependency on slf4j-api. This was done because commons-logging-api is not a valid OSGi bundle while slf4j-api is. This required  changing BasicPlayer.java lines 48, 49, and 74 to use the slf4j api instead of commons logging.

Additional modifications to existing project code:
    1. Updated project aggregate pom to include the basicplayer module.
    2. Added <Export-Package>javazoom.spi</Export-Package> to the maven-bundle-plugin configuration instructions in the mp3spi module. BasicPlayer imports this package.
    3. Updated README.adoc with information pertaining to the BasicPlayer module.
@@ -50,6 +50,7 @@
<configuration>
<instructions>
<SPI-Provider>javax.sound.sampled.AudioSystem</SPI-Provider>
<Export-Package>javazoom.spi</Export-Package>
Copy link
Owner

@pdudits pdudits Jun 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the need for changing this - currently released version already exports the package - javazoom.spi;version="1.9.5"

@axiopisty
Copy link
Contributor Author

Thank you for pointing that out. I originally made that change because of a warning in my IDE. I should have confirmed this warning prior to making that change. I removed that from the pom in mp3spi. I also updated the version of the dependency in basicplayer to use the current version of the tritonus-share module.

@pdudits pdudits merged commit 18b0cb6 into pdudits:master Jun 27, 2016
@pdudits
Copy link
Owner

pdudits commented Jun 27, 2016

Thank you @axiopisty! I merged the PR, however I will be offline for next two weeks, so it might take a while to have this in Central.

@axiopisty
Copy link
Contributor Author

Okay. I'll look for them in Central then.

Thank you.

On Mon, Jun 27, 2016 at 12:33 AM, Patrik Duditš notifications@github.com
wrote:

Thank you @axiopisty https://github.com/axiopisty! I merged the PR,
however I will be offline for next two weeks, so it might take a while to
have this in Central.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#6 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AC7o9pHw8Z3ceDRGi10U3WsL4dRu0LM8ks5qP26jgaJpZM4I5AgO
.

@pdudits
Copy link
Owner

pdudits commented Aug 2, 2016

Oh, I just realized that deployment to central failed a week ago., I re-uploaded everything now and basicplayer is on its way to Central.

@axiopisty axiopisty deleted the basicplayer branch August 8, 2016 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants