2 Replies Latest reply on Jan 26, 2015 3:23 AM by ks.zealot

    Problem with deploying custom resource adapter with maven

    ks.zealot

      So, i trying build with maven multi-module application and deploy to jboss. IN install phase of my build i describe jca  adapter that must be deployed.

      <execution>

                              <phase>install</phase>

                              <goals>

                                  <goal>deploy-artifact</goal>

                              </goals>

                              <configuration>

                                   <groupId>${groupId}</groupId>

                                      <artifactId>${artefactId}</artifactId>

                                      <type>rar</type>

                                  <name>${name}.rar</name>

                              </configuration>

                          </execution>

      When i ran this goal, jboss threw exception

      Caused by: org.jboss.jca.common.api.validator.ValidateException: IJ010075: The resource adapter metadata must contain either an outbound or inbound configuration

              at org.jboss.jca.common.metadata.ra.common.ResourceAdapter1516Impl.validate(ResourceAdapter1516Impl.java:352)

              at org.jboss.jca.common.metadata.ra.common.ConnectorAbstractmpl.validate(ConnectorAbstractmpl.java:332)

              at org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor.process(ParsedRaDeploymentProcessor.java:182)

              ... 7 more

      This resource adapter perfectly work almost year before, so its jboss or maven problem.

      What should i do and where maven keep  tmp file when deployed to remote host?

      Use with plagin 7.6.Final, jboss eap 6.2, java 8