Updated

MIAMI (AP) -- The Miami Heat have traded oft-injured forward Josh McRoberts to the Dallas Mavericks for center A.J. Hammons and a 2023 second-round draft pick.

The move frees much-needed salary cap space for Miami, which owed McRoberts just over $6 million for next season. McRoberts was limited to 81 games with the Heat in the last three seasons.

Hammons is set to make $1.3 million.

Both players got to the NBA out of Carmel High in Carmel, Indiana. McRoberts graduated from Carmel; Hammons left there and transferred to Oak Hill in Virginia for his junior and senior seasons.

Dallas would become McRoberts' seventh team. He played for Portland, the Los Angeles Lakers, Orlando, Indiana and Charlotte before Miami.

11

View Gallery

Gallery:Big Deal! Biggest contracts in NBA history

Jonathan Bachman