Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Error "URL missing for repository"

Hi,

I want to work with HERAS-AF and therefore I need Eclipse and Maven.
I never worked with Maven before. The instruction book of HERAS-AF says I should add the repository and dependency to the POM.

I did this and now the pom.xml looks liks this:


<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>com.mycompany.app</groupId>
  <artifactId>my-app</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <name>Heras</name>
<repositories> 
<repository> 
<id>maven.herasaf.org-releases</id> 
<name>maven.herasaf.org-releases</name> 
<url></url> 
</repository> 
</repositories>
<dependencies> 
<dependency>
<groupId>org.herasaf.xacml.core</groupId>
<artifactId>herasaf-xacml-core</artifactId>
<version>1.0.0-M2</version>
</dependency>
</dependencies>
</project>


The problem is that in the first line Eclipse mentioned the error "Project build error: Invalid artifact repository: URL missing for repository maven.herasaf.org-releases".

Can anyone help? How can I get the URL? Where do I have to write it?
Thanks!

Sebastian
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a


Back to the top