Comments (6)
Thanks for the kind words!
You can configure which application will be opened when clicking a notification with the property:
notifier.notification-center.activate
It is documented here, sadly the configuration is static, I didn't find a way to capture which application has launched mvn
. Maybe you know one ?
For the brew formula, as I need to enhance a mvn
installation with libs, I choose to not modify any previous mvn
installation. You can always switch back to a vanilla mvn
if something goes wrong. This is why you noticed that brew has downloaded again mvn
. Maybe I can benefit from previous download cache with brew
but I don't know how to do that (I'll give it a look).
I remember having a lot of Java application displaying a dock icon when not needed so that I also have -Djava.awt.headless=true
everywhere in my environment. I will remove it and investigate why maven-notifier
messes with it (it may be linked to the SystemTray
notifier).
Thanks!
from maven-notifier.
Just realized that I have forgot to ping back after releasing maven-notifier 1.9
👎
Have you been able to give it a try ? Does it prevent Java to display an icon in the dock ?
from maven-notifier.
Hi @jcgay
Sorry for the long time to reply back.
I tested with 1.9.1 and if I remove the -Djava.awt.headless=true
the Java icon still shows up in the dock.
brunovolpato@BR-MacBook-Pro[/tmp]+ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /usr/local/Cellar/maven-deluxe/3.3.9-6/libexec
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
brunovolpato@BR-MacBook-Pro[/tmp]+ ls -la /usr/local/Cellar/maven-deluxe/3.3.9-6/libexec/lib/ext
total 22992
drwxr-xr-x 11 brunovolpato staff 374 Nov 1 21:16 .
drwxr-xr-x 75 brunovolpato staff 2550 Nov 1 21:16 ..
-rw-r--r-- 1 brunovolpato staff 152 Nov 10 2015 README.txt
-rw-r--r-- 1 brunovolpato staff 4550894 Nov 1 21:16 groovy-2.4.7.jar
-rw-r--r-- 1 brunovolpato staff 151874 Nov 1 21:16 jansi-1.13.jar
-rw-r--r-- 1 brunovolpato staff 280928 Nov 1 21:16 logback-classic-1.1.3.jar
-rw-r--r-- 1 brunovolpato staff 455041 Nov 1 21:16 logback-core-1.1.3.jar
-rw-r--r-- 1 brunovolpato staff 12494 Nov 1 21:16 maven-color-core-1.6.0.jar
-rw-r--r-- 1 brunovolpato staff 8097 Nov 1 21:16 maven-color-logback-1.6.0.jar
-rw-r--r--@ 1 brunovolpato staff 3800951 Nov 1 22:41 maven-notifier-1.9.1-shaded.jar
-rw-r--r-- 1 brunovolpato staff 2486459 Oct 24 2015 maven-profiler-2.4-shaded.jar
from maven-notifier.
No problem :)
Which notifier are you using ?
I have two of them where I just can't prevent dock icon creation: Growl
and SystemTray
.
SystemTray
because it is using AWT
and Growl
because the library I have used relies on AWT
API.
AnyBar
needs to resize images. This is done at first launch in a temporary folder, it displays an icon but future launch should be fine until the temporary folder is cleaned up.
Other notifiers should not depends on AWT
and should not add an icon in the dock.
from maven-notifier.
I'm using terminal-notifier
.
from maven-notifier.
I have just retested it with terminal-notifier
and I don't have any Java icon appearing in the dock.
Can you launch your build without maven-notifier
to verify that it is not coming from somewhere else ?
from maven-notifier.
Related Issues (20)
- Notifications with notifu does not work for onFailWithoutProject HOT 4
- "build successful" notifications steal focus from the terminal HOT 3
- build notifications are not sent after installing according to instructions in README HOT 11
- [DepShield] (CVSS 5.9) Vulnerability due to usage of com.google.guava:guava:18.0
- [DepShield] (CVSS 5.9) Vulnerability due to usage of com.squareup.okhttp:okhttp:2.0.0-RC1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of org.jboss.netty:netty:3.2.1.Final
- [DepShield] (CVSS 8.1) Vulnerability due to usage of org.beanshell:bsh:2.0b4
- Configure notification duration HOT 2
- [DepShield] (CVSS 9.8) Vulnerability due to usage of org.codehaus.plexus:plexus-utils:2.0.6
- DepShield encountered errors while building your project
- Unable to provision, see the following errors: HOT 2
- Migrate LGTM.com installation from OAuth to GitHub App HOT 1
- notifier.system-tray.wait ignored
- mosquitto support HOT 2
- fails under mvnd HOT 9
- performance HOT 1
- time is not correct with mvnd
- request: plugin usage
- No notification sound with KDialog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-notifier.