It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is the JIRA WEB-INF/lib content fully exported by the System Bundled plug-in?

Hi,

I'm getting a lot of stuck trying to import the org.apache.jasper package from the System Bundle plugin.

I've seen that the required package is exported, but maybe partially only and some of its subdirectories like the org.apache.jasper.runtime could be missing for 3rd party plug-ins.

Is the WEB-INF/lib content fully exported by the System Bundled plug-in? Or does Atlasian apply any filter on its content?

Thanks,

Pablo

3 answers

1 accepted

0 votes
Answer accepted
Yilin Mo Atlassian Team May 13, 2013

Not sure whether it is a bug that we've fixed in the latest version of UPM, as I did not see that any more. Maybe you can try to upgrade the UPM for a test?

0 votes
Yilin Mo Atlassian Team May 12, 2013

You can find them in the WEB-INF/classes, they've compressed into the zip file "atlassian-bundled-plugins.zip".

I have a doubt. The documentation suggest looking at the System Bundle on the OSGi view in order to see what packages are exported and can be re-used by plug-is. But this does not corresponds to the atlassian-bunled-plugins.zip content.

For example:

https://answers.atlassian.com/questions/168594/why-a-system-bundled-interface-is-not-visible-from-a-plug-in-even-it-is-explicitly-imported-updated

The picture attached in the link above shows how the otrg.apache.jasper package looks like exported by the System Bundle (OSGi view), but it is not in the atlassian-bunled-plugins.zip.

What is grong? The documentation, then not all the packages shown on the OSGi view are really visble by plug-ins? Or does the System Bundle exports more packages than the atlassian-bunled-plugins.zip?

Very old question, but I guess this is the place for the "official" documentation.

In Jira 7.6.1 (at least) you'll have to check `com.atlassian.jira.plugin.DefaultPackageScannerConfiguration` (directly in source code at jira-project\jira-components\jira-core\src\main\java\... or compiled at atlassian-jira\WEB-INF\classes\...) to see what is included and what is excluded.

Includes

  • "com.atlassian.*",
    "com.google.common.*",
    "javax.*",
    "net.jcip.*",
    "org.jfree.*",
    "org.joda.*",
    "com.opensymphony.*",
    "org.apache.*",
    "org.ofbiz.*",
    "org.xml.*",
    "org.w3c.*",
    "webwork.*",
    "org.tuckey.web.filters.urlrewrite.*",
    "org.bouncycastle*",
    "org.dom4j*",
    "org.jdom*",
    "com.perforce*",
    "org.slf4j*",
    "org.codehaus.jackson*",
    "com.thoughtworks.xstream*"

Excludes

  • "com.atlassian.greenhopper",
    "com.springframework*",
    "org.springframework*",
    "com.sun.jersey.*",
    "javax.ws.*",
    "org.apache.tomcat.*",
    "org.apache.catalina.*",
    "org.apache.jasper.*",
    "org.apache.coyote.*",
    "org.apache.naming*",
    "*..svn*"

So org.apache.* is imported but org.apache.jasper.* is specifically excluded.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 03, 2019 in Marketplace Apps

How to estimate projects more accurately?

Gaining insight into your team’s effectiveness and choosing the right estimation technique.   Estimating projects is hard. It is because people have the tendency to underestimate the time thin...

299 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you