Re: maven-enforcer-plugin ?

2017-06-09 Thread Martin Grigorov
ebapp.WebAppContext.startContext(
> WebAppContext.java:1334)
>  [exec] at org.eclipse.jetty.server.handler.ContextHandler.
> doStart(ContextHandler.java:741)
>  [exec] at org.eclipse.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:497)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> start(ContainerLifeCycle.java:132)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> doStart(ContainerLifeCycle.java:114)
>  [exec] at org.eclipse.jetty.server.handler.AbstractHandler.
> doStart(AbstractHandler.java:61)
>  [exec] at org.eclipse.jetty.server.handler.
> ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> start(ContainerLifeCycle.java:132)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> doStart(ContainerLifeCycle.java:114)
>  [exec] at org.eclipse.jetty.server.handler.AbstractHandler.
> doStart(AbstractHandler.java:61)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> start(ContainerLifeCycle.java:132)
>  [exec] at org.eclipse.jetty.server.Server.start(Server.java:387)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> doStart(ContainerLifeCycle.java:114)
>  [exec] at org.eclipse.jetty.server.handler.AbstractHandler.
> doStart(AbstractHandler.java:61)
>  [exec] at org.eclipse.jetty.server.Server.doStart(Server.java:
> 354)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.simplericity.jettyconsole.DefaultJettyManager.
> startServer(DefaultJettyManager.java:114)
>  [exec] at org.simplericity.jettyconsole.JettyConsole$5$1.run(
> JettyConsole.java:219)
>  [exec] Exception in thread "Thread-4" java.lang.NoSuchMethodError:
> org.slf4j.helpers.MessageFormatter.format(Ljava/
> lang/String;Ljava/lang/Object;)Ljava/lang/String;
>  [exec] at org.slf4j.impl.JDK14LoggerAdapter.info(
> JDK14LoggerAdapter.java:303)
>  [exec] at org.apache.shiro.web.env.EnvironmentLoader.
> initEnvironment(EnvironmentLoader.java:141)
>  [exec] at org.apache.shiro.web.env.EnvironmentLoaderListener.
> contextInitialized(EnvironmentLoaderListener.java:58)
>  [exec] at org.eclipse.jetty.server.handler.ContextHandler.
> callContextInitialized(ContextHandler.java:798)
>  [exec] at org.eclipse.jetty.servlet.ServletContextHandler.
> callContextInitialized(ServletContextHandler.java:444)
>  [exec] at org.eclipse.jetty.server.handler.ContextHandler.
> startContext(ContextHandler.java:789)
>  [exec] at org.eclipse.jetty.servlet.ServletContextHandler.
> startContext(ServletContextHandler.java:294)
>  [exec] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(
> WebAppContext.java:1341)
>  [exec] at org.eclipse.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1334)
>  [exec] at org.eclipse.jetty.server.handler.ContextHandler.
> doStart(ContextHandler.java:741)
>  [exec] at org.eclipse.jetty.webapp.WebAppContext.doStart(
> WebAppContext.java:497)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> start(ContainerLifeCycle.java:132)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> doStart(ContainerLifeCycle.java:114)
>  [exec] at org.eclipse.jetty.server.handler.AbstractHandler.
> doStart(AbstractHandler.java:61)
>  [exec] at org.eclipse.jetty.server.handler.
> ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
>  [exec]     at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> start(ContainerLifeCycle.java:132)
>  [exec] at org.eclipse.jetty.util.component.ContainerLifeCycle.
> doStart(ContainerLifeCycle.java:114)
>  [exec] at org.eclipse.jetty.server.handler.AbstractHandler.
> doStart(AbstractHandler.java:61)
>  [exec] at org.eclipse.jetty.util.component.AbstractLifeCycle.
> start(AbstractLifeCycle.java:68)
>  [exec] at org.eclipse.jetty.util.component.ContainerLif

RE: maven-enforcer-plugin ?

2017-06-09 Thread Marianne Hagaseth
.startContext(ServletContextHandler.java:294)
 [exec] at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1341)
 [exec] at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1334)
 [exec] at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
 [exec] at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:497)
 [exec] at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
 [exec] at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
 [exec] at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
 [exec] at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
 [exec] at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
 [exec] at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
 [exec] at org.eclipse.jetty.server.Server.start(Server.java:387)
 [exec] at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
 [exec] at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
 [exec] at org.eclipse.jetty.server.Server.doStart(Server.java:354)
 [exec] at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 [exec] at 
org.simplericity.jettyconsole.DefaultJettyManager.startServer(DefaultJettyManager.java:114)
 [exec] at 
