mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 17:45:51 +00:00
[OPENJPA-2852] marking mojo as threadsafe
This commit is contained in:
parent
68aa6a3d17
commit
9a96e0cd89
@ -29,6 +29,7 @@ import org.apache.maven.plugins.annotations.ResolutionScope;
|
||||
* @version $Id: OpenJpaEnhancerMojo.java 10954 2009-10-23 22:05:45Z struberg $
|
||||
* @since 1.0
|
||||
*/
|
||||
@Mojo(name="enhance", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE)
|
||||
@Mojo(name="enhance", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE,
|
||||
threadSafe = true)
|
||||
public class OpenJpaEnhancerMojo extends AbstractOpenJpaEnhancerMojo {
|
||||
}
|
||||
|
@ -34,7 +34,8 @@ import org.apache.openjpa.lib.util.Options;
|
||||
* @version $Id$
|
||||
* @since 1.0
|
||||
*/
|
||||
@Mojo(name="schema", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE)
|
||||
@Mojo(name="schema", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE,
|
||||
threadSafe = true)
|
||||
public class OpenJpaSchemaMojo extends AbstractOpenJpaMappingToolMojo {
|
||||
|
||||
/**
|
||||
|
@ -34,7 +34,8 @@ import org.apache.openjpa.lib.util.Options;
|
||||
* @version $Id$
|
||||
* @since 1.0
|
||||
*/
|
||||
@Mojo(name="sql", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE)
|
||||
@Mojo(name="sql", defaultPhase=LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution=ResolutionScope.COMPILE,
|
||||
threadSafe = true)
|
||||
public class OpenJpaSqlMojo extends AbstractOpenJpaMappingToolMojo {
|
||||
|
||||
/**
|
||||
|
@ -34,7 +34,7 @@ import org.apache.maven.plugins.annotations.ResolutionScope;
|
||||
* @since 1.1
|
||||
*/
|
||||
@Mojo(name="test-enhance", defaultPhase=LifecyclePhase.PROCESS_TEST_CLASSES,
|
||||
requiresDependencyResolution=ResolutionScope.TEST)
|
||||
requiresDependencyResolution=ResolutionScope.TEST, threadSafe = true)
|
||||
public class OpenJpaTestEnhancerMojo extends AbstractOpenJpaEnhancerMojo {
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user