Let\'s say I have a project that uses a dependency that can be found in the Maven repository. However, lets also say that the jar file that will be downloaded is NOT in a format
You could do the following:
Here is some code snippet...
org.apache.maven.plugins
maven-dependency-plugin
2.2
unpack
process-sources
unpack
my.group
my.artifact
my.artifact.version
sources
false
${project.build.directory}/my.artifact
org.codehaus.mojo
build-helper-maven-plugin
1.5
add-source
generate-sources
add-source