Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5294

Building module with component metadata but no resources folder fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 7.2.0.Alpha1, 7.1.1.Final
    • 7.2.0.Final
    • None
    • None

    Description

      Throws error:

      [INFO] --- exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-scripting ---
       [ComponentMetadataPersister] Starting component metadata generation.  Scanning classes in /opt/upstream/infinispan/scripting/target/classes
      log4j:WARN No appenders could be found for logger (org.jboss.logging).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      [WARNING]
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.FileNotFoundException: /opt/upstream/infinispan/scripting/src/main/resources/infinispan-scripting-component-metadata.dat (No such file or directory)
      	at java.io.FileOutputStream.open0(Native Method)
      	at java.io.FileOutputStream.open(FileOutputStream.java:270)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
      	at org.infinispan.factories.components.ComponentMetadataPersister.writeMetadata(ComponentMetadataPersister.java:174)
      	at org.infinispan.factories.components.ComponentMetadataPersister.main(ComponentMetadataPersister.java:103)
      	... 6 more
      

      Attachments

        Issue Links

          Activity

            People

              gzamarre Galder ZamarreƱo
              gzamarre Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: