0
I am following the following article: JBOSS/WILDFLY Maven plugin for deploy LOCALHOST/REMOTE server.
I want to implement this in the project I have here to do continuous integration, testing using Maven, however I can’t find this folder .m2
that this mentioning or the archive settings.xml
, I can’t locate them, how can I proceed to implement this?
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>wildfly-remote</id>
<properties>
<wildfly-hostname>192.168.0.123</wildfly-hostname>
<wildfly-port>9990</wildfly-port>
<wildfly-username>remoteuser</wildfly-username>
<wildfly-password>remotepassword</wildfly-password>
</properties>
</profile>
<profile>
<id>wildfly-local</id>
<properties>
<wildfly-home>${env.WILDFLY_HOME}</wildfly-home>
<wildfly-hostname>127.0.0.1</wildfly-hostname>
<wildfly-port>9990</wildfly-port>
<wildfly-username>clairton</wildfly-username>
<wildfly-password>localpassword</wildfly-password>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>wildfly-local</activeProfile>
<activeProfile>wildfly-remote</activeProfile>
</activeProfiles>
</settings>