@Mojo(name="xcode-process-sources",
defaultPhase=PROCESS_SOURCES,
requiresDependencyResolution=COMPILE)
public class XcodeProcessSourcesMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
boolean |
addDependencies
The property to determine whether or not to add the dependencies to the xcodeproj/project.pbxproj file.
|
boolean |
addTestDependencies
The property to determine whether or not to add the dependencies to the xcodeproj/project.pbxproj file.
|
CopyDependenciesUtil |
copyDependenciesUtil |
List<String> |
dependencyTargets
The targets to add dependencies to.
|
List<String> |
dependencyTestTargets
The targets to add test dependencies to.
|
ProcessRunner |
processRunner |
org.apache.maven.project.MavenProject |
project |
List<org.eclipse.aether.repository.RemoteRepository> |
projectRepos |
org.eclipse.aether.RepositorySystemSession |
repoSession
The current repository/network configuration of Maven.
|
org.eclipse.aether.RepositorySystem |
repoSystem
The entry point to Aether, i.e.
|
String |
xcodeProject
The path to your xcodeproj file.
|
| Constructor and Description |
|---|
XcodeProcessSourcesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(property="project",
readonly=true,
required=true)
public org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${project.remoteProjectRepositories}",
readonly=true,
required=true)
public List<org.eclipse.aether.repository.RemoteRepository> projectRepos
@Component public org.eclipse.aether.RepositorySystem repoSystem
@Parameter(defaultValue="${repositorySystemSession}",
readonly=true)
public org.eclipse.aether.RepositorySystemSession repoSession
@Parameter(alias="addDependencies",
property="xcode.add.dependencies",
defaultValue="false",
required=true)
public boolean addDependencies
@Parameter(alias="addTestDependencies",
property="xcode.add.test.dependencies",
defaultValue="true",
required=true)
public boolean addTestDependencies
@Parameter(alias="project",
property="xcode.project.path",
defaultValue="${basedir}/${project.artifactId}.xcodeproj",
required=true)
public String xcodeProject
@Parameter public List<String> dependencyTargets
@Parameter public List<String> dependencyTestTargets
public ProcessRunner processRunner
public CopyDependenciesUtil copyDependenciesUtil
Copyright © 2015. All rights reserved.