org.simplericity.jettyconsole.JettyConsole$5$1.run(JettyConsole.java:219)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Marianne Hagaseth
Senior Research Scientist
Maritime Transport Systems, SINTEF OCEAN
Mobile: +47 90 95 64 69
Skype: marianne.hagas...@sintef.no    
www.sintef.no
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: torsdag 8. juni 2017 16.48
To: users 
Subject: Re: maven-enforcer-plugin ?

Until someone adds some tests for this module it will produce this warning.
Again harmless!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jun 8, 2017 at 4:42 PM, Marianne Hagaseth < 
marianne.hagas...@sintef.no> wrote:

> Thanks!
> I also get a warning for empty jar for test, is that OK as well?
>
> [INFO] --- maven-jar-plugin:2.4:test-jar (package-test-jar) @ 
> isis-wicket-summernote-cpt --- [WARNING] JAR will be empty - no 
> content was marked for inclusion!
> [INFO] Building jar: 
> C:\summernote\isis-wicket-summernote\cpt\target\isis-
> wicket-summernote-cpt-1.15.0-SNAPSHOT-tests.jar
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Marianne Hagaseth
> Senior Research Scientist
> Maritime Transport Systems, SINTEF OCEAN
> Mobile: +47 90 95 64 69
> Skype: marianne.hagas...@sintef.no
> www.sintef.no
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: torsdag 8. juni 2017 16.11
> To: users 
> Subject: Re: maven-enforcer-plugin ?
>
> Hi,
>
> This is harmless! You can ignore it!
>
> But in case you want to help fixing it here is what kind of change 
> should be done:
> https://github.com/apache/wicket/commit/ed590f24c7a3901c5c60de9109b11c
> 25446edd6a
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Jun 8, 2017 at 3:38 PM, Marianne Hagaseth < 
> marianne.hagas...@sintef.no> wrote:
>
> > Hi again,
> > Trying the summernote again, doing the following:
> >
> > git clone https://github.com/isisaddons/isis-wicket-summernote.git
> > mvn clean install
> >
> > Get this warning:
> > [WARNING] The project
> > org.isisaddons.wicket.summernote:isis-wicket-summernote:pom:0.0.1-SN
> > AP SHOT uses prerequisites which is only intended for maven-plugin 
> > projects but not for non maven-plugin projects. For such purposes 
> > you should use the maven-enforcer-plugin. See 
> > https://

Re: maven-enforcer-plugin ?

2017-06-08 Thread Martin Grigorov
Until someone adds some tests for this module it will produce this warning.
Again harmless!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jun 8, 2017 at 4:42 PM, Marianne Hagaseth <
marianne.hagas...@sintef.no> wrote:

> Thanks!
> I also get a warning for empty jar for test, is that OK as well?
>
> [INFO] --- maven-jar-plugin:2.4:test-jar (package-test-jar) @
> isis-wicket-summernote-cpt ---
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar: C:\summernote\isis-wicket-summernote\cpt\target\isis-
> wicket-summernote-cpt-1.15.0-SNAPSHOT-tests.jar
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Marianne Hagaseth
> Senior Research Scientist
> Maritime Transport Systems, SINTEF OCEAN
> Mobile: +47 90 95 64 69
> Skype: marianne.hagas...@sintef.no
> www.sintef.no
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: torsdag 8. juni 2017 16.11
> To: users 
> Subject: Re: maven-enforcer-plugin ?
>
> Hi,
>
> This is harmless! You can ignore it!
>
> But in case you want to help fixing it here is what kind of change should
> be done:
> https://github.com/apache/wicket/commit/ed590f24c7a3901c5c60de9109b11c
> 25446edd6a
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Jun 8, 2017 at 3:38 PM, Marianne Hagaseth <
> marianne.hagas...@sintef.no> wrote:
>
> > Hi again,
> > Trying the summernote again, doing the following:
> >
> > git clone https://github.com/isisaddons/isis-wicket-summernote.git
> > mvn clean install
> >
> > Get this warning:
> > [WARNING] The project
> > org.isisaddons.wicket.summernote:isis-wicket-summernote:pom:0.0.1-SNAP
> > SHOT uses prerequisites which is only intended for maven-plugin
> > projects but not for non maven-plugin projects. For such purposes you
> > should use the maven-enforcer-plugin. See https://maven.apache.org/
> > enforcer/enforcer-rules/requireMavenVersion.html
> >
> > Ow do I fix this?
> >
> > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> > Marianne Hagaseth
> > Senior Research Scientist
> > Maritime Transport Systems, SINTEF OCEAN
> > Mobile: +47 90 95 64 69
> >
> > Skype: marianne.hagas...@sintef.no<mailto:marianne.hagas...@sintef.no>
> > www.sintef.no<http://www.sintef.no/>
> > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> >
> >
>


