You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tony Chemit <ch...@codelutin.com> on 2012/06/28 00:35:08 UTC

Tips to build maven-plugin-tools

Hy,

I try to build the project from the root maven project but I faced some compilation problems :

in maven-plugin-tools-javadoc
-----------------------------

The profile toobtain tools.jar is not activate (so so xdoc and build failed),

this profile is activated by property java.vendor :

          <value>Sun Microsystems Inc.</value>

But I use a jdk 7 from oracle so I had to change it to Oracle Corporation

Is this normal ? Perharps I need a jdk 1.4.2to build the project, but it sound a bit not possible since we used then 
annotations in others modules so require a jdk 5.0 ?

If not should I open a jira issue for this ? 

A simple solution is to add a second profile activated by Oracle Corporation (or perharps also openJdk vendor ?)

in maven-plugin-plugin
----------------------
As the project use itself now annotation to describe fields and components, it must have this compile dependency:

    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>${project.version}</version>
    </dependency>


Perharps there is some reason to this, but I can't find it out why (no READEME file to help).

Thanks for responses, I am ready if required to open jira issues and submit some patches.

kind regards,

tony. 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Tips to build maven-plugin-tools

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
Yes please create an issue.
Which os are you using ?
Currently jenkins build are ok. I will add one with jdk1.7

2012/6/28 Tony Chemit <ch...@codelutin.com>:
> Hy,
>
> I try to build the project from the root maven project but I faced some compilation problems :
>
> in maven-plugin-tools-javadoc
> -----------------------------
>
> The profile toobtain tools.jar is not activate (so so xdoc and build failed),
>
> this profile is activated by property java.vendor :
>
>          <value>Sun Microsystems Inc.</value>
>
> But I use a jdk 7 from oracle so I had to change it to Oracle Corporation
>
> Is this normal ? Perharps I need a jdk 1.4.2to build the project, but it sound a bit not possible since we used then
> annotations in others modules so require a jdk 5.0 ?
>
> If not should I open a jira issue for this ?
>
> A simple solution is to add a second profile activated by Oracle Corporation (or perharps also openJdk vendor ?)
>
> in maven-plugin-plugin
> ----------------------
> As the project use itself now annotation to describe fields and components, it must have this compile dependency:
>
>    <dependency>
>      <groupId>org.apache.maven.plugin-tools</groupId>
>      <artifactId>maven-plugin-annotations</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>
>
> Perharps there is some reason to this, but I can't find it out why (no READEME file to help).
>
> Thanks for responses, I am ready if required to open jira issues and submit some patches.
>
> kind regards,
>
> tony.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org