Maven profile properties not overriding values in springs configurations
I have a very weird problem with maven profiles. In pom.xml we have profiles with some properties. We use those properties on pom.xml and in spring configurations. When building with specific profile only properties in pom.xml are affected, in spring configurations there are the defaults. Somehow it seems that profile isn't activated, althought properties in pom.xml are changed. When I activate profile default like this: <activation> <activeByDefault>true</activeByDefault> </activation> All properties are changed as those should. I run maven form command line and I'm using version 3.0.4 from Ubuntu 12.04 repositories. I also tested with standalone 3.0.5 version. Command I use: mvn clean package -P profile-id If this isn't weird enough, I'm only one who have this problem in this project so it has to be something with my computer, I just don't know where to look at. Do you have any idea how to fix this?
It seems that this is bug in maven-resources-plugin versions 2.5 and 2.6. We fixed this issue by specifying version to 2.4.
Running docker-maven-plugin on the very end of parent pom building
Intellij: How to create context-sensitive Maven shortcuts
How to use property values in postinstall scripts during Maven build
Maven: No source to compile
jgitflow start-release fails for https url with OAuth token
is there any alternative for maven reactor plugin?
Cannot capture network packets in storm spout using jNetpcap
How to create 'resources' folder in Intellij?
Gradle tells me ' Must specify a repository for deployment'
Grails Unit Testing occurring on Wrong Phase of Maven Life Cycle
Maven variables set after running goals cannot be resolved in IDEA [duplicate]
Release project with SNAPSHOT test dependency
Continuous Delivery with Maven: Why not just use the build number a the artifact's version?
Maven settings not working for all projects
Groovy install HTTPBuilder now that Codehaus shutdown?
Spring mvc #RequestMapping on class level and method level 404 Status