[jboss-user] [IronJacamar] - ironjacamar maven validator 1.1.0.Alpha7 throws

gonzalad do-not-reply at jboss.com
Tue Jun 12 09:24:04 EDT 2012


gonzalad [https://community.jboss.org/people/gonzalad] created the discussion

"ironjacamar maven validator 1.1.0.Alpha7 throws"

To view the discussion, visit: https://community.jboss.org/message/741219#741219

--------------------------------------------------------------
Hello,

I'm trying to validate my jca connector with Ironjacamar maven validator (as documented here :  http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/validator.html#validator_maven http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/validator.html#validator_maven)

I get the following error when running mvn clean install on my pom.xml :

java.lang.IllegalStateException: Unable to find an annotation scanner implementa
tion
        at org.jboss.jca.common.spi.annotations.repository.AnnotationScannerFact
ory.getAnnotationScanner(AnnotationScannerFactory.java:72)
        at org.jboss.jca.validator.Validation.validate(Validation.java:148)
        at org.jboss.jca.validator.maven.ValidatorMojo.execute(ValidatorMojo.jav
a:72)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)


My pom.xml contains 
<plugin>
  <groupId>org.jboss.ironjacamar</groupId>
  <artifactId>ironjacamar-validator-maven</artifactId>
  <version>1.1.0.Alpha7</version>
  <executions>
    <execution>
      <goals>
        <goal>validate</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <outputDir>.</outputDir>
    <rarFile>${project.build.directory}/${project.build.finalName}.rar</rarFile>
  </configuration>
</plugin>


If i add a dependency to ironjacamar-common-impl-papaki, everything runs fine :
<plugin>
  <groupId>org.jboss.ironjacamar</groupId>
  <artifactId>ironjacamar-validator-maven</artifactId>
  <version>1.1.0.Alpha7</version>
  <dependencies>
    <dependency>
      <groupId>org.jboss.ironjacamar</groupId>
      <artifactId>ironjacamar-common-impl-papaki</artifactId>
      <version>1.1.0.Alpha7</version>
    </dependency>
  </dependencies>
  <executions>
    <execution>
      <goals>
        <goal>validate</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <outputDir>.</outputDir>
    <rarFile>${project.build.directory}/${project.build.finalName}.rar</rarFile>
  </configuration>
</plugin>



Should I open an issue ?

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/741219#741219]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120612/4f1aba35/attachment.html 


More information about the jboss-user mailing list