Hi,
Sorry to hijack the thread, but is the tag for 3.1.2.2 "3.1.2.2-no-delete"?
I've tried to build both
https://svn.java.net/svn/glassfish~svn/tags/3.1.2.2-no-delete/ and
https://svn.java.net/svn/glassfish~svn/branches/3.1.2.2/, but get the
error below.
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_04
Java home: /opt/jdk1.6.0_04/jre
Settings.xml:
https://gist.github.com/3491955
Missing:
----------
1) org.eclipse.persistence:javax.persistence:jar:2.0.4.v201112200901
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.persistence
-DartifactId=javax.persistence -Dver
sion=2.0.4.v201112200901 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.persistence
-DartifactId=javax.persistence -Dversi
on=2.0.4.v201112200901 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.glassfish.main.deployment:dol:hk2-jar:3.1.2.2
2) org.eclipse.persistence:javax.persistence:jar:2.0.4.v201112200901
----------
1 required artifact is missing.
for artifact:
org.glassfish.main.deployment:dol:hk2-jar:3.1.2.2
from the specified remote repositories:
maven-central (
http://repo1.maven.org/maven2/)
Best regards,
Vetle
On Mon, Aug 27, 2012 at 11:37 AM, Romain Grecourt
<romain.grecourt_at_oracle.com> wrote:
> Hi,
>
> 3.1.2 tag is actually
> https://svn.java.net/svn/glassfish~svn/tags/3.1.2-no-delete
> Please, share your maven / JDK version.
>
> Instructions are available at this URL:
> https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions
>
> Thanks,
> Romain
>
>
> On 8/25/12 7:23 AM, forums_at_java.net wrote:
>>
>> Hello. I tried to build version 3.1.2 svn checkout
>> https://svn.java.net/svn/glassfish~svn/tags/3.1.2 mvn install but i got
>> these
>> exceptions. [WARNING] The POM for
>> org.glassfish.hk2:hk2-maven-plugin:jar:1.1.14 is invalid, transitive
>> dependencies (if any) will not be available, enable debug logging for more
>> details [WARNING] The POM for
>> org.glassfish.build:maven-glassfishbuild-extension:jar:3.1.1 is invalid,
>> transitive dependencies (if any) will not be available, enable debug
>> logging
>> for more details [ERROR] Invalid extension descriptor for
>> org.glassfish.build:maven-glassfishbuild-extension:3.1.1: error in opening
>> zip file [WARNING] The POM for org.jvnet.wagon-svn:wagon-svn:jar:1.8 is
>> invalid, transitive dependencies (if any) will not be available, enable
>> debug
>> logging for more details [ERROR] Invalid extension descriptor for
>> org.jvnet.wagon-svn:wagon-svn:1.8: error in opening zip file [ERROR] The
>> build could not read 76 projects -> [Help 1] [ERROR] [ERROR] The project
>> org.glassfish.main.common:mejb-frag:3.1.2
>> (/home/webdev/Temp/3.1.2/common/mejb-frag/pom.xml) has 1 error [ERROR]
>> Unknown packaging: distribution-fragment @ line 76, column 16 [ERROR]
>> [ERROR]
>> The project org.glassfish.main.deployment:dtds:3.1.2
>> (/home/webdev/Temp/3.1.2/deployment/dtds/pom.xml) has 1 error [ERROR]
>> Unknown
>> packaging: distribution-fragment @ line 11, column 16 [ERROR] [ERROR] The
>> project org.glassfish.main.deployment:schemas:3.1.2
>> (/home/webdev/Temp/3.1.2/deployment/schemas/pom.xml) has 1 error [ERROR]
>> Unknown packaging: distribution-fragment @ line 11, column 16
>>
>> --
>>
>> [Message sent by forum member 'ritzpar']
>>
>> View Post: http://forums.java.net/node/889547
>>
>>
>