Quantcast
Channel: tycho-user
Viewing all articles
Browse latest Browse all 4647

Re: [tycho-user] building feature error on dependency

$
0
0
did you configure target-platform-configuration to consider pom dependencies ?

-Matthias

On Wed, Mar 4, 2015 at 5:37 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
Do you build joda-time or it is expected to come from a remote
repository? In the latter case, make sure the repository has p2 layout
and project pom.xml has corresponding <repository> element.

--
Regards,
Igor

On 2015-03-04 11:27, titimoby wrote:
I made a typo, I modified to 0.0.0 in feature.xml.
Nice, now the error message says:
[ERROR]Â ÂMissing requirement: sandbox.feature.feature.group 6.5.4.3
requires 'joda-time 0.0.0' but it could not be found

I'm sure I made a simple mistake... so new to tycho/maven world.

On Wed, Mar 4, 2015 at 5:21 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

  Version 0.0.0.0 seems to be wrong. Did you mean 0.0.0?

  --
  Regards,
  Igor


  On 2015-03-04 11:14, titimoby wrote:

    Hi,

    I try to reduce at minimum the case I have.
    The goal of the complete project is to build an
    eclipse-repository from
    a feature also built.

    For the moment, I'm stuck during feature building.
    As an example, I added joda-time to the plugin in feature.xml.

    <plugin
         Âid="joda-time"
         Âdownload-size="0"
         Âinstall-size="0"
         Âversion="0.0.0.0"
         Âunpack="false"/>

    As an example, I added joda-time to the plugin in feature.xml.
    And I added the corresponding dependency in pom.xml:

    <dependencies>
    <dependency>
    <groupId>joda-time</groupId>
       <artifactId>joda-time</__artifactId>
    <version>2.7</version>
    </dependency>
    </dependencies>

    The error shows:

    [ERROR] ÂMissing requirement: sandbox.feature.feature.group 6.5.4.3
    requires 'joda-time [0.0.0.0]' but it could not be found

    I attached the complete files if anyone has a suggestion, it
    will help.


    _________________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://dev.eclipse.org/__mailman/listinfo/tycho-user
    <https://dev.eclipse.org/mailman/listinfo/tycho-user>

  _________________________________________________
  tycho-user mailing list
  tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
  To change your delivery options, retrieve your password, or
  unsubscribe from this list, visit
  https://dev.eclipse.org/__mailman/listinfo/tycho-user
  <https://dev.eclipse.org/mailman/listinfo/tycho-user>




_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Viewing all articles
Browse latest Browse all 4647

Trending Articles