Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-295

jboss-as.home user property is not applied using wildfly:dev

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.3.Final
    • 5.1.3.Final
    • Maven Plugin
    • None
    • Hide
      1. use mvn org.wildfly.plugins:wildfly-maven-plugin:5.1.2.Final:dev -Djboss-as.home="C:\\work
        application-servers
        wildfly-32.0.1.Final-avedia"
      2. change pom to add on the plugins tag under build tag the following
        <plugin>  
            <groupId>org.wildfly.plugins</groupId>
            <artifactId>wildfly-maven-plugin</artifactId>
            <version>5.1.2.Final</version>
            <configuration>
                <jbossHome>C:\\work\\application-servers\\wildfly-32.0.1.Final-avedia</jbossHome>
            </configuration>
        </plugin>
         

      according to documentation this should look at a local folder where wildfly is already available instead of downloading a new version, the result is an error stating 

      JBOSS_HOME 'C:\work\fusion-wildfly-service\target\server' is not a valid directory 

      the path is an example on my use case but as you can see the path I pass with -D argument jboss-as.home or setting JBOSS_HOME env variable or using it on the plugin configuration on pom.xml is not read

      Show
      use mvn org.wildfly.plugins:wildfly-maven-plugin:5.1.2.Final:dev -Djboss-as.home="C:\\work application-servers wildfly-32.0.1.Final-avedia" change pom to add on the plugins tag under build tag the following <plugin> <groupId> org.wildfly.plugins </groupId> <artifactId> wildfly-maven-plugin </artifactId> <version> 5.1.2.Final </version> <configuration> <jbossHome> C:\\work\\application-servers\\wildfly-32.0.1.Final-avedia </jbossHome> </configuration> </plugin> according to documentation this should look at a local folder where wildfly is already available instead of downloading a new version, the result is an error stating  JBOSS_HOME 'C:\work\fusion-wildfly-service\target\server' is not a valid directory the path is an example on my use case but as you can see the path I pass with -D argument jboss-as.home or setting JBOSS_HOME env variable or using it on the plugin configuration on pom.xml is not read

      when trying to set <jbossHome> as per documentation is never read by the plugin I always get 

      JBOSS_HOME 'C:\work\fusion-wildfly-service\target\server' is not a valid directory 

      if this is not supported is should not be available on the documentation

       

              jperkins-rhn James Perkins
              repe-vitec Renato Peixoto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: