Re: Work on Release 2.6: Maven Archetype and Tutorial Examples

Karl Wettin <[email protected]> Sun, 20 Jan 2013 15:25:17 +0100
Newsgroups gmane.comp.java.prevayler
Message-ID <[email protected]>
20 jan 2013 kl. 15:19 skrev Klaus Wuestefeld:

>> https://github.com/karlwettin/prevayler-examples/blob/master/src/test/java/org/prevayler/examples/e104/E104Test.java
>> Do we need AbstractTest as a class? Cant it just be a method receiving the
>> BaptismProblemUpdateEntityAggregate and UpdateEntityAggregate transaction
>> objects?
>> 
>> I'm afraid not, the transactions depends on firstEntity and secondEntity in
>> the constructor in order to share the same code surrounding the test. But
>> feel free to clean it up if you feel like it.
> 
> I tried :) I did
>   mvn eclipse:eclipse
> on the project root and got this error:
> 
> [ERROR] Failed to execute goal on project prevayler-xstream: Could not resolve d
> ependencies for project org.prevayler.extras:prevayler-xstream:jar:2.7-SNAPSHOT:
> Could not find artifact org.prevayler:prevayler-core:jar:2.7-SNAPSHOT in sonaty
> pe-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) ->
> 
> Could you fix this?

This is expected behavior as the project depends on Prevayler 2.7-SNAPSHOT, the current version in the git repo which has not been released. In order to install 2.7-SNAPSHOT to your local repository go to the project root and type:

mvn install



			karl


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org