mirror of https://github.com/apache/maven.git
o teach mboot about generated sources that live in
target/generated-sources git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee5bc4d5f9
commit
cd6829f8b5
|
@ -219,7 +219,14 @@ buildMavenProject()
|
|||
if [ ! -z $sourceDirectory ] && [ -d $sourceDirectory ]
|
||||
then
|
||||
|
||||
compile "$projectDependencyClassPath" $buildDest $sourceDirectory
|
||||
generatedSourceDirectory=target/generated-sources
|
||||
|
||||
if [ -d $generatedSourceDirectory ]
|
||||
then
|
||||
generatedSources=`find $generatedSourceDirectory -name '*.java'`
|
||||
fi
|
||||
|
||||
compile "$projectDependencyClassPath" $buildDest $sourceDirectory $generatedSources
|
||||
|
||||
isCommandSuccessful $? "Failed compiling classes!"
|
||||
|
||||
|
|
Loading…
Reference in New Issue