Q:
mvn install works with less files?
My maven's target for my project is to have the java code (source code) in the classpath. I don't have any.war files or anything, only one folder src. Does this cause a problem with the mvn install? If not, is there a way to make it create a war file?
thanks
A:
Well, there is something that probably has something to do with the solution that you want to achieve.
If you run
mvn install
in the directory with the sources of the project, then you will find two files
target/my-project-1.0-SNAPSHOT.war
target/my-project-1.0-SNAPSHOT-dist.zip
You want to run
mvn install -DskipTests
so that the war file and the zip file will be created, and you will find these in the same directory (without the ".war" and ".zip" files).
Hope this helps.
Cheers,
Dieter
Q:
Can the Ace mechanic in Munchkin be made to support non-consecutive draws?
I've been trying to come up with a way to get the Ace mechanic to support non-consecutive draws, but have so far been unable to figure out how to do it.
(Note that non-consecutive means that each pair of cards played can have different numbers of duplicates. Like, maybe you have 6 of a card and 2 of another, or 3 of a card and 3 of another, or whatever. So the draw may not necessarily be the same as the draw the next turn.)
Consecutive draws work as intended. That is, when you draw a card that is already in the hand, you score the draw. Non-consecutive draws appear to work the same way, with the ace getting the score.
I've tried adding a player's card to the top of the pile of cards, so that the first card drawn is the card that was just added to the pile, but that didn't work; it always scored the first card drawn, regardless of whether it was that card, or another one that was previously added to the pile.
Are there any rules that work like this, or do I have to stick to consecutive draws? be359ba680
Related links:
Comments