19 questions
0
votes
1
answer
37
views
How to parse a java class located in an external library?
Im currently developing a plugin which can create a markdown table from an enum.
For example if i have this enum:
enum MyEnum {
/**
* Documentation for 1
*/
MYCONSTANT1(1),
MYCONSTANT2(2);
...
0
votes
0
answers
163
views
How add dependencies to generated sources
I developed my own maven plugin, which has a goal of generating sources. These sources have dependencies from my plugin code and are not compiling without it.
Is there any way to add plugin code ...
-1
votes
2
answers
3k
views
plugin_dir_url( __FILE__ ) not working in my wordpress plugin development
This is my plugin directory access when I use plugin_dir_url(__FILE__)
http://127.0.0.1/WordPressProject/myplugin/wp-content/plugins/advanced-plugin/admin/
But I want to access to http://127.0.0.1/...
1
vote
1
answer
315
views
Maven plugin-development - How to detect modified files?
I'm writing new maven plugins, I've successfully used StaleSourceScanner in a combination with SuffixMapping, but it is just not working with SingleTargetSourceMapping. Always all files are detected ...
0
votes
0
answers
43
views
Call maven plugin goal inside a custom plugin with properties [Maven Plugin Development]
I am trying to call deploy goal inside custom plugin which identifies changed modules (mutlimodule maven project) and I need to run deploy goal only on those modules.
Setting skip properties from one ...
0
votes
0
answers
24
views
How to add shortcut key on menu in plugin development
I have created "Representations "option on menu .Under Representations there are two pop up submenus .I can add shortcut key for those two pop up sub menus.How to add shortcutkey as(ALT+R)
to my ...
0
votes
0
answers
136
views
How can i add a view to a toolbar item in my eclipse plugin?
i'm making a plugin in eclipse and almost finished my plugin. I created a toolbar item and a window(view). I didn't wanna open my view on Window>Show View>Other. When i click on toolbar item, my ...
0
votes
1
answer
45
views
Jira adding active object jar 0.8.2 not possible
Hi i want to add active object jar in jira plugin as a dependency but found the below error on enabling the plugin.
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle AO....
0
votes
1
answer
109
views
plugin version resolved twice, second time wrong version resolved
I'm trying to build JIRA 6.0.7 from source
https://confluence.atlassian.com/jira064/building-jira-from-source-720411927.html
It had build issues with JDK-8 so I had to use JDK-7. One artifact ...
0
votes
0
answers
36
views
how to list the dependencies of a maven plugin within in a maven plugin?
with
List<Plugin> plugins = project.getBuild().getPlugins();
I can get all plugins.
plugin.getDependencies()
only delivers the dependencies declared when using it.
But how can I get the (...
0
votes
2
answers
343
views
creating a maven pom file in intellij plugin new project wizard
I am writing an Intellij-idea plugin. In the plugin I want to define a new project type using new project wizard. My project should contain a specific pom file to build the project.
Any idea how I ...
1
vote
3
answers
174
views
Can I add the button to the part of idea's plugin (maven plugin)?
My goal is to create a plugin that will build maven project with some custom settings. Can i, for example, choose a couple of goal and press my button to build the maven project with my settings?
.
...
0
votes
1
answer
158
views
Custom Maven Plugin Development Archiving Files
I am developing my own custom Maven plugin and I want to archive the files. I followed this example: http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html and could ...
0
votes
1
answer
470
views
Where Maven Assembly Plugin Reads Static HTML Files From Under Target
I have a project that has maven assembly plugin dependency at its pom.xml. It runs at package phase. I have developed a custom maven plugin that runs before package phase. I have a web application and ...
0
votes
1
answer
86
views
MavenResourcesExecution How to Get as Variable Instead of Writing to A File?
I use that at my plugin:
MavenResourcesExecution mavenResourcesExecution = new MavenResourcesExecution(resources, outputFileDirectory, project, encoding, buildFilters, Collections.<String>...
1
vote
1
answer
5k
views
Accessing a Properties File From a Different Project
I am developing a custom maven plugin. When I read my properties file of custom plugin everything is well however when I run it at different project as a plugin how can I get that projects properties ...
7
votes
3
answers
8k
views
Accessing Maven Pom Variables From Properties File
I am developing a custom maven plugin. When I write:
${project.version}
into my pom file I can get its value however is there a way if I write into a properties file:
project.version = ${project....
3
votes
4
answers
9k
views
How to Get Maven Project Version From Java Method as Like at Pom
I can get some variable's values from my pom file i.e.:
${project.version}
and I am developing a custom maven plugin and I can set it with expressions however I don't want it. How can I get it in a ...
0
votes
1
answer
237
views
"Unable to find the mojo Error" At My Custom Maven Plugin
I have developed a custom Maven plugin and it has two Mojos. I debug it from my IDE and with one of goals it works well however it can not find the other one. It says:
Unable to find the mojo '...