Package org.apache.felix.obrplugin
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 String
Optional public URL where the bundle has been deployed.private boolean
When true, ignore remote locking.private org.apache.maven.artifact.repository.ArtifactRepository
Local Repository.private org.apache.maven.artifact.manager.WagonManager
The Wagon manager.private String
Local OBR Repository.private String
Remote OBR Repository.private String
Remote repository id, used to lookup authentication settings.private org.apache.maven.settings.Settings
Local Maven settings.private List
Project types which this plugin supports.private String
Remote OBR repository URL, where the bundle details are to be uploaded.Fields inherited from class org.apache.felix.obrplugin.AbstractFileMojo
file, obrXml
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.felix.obrplugin.AbstractFileMojo
getProject
Methods 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
-