maven - Include ftl file in ext plugin -
i have ext-plugin , override file: portal-impl\src\com\liferay\portlet\dynamicdatamapping\dependencies\ddm\documentlibrary.ftl. after maven build, file isn't include in porta-impl-ext.jar.
in portal-impl-ext's pom.xml have code:
<build> <plugins> <plugin> <groupid>com.liferay.maven.plugins</groupid> <artifactid>liferay-maven-plugin</artifactid> <version>${liferay.maven.plugin.version}</version> <configuration> <apibasedir>${basedir}/../my-ext-service</apibasedir> <implbasedir>${basedir}</implbasedir> <sqldir>${basedir}/../my-ext/src/main/webapp/web-inf/sql</sqldir> <webappbasedir>${basedir}/../my-ext-web</webappbasedir> </configuration> </plugin> </plugins> </build>
in portal-ext's pom.xml have this:
<build> <plugins> <plugin> <groupid>com.liferay.maven.plugins</groupid> <artifactid>liferay-maven-plugin</artifactid> <version>${liferay.maven.plugin.version}</version> <configuration> <autodeploydir>${liferay.auto.deploy.dir}</autodeploydir> <appserverdeploydir>${liferay.app.server.deploy.dir}</appserverdeploydir> <appserverlibglobaldir>${liferay.app.server.lib.global.dir}</appserverlibglobaldir> <appserverportaldir>${liferay.app.server.portal.dir}</appserverportaldir> <liferayversion>${liferay.version}</liferayversion> <pluginname>my-ext</pluginname> <plugintype>ext</plugintype> </configuration> </plugin> <plugin> <artifactid>maven-compiler-plugin</artifactid> <version>2.5</version> <configuration> <encoding>utf-8</encoding> <source>1.6</source> <target>1.6</target> <includes> <include>**/*.*</include> </includes> </configuration> </plugin> <plugin> <artifactid>maven-resources-plugin</artifactid> <version>2.5</version> <configuration> <encoding>utf-8</encoding> </configuration> </plugin> </plugins> </build>
i tried change include section, didn't work. possible include file?
thanks in advance help!
the solution moving file source folder resource folder.
Comments
Post a Comment