Hi Anita,
I just tried this and got the same build failure.
Cheers!
Hernan
anita kulshreshtha wrote:
Hernan,
Thanks for posting the full trace. I am hoping that I will not have
to use it.. Could you please try the following:
1. in your .m2 repo find
org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.
It should look like this:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
geronimo-openejb off line.
Thanks
Anita
--- Hernan Cunico <[EMAIL PROTECTED]> wrote:
Just in case somebody is having the same prob I'm attaching "mvn
install -e -X >> output.txt 2>>&1"
Cheers!
Hernan
Hernan Cunico wrote:
Enabling extensions did not work for me.
Cheers!
Hernan
Donald Woods wrote:
If you're using WinXP or Win2003 without Cygwin or other shell
changes, try changing the following line in your
<M2_HOME>\bin\mvn.bat -
if "%OS%"=="Windows_NT" @setlocal
to:
if "%OS%"=="Windows_NT" @setlocal enableextensions
-Donald
Joe Bohn wrote:
No, I haven't attempted that yet. I'll give that a try a little
later. Right now I'm trying to see if building OpenEJB3 locally
makes any difference since I know of at least one person that
isn't
hitting this problem but has built openejb3.
Thanks for the responses and ideas.
Joe
anita kulshreshtha wrote:
Have you tried moving these 2 files to their rightful place,
i.e. in
3.0-incubating-SNAPSHOT directory?
container-3.0-incubating-20070123.025044-17.pom
container-3.0-incubating-20070123.025044-17.pom.sha1
Thanks
Anita
--- Joe Bohn <[EMAIL PROTECTED]> wrote:
I think the problem that Hernan reported last week building on
Windows is still alive and well. It doesn't seem to cause any
problems on
OSX.
I was hitting it yesterday and just hit it again today with the
2.0-M2 branch, rev. 499407.
It seems to me that there is something fishy with the
container-3.0-incubating-SNAPSHOT.pom that only seems to cause
grief
on windows (see the messages below between the "*******" lines
I
inserted where there is an error reading and error in opening
the
zip file).
This results in some strange entries in my local repo for the
openejb
container:
+---3.0-incubating-20070123.025044-17
| container-3.0-incubating-20070123.025044-17.pom
| container-3.0-incubating-20070123.025044-17.pom.sha1
|
\---3.0-incubating-SNAPSHOT
container-3.0-incubating-SNAPSHOT.pom
Deleting these time-stamp entries and running again doesn't
seem to
avoid the problem. This is building with a completely empty
repo
and clean %tmp% with a fresh checkout. I've recreated on 2
different machines. I think something is screwed up with the
pom
or maven-metadata but I'm not up on maven enough to know what
it is.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geronimo :: OpenEJB :: Builder
[INFO] task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
[INFO] [tools:require-java-version {execution:
validate-java-version}]
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository tomcat-m2-repo
(http://tomcat.apache.org/dev/dist/m2-repository/)
Downloading:
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository
apache-incubator
(http://people.apache.org/repo/m2-incubating-repository/)
Downloading:
http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository codehaus
(http://repository.codehaus.org)
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository
apache-incubating-repository
(http://people.apache.org/repo/m2-incubating-repository)
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
31K downloaded
[INFO] [xmlbeans:xmlbeans {execution: default}]
Time to build schema type system: 0.156 seconds
Time to generate code: 0.125 seconds
*******
error: error reading
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
error in opening zip file
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
*******
BUILD FAILED
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
xml ErrorLoading schema file
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
xml ErrorLoading config file
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
=== message truncated ===
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091