WURFL Adds Maven Support for Java Programmers!

WURFL Adds Maven Support for Java Programmers!

Configuring your Builds to work with ScientiaMobile’s Private Maven Repository

We are proud to announce that we have made it even easier to include the WURFL API into your Java project with the introduction of a private Maven repository!

If you are a commercial licensee of the WURFL OnSite Java API, it is as easy as adding your scientiamobile.com credentials into your settings.xml file and including WURFL as a dependency in your pom.xml file.

You will first need to define an ID using a username and password that are associated with your license on scientiamobile.com and then place that into your settings.xml in our Maven installation.

 

<server>
     <id>com.scientiamobile.wurfl</id>
     <username>YourUsername</username>
     <password>YourPassword</password>
</server>

 

Now that your credentials have been added, you will need to add the WURFL repository in your pom.xml file:

<project>
(...)
     <repositories>
          <repository>
          <!-- Define the ID that was added in your Maven's settings.xml -->
          <id>com.scientiamobile.wurfl</id>
          <!---You do not need to change the following lines -->
          <name>com.scientiamobile.wurfl</name>
          <url>http://maven.scientiamobile.com:8081/nexus/content/repositories/private-repository</url>
          </repository>
     </repositories>
</project>

 

Let’s also add WURFL as a dependency:

<dependency>
          <groupId>com.scientiamobile.wurfl</groupId>
          <artifactId>wurfl</artifactId>
          <version>1.8.0.0</version>
</dependency>

 

After everything has been configured with Maven, you are now ready to build your project and get started integrating WURFL!

 

  • Marcus Tylutki

    Is this site still valid? It seems like port 8081 is not reachable on maven.scientiamobile.com, although it is responding to pings and has port 22 open for SSH. Is there a newer URL to use for a maven repository for the latest versions?

  • Elliot Fehr

    Marcus,

    We had a small outage on Tuesday that was preventing port 8081 from responding. Feel free to let us know if you continue to have any further issues.

    Thank you,

    Elliot