maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Rosenberg <rosenberg.l...@gmail.com>
Subject Re: first plugin
Date Tue, 05 Oct 2010 11:10:29 GMT
Hello Jörg,

basically add this to my pom

  <build>
    <finalName>${artifactId}-${version}</finalName>
    <sourceDirectory>${project.basedir}/java</sourceDirectory>
  	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>2.3.2</version>
			<configuration>
				<source>1.6</source>
				<target>1.6</target>
			</configuration>
	</plugin>
  </plugins>
  </build>


On Tue, Oct 5, 2010 at 11:16 AM, Jörg Schaible <joerg.schaible@gmx.de> wrote:
> Hi Leon,
>
> Leon Rosenberg wrote:
>
>> ok, resolved, my error, i forgot to explicitly include the compile
>> plugin, therefor my plugin was packaged but contained no classes.
>> thanx for the help. now i only need to force the using project to add
>> generated classes to the source dirs ;-)
>
> What do you mean with "include the compile plugin" ?
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Mime
View raw message