java


maven pom xml variables


When setting a dependency. Let's assume the following
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
<version>${plugin.testrunner.version}</version>
<scope>test</scope>
</dependency>
Where does the
${plugin.testrunner.version}
variable get initialized? Is there a properties file or where does it gets it value?
This should be intialised in a properties section, at the same level as your dependencies section, eg
<project>
<properties>
<plugin.testrunner.version>1.0</plugin.testrunner.version>
</properties>
...
<dependencies>
...
</dependencies>
</project>
If you have a multi project application with a parent pom.xml it's common to put all your properties in there so they can be used by all of the individual poms.

Related Links

specifying source and destination port on socket
How to check If the system Date is 30 days back
JTable with less row entries than displayed and sorting issues
Simple Servlet mapping
Java parsing String to Date returns wrong Date
How to do URL decoding in Java?
Hibernate and composite key
SOAP to Restlets strategy for multiple methods
Copying only a part of a buffer from native code to Java using JNI
Java Problem with super.paintComponents(g), it makes a print screen
Modulus not positive :BigInteger
Which library should I use for client-server osgi
android.database.sqlite.SQLiteException: table contact_data has no column named timestamp_
Java SAX Parser, storing Attributes
in Java what words cant we use inside a static method?
Converting the getSelectedItem() from JComboBox to int or any other thing

Categories

HOME
mockito
ngrx
homebrew
view
include
cplex
rsyslog
cvs
amortized-analysis
leon
jsrender
windows-server
convolution
bs4
virtualization
communication
nano-server
imacros
handsontable
modx-revolution
google-cloud-spanner
telephony
pythonanywhere
openedx
textfield
jtextfield
visjs
css-animations
sylius
kvc
google-search-api
icloud-api
rundeck
frame
bosh
yadcf
google-qpx-express-api
noraui
asset-pipeline
hexo
wixsharp
overlap
bitbucket-pipelines
retina-display
hockeyapp
neuroscience
streamsets
vapor
particles.js
elmah
http-live-streaming
botbuilder
nxlog
password-encryption
total-commander
modelmapper
flashair
acoustics
sencha-touch-2.3
wso2carbon
rainbowtable
dandelion
ionicons
lowpass-filter
recursive-datastructures
setter
namecoin
spring-cache
hittest
google-feed-api
rotativa
elements
azure-virtual-network
firebaseui
contact-list
ubuntu-10.04
actionbardrawertoggle
make-install
suffix-tree
ios4
goose
wyam
microbenchmark
operation
graph-api-explorer
e10s
fscommand
block-device
offloading
typekit
codeigniter-url
google-reader
article
aapt
expected-exception
ivyde
soundtouch
opcache
pushbackinputstream
mqx
cisco-jtapi
gdata-api
errai
buildr
subscript
whoosh
nsobject
genshi
xmlspy
django-tagging
table-footer
yui-datatable
imac
filtered-index
perfect-hash
zend-tool
private-members
wsdl.exe

Resources

Encrypt Message