How to use Utgard from Maven

656 views
Skip to first unread message

Alberto Corral

unread,
Jun 5, 2014, 3:12:56 PM6/5/14
to open...@googlegroups.com
How can I use Utgard in a maven project now. I heard maven repo was restored a year ago.
Is it possible to use it or should I use p2 instead?
In the second case, how can I use p2 in my pom.xml?
Is the latest version 1.1? how mature is the 1.2 branch?

Could someone provide a sample pom.xml including repos, plugins and dependencies?

thanks

Jens Reimann

unread,
Jun 5, 2014, 3:50:24 PM6/5/14
to open...@googlegroups.com

Hi.

The maven repositories are at http://repo.openscada.org/maven/

Both snapshot and release.

When it comes to Utgard not much had changed from 1.1 to 1.2. So you can use either. Preferably the release one (1.1).

P2 in maven can be used with "Tycho". http://www.eclipse.org/tycho/

Jens

--
You received this message because you are subscribed to the Google Groups "openSCADA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openscada+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alberto Corral

unread,
Jun 5, 2014, 4:18:35 PM6/5/14
to open...@googlegroups.com
Hi Jens,

please, could you post my last comment here. I send only to you by mistake and now los the text.

thanks

Justin Smith

unread,
Jun 11, 2014, 5:26:07 PM6/11/14
to open...@googlegroups.com
Alberto,

An example maven (3.2) project that uses Utgard can be found here: https://github.com/magno32/android-opc-example

Specifically, the repository declaration is: 

<repository>
<id>utgard</id>
<name>utgard releases</name>
</repository>

And the dependencies will look like:
<dependencies>
        <dependency>
            <groupId>com.google.android</groupId>
            <artifactId>android</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.openscada.utgard</groupId>
            <artifactId>org.openscada.opc.lib</artifactId>
            <version>1.1.0.v20130529</version>
        </dependency>
        <dependency>
            <groupId>org.openscada.utgard</groupId>
            <artifactId>org.openscada.opc.dcom</artifactId>
            <version>1.1.0.v20130529</version>
        </dependency>
        <dependency>
            <groupId>org.openscada.jinterop</groupId>
            <artifactId>org.openscada.jinterop.core</artifactId>
            <version>1.1.0.v20130529</version>
        </dependency>
        <dependency>
            <groupId>org.openscada.jinterop</groupId>
            <artifactId>org.openscada.jinterop.deps</artifactId>
            <version>1.1.0.v20130529</version>
        </dependency>
        <dependency>
            <groupId>jcifs</groupId>
            <artifactId>jcifs</artifactId>
            <version>1.3.17</version>
        </dependency>
    </dependencies>

I added a Travis build to ensure that all of the dependencies are met. https://travis-ci.org/magno32/android-opc-example

I hope this helps.

A. Corral

unread,
Jun 11, 2014, 5:43:48 PM6/11/14
to open...@googlegroups.com
Thanks Justin. It helps a lot.

Jens Reimann

unread,
Jun 12, 2014, 1:42:21 AM6/12/14
to open...@googlegroups.com

Thank you for providing that sample!

--

A. Corral

unread,
Jun 25, 2014, 5:00:34 AM6/25/14
to open...@googlegroups.com
I suppose the Eclipse Scada v0.2 add support to Utgard, so the maven repo will change after October 2014 for new Utgard releases.

I hope this work in progress (migrate Utgard to Eclipse) finally come with Eclipse Scada 0.2. I'm involving into the process to accelerate this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=432251
Reply all
Reply to author
Forward
0 new messages