You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cb594d2
Browse filesBrowse the repository at this point in the historyBrowse files
Merge branch 'master' of 'scijava/annindex' into HEAD
SciJava-common makes use of annotations to be able to index classes to
provide a powerful plugin framework that allows for a flexible extension
mechanism by using annotation indexes generated at compile time, and
stored inside the artifacts.
SciJava-common used to rely on SezPoz for that, but we are switching to
our own, custom annotation indexer for the following reasons:
- we need better support for Eclipse (which does not run annotation
processors in incremental compilation mode)
- we need a more robust data format (annotation indexes written out with
SezPoz using an Oracle JDK cannot be read back using Android)
- since our main user -- the @plugin annotation -- needs a RetentionPolicy
of "runtime", there must not be a warning about that usage model
- SciJava-common's usage of the annotation index requires the latter to be
handled carefully when it comes to class loader issues. While there has
been a fix for SezPoz to that extent, donated by the SciJava project,
the fix did not make it into a release for more than fourteen SciJava
versions; SciJava has maintained its own SezPoz version for that reason.
To support the SciJava-related projects (including the ones uploaded to
ImageJ update sites where it cannot be guaranteed at all times that all
the uploaded artifacts were built with the newest SciJava common version),
the branch sports a backwards-compatible index reader that falls back to
SezPoz-generated indexes for artifacts that do not contain
SciJava-generated ones.
While at it, fill a few gaps in the pom.xml and bump the version to
2.6.0-SNAPSHOT (to reflect the new API)...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Conflicts:
.gitignore
LICENSE.txt
license/scijava/license.txt
pom.xml
Copy file name to clipboardExpand all lines: pom.xml
+94-1Lines changed: 94 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
</parent>
10
10
11
11
<artifactId>scijava-common</artifactId>
12
-
<version>2.5.1-SNAPSHOT</version>
12
+
<version>2.6.0-SNAPSHOT</version>
13
13
14
14
<name>SciJava Common</name>
15
15
<description>SciJava Common is a shared library for SciJava software. It provides a plugin framework, with an extensible mechanism for service discovery, driven by the SezPoz library, so that plugins can be loaded dynamically. It is used by both ImageJ and SCIFIO.</description>
@@ -75,6 +75,13 @@ Institute of Molecular Cell Biology and Genetics.</organizationName>
75
75
<canUpdateCopyright>true</canUpdateCopyright>
76
76
</configuration>
77
77
</plugin>
78
+
<plugin>
79
+
<groupId>org.apache.maven.plugins</groupId>
80
+
<artifactId>maven-compiler-plugin</artifactId>
81
+
<configuration>
82
+
<compilerArgument>-proc:none</compilerArgument>
83
+
</configuration>
84
+
</plugin>
78
85
</plugins>
79
86
</build>
80
87
@@ -88,6 +95,57 @@ Institute of Molecular Cell Biology and Genetics.</organizationName>
0 commit comments