Java API and Maven

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Java API and Maven

Postby sm_support2 » Fri Jun 24, 2011 7:30 am

Hi

I have a maven project that utilizes the Wurfl Java API.
Are the artifacts anywhere to be found? where?

Elliotfehr

Re: Java API and Maven

Postby Elliotfehr » Wed Mar 19, 2014 3:00 pm

Hello,

We do have a Maven repository available to all commercial license holders. Here is how you can include the artifacts into your Maven project:

settings.xml:

Code: Select all

<server>
     <id>YourIDOfChoice</id>
     <username>YourUsername</username>
     <password>YourPassword</password>
</server>
pom.xml:

Code: Select all

<project>
(...)
     <repositories>
          <repository>
          <!-- Define the following ID in your Maven's settings.xml -->
          <id>YourIDOfChoice</id>
          <!---You do not need to change the following lines -->
          <name>ScientiaMobile Repository</name>
          <url>http://maven.scientiamobile.com:8081/nexus/content/repositories/private-repository</url>
          </repository>
     </repositories>
</project>
Let's also declare WURFL as a dependency:

Code: Select all

<dependency>
          <groupId>YourIDOfChoice</groupId>
          <artifact>ScientiaMobile Repository</artifact>
          <version>1.5.1</version>
</dependency>
Thank you,

Elliot


Who is online

Users browsing this forum: No registered users and 13 guests