org.efaps.maven.plugin.goal.efaps
Class ImportPersonsMojo

java.lang.Object
  extended by org.efaps.maven.plugin.EFapsAbstractMojo
      extended by org.efaps.maven.plugin.goal.efaps.ImportPersonsMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo

@Goal(name="import-persons")
public final class ImportPersonsMojo
extends EFapsAbstractMojo

The class is used to start the import of persons directly as parameter from the eFaps shell.
To start the import, call the shell with shell.sh -importPersons
Following Java system properties must / could be set to configure the import:

java.security.auth.login.config
Defines the JAAS configuration file.

Version:
$Id: ImportPersonsMojo.java 2393 2009-05-07 06:41:47Z jan.moxter $
Author:
tmo

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ImportPersonsMojo()
           
 
Method Summary
 void execute()
          The import of persons is started.
 
Methods inherited from class org.efaps.maven.plugin.EFapsAbstractMojo
abortTransaction, commitTransaction, convertToMap, getClasspathElements, getLog, getPassWord, getUserName, init, reloadCache, setLog, startTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportPersonsMojo

public ImportPersonsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
The import of persons is started. First the cache is reloaded and then the import itself is done.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2010 The eFaps Team. All Rights Reserved.