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
> [INFO] '' 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:
>   Language: java
>   Available parameters:
>     includeSources
>       User property: mirror-target-to-repo.includeSources
>       (no description available)
>     outputRepository
>       Expression: ${}/${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.


  mvn -pl

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

Hope this helps.


Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791

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

Back to the top