recommended maven configuration don't work

mmdigi
Posts: 1
Joined: Sun Mar 30, 2014 12:35 am

recommended maven configuration don't work

Postby mmdigi » Sun Mar 30, 2014 2:43 am

I did what it says to do in http://www.scientiamobile.com/page/wurf ... rogrammers .

However I get the following build error.
Project build error: 'dependencyManagement.dependencies.dependency.artifactId' for scientiamobile2:null:pom is missing. In pom.xml

Code: Select all

<project>
...
	<repositories>
...
		<repository>
		        <!-- Define the following ID in your Maven's settings.xml -->
			<id>scientiamobile2</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>
...
	<dependencies>
...
		<dependency>
		        <groupId>scientiamobile2</groupId>
		        <artifact>ScientiaMobile Repository</artifact>
		        <version>1.5.1</version>
		        <type>pom</type>
		</dependency>
	</dependencies>
In settings.xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
	<server>
	     <id>scientiamobile2</id>
	     <username>***</username>
	     <password>***</password>
	</server>

</settings>
What am I missing?

Elliotfehr

Re: recommended maven configuration don't work

Postby Elliotfehr » Mon Mar 31, 2014 9:53 am

Hello,

It appears this issue is occurring due to the <type>pom</type> tags in the pom.xml file. I have just updated our documentation to reflect this change. Feel free to let us know if you receive any other error messages after this change has been made.

Thank you,

Elliot


Who is online

Users browsing this forum: No registered users and 0 guests