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.
Extend maven cargo plugins jvmargs
bamboo plan generates rpm appended with snapshot and time stamp
Maven loads wrong version of dependency
No appenders could be found for logger (org.springframework.web.context.ContextLoader)
CircleCI circle.yml file - how to checkout differently with different branches
Maven: find usage of dependency by dependencies? [duplicate]
Maven structure with a single exposed artifact and internal dependencies
Automatically bumping up pom.xml with Maven release plugin
Use Maven to start programs
Sonatype Nexus endpoint for artifact's version number
Springboot with Maven running a react with webpack
Compile hadoop 2.7.2 have a error and I don't know why
Sonarqube dependencies page alternative?
Unable to insert into cloud Google SQL through endpoints
How to intercept maven plugin build log
Maven Release plugin: Doing the git push via https