Awesome q2a theme
Ask us anything
Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
Getting the value of <version /> from pom.xml in your project code
0
like
0
dislike
51
views
Do I understand correctly that there are no reasonable ways to get the element value from pom.xml in your project code?
java
apache-maven
asked
Mar 20, 2019
by
krestjaninoff
|
51
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
like
0
dislike
Need to make a resource, such as your-project-name.properties that filtering is copied and the string "project.version=${project.version}". Then in runtime you can subtract this value from properties-file like other config values.
answered
Mar 22, 2019
by
MikeMirzayanov
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
1
answer
How to set up pom.xml with multiple "parents"?
asked
May 10, 2019
by
zeratustra
java
apache-maven
0
like
0
dislike
2
answers
In pom.xml use JSTL ${versions.wildfly}?
asked
Apr 13, 2019
by
P_Alexander
java
java-ee
apache-maven
0
like
0
dislike
1
answer
Tool to find unused libraries in your project?
asked
Mar 25, 2019
by
monkegoist
java
apache-maven
0
like
0
dislike
2
answers
Gradle project is not published to local Maven repository due to the fact that the source code uses the Russian text. How to fix it?
asked
Apr 4, 2019
by
MaxLich
java
the-character-encoding
apache-maven
0
like
0
dislike
1
answer
How to build jar from a project which uses the maven jar?
asked
May 10, 2019
by
sawa4
java
apache-maven
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooŃommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,187
answers
0
comments
40,796
users