A large proportion of Germany’s industrial production was used to build its military and naval power.