Simple
pom.xml
file:Run your mvn cli command as :
mvn clean install -Pdev -DprofileIdEnabled=true
.More infos https://dzone.com/articles/maven-profile-best-practices
COOL RASPBERRY PI PROJECTS WITH NODE.JS SOCKET.IO APPS
pom.xml
file:<?xml version="1.0" encoding="UTF-8"?>
<project>
<!-- ... everything else -->
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<environment.name>development</environment.name>
</properties>
</profile>
<profile>
<id>production</id>
<properties>
<environment.name>production</environment.name>
</properties>
</profile>
</profiles>
</project>
mvn clean install -Pdev -DprofileIdEnabled=true
.Awesome Projects © 2015. All Rights Reserved.
Created by ThemeXpose
0 comments:
Post a Comment