Maven "Missing Artifact" for Addon

Hi there,

currently stuck on a seemingly easy project.
I made a test project in eclipse with vaadin 7 to work out if the ContextMenu Addon is good for my main project.
Unfortunately maven can’t seem to find the addon in the repository.

I’m quite new to maven and maybe I’m making a blatant error but I can’t find it on my own. Google gives me 100 answers, but I tried them all, nothing worked.

My pom.xml looks as follows:


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>VaadinContextMenuTest</groupId>
	<artifactId>VaadinContextMenuTest</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>war</packaging>


	<build>
		<sourceDirectory>src</sourceDirectory>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-war-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<warSourceDirectory>WebContent</warSourceDirectory>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-themes</artifactId>
			<version>7.1.0</version>
		</dependency>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-client-compiled</artifactId>
			<version>7.1.0</version>
		</dependency>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-cdi</artifactId>
			<version>1.0.0.alpha1</version>
		</dependency>
		<dependency>
			<groupId>org.vaadin.addons</groupId>
			<artifactId>contextmenu</artifactId>
			<version>4.2.1</version>
		</dependency>


	</dependencies>
	<repositories>
		<repository>
			<id>vaadin-addons</id>
			<url>http://maven.vaadin.com/vaadin-addons</url>
		</repository>
	</repositories>
</project>

And the Error is:

Missing Artifact: 0rg.vaadin.addons:contextmenu:jar:4.2.1

I already tried some other addon but it yields me the same results.

Any ideas?

Your error message has a zero instead of an ‘o’ in org.vaadin.addons. Is that just a typo in the forum post or are you actually getting that?

Oh hi, er that’s just a typo. Error is still not solved. Any ideas on what it may hinge?

Are other add-ons such as vaadin-cdi loaded correctly? Have you tried some other version of the add-on (e.g. 4.2.0)?

Can you give a bit more context for the error? It can be normal e.g. for Maven to first try to load the add-on in one location, fail to find it there and then try the next repository, but that does not seem to be the case here.

Your POM is also missing at least widgetset compilation, but that would only come into play after the add-on is retrieved from Maven.