Issue 1 in ocpsoft-tools: TimerTest fails when trying to build from svn

0 views
Skip to first unread message

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 9:10:08 AM12/11/09
to ocpsoft-soc...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1 by legzomil: TimerTest fails when trying to build from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

What steps will reproduce the problem?
1. checkout a clean version of the trunk
2. try to launch a build (mvn clean install on the parent dir)

What is the expected output? What do you see instead?
The build is supposed to be OK, but it fails on the ocpsoft-base project.

What version of the product are you using? On what operating system?
The trunk source, on windows xp.

Please provide any additional information below.



Attachments:
com.ocpsoft.util.TimerTest.txt 9.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 10:06:15 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #1 on issue 1 by lincolnbaxter: TimerTest fails when trying to
Odd... are there any other tests in failure? As a workaround, could you try
removing
that test until I can figure out what's wrong?

I don't have that issue.

Thanks,
Lincoln

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 10:22:46 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #2 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

There are no other test in failure in the base project.. strange indeed
(behavior is
the same if I launch the test from Eclipse)

When the test is removed, the build fails a little further, here is the log.

I think a few variables are missing from the poms (ocpsoft.version,
spring.version
(not in all poms though), jsf.version, resteasy.version)..

I also think that Spring 3.0.0.RC1 is not available from standard repos &
that
something should be added to your parent POM to add spring milestone repos.

Cheers

Attachments:
build.txt 7.2 KB

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 10:44:13 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #3 on issue 1 by lincolnbaxter: TimerTest fails when trying to
Versions and any "missing" information should be getting pulled from:

http://ocpsoft.com/repository/com/ocpsoft/ocpsoft-parent-pom/

The parent POM. Is it possible you are not getting that dependency for some
reason?
The parent POM defines all of those variables. I'll try cleaning my local
repository
and watching the result.

I'll be interested if anyone else has had the same problem.

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 10:48:20 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #4 on issue 1 by lincolnbaxter: TimerTest fails when trying to
Which version of Maven are you using?

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 10:53:32 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #5 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

Ow yeah, I think I see what happened here: yesterday I already tried to
build from
SVN and got this error about not getting ocpsoft-parent-pom:1.0.1-SNAPSHOT.
I thought
you forgot something and renamed the socialpm artifact ocpsoft-parent-pom
(thinking
it was the parent... err...).

So today it was in my repo. Now that I cleaned my repo, I've got this quite
brutal
build fail :

[INFO] Unable to find
resource 'com.ocpsoft:ocpsoft-parent-pom:pom:1.0.1-SNAPSHOT' in
repository central (http://repo1.maven.org/maven2/)
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:ocpsoft-base:jar:null

Reason: Cannot find parent: com.ocpsoft:ocpsoft-parent-pom for project:
null:ocpsoft-base:jar:null for project null:ocpsoft-base:jar:null


(I'm using maven-2.1.0)

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 11:15:43 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #6 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

Hmmmm installing your parent-pom manually allows me to go further into the
build. I
still can't get automatically spring jars, but I guess it's because I'm
working
behind a proxy. I'm currently getting those jars 1 by 1.

For your parent-pom I still don't understand, I did not see the repository
you linked
in any of the project poms, how are we supposed to get it?

Thank you for your reactivity !

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 11:32:18 AM12/11/09
to ocpsoft-soc...@googlegroups.com
Updates:
Status: Accepted

Comment #7 on issue 1 by lincolnbaxter: TimerTest fails when trying to
I think I know what's happening. I don't think snapshots are picked up by
maven central....
so the parent pom is "missing".

Try adding the ocpsoft repository until I can increment the parent version
to 1.0.1

http://ocpsoft.com/repository

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 11:36:21 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #8 on issue 1 by lincolnbaxter: TimerTest fails when trying to

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 11:40:26 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #9 on issue 1 by lincolnbaxter: TimerTest fails when trying to
And yes, a proxy will interfere. You need to add
the proxy to your maven settings.xml

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 11:45:38 AM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #10 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

Yep, I'm familiar with this problem and I already have a proxy defined but
it does
not seem to work for other repos than the central one.

Well, I'll do the rest @home and I'll keep you informed.

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 6:34:07 PM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #11 on issue 1 by lincolnbaxter: TimerTest fails when trying to
Hey, try now. I included the parent POM (go ahead and do an `svn up`), but
it's still
not happy for some reason.

ocpsof...@googlecode.com

unread,
Dec 11, 2009, 7:57:07 PM12/11/09
to ocpsoft-soc...@googlegroups.com

Comment #12 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

I tried again, trashing my ocpsoft libs from my repo and I still lack
pretty-faces
2.0.3 SNAPSHOT in fact.

Took it by hand and the build is ok.

Now time to browse the code!
Thanks for the troubleshooting!

ocpsof...@googlecode.com

unread,
Dec 12, 2009, 9:14:53 AM12/12/09
to ocpsoft-soc...@googlegroups.com

Comment #13 on issue 1 by dominik.dorn: TimerTest fails when trying to
I think I fixed the issue.
I added a README for new users to start working.

It simply states, that they have to first install the parent-pom and then
build the
rest.

its added in the trunk.

ocpsof...@googlecode.com

unread,
Dec 12, 2009, 10:10:02 AM12/12/09
to ocpsoft-soc...@googlegroups.com

Comment #14 on issue 1 by dominik.dorn: TimerTest fails when trying to
legzomil: can you please try again? I think this issue is fixed (as the
error does
not occur anymore on my machine).

ocpsof...@googlecode.com

unread,
Dec 14, 2009, 1:53:14 AM12/14/09
to ocpsoft-soc...@googlegroups.com
Updates:
Status: Started

Comment #15 on issue 1 by lincolnbaxter: TimerTest fails when trying to
Can you try again? I've moved the PrettyFaces version to 2.0.3_RC1

ocpsof...@googlecode.com

unread,
Dec 14, 2009, 3:49:43 AM12/14/09
to ocpsoft-soc...@googlegroups.com

Comment #16 on issue 1 by legzomil: TimerTest fails when trying to build
from svn
http://code.google.com/p/ocpsoft-tools/issues/detail?id=1

Sure, I'll check again when I have the opportunity.

ocpsof...@googlecode.com

unread,
Dec 20, 2009, 4:12:56 PM12/20/09
to ocpsoft-soc...@googlegroups.com
Updates:
Status: Done

Comment #17 on issue 1 by lincolnbaxter: TimerTest fails when trying to

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages