Till now i worked on custom plugin development but this time i need to modify the following file /jira-project/jira-components/jira-core/src/main/java/com/atlassian/jira/web/action/util/sharing/SharedEntitySearchViewHelper.java in order to increase the dashboard filter search limit from 10 to more.
Appreciate if someone could let me know the approach to modify the above jira source and to deploy it as i never did that before.
Start at http://confluence.atlassian.com/display/JIRA/Building+JIRA+from+Source
While it's possible to compile individual classes or groups of classes and replacing them in your Jira install, it's worth looking through this page to get a good feel for the build in general (and if you hack stuff in this way, you also get tests run and so on)
I am getting the following error.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to execute mojo
Embedded error: Missing:
----------
1) com.sun.jmx:jmxri:jar:1.2.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.atlassian.support:stp:atlassian-plugin:2.9.3
2) log4j:log4j:jar:1.2.15
3) com.sun.jmx:jmxri:jar:1.2.1
2) com.sun.jdmk:jmxtools:jar:1.2.1
Try downloading the file manually from:
http://java.sun.com/products/JavaManagement/download.html
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.atlassian.support:stp:atlassian-plugin:2.9.3
2) log4j:log4j:jar:1.2.15
3) com.sun.jdmk:jmxtools:jar:1.2.1
----------
2 required artifacts are missing.
for artifact:
com.atlassian.support:stp:atlassian-plugin:2.9.3
from the specified remote repositories:
atlassian-plugin-sdk (file://C:/atlassian-plugin-sdk-3.7.2/repository),
central (http://repo1.maven.org/maven2),
atlassian-public (https://m2proxy.atlassian.com/repository/public)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried following the suggestions in the error messages?
(This happens because Sun require you to accept licenses on some stuff, so they can't be hosted in other repositories)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.