core-jgi/org.adempiere.base/pom.xml

63 lines
2.0 KiB
XML
Raw Normal View History

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.idempiere</groupId>
<artifactId>org.idempiere.parent</artifactId>
<version>${revision}</version>
<relativePath>../org.idempiere.parent/pom.xml</relativePath>
</parent>
<artifactId>org.adempiere.base</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
2019-04-11 19:22:24 +07:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache-extras.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>2.0b6</version>
</artifactItem>
<artifactItem>
<groupId>it.sauronsoftware.cron4j</groupId>
<artifactId>cron4j</artifactId>
<version>2.2.5</version>
</artifactItem>
<artifactItem>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.avalon.framework</groupId>
<artifactId>avalon-framework-api</artifactId>
<version>4.3.1</version>
IDEMPIERE-4842 Easier model registration (#877) * Preliminary support for automatic model class registration Model classes can be tagged with a new @Model annotation that allows for easy/fast class scanning/registration, based on the ClassIndex library. The list of annotated model classes is generated at compile time, thus reducing reflection reliance to a bare minimum. NOTE: Eclipse uses its own Java compiler which is not strictly standard compliant and requires extra configuration. In Java Compiler -> Annotation Processing -> Factory Path you need to add ClassIndex jar file * Annotation based model factory * Improve classloader determination for annotation scanning ClassIndex default annotation scanning method determines the classloader to be used by calling Thread.currentThread().getContextClassLoader(), which should not be used in an OSGi environment. * Enable ClassIndex's annotation processor under Eclipse Make sure annotation processing is enabled at Module Properties -> Java Compiler -> Annotation Processing * Refactoring annotation-based model class detection Eliminated the need of annotating M* classes, by using ClassIndex's @IndexSubclasses annotation. * Minor change * Minor changes * Creation of AbstractModelFactory * Documentation * Make AnnotationBasedModelFactory extend AbstractModelFactory * IDEMPIERE-4842 Easier model registration - add annotation processor jdt settings - fix @Component annotation for AnnotationBasedModelFactory - fix generated x_* class missing "org.atteo.classindex.IndexSubclasses" import * Expose ClassIndex lib to other bundles * Updated model classes Co-authored-by: hengsin <hengsin@gmail.com>
2021-09-18 12:35:57 +07:00
</artifactItem>
<artifactItem>
<groupId>org.atteo.classindex</groupId>
<artifactId>classindex</artifactId>
<version>3.4</version>
</artifactItem>
</artifactItems>
<outputDirectory>lib</outputDirectory>
<stripVersion>true</stripVersion>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>