I'm new to maven and I have an issue regarding how to best scope framework package dependencies for a common asset. I'm building jar file that has dependencies on some framework packages (i.e. hibernate, spring, etc.). It in turn is consumed by several applications that have different packaging needs. For example, one application is deployed to an application server where these framework packages are "provided". It is also consumed by another application where the framework packages have to be packaged with the application. Since the common asset's pom file has the scope for these framework dependencies set to "provided" they do not appear in the packaging.

How can I set the common assets scope on the dependencies in a case like this?