Foros de discusión

Themes Liferay CE automatically under LGPL?

thumbnail
Steffen Herndl, modificado hace 8 años.

Themes Liferay CE automatically under LGPL?

New Member Mensajes: 3 Fecha de incorporación: 8/10/12 Mensajes recientes
Hello everybody,

i want to develop Themes for Liferay Portal CE. During build the code-templates "classic" or "_styled" are used and merged with may adaptations.
I've taken a Maven project with the following POM .


<!--?xml version="1.0"?-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelversion>4.0.0</modelversion>
	<groupid>priv.tyouts</groupid>
	<artifactid>ThemeExample</artifactid>
	<packaging>war</packaging>
	<name>ThemeExample Theme</name>
	<version>1.5.0-SNAPSHOT</version>
	<build>
		<plugins>
			<plugin>
				<groupid>com.liferay.maven.plugins</groupid>
				<artifactid>liferay-maven-plugin</artifactid>
				<version>6.1.2</version>
				<executions>
					<execution>
						<phase>generate-sources</phase>
						<goals>
							<goal>theme-merge</goal>
							<goal>build-css</goal>
							<goal>build-thumbnail</goal>
						</goals>
					</execution>
				</executions>
				<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>
					<parenttheme>${liferay.theme.parent}</parenttheme>
					<plugintype>theme</plugintype>
					<themetype>${liferay.theme.type}</themetype>
				</configuration>
			</plugin>
			<plugin>
				<artifactid>maven-resources-plugin</artifactid>
				<version>2.5</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupid>com.liferay.portal</groupid>
			<artifactid>portal-service</artifactid>
			<version>${liferay.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>com.liferay.portal</groupid>
			<artifactid>util-bridges</artifactid>
			<version>${liferay.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>com.liferay.portal</groupid>
			<artifactid>util-taglib</artifactid>
			<version>${liferay.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>com.liferay.portal</groupid>
			<artifactid>util-java</artifactid>
			<version>${liferay.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>javax.portlet</groupid>
			<artifactid>portlet-api</artifactid>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>javax.servlet</groupid>
			<artifactid>servlet-api</artifactid>
			<version>2.4</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupid>javax.servlet.jsp</groupid>
			<artifactid>jsp-api</artifactid>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>
	<properties>
		<liferay.theme.parent>_styled</liferay.theme.parent>
		<liferay.theme.type>vm</liferay.theme.type>
		<liferay.version>6.2.1</liferay.version>
	</properties>
</project>


The templates as part of the Liferay portal are subject to LGPL .
The "generate-sources" process merges the "_styled" Template (witch is under LGPL) with my changes.
My understanding is then also my Theme LGPL ?

Are there other opinions to LGPL question of theme generation?

Is there any other way for creating Liferay -Themes?


Many thanks in advance.
thumbnail
Jan Geißler, modificado hace 8 años.

RE: Themes Liferay CE automatically under LGPL?

Liferay Master Mensajes: 735 Fecha de incorporación: 5/07/11 Mensajes recientes
There is a corresponding thread in the german branch of the forum. If you get any helpful posts here, can you please translate those and update your other thread with those informations?
Thanks!
https://www.liferay.com/de/community/forums/-/message_boards/message/55646182
thumbnail
David H Nebinger, modificado hace 8 años.

RE: Themes Liferay CE automatically under LGPL?

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
I'm not a lawyer, nor do I play one on TV but...

Steffen Herndl:
My understanding is then also my Theme LGPL ?


I don't think this is true. If your theme will not be distributed, then it can have whatever license you want. The only time LGPL kicks in is when you are distributing your theme.

Are there other opinions to LGPL question of theme generation?


To what end? Are you building themes for the marketplace? Are they just for internal/corporate projects? Are you planning on selling them?

Is there any other way for creating Liferay -Themes?


Not that I know of. I think all themes start as building off one of the 3 core Liferay themes.

Note of course that themes are odd entities on their own. They are the only entities which can be pirated strictly by using the browser as they come in in source form. It's not necessarily an easy thing to do, but given enough time/effort a theme can be reverse engineered where other plugins don't have this exposure.

Choosing the right license may offer you some legal recourse should this occur, but it won't prevent it from occurring in the first place.