Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dana Oredson
Liferay 6.1.1 Maven Artifacts?
August 7, 2012 7:55 AM
Answer

Dana Oredson

Rank: Junior Member

Posts: 70

Join Date: October 14, 2008

Recent Posts

I do not see the liferay maven artifacts for 6.1.1. I DO see liferay-maven-plugin, so that is something.

Can someone tell me when these will be posted to oss.sonatype.org? I was expecting at least these build artifacts, so we can develop plugins, unless we should just be using 6.1.0 to develop against?

util-java
util-bridges
portal-service

Thank you,
Dana Oredson
Mika Koivisto
RE: Liferay 6.1.1 Maven Artifacts?
August 7, 2012 3:04 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

The 6.1.1 versions are coming. Don't mix artifacts from different Liferay versions as it's a recipe for disaster.
Tejas Kanani
RE: Liferay 6.1.1 Maven Artifacts?
August 8, 2012 10:43 PM
Answer

Tejas Kanani

Rank: Liferay Master

Posts: 655

Join Date: January 6, 2009

Recent Posts

Liferay 6.1 GA2 Maven released now !!!
Check below blog from Mika Koivisto
Liferay 6.1 GA2 Maven
Thomas Jäckle
RE: Liferay 6.1.1 Maven Artifacts?
August 9, 2012 1:06 AM
Answer

Thomas Jäckle

Rank: New Member

Posts: 1

Join Date: February 21, 2012

Recent Posts

Hi.
Don't know where to put this, but the new goal "build-css" doesn't work for me.
I try to use this for building a Liferay 6.1.0 theme - is this indented to work?

Maven trace:
  1[INFO] --- liferay-maven-plugin:6.1.1:build-css (default) @ my.company.our-theme ---
  209:47:44,280 INFO  [main][PropsUtil:110] Global shared lib directory /D:/pp/mvnrepo/javax/servlet/servlet-api/2.5/
  309:47:44,342 INFO  [main][PropsUtil:121] Global lib directory /D:/pp/mvnrepo/com/liferay/portal/portal-service/6.1.1/
  409:47:44,343 INFO  [main][PropsUtil:147] Portal lib directory D:\pp\gitRep\portal\themes\my.company.our-theme\target\liferay-work\appServerPortalDir\WEB-INF\lib/
  5Loading jar:file:/D:/pp/mvnrepo/com/liferay/portal/portal-impl/6.1.1/portal-impl-6.1.1.jar!/portal.properties
  6NameError: uninitialized constant Sass
  7  const_missing at org/jruby/RubyModule.java:2569
  8         (root) at <script>:14
  9Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/application.css
 10org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
 11        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
 12        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
 13        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
 14        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
 15        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
 16        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
 17        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
 18        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
 19        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
 20        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
 21        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 22        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 23        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 24        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 25        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 26        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 27        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 28        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 29        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 30        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 31        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 32        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 33        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 34        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 35        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 36        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 37        at java.lang.reflect.Method.invoke(Method.java:597)
 38        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 39        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 40        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 41        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 42Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
 43NameError: uninitialized constant Sass
 44  const_missing at org/jruby/RubyModule.java:2569
 45         (root) at <script>:14
 46Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/base.css
 47org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
 48        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
 49        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
 50        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
 51        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
 52        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
 53        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
 54        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
 55        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
 56        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
 57        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
 58        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 59        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 60        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 61        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 62        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 63        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 64        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 65        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 66        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 67        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 68        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 69        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 70        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 71        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 72        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 73        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 74        at java.lang.reflect.Method.invoke(Method.java:597)
 75        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 76        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 77        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 78        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 79Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
 80NameError: uninitialized constant Sass
 81  const_missing at org/jruby/RubyModule.java:2569
 82         (root) at <script>:14
 83Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/custom.css
 84org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
 85        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
 86        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
 87        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
 88        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
 89        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
 90        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
 91        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
 92        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
 93        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
 94        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
 95        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 96        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 97        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 98        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 99        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
