dev@glassfish.java.net

RE: building Glassfish 3.1.2 from source using maven

From: peter belbin <pbelbin_at_gmail.com>
Date: Mon, 12 Mar 2012 22:25:14 -0500

Ok, well, I've made 'some' progress with this.

 

Using JDK 6u30 and maven 3.0.2.

 

However, I am currently running into this issue:

 

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal on project ejb-all: Could not resolve
dependencies for project org.glassfish.main.ejb:ejb-all:pom:3.1.2: Could not
find artifact
org.glassfish.main.ejb:ejb-timer-databases:distribution-fragment:3.1.2 in
maven-central (http://repo1.maven.org/maven2/) -> [Help 1]

[ERROR]

 

It would be really nice if the location of the various dependencies were
actually published somewhere!

 

 

I have tried a few searches, but, am really having a difficult time locating
this one.

 

So, please help!

 

Regards,

Peter Belbin

 

 

 

By the way, here is what I have in my maven settings.xml file:

 

 

<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0

                      http://maven.apache.org/xsd/settings-1.1.0.xsd">

    <localRepository/>

    <interactiveMode/>

    <usePluginRegistry/>

    <offline/>

    <pluginGroups/>

    <servers/>

    <mirrors>

        <mirror>

            <id>maven-central</id>

            <url>http://repo1.maven.org/maven2/</url>

            <mirrorOf>*,!eclipselink.repository</mirrorOf>

        </mirror>

    </mirrors>

    <proxies/>

    <profiles>

        <profile>

            <id>gf-repo</id>

            <repositories>

                <repository>

                    <id>maven2-repository.dev.java.net</id>

                    <name>Java.net Repository for Maven</name>

                    <url>http://download.java.net/maven/2/</url>

                    <layout>default</layout>

                    <releases>

                        <enabled>true</enabled>

                        <updatePolicy>always</updatePolicy>

                    </releases>

                    <snapshots>

                        <enabled>true</enabled>

                        <updatePolicy>always</updatePolicy>

                    </snapshots>

                </repository>

                <repository>

                    <id>eclipselink.repository</id>

                    <name>EclipseLink Repo</name>

                    <releases>

                        <enabled>true</enabled>

                        <updatePolicy>always</updatePolicy>

                    </releases>

                    <snapshots>

                        <enabled>false</enabled>

                    </snapshots>

 
<url>http://download.eclipse.org/rt/eclipselink/maven.repo/</url>

                    <layout>default</layout>

                </repository>

                <repository>

                    <id>netbeans.repository</id>

                    <name>Maven Repo containing NetBeans artifacts</name>

                    <releases>

                        <enabled>true</enabled>

                        <updatePolicy>always</updatePolicy>

                    </releases>

                    <snapshots>

                        <enabled>false</enabled>

                    </snapshots>

 
<url>http://dev.nightlabs.org/maven-repository/repo/</url>

                    <layout>default</layout>

                </repository>

            </repositories>

        </profile>

    </profiles>

    <activeProfiles>

        <activeProfile>gf-repo</activeProfile>

    </activeProfiles>

</settings>