Page 1 of 1
Java API and Maven
Posted: Fri Jun 24, 2011 7:30 am
by sm_support2
Hi
I have a maven project that utilizes the Wurfl Java API.
Are the artifacts anywhere to be found? where?
Re: Java API and Maven
Posted: Wed Mar 19, 2014 3:00 pm
by Elliotfehr
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