So I'm learning my way around Liferay 7 and one of my first efforts was to create a sample portlet for it. The issue I was experiencing was that two of the dependencies were not able to resolve:
<dependency>
<groupid>com.liferay.portal</groupid>
<artifactid>portal-service</artifactid>
<version>${liferay.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupid>com.liferay.portal</groupid>
<artifactid>util-java</artifactid>
<version>${liferay.version}</version>
<scope>provided</scope>
</dependency>
The problem is that these dependencies, being auto generated by the Eclipse Liferay plugin, are using the older Liferay 6 naming conventions. The newer naming conventions look like this:
<dependency>
<groupid>com.liferay.portal</groupid>
<artifactid>com.liferay.portal.kernel</artifactid>
<version>2.22.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupid>com.liferay.portal</groupid>
<artifactid>com.liferay.util.java</artifactid>
<version>2.2.2</version>
<scope>provided</scope>
</dependency>
Note, the artifactId now has a '.' delimited format instead of '-,' and the version isn't the same as the Liferay version. A complete list of the new names appears here.