Hello all, looking for a book series I read in the somewhere in 2010-2015. It is an entire series that involves an ongoing battle across generations between forces of earth and an alien civilization. I believe at one point in the series there is a battle on Mars with marines making a race across Mars and leader becoming a revered hero, but may be a different book series. At the end of series, an old admiral, the main character from first book when he was a new recruit, travels on a ship to aliens home planet and discovers the planet is the sentient being and has a conversation with it. Any help is appreciated.