You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2004/02/25 16:40:56 UTC
'maven rebuild' fails, but 'maven build' works?
Hey,
Doing 'maven rebuild' the build failed, but 'maven build' finished
properly. I've seen it several times - although 'maven rebuild' failed
(with all the libs downloaded) 'maven build' worked well.
I understand that sometimes when there're libs that aren't downloaded or
built maven may fail, but as you may have seen it's not the case now.
default:
build:
assemble:
[mkdir] Created dir: C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[copy] Copying 1 file to C:\projects\geronimo\target\lib
[mkdir] Created dir: C:\projects\geronimo\target\schema
[copy] Copying 15 files to C:\projects\geronimo\target\schema
[mkdir] Created dir: C:\projects\geronimo\target\repository
[copy] Copying 56 files to C:\projects\geronimo\target\repository
[echo] Bootstrapping service deployer
[mkdir] Created dir: C:\projects\geronimo\target\bin
[mkdir] Created dir: C:\projects\geronimo\target\config-store
BUILD FAILED
File...... file:/c:/projects/geronimo/
Element... maven:reactor
Line...... 179
Column.... 27
Unable to obtain goal [default] --
file:/c:/projects/geronimo/modules/assembly/:115:37: <define:jellybean>
java.lang.NullPointerException
Total time: 23 minutes 6 seconds
Finished at: Wed Feb 25 16:24:20 CET 2004
but
test:prepare-filesystem:
[mkdir] Created dir:
C:\projects\geronimo\modules\maven-plugin\target\test-classes
[mkdir] Created dir:
C:\projects\geronimo\modules\maven-plugin\target\test-reports
test:test-resources:
test:compile:
[echo] No test source files to compile.
test:test:
[echo] No tests to run.
jar:jar:
[jar] Building jar:
C:\projects\geronimo\modules\maven-plugin\target\geronimo-deployment-plugin-DEV.jar
[copy] Copying 1 file to C:\Documents and
Settings\jl540585\.maven\repository\geronimo\plugins
BUILD SUCCESSFUL
Total time: 7 minutes 41 seconds
Finished at: Wed Feb 25 16:36:49 CET 2004
Cheers,
Jacek
Re: 'maven rebuild' fails, but 'maven build' works?
Posted by Ralf Barkow <Ra...@web.de>.
Hoi,
I'd like to add my experience. After a clean checkout and two 'maven'
commands the BUILD was SUCCESSFUL ... Finished at: Thu Feb 26 03:34:24
CET 2004 and I was able to access the geronimo debug console !
The first 'maven' command failed with the following extracted errors :-
| Executing (default): Geronimo :: Common
- Error retrieving artifact from [
http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-SNAPSHOT.jar]:
java.net.SocketException: Unexpected end of file from server
| Executing (default): Geronimo :: Deployment
- java:compile:
[depend] Deleted 0 out of date files in 0 seconds
Cannot find CatalogManager.properties
Could not resolve publicId: null, systemId:
file:/L:/workspace/incubator-geronimo/modules/deployment/src/schema/geronimo-common.xsd
from catalog
Time to build schema type system: 45.816 seconds
| Executing (default): Geronimo :: J2eeSchema
- java:compile:
[depend] Deleted 0 out of date files in 0 seconds
Could not resolve publicId: null, systemId:
file:/L:/workspace/incubator-geronimo/specs/schema/src/j2ee_1_4schema/jsp_2_0.xsd
from catalog
Time to build schema type system: 18.367 seconds
IO Error java.net.ConnectException: Connection timed out: connect
| Executing (default): Geronimo :: Connector
- [junit] [ERROR] TEST
org.apache.geronimo.connector.deployment.RAR_1_0DConfigBeanTest FAILED
Cheers,
--
/rgb
Re: 'maven rebuild' fails, but 'maven build' works?
Posted by Patrick Mueller <pm...@yahoo.com>.
Jacek Laskowski wrote:
> Hey,
>
> Doing 'maven rebuild' the build failed, but 'maven build' finished
> properly. I've seen it several times - although 'maven rebuild' failed
> (with all the libs downloaded) 'maven build' worked well.
I also had a problem with, I think just 'maven' this morning; it's been
a couple of days since I updated. I was able to get a clean running
build by doing a 'clean' and then 'build'. My console log has rolled,
so I don't know exactly what else I tried, but I think I tried a
rebuild. At one point I got an error like this:
BUILD FAILED
File...... file:/incubator-geronimo/
Element... maven:reactor
Line...... 179
Column.... 27
Unable to obtain goal [default] --
file://.maven/plugins/maven-jar-plugin-1.3/:206:7:
<ant:copy> Failed to copy
incubator-geronimo\modules\kernel\target\geronimo-kernel-DEV.jar to
.maven\repository\geronimo\jars\geronimo-kernel-DEV.jar due to
.maven\repository\geronimo\jars\geronimo-kernel-DEV.jar (Access is denied)
[I have wacked the directories on the file names to protect my innocence
<grin/>]
Pretty weird (Access is denied), but actually, I'm used to seeing wacky
stuff like that from Ant. We've never figured out what's causing it,
and have at times resorted to create 'sleep' tasks in Ant to let it
'settle' between interesting tasks. ick.
But again, a 'maven clean' followed by a 'maven build' got me up and
going again.
--
Patrick Mueller
pmuellr@yahoo.com