accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3798) Source resources should be in org.apache.accumulo.* package
Date Mon, 11 May 2015 20:29:59 GMT
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)

Mime
View raw message