Questions tagged [maven-plugin-development]
19 questions
7
votes
3 answers
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.version}
that will set the project.version value…

kamaci
- 72,915
- 69
- 228
- 366
3
votes
4 answers
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 Java method as like my pom file?
PS:…

kamaci
- 72,915
- 69
- 228
- 366
1
vote
1 answer
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 as modified.
To be more specific this will be a…

Balazs Kelemen
- 91
- 1
- 5
1
vote
3 answers
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?
.
If it is not possible can i add this action to…

b-boy sh1ft
- 179
- 8
1
vote
1 answer
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 file, it always looks at resources directory of…

kamaci
- 72,915
- 69
- 228
- 366
0
votes
0 answers
How to integrate Kakaotalk plusfriend plugin into chaty plugin?
I have a question that what to change in the source code of chaty plugin to integrate it to kakaotalk plusfriend?
I have two plugins one is chaty and 2nd one is kakaotalk plus friend and I want to integrate kakaotalk plus friend into chaty. While…

rohini
- 1
0
votes
0 answers
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 dependencies to generated sources?
Or more precisely,…

Egor Malko
- 1
- 1
0
votes
2 answers
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…

Al Faisal Mia
- 77
- 7
0
votes
0 answers
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 goal and running deploy goal afterwards not…

Ruwanka De Silva
- 3,555
- 6
- 35
- 51
0
votes
0 answers
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 Representations option.My Representation option is not…
0
votes
0 answers
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 window should open.
I'm a newbie in plugin…

devmaria
- 27
- 7
0
votes
1 answer
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.com.ao [193]: Unable to resolve 193.0: missing…

Lalit Hira
- 31
- 6
0
votes
1 answer
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 downloads latest plugin version (although explicit…

basin
- 3,949
- 2
- 27
- 63
0
votes
0 answers
how to list the dependencies of a maven plugin within in a maven plugin?
with
List 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 (transitive) list of the dependencies of each plugin ?
The…

openCage
- 2,735
- 1
- 18
- 24
0
votes
2 answers
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 can do that? Shall I try to create the pom-file pro…

Govan
- 2,079
- 4
- 31
- 53