maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Düppe <mailing-li...@dueppe.com>
Subject build error in multi module project
Date Thu, 01 Jun 2006 15:33:18 GMT
Hi,

I have the following structure within my project

openuss              <packaging>pom</packaging>
    framework      <packaging>pom</packaging>
       utilities         <packaging>jar</packaging>

This is the pom.xml from my framework module:

<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
       
     <parent>
        <groupId>org.openuss</groupId>
        <artifactId>openuss</artifactId>
        <version>3.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.openuss.framework</groupId>
    <artifactId>openuss-framework</artifactId>
    <version>3.0-SNAPSHOT</version>
    <name>OpenUSS - Framework</name>
    <packaging>pom</packaging>

    <modules>
        <module>utilities</module>
    </modules>

</project>

I can run mvn install from openuss and from the utilities folder. But 
when I try to run mvn install from the framework folder I get the 
following error quoted below.

Regards
 Ingo

Buildfile: 
D:\development\workspaces\workspace-openuss-3.0\openuss\framework\build.xml
install:
     [exec] [INFO] Scanning for projects...
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [ERROR] FATAL ERROR
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Failed to resolve artifact.
     [exec] GroupId: org.openuss
     [exec] ArtifactId: openuss
     [exec] Version: 3.0-SNAPSHOT
     [exec] Reason: Unable to download the artifact from any repository
     [exec] org.openuss:openuss:pom:3.0-SNAPSHOT
     [exec] from the specified remote repositories:
     [exec] central (http://repo1.maven.org/maven2)
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Trace
     [exec] org.apache.maven.reactor.MavenExecutionException: Cannot 
find parent: org.openuss:openuss for project: 
org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT
     [exec] at 
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
     [exec] at 
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
     [exec] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
     [exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
     [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [exec] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [exec] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [exec] at java.lang.reflect.Method.invoke(Method.java:585)
     [exec] at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
     [exec] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     [exec] at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
     [exec] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
     [exec] Caused by: 
org.apache.maven.project.ProjectBuildingException: Cannot find parent: 
org.openuss:openuss for project: 
org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1176)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
     [exec] at 
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
     [exec] at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
     [exec] at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
     [exec] at 
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
     [exec] ... 11 more
     [exec] Caused by: 
org.apache.maven.project.ProjectBuildingException: POM 
'org.openuss:openuss' not found in repository: Unable to download the 
artifact from any repository
     [exec] org.openuss:openuss:pom:3.0-SNAPSHOT
     [exec] from the specified remote repositories:
     [exec] central (http://repo1.maven.org/maven2)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
     [exec] ... 19 more
     [exec] Caused by: 
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to 
download the artifact from any repository
     [exec] org.openuss:openuss:pom:3.0-SNAPSHOT
     [exec] from the specified remote repositories:
     [exec] central (http://repo1.maven.org/maven2)
     [exec] at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
     [exec] at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
     [exec] at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
     [exec] ... 20 more
     [exec] Caused by: 
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download 
the artifact from any repository
     [exec] at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
     [exec] at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
     [exec] ... 22 more
     [exec] [INFO] 
------------------------------------------------------------------------
     [exec] [INFO] Total time: < 1 second
     [exec] [INFO] Finished at: Thu Jun 01 17:23:28 CEST 2006
     [exec] [INFO] Final Memory: 1M/2M
     [exec] [INFO] 
------------------------------------------------------------------------
BUILD SUCCESSFUL
Total time: 1 second



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message