You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/05/11 22:29:59 UTC

[jira] [Created] (ACCUMULO-3798) Source resources should be in org.apache.accumulo.* package

Christopher Tubbs created ACCUMULO-3798:
-------------------------------------------

             Summary: Source resources should be in org.apache.accumulo.* package
                 Key: ACCUMULO-3798
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3798
             Project: Accumulo
          Issue Type: Task
          Components: mini, test
    Affects Versions: 1.6.2, 1.7.0
            Reporter: Christopher Tubbs
            Priority: Minor
             Fix For: 1.8.0


Classpath resources bundled in jars should be contained within the accumulo namespace (a sub-package of {{org.apache.accumulo}}).

This is important for jar-sealing (which matters for class files) and for preventing conflict between classpath resources.

For java classes, this is automatically achieved by the package declaration. However, for other files, one has to put them explicitly in {{src/main/resources/org/apache/accumulo/*}}.

There are two violations of this currently:

# accumulo-test jar has randomwalk/module.xsd
# accumulo-minicluster jar has auditLog.xml

These should be moved into an appropriate resource folder in the accumulo namespace, and the code which loads these resources should be modified to load them from the classpath in the new location.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)