Specification Pattern in Domain Driven Design

I think Specification pattern is not designed for query criteria. Actually, the whole concept of DDD is not, either. Consider CQRS if there are plethora of query requirements. Specification pattern helps develop ubiquitous language, I think it’s like kind of a DSL. It declares what to do rather than how to do it. For example, … Read more

How do I use Git Extensions with a Bitbucket repository?

I haven’t fully tested it, but these steps allowed me to clone a Bitbucket repository in Git Extensions. You can use PuTTY to generate a public/private SSH key, then add that key to Bitbucket. Run GitExtensions\PuTTY\puttygen.exe Click Generate Click Save public key (as a text file) Click Save private key (as a ppk file) Run … Read more

How to trust a apt repository : Debian apt-get update error public key is not available: NO_PUBKEY [closed]

I found several posts telling me to run several gpg commands, but they didn’t solve the problem because of two things. First, I was missing the debian-keyring package on my system and second I was using an invalid keyserver. Try different keyservers if you’re getting timeouts! Thus, the way I fixed it was: apt-get install … Read more

How to manually deploy artifacts in Nexus Repository Manager OSS 3

I’m using maven deploy file. mvn deploy:deploy-file -DgroupId=my.group.id \ -DartifactId=my-artifact-id \ -Dversion=1.0.0.1 \ -Dpackaging=jar \ -Dfile=foo.jar \ -DgeneratePom=true \ -DrepositoryId=my-repo \ -Durl=http://my-nexus-server.com:8081/repository/maven-releases/ UPDATE: As stated in comments using quotes in url cause NoSuchElementException But I have add server config in my maven (~/.m2/settings.xml). <servers> <server> <id>my-repo</id> <username>admin</username> <password>admin123</password> </server> </servers> References: Maven Apache – Guide … Read more