Added the dependency but still not getting it
Closed this issue · 8 comments
I added the below dependency in pom.xml
<dependency>
<groupId>de.f0rce</groupId>
<artifactId>ace</artifactId>
<version>1.1.0</version>
</dependency>
It also have
<pluginRepositories>
<!-- Main Maven repository -->
<pluginRepository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>vaadin-addons</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>Vaadin Directory</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
<!-- Repository needed for prerelease versions of Vaadin -->
<repository>
<id>Vaadin prereleases</id>
<url>https://maven.vaadin.com/vaadin-prereleases</url>
</repository>
<!-- Repository needed for the snapshot versions of Vaadin -->
<repository>
<id>vaadin-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
</repository>
<repository>
<id>vaadin-addons</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>
I reloaded the project multiple files but still this is not getting downloaded. Not sure where is the issue.
Hello @vaithu,
this seems like a super odd issue and I've never seen this before. What do you mean by
its not getting downloaded
After you start / update the project once, you should be able to use It in any Java class.
import de.f0rce.ace.AceEditor;
AceEditor ace = new AceEditor()
I don't know how to investigate here. Maybe you would have to ask Vaadin support.
Have a great day,
David
It is 100 % available in the mvn repository.
Could you please check the spelling of the Vaadin Add-on repository.
<repository>
<id>vaadin-addons</id>
<url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
You have the Vaadin add-on three times in your .pom file. Could you please remove one or two of them and see if the error still persists? Maybe maven has problems choosing the right repository and gets stuck in a loop (idk).