Skip to main content

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

Thanks, Fred. 
It works!
Sebastian

-------- Original-Nachricht --------
> Datum: Sat, 16 Jun 2012 09:13:31 +0200
> Von: Fred Bricon <fbricon@xxxxxxxxx>
> An: Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>
> Betreff: Re: [m2e-users] Error "URL missing for repository"

> Browsing  http://maven.herasaf.org/webapp/browserepo.html  I got
> 
> <repositories>
> <repository>
>  <id>maven.herasaf.org-releases</id>
> <name>maven.herasaf.org-releases</name>
>  <url>http://maven.herasaf.org/herasaf-release</url>
> </repository>
> </repositories>
> 
> 
> On Sat, Jun 16, 2012 at 7:55 AM, Sebastian Hauck
> <sebastian.hauck@xxxxxx>wrote:
> 
> > 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
> > _______________________________________________
> > m2e-users mailing list
> > m2e-users@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/m2e-users
> >
> 
> 
> 
> -- 
> "Have you tried turning it off and on again" - The IT Crowd

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Back to the top