Print

Print


Hi,

Add this to ~/.m2/settings.xml and that version of lcsim-parent should be found:

<?xml version="1.0"?>
<settings>
    <profiles>
        <profile>
            <id>myNameHere</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>lcsim-maven</id>
                    <name>org.lcsim Maven Repository</name>
                    <url>http://lcsim.org/maven2</url>
                    <releases>
                        <enabled>true</enabled>
                        <updatePolicy>always</updatePolicy>
                        <checksumPolicy>fail</checksumPolicy>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                        <updatePolicy>always</updatePolicy>
                        <checksumPolicy>fail</checksumPolicy>
                    </snapshots>
                </repository>
            </repositories>
        </profile>
    </profiles>
</settings>

--Jeremy

On Jun 5, 2013, at 6:56 AM, Kyle McCarty <[log in to unmask]<mailto:[log in to unmask]>> wrote:

I tried building hps-detectors and got this error:

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.lcsim:hps-detectors:1.5-SNAPSHOT (C:\cygwin\home\Kyle\hps\hps-detectors\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find org.lcsim:lcsim-parent:pom:2.9 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 9, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

It seems that it is looking for some aspect of lcsim-parent that it can not find. I did successfully build lcsim-parent, but this seems to have had no effect on whether hps-detectors builds or not. Do you know how to counter this?

Thanks,

Kyle


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1