It depends on what you wanting to do?
To create the installable kit run "mvn install -P release assembly:assembly", that will create the distribution zip file in the root "target" directory that can be unzipped on a JBoss AS 5.1.0 install to Teiid runtime in JBoss AS. Check installation here.
Then you would need a VDB that is either built using Designer or Dynamic VDB, that integrates the your sources. This can deployed in the Teiid runtime, and then your Java client application can access this virtual database in Teiid using Teiid JDBC driver.