RE: maven-enforcer-plugin ?

2017-06-08 Thread Marianne Hagaseth
Thanks!
I also get a warning for empty jar for test, is that OK as well? 

[INFO] --- maven-jar-plugin:2.4:test-jar (package-test-jar) @ 
isis-wicket-summernote-cpt ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 
C:\summernote\isis-wicket-summernote\cpt\target\isis-wicket-summernote-cpt-1.15.0-SNAPSHOT-tests.jar


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Marianne Hagaseth
Senior Research Scientist
Maritime Transport Systems, SINTEF OCEAN
Mobile: +47 90 95 64 69
Skype: marianne.hagas...@sintef.no    
www.sintef.no
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: torsdag 8. juni 2017 16.11
To: users 
Subject: Re: maven-enforcer-plugin ?

Hi,

This is harmless! You can ignore it!

But in case you want to help fixing it here is what kind of change should be 
done:
https://github.com/apache/wicket/commit/ed590f24c7a3901c5c60de9109b11c25446edd6a

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jun 8, 2017 at 3:38 PM, Marianne Hagaseth < 
marianne.hagas...@sintef.no> wrote:

> Hi again,
> Trying the summernote again, doing the following:
>
> git clone https://github.com/isisaddons/isis-wicket-summernote.git
> mvn clean install
>
> Get this warning:
> [WARNING] The project 
> org.isisaddons.wicket.summernote:isis-wicket-summernote:pom:0.0.1-SNAP
> SHOT uses prerequisites which is only intended for maven-plugin 
> projects but not for non maven-plugin projects. For such purposes you 
> should use the maven-enforcer-plugin. See https://maven.apache.org/ 
> enforcer/enforcer-rules/requireMavenVersion.html
>
> Ow do I fix this?
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Marianne Hagaseth
> Senior Research Scientist
> Maritime Transport Systems, SINTEF OCEAN
> Mobile: +47 90 95 64 69
>
> Skype: marianne.hagas...@sintef.no<mailto:marianne.hagas...@sintef.no>
> www.sintef.no<http://www.sintef.no/>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>
>


Re: maven-enforcer-plugin ?

2017-06-08 Thread Martin Grigorov
Hi,

This is harmless! You can ignore it!

But in case you want to help fixing it here is what kind of change should
be done:
https://github.com/apache/wicket/commit/ed590f24c7a3901c5c60de9109b11c25446edd6a

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jun 8, 2017 at 3:38 PM, Marianne Hagaseth <
marianne.hagas...@sintef.no> wrote:

> Hi again,
> Trying the summernote again, doing the following:
>
> git clone https://github.com/isisaddons/isis-wicket-summernote.git
> mvn clean install
>
> Get this warning:
> [WARNING] The project 
> org.isisaddons.wicket.summernote:isis-wicket-summernote:pom:0.0.1-SNAPSHOT
> uses prerequisites which is only intended for maven-plugin projects but not
> for non maven-plugin projects. For such purposes you should use the
> maven-enforcer-plugin. See https://maven.apache.org/
> enforcer/enforcer-rules/requireMavenVersion.html
>
> Ow do I fix this?
>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Marianne Hagaseth
> Senior Research Scientist
> Maritime Transport Systems, SINTEF OCEAN
> Mobile: +47 90 95 64 69
>
> Skype: marianne.hagas...@sintef.no<mailto:marianne.hagas...@sintef.no>
> www.sintef.no<http://www.sintef.no/>
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>
>


maven-enforcer-plugin ?

2017-06-08 Thread Marianne Hagaseth
Hi again,
Trying the summernote again, doing the following:

git clone https://github.com/isisaddons/isis-wicket-summernote.git
mvn clean install

Get this warning:
[WARNING] The project 
org.isisaddons.wicket.summernote:isis-wicket-summernote:pom:0.0.1-SNAPSHOT uses 
prerequisites which is only intended for maven-plugin projects but not for non 
maven-plugin projects. For such purposes you should use the 
maven-enforcer-plugin. See 
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html

Ow do I fix this?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Marianne Hagaseth
Senior Research Scientist
Maritime Transport Systems, SINTEF OCEAN
Mobile: +47 90 95 64 69

Skype: marianne.hagas...@sintef.no<mailto:marianne.hagas...@sintef.no>
www.sintef.no<http://www.sintef.no/>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .