Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Make Jersey's custom JavaDoc doclet ResourceDoclet Tycho-aware

you could try the maven-dependency-plugin:build-classpath goal with outputProperty and use that property [1].

Or ${maven.compile.classpath} with maven-antrun-plugin [2].



-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Gunnar Wagenknecht
Sent: Donnerstag, 6. Juni 2013 13:41
To: tycho-dev@xxxxxxxxxxx
Subject: Re: [tycho-dev] Make Jersey's custom JavaDoc doclet ResourceDoclet Tycho-aware

Am 06.06.2013 13:27, schrieb Gunnar Wagenknecht:
> I have two options now. Either I patch ResourceDoclet to make it aware
> of a Tycho-Maven computed classpath of the project it runs in or I
> somehow confince Tycho to dump the computed project classpath as a
> string variable which I could pass via -classpath option to the
> ResourceDoclet.

FWIW, it seems that ${project.compileClasspathElements} contains what I 
need. However, I can't use this one out of the box. It's added as 
"[...jar, .....jar, ...]" whereas the doclet expects "...jar:...jar" syntax.

Additionally, the -classpath element seems to be added to the 
commandline already by the Maven JavaDoc plug-in. I wonder if that is 
the wrong (non-OSGi aware) classpath already.


Gunnar Wagenknecht

tycho-dev mailing list

Back to the top