Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building large projects

Hi Jesper,

> I search but couldn't find any documentation for this plugin. 

"mvn help:describe" is your friend:

mvn help:describe -Ddetail
-Dcmd=org.jboss.tools.tycho-plugins:target-platform-utils:mirror-target-to-repo
> [INFO] 'org.jboss.tools.tycho-plugins:target-platform-utils:mirror-target-to-repo' is a plugin goal (aka mojo).
> Mojo: 'target-platform-utils:mirror-target-to-repo'
> target-platform-utils:mirror-target-to-repo
>   Description: Mirrors a target file as a p2 repo. Suitable for
>     sharing/caching target/dependency sites.
>   Implementation: org.jboss.tools.tycho.targets.TargetToRepoMojo
>   Language: java
> 
>   Available parameters:
> 
>     includeSources
>       User property: mirror-target-to-repo.includeSources
>       (no description available)
> 
>     outputRepository
>       Expression: ${project.build.directory}/${project.artifactId}.target.repo
>       (no description available)
> 
>     sourceTargetArtifact
>       (no description available)
> 
>     sourceTargetFile
>       (no description available)

As you can see, the configuration element you are looking for is called
sourceTargetArtifact or sourceTargetFile (not targetFile).

Neither of these properties can be set on the command line (only
includeSources can, through the given "user property"), but if not set
they will default to the current artifact/project.

Thus,

  mvn
org.jboss.tools.tycho-plugins:target-platform-utils:mirror-target-to-repo -pl
:TARGET_ARTIFACT_ID

should do what you want and mirror the given eclipse-target-definition
project.

Hope this helps.

Andreas

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top