Skip to main content

maven build of tag 3.1.2 fails

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
ritzpar
Offline
Joined: 2012-08-22

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Romain Grecourt...
Offline
Joined: 2012-02-17

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#FullBui...

Thanks,
Romain

On 8/25/12 7:23 AM, forums@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
>
>

vetler
Offline
Joined: 2010-05-25

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: