Class ObrDeployFile
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.felix.obrplugin.AbstractFileMojo
org.apache.felix.obrplugin.ObrDeployFile
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="deploy-file",
requiresProject=false,
defaultPhase=DEPLOY)
public final class ObrDeployFile
extends AbstractFileMojo
Deploys bundle details to a remote OBR repository (command-line goal)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringOptional public URL where the bundle has been deployed.private booleanWhen true, ignore remote locking.private org.apache.maven.artifact.repository.ArtifactRepositoryLocal Repository.private org.apache.maven.artifact.manager.WagonManagerThe Wagon manager.private StringLocal OBR Repository.private StringRemote OBR Repository.private StringRemote repository id, used to lookup authentication settings.private org.apache.maven.settings.SettingsLocal Maven settings.private ListProject types which this plugin supports.private StringRemote OBR repository URL, where the bundle details are to be uploaded.Fields inherited from class AbstractFileMojo
file, obrXmlFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractFileMojo
getProjectMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
ignoreLock
@Parameter(property="ignoreLock") private boolean ignoreLockWhen true, ignore remote locking. -
remoteOBR
Remote OBR Repository. -
obrRepository
Local OBR Repository. -
supportedProjectTypes
Project types which this plugin supports. -
repositoryId
@Parameter(property="repositoryId", defaultValue="remote-repository", required=true) private String repositoryIdRemote repository id, used to lookup authentication settings. -
url
Remote OBR repository URL, where the bundle details are to be uploaded. -
bundleUrl
Optional public URL where the bundle has been deployed. -
localRepository
@Parameter(defaultValue="${localRepository}", readonly=true, required=true) private org.apache.maven.artifact.repository.ArtifactRepository localRepositoryLocal Repository. -
settings
@Parameter(defaultValue="${settings}", readonly=true, required=true) private org.apache.maven.settings.Settings settingsLocal Maven settings. -
m_wagonManager
@Component private org.apache.maven.artifact.manager.WagonManager m_wagonManagerThe Wagon manager.
-
-
Constructor Details
-
ObrDeployFile
public ObrDeployFile()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-