100        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
101        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
102        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
103        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
104        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
105        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
106        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
107        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
108        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
109        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
110        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
111        at java.lang.reflect.Method.invoke(Method.java:597)
112        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
113        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
114        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
115        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
116Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
117NameError: uninitialized constant Sass
118  const_missing at org/jruby/RubyModule.java:2569
119         (root) at <script>:14
120Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/dockbar.css
121org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
122        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
123        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
124        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
125        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
126        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
127        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
128        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
129        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
130        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
131        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
132        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
133        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
134        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
135        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
136        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
137        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
138        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
139        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
140        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
141        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
142        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
143        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
144        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
145        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
146        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
147        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
148        at java.lang.reflect.Method.invoke(Method.java:597)
149        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
150        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
151        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
152        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
153Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
154NameError: uninitialized constant Sass
155  const_missing at org/jruby/RubyModule.java:2569
156         (root) at <script>:14
157Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/extras.css
158org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
159        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
160        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
161        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
162        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
163        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
164        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
165        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
166        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
167        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
168        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
169        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
170        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
171        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
172        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
173        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
174        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
175        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
176        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
177        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
178        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
179        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
180        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
181        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
182        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
183        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
184        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
185        at java.lang.reflect.Method.invoke(Method.java:597)
186        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
187        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
188        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
189        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
190Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
191NameError: uninitialized constant Sass
192  const_missing at org/jruby/RubyModule.java:2569
193         (root) at <script>:14
194Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/forms.css
195org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
196        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
197        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
198        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
199        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
200        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
201        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
202        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
203        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
204        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
205        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
206        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
207        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
208        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
209        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
210        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
211        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
212        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
213        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
214        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
215        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
216        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
217        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
218        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
219        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
220        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
221        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
222        at java.lang.reflect.Method.invoke(Method.java:597)
223        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
224        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
225        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
226        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
227Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
228NameError: uninitialized constant Sass
229  const_missing at org/jruby/RubyModule.java:2569
230         (root) at <script>:14
231Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/layout.css
232org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
233        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
234        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
235        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
236        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
237        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
238        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
239        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
240        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
241        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
242        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
243        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
244        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
245        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
246        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
247        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
248        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
249        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
250        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
251        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
252        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
253        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
254        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
255        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
256        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
257        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
258        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
259        at java.lang.reflect.Method.invoke(Method.java:597)
260        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
261        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
262        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
263        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
264Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
265NameError: uninitialized constant Sass
266  const_missing at org/jruby/RubyModule.java:2569
267         (root) at <script>:14
268Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/main.css
269org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
270        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
271        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
272        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
273        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
274        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
275        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
276        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
277        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
278        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
279        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
280        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
281        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
282        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
283        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
284        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
285        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
286        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
287        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
288        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
289        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
290        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
291        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
292        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
293        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
294        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
295        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
296        at java.lang.reflect.Method.invoke(Method.java:597)
297        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
298        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
299        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
300        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
301Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
302NameError: uninitialized constant Sass
303  const_missing at org/jruby/RubyModule.java:2569
304         (root) at <script>:14
305Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/navigation.css
306org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
307        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
308        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
309        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
310        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
311        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
312        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
313        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
314        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
315        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
316        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
317        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
318        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
319        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
320        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
321        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
322        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
323        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
324        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
325        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
326        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
327        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
328        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
329        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
330        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
331        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
332        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
333        at java.lang.reflect.Method.invoke(Method.java:597)
334        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
335        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
336        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
337        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
338Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
339NameError: uninitialized constant Sass
340  const_missing at org/jruby/RubyModule.java:2569
341         (root) at <script>:14
342Unable to parse D:/pp/gitRep/portal/themes/my.company.our-theme/target/my.company.our-theme-1.3.0-SNAPSHOT/css/portlet.css
343org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sass
344        at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
345        at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
346        at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
347        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:177)
348        at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:121)
349        at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:232)
350        at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:194)
351        at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:132)
352        at com.liferay.maven.plugins.SassToCssBuilderMojo.doExecute(SassToCssBuilderMojo.java:37)
353        at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:65)
354        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
355        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
356        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
357        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
358        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
359        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
360        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
361        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
362        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
363        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
364        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
365        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
366        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
367        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
368        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
369        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
370        at java.lang.reflect.Method.invoke(Method.java:597)
371        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
372        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
373        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
374        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
375Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Sass
Dana Oredson
RE: Liferay 6.1.1 Maven Artifacts?
August 9, 2012 8:10 AM
Answer

Dana Oredson

Rank: Junior Member

Posts: 70

Join Date: October 14, 2008

Recent Posts

Tejas Kanani:
Liferay 6.1 GA2 Maven released now !!!
Check below blog from Mika Koivisto
Liferay 6.1 GA2 Maven



Yay! Thanks.
Mika Koivisto
RE: Liferay 6.1.1 Maven Artifacts?
August 9, 2012 2:44 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

Just created a new theme from the liferay-theme-archetype and ran mvn package (which automatically executes build-css) it built and precompiled sass just fine. It seems to be correctly detecting the portal lib dir for you so the only difference I can think of is that I'm running it on Mac OS X where as you are using Windows. You should try setting your portal paths so that it uses those instead of downloading the portal artifacts into temp directory. Maybe that would make it load the ruby libraries correctly. Does it work for you if you use the ant based plugins sdk?
Carlos Adolfo Ortiz Quirós
RE: Liferay 6.1.1 Maven Artifacts?
August 10, 2012 6:35 AM
Answer

Carlos Adolfo Ortiz Quirós

Rank: Junior Member

Posts: 40

Join Date: May 22, 2010

Recent Posts

I welcome the Maven support. The only thing I am complaining now is that it is not very clear as to how to get started with the Maven support that Liferay as a company is giving to it.

Liferay Maven Support, good, but I am not getting to it. I know this is a blog post and many topics are not covered because it is assumed that we should have known the Maven Support is long dated.

I also don't know why v6.0.x was not included in this Maven support.

A question. Why SaaS and not Less or even both?

I mean, it would be desirable to have a much more dedicated page to get started about this Maven Support and be current.