[jboss-jira] [JBoss JIRA] (JBASMP-75) serverConfig should accept arbitrary paths
Harald Wellmann (JIRA)
issues at jboss.org
Fri Nov 14 10:14:29 EST 2014
Harald Wellmann created JBASMP-75:
-------------------------------------
Summary: serverConfig should accept arbitrary paths
Key: JBASMP-75
URL: https://issues.jboss.org/browse/JBASMP-75
Project: JBoss AS Maven Plugins
Issue Type: Bug
Components: wildfly
Environment: wildfly-maven-plugin 1.0.2.Final, WildFly 8.1.0.Final
Reporter: Harald Wellmann
Assignee: James Perkins
The {{serverConfig}} Mojo parameter is described as
{quote}
The path to the server configuration to use.
{quote}
However, when specifying a path like
{code:xml}
<serverConfig>src/test/resouces/standalone-test.xml</serverConfig>
{code}
there is an exception
{noformat}
java.lang.IllegalStateException: JBAS014805: Could not get main file: ... Specified files must be relative to the configuration dir: ...
{noformat}
This is inconvenient. Users should be able to override the default configurations from a WildFly distribution. E.g. the wildfly-maven-plugin could simply copy the file specified in {{serverConfig}} to {{$JBOSS_HOME/standalone/configuration}}.
As a workaround, I now unpack WildFly with the maven-dependency-plugin, copy my configuration with maven-resources-plugin and add the {{jbossHome}} parameter to wildfly-maven-plugin, all of which is rather verbose.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list