Top "Maven-profiles" questions

Profiles are intended to give some extra behaviors to maven builds, with a set of properties, plugin or actions

Activate Maven profile if another profile is not activated

The question is related to Maven: Only activate profile A if profile B is not activated?, but it's more specific. …

java maven build maven-3 maven-profiles
Maven: How to print the current profile on the console?

I'm trying to print the current profile that is active running a build of a Maven Project. I'm using the …

maven maven-antrun-plugin maven-profiles
Get list of activated profile name during run time in maven java project

I need to be able to use the profile activated during the run time of JUnit tests. I was wondering …

java maven unit-testing maven-profiles system-variable
Clarification about @EnableMongoRepositories

I'm trying to use @EnableMongoRepositories for using two separate mongo repositories like: @Configuration @EnableMongoRepositories(mongoTemplateRef = "mongoBOTemplate", basePackages = "sandbox.dao.bo") …

spring spring-data maven-profiles spring-profiles
Maven - Child Module Profiles

Problem I have a maven project that has a similar structure to the following one: (simplified for explanation purposes) --parent |…

maven pom.xml multi-module maven-profiles
Choose maven profile from OS family

I want to set some properties based on the OS type, so I have the following in my pom.xml: &…

maven operating-system pom.xml maven-profiles
maven profile activation with default profile without tag "activeByDefault"

I am looking for a way to setup multiple profiles, one of which I want to be set as default (…

maven pom.xml maven-profiles
Combining profiles in Maven to skip multiple categories of unit tests?

I am having a problem trying to configure Maven to excluded some categories of unit tests based on multiple profiles. …

unit-testing maven maven-profiles
Run a goal of a plugin inside a profile

<profile> <id>integration-tests</id> <activation> <property> <name>integrations&…

maven maven-3 pom.xml exec-maven-plugin maven-profiles