maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane-3 <mittiprove...@yahoo.se>
Subject Re: Re: Added source directory still allows for compile errors
Date Fri, 16 Mar 2012 04:17:23 GMT
It now works fine.

I was having a wrong path in the source dir property.

After chaging it to:

<source>${basedir}/generated/cxf</source>

it now works as expected.

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>1.7</version>
				<executions>
					<execution>
						<id>add-source</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>add-source</goal>
						</goals>
						<configuration>
							<sources>
								<source>${basedir}/generated/cxf</source>
							</sources>
						</configuration>
					</execution>
				</executions>
			</plugin>

Thanks.


--
View this message in context: http://maven.40175.n5.nabble.com/Added-source-directory-still-allows-for-compile-errors-tp5501630p5569927.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message