I am currently setting up a Java EE project with IntelliJ. For local testing I am using a local Jboss wildfly where I deploy the application via artifacts and a run configuration defined in Idea.
I would like to use the "deployable datasource approach" where the jdbc driver and the corresponding mysql-ds.xml descriptor file is deployed manually to jboss.
In the deployment dialog of the run configuration I am able to choose the driver .jar file but IntelliJ doesn't show the mysql-ds.xml file.
Is there any way to deploy this additional descriptor file outside of an archive?