Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] 2.1.2

Hello Daniel,

Two things:

1) If you need the JARs and you can’t use Maven on your project, you can create a minimal maven project POM with the necessary dependencies and run https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html goal. This is the most reliable solution with any maven dependency, not only Lyo.
2) If you are not allowed to use the blobs, then you can build the core and client youself.

For the latter, do ‘mvn clean install’ (be sure to check out the 2.1.2 branch and the right tag) on:

1) org.eclipse.lyo.core/org.eclipse.lyo.oslc4j.build
2) org.eclipse.lyo.client/org.eclipse.lyo.client.java

At this point your will have the necessary JARs in target/ folders.

Jim suggests to make a fat JAR as part of the build but I am afraid am don’t have time this week to help you with that.

May I ask what do you use for your Java project builds?
 
-Andrew.

On [DATUM], lyo-dev-bounces@xxxxxxxxxxx on behalf of Daniel Chirillo <[ADRESSE]> wrote:

    I need to build 2.1.2. Prior to 2.1.2, as a Lyo client (OSLC4J) consumer, I downloaded the jars with dependencies.  Where are the instructions for building everything I need to have a complete 2.1.2 release?
     
    Regards,
    
    Daniel Chirillo
    IBM Internet of Things (IoT) Lab Services
    1-720-395-0914 (voice & fax)
    chirillo@xxxxxxxxxx
    
    
     
     
    
    ----- Original message -----
    From: Andrii Berezovskyi <andriib@xxxxxx>
    Sent by: lyo-dev-bounces@xxxxxxxxxxx
    To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
    Cc:
    Subject: Re: [lyo-dev] 2.1.2
    Date: Sat, Mar 18, 2017 3:51 PM
     
    Hi Daniel,
    
    The website will be updated next week (with maven instructions and Javadoc links). But we stopped building JARs with dependencies from source (Bug 512934). This setup caused the missing OAuth library problem in the first place and we also found that dependencies
     repo was not updated since Lyo 1.0 according to the build scripts. We plan to use maven for everything instead.
    
    If there are users that don’t use maven/gradle/sbt etc. we can easily create “OSLC4J 2.1.2 jars only - no prerequisite packages included” archive, but I don’t think I will be making an effort to bundle all transitive dependencies for users that don’t use a
     dependency management system… There is 'mvn dependency:copy-dependencies' goal but I never used it and it will increase the testing effort for each release. We will need to make sure that sample projects using lyo and not using maven still work well. I did
     not see those in our repositories and it's likely that we won't be able to automate such tests anyway.
    
    If you are talking about using Lyo inside Eclipse platform, then it's a totally different story and prompts a discussion on bundling Lyo as OSGi bundles, which is likely not what you meant…
    
    In case there are worries about “Eclipse approved versions of prerequisite packages” as noted on the homepage, I want to make it clear that all packages that Maven will pull (from Central) on behalf of our POM files are “Eclipse approved”. We submit the source
     code of every library we use in our POMs for IP legal team review.
    
    Finally, we would like to push 2.2.0 to Maven Central so that users can access Lyo artefacts directly.
    
    
    -Andrew.
    
    On 18.03.17, 18:03, lyo-dev-bounces@xxxxxxxxxxx im Auftrag von Daniel Chirillo <lyo-dev-bounces@xxxxxxxxxxx im Auftrag von chirillo@xxxxxxxxxx> wrote:
    
        Excellent news, indeed.  Will 
    https://eclipse.org/lyo/download.php <https://eclipse.org/lyo/download.php> be updated with the 2.1.2 release?
        
        Regards,
        
        Daniel Chirillo
        IBM Internet of Things (IoT) Lab Services
        1-720-395-0914 (voice & fax)
        chirillo@xxxxxxxxxx
        
        
        
        
        
        ----- Original message -----
        From: Andrii Berezovskyi <andriib@xxxxxx>
        Sent by: lyo-dev-bounces@xxxxxxxxxxx
        To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
        Cc:
        Subject: [lyo-dev] 2.1.2
        Date: Fri, Mar 17, 2017 3:21 PM
        
        Dear Lyo users,
        
        I am glad to announce that Lyo 2.1.2 has been released! This was the first release carried out by Jad El-khoury, Jim Amsden, and yours truly. We went through a release review process even though it is not strictly needed for the service releases just in
     order
         to get acquainted with the process.
        
        This release has mainly addressed issues in the client (28 issues) and core (9 issues) [1]. I would like to thank all contributors who submitted the patches!
        
        As of now, artefacts under ‘org.eclipse.lyo.clients’ and ‘org.eclipse.lyo.oslc4j.core’ groupId are available under ‘2.1.2’ artifactId. Please make sure your POM file specifies the correct repositories [2].
        
        The Javadoc sites are also published:
        
        •
        http://download.eclipse.org/lyo/docs/core/2.1.2/overview-summary.html <http://download.eclipse.org/lyo/docs/core/2.1.2/overview-summary.html>
        •
        http://download.eclipse.org/lyo/docs/client/2.1.2/overview-summary.html <http://download.eclipse.org/lyo/docs/client/2.1.2/overview-summary.html>
        
        We will be starting to work on 2.2.0 roadmap soon [3]. We are looking forward to your feedback on Lyo 2.1.2 and bug reports as well patches for 2.2.0!
        
        -Andrew.
        
        [1]:
        https://projects.eclipse.org/projects/technology.lyo/releases/2.1.2/bugs <https://projects.eclipse.org/projects/technology.lyo/releases/2.1.2/bugs>
        [2]:
        https://wiki.eclipse.org/Lyo/LyoOSLC4J#Using_in_Maven <https://wiki.eclipse.org/Lyo/LyoOSLC4J#Using_in_Maven>
        [3]:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=510999 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=510999>
        
        _______________________________________________
        lyo-dev mailing list
        lyo-dev@xxxxxxxxxxx
        To change your delivery options, retrieve your password, or unsubscribe from this list, visit
        https://dev.eclipse.org/mailman/listinfo/lyo-dev
        
        
        
        
        
        
    
    _______________________________________________
    lyo-dev mailing list
    lyo-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/lyo-dev
    
    
     
    
    
    


Back to the top