[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [tycho-user] Maven dependencies in target platform
 | 
The value is passed to maven/tycho as-is without any processing. have 
you tried "compile" (what should include provided ones)?
Am 10.03.21 um 08:44 schrieb Jeff MAURY:
What is the syntax of the dependencies scope on a Maven location. I 
tried provided on org.keycloak:keycloak-adapter-core:12.0.4 (which has 
dependencies with provided scope) but can't find them included in the TP
On Tue, Mar 9, 2021 at 7:28 PM Jeff MAURY <jeffmaury@xxxxxxxxxxxxx 
<mailto:jeffmaury@xxxxxxxxxxxxx>> wrote:
    This was an issue with my TP as it has the 3.6 marker and 3.8 is
    required to handle Maven locations.
    Seems I now have an issue with provided dependencies but will try to
    isolate
    On Tue, Mar 9, 2021 at 2:35 PM Jeff MAURY <jeffmaury@xxxxxxxxxxxxx
    <mailto:jeffmaury@xxxxxxxxxxxxx>> wrote:
        This is the complete stack I got from Eclipse log. I'm on 2020-12
        This is with a complex TP from JBoss Tools, will try on a
        simpler TP if I can reproduce it
        On Tue, Mar 9, 2021 at 12:41 PM Christoph Läubrich
        <laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>> wrote:
            Can you share a complete stacktrace or even an example
            project that
            shows the issue? Do you use the latest m2e snapshot? What
            eclipse version?
            Am 09.03.21 um 11:58 schrieb Jeff MAURY:
             > Hello,
             >
             > I tried to adopt new features from Tycho 2.2 and followed
             >
            https://läubisoft.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/
            <https://xn--lubisoft-0za.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/>
             >
            <https://xn--lubisoft-0za.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/
            <https://xn--lubisoft-0za.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/>>
             > That works well when the TP is edited but as soon as my
            workspace is
             > restarted, the TP cannot be loaded and I got NPE:
             >
             > !ENTRY org.eclipse.core.jobs
            <http://org.eclipse.core.jobs> <http://org.eclipse.core.jobs
            <http://org.eclipse.core.jobs>> 4 2
             > 2021-03-09 11:51:47.686
             > !MESSAGE An internal error occurred during: "Load Target
            Platform".
             > !STACK 0
             > java.lang.NullPointerException
             > at
             >
            org.eclipse.pde.internal.core.target.TargetDefinition.resolve(TargetDefinition.java:372)
             > at
             >
            org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:123)
             > at
             >
            org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
             > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
             >
             > Is this a known issue ?
             >
             >
             > --
             > Jeff MAURY
             >
             >
             > "Legacy code" often differs from its suggested
            alternative by actually
             > working and scaling.
             >   - Bjarne Stroustrup
             >
             > http://www.jeffmaury.com <http://www.jeffmaury.com>
            <http://www.jeffmaury.com <http://www.jeffmaury.com>>
             > http://riadiscuss.jeffmaury.com
            <http://riadiscuss.jeffmaury.com>
            <http://riadiscuss.jeffmaury.com
            <http://riadiscuss.jeffmaury.com>>
             > http://www.twitter.com/jeffmaury
            <http://www.twitter.com/jeffmaury>
            <http://www.twitter.com/jeffmaury
            <http://www.twitter.com/jeffmaury>>
             >
             > _______________________________________________
             > tycho-user mailing list
             > tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
             > To unsubscribe from this list, visit
            https://www.eclipse.org/mailman/listinfo/tycho-user
            <https://www.eclipse.org/mailman/listinfo/tycho-user>
             >
            _______________________________________________
            tycho-user mailing list
            tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
            To unsubscribe from this list, visit
            https://www.eclipse.org/mailman/listinfo/tycho-user
            <https://www.eclipse.org/mailman/listinfo/tycho-user>
        -- 
        Jeff MAURY
        "Legacy code" often differs from its suggested alternative by
        actually working and scaling.
          - Bjarne Stroustrup
        http://www.jeffmaury.com <http://www.jeffmaury.com>
        http://riadiscuss.jeffmaury.com <http://riadiscuss.jeffmaury.com>
        http://www.twitter.com/jeffmaury <http://www.twitter.com/jeffmaury>
    -- 
    Jeff MAURY
    "Legacy code" often differs from its suggested alternative by
    actually working and scaling.
      - Bjarne Stroustrup
    http://www.jeffmaury.com <http://www.jeffmaury.com>
    http://riadiscuss.jeffmaury.com <http://riadiscuss.jeffmaury.com>
    http://www.twitter.com/jeffmaury <http://www.twitter.com/jeffmaury>
--
Jeff MAURY
"Legacy code" often differs from its suggested alternative by actually 
working and scaling.
  - Bjarne Stroustrup
http://www.jeffmaury.com <http://www.jeffmaury.com>
http://riadiscuss.jeffmaury.com <http://riadiscuss.jeffmaury.com>
http://www.twitter.com/jeffmaury <http://www.twitter.com/jeffmaury>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user