Germany will end its participation in a UN peacekeeping mission in Mali by the end of next year, a government source told AFP on Wednesday after months of operational snags.