没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > pkgscanner |
pkgscanner
|
0 | 0 | 121 |
贡献者 | 讨论 | 代码提交 |
Small Java library that scans the classloader and tries to determine what packages are available as well as what version they may be. The intended use is to generate the Export-Package OSGi header value to automatically expose the current classpath to an embedded OSGi container.
DownloadsYou can download the jars, source, and javadocs from the Maven 2 repository:
http://twdata-m2-repository.googlecode.com/svn/org/twdata/pkgscanner/package-scanner/
Example Usage Collection exports = new PackageScanner()
.select(
jars(
include(
"*.jar",
"bar-*.jar"),
exclude(
"*dira*.jar")),
packages(
include(
"org.*",
"com.*",
"javax.*",
"org.twdata.pkgscanner.*"),
exclude(
"com.intellij.*")))
.withMappings(
mapPackage("org.twdata.pkgscanner.foo").toVersion("2.0.4"))
.scan();Maven RepositoryAdd this to your pom.xml:
twdata-repository
twdata Repository for Maven
http://twdata-m2-repository.googlecode.com/svn/