I have installed/setup the atlassian-plugin-sdk so I can look into JIRA plugin development.
However, when I run "atlas-run-standalone --product jira" command and it starts up the JIRA instance, it tries to connect to google analytics and gets a connection refused (its being blocked by our proxy).
It says I can turn this tracking option off:
you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml
My question is, where do I find this "allowGoogleTracking" option? In which pom.xml as I cant seem to find one in the "atlassian-plugin-sdk" directory.
I have tried googling and looking around, but I cant seem to find anywhere they tell me exactly which pom.xml file I am supposed to edit.
From the documentation:
AMPS sends basic usage events to Google analytics by default. To disable tracking, either:
- Add
<allow.google.tracking>false</allow.google.tracking>
to the<properties>
section of your.m2/settings.xml
file- Include
<allowGoogleTracking>false</allowGoogleTracking>
in the amps plugin configuration in yourpom.xml
- or pass
-Dallow.google.tracking=false
on the command line.
The simplest is to set it in your ~/.m2/settings.xml
file, in a default profile. You may also wish to set skipAllPrompts
at the same time:
<settings>
...
<profiles>
<profile>
<id>defaultProfile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
...
<properties>
<allow.google.tracking>false</allow.google.tracking>
<skipAllPrompts>true</skipAllPrompts>
</properties>
</profile>
</profiles>
</settings>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With