maven-profiles Questions
2
Solved
Is there a way to automatically activate a maven profile when the project is opened in IntelliJ IDEA?
For eclipse, this can be done by using the property m2e.version for activation and I thought t...
Chiefly asked 28/8, 2014 at 13:42
1
Solved
Problem
I have a maven project that has a similar structure to the following one:
(simplified for explanation purposes)
--parent
|-- child A (inherits from parent)
|-- child B (inherits from p...
Sukhum asked 11/2, 2016 at 7:54
2
Solved
I have the following parent pom.xml file:
<profile>
<id>build_full</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<module...
Indecent asked 10/2, 2016 at 0:23
4
Solved
Maven allows to activate certain build profiles based on the operating system family it runs on, for example:
<profile>
<activation>
<os><family>Windows</family><...
Nightfall asked 26/9, 2013 at 8:29
2
We use the frontend-maven-plugin for using grunt and bower in our builds. With the Frontend Maven Plugin, I can install NPM locally, use Bower to download Java libraries, and run Grunt to optimize ...
Eleanoraeleanore asked 22/10, 2015 at 19:21
0
I have a configuration entry for exec-maven-plugin
<configuration>
<executable>compass</executable>
<arguments>
<argument>compile</argument>
<argument&g...
Viscardi asked 30/9, 2015 at 16:0
1
Solved
I have two profiles defined in my pom.xml:
<profiles>
<profile>
<id>nobrand</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation...
Tarpan asked 17/9, 2015 at 9:50
2
Solved
I have pom with declared dependencies A,B and C. Is it possible to create a profile which removes dependencies, so that when I compile with that profile, I end up for example with compiled dependen...
Sporting asked 11/12, 2012 at 11:36
5
I have the following profiles in my parent pom
<profile>
<id>P1</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile&g...
Jehial asked 18/9, 2013 at 9:38
1
The question is related to Maven: Only activate profile A if profile B is not activated?, but it's more specific.
If I type one of the following:
mvn clean install -PspecificProfile
mvn clean ins...
Trojan asked 4/9, 2014 at 13:12
1
Solved
We have a multi-module maven project, and it has different platforms to run on, like JBoss 4 and JBoss 7. We specify the platform property, and then use it as a classifier for artifacts, and for ac...
Maisel asked 6/5, 2014 at 10:45
6
Solved
I have a Java webapp project that I develop in Eclipse (more precisely MyEclipse 10) and build using Maven 3.
I have the following layout (including only the files relevant to my problem :
projec...
Menses asked 4/10, 2012 at 14:28
1
Solved
I am in reference to "Maven: The Complete Reference" and especially the section regarding profiles which documents the use of a <properties... tag within the <profile... tag here: see here
...
Malefactor asked 22/8, 2012 at 8:3
1
Solved
I have parent project "parent", which has three modules like:
<groupId>com.dummy.bla.bla</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</versio...
Asper asked 11/5, 2012 at 15:8
1
Solved
I have two projects, project A is depending on project B, so normally, I'd have the following section in my projectA/pom.xml:
<dependency>
<artifactId>projectB</artifactId>
<...
Jann asked 11/5, 2012 at 14:36
1
Solved
I am trying to have some variable properties value and use Maven profile to get to the correct output. I've done this for my hibernate xml, log4j.properties and didnt have problem.
So it worked fo...
Amphibology asked 5/12, 2011 at 14:26
3
I use a very complex maven project and I would like to know what maven profiles are activated when I do mvn install.
How to find this out?
Sholley asked 4/11, 2011 at 10:19
1
Solved
I have a project that has several profiles. How do you make one of the profiles activate only if no other profiles are active?
Westbrook asked 17/9, 2009 at 1:5
© 2022 - 2024 — McMap. All rights reserved.