Here the contract situation of the Mavs:
2007-2008
#free agent for summer 2007*Nowitzki can opt-out and become a free agent for summer 2007 (contract already extended)
! restricted free agent for summer 2007
() amount free agent counts against the 2007-2008 cap until he is re-signed,renounced, or signs with another team
Michael Finley $18,593,750 [released, still counts against the cap]
Dirk Nowitzki $16,360,094
Erick Dampier $10,590,500
Josh Howard $9,000,000
Jason Terry $8,898,000
Shawn Bradley $5,200,000 [retired, does not count against the cap]
Devin Harris $3,995,003
Greg Buckner $3,500,000
Devean George $2,369,111
DeSanaga Diop $2,146,000
DJ Mbenga $1,800,000
Maurice Ager $974,400
Pops Mensah-Bonsu $687,456 (if team picks up option)
Jose Juan Barea $687,456 (if team picks up option)
#Jerry Stackhouse ($13,945,311)
#Austin Croshere ($10,950,000)
Link