tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: tomee-maven-plugin basic-auth
Date Wed, 04 May 2016 17:44:04 GMT
Hi

META-INF/context.xml or conf/server.xml are valid option. Then it has
nothing linked to maven.

Tip: last releases support inline tomee.xml in the pom ;).
Le 4 mai 2016 19:30, "sgjava" <sgjava@gmail.com> a écrit :

> I'm trying to do tomee:run using tomee-maven-plugin, but how would I set
> bacis auth user like in tomcat-users.xm? Here's what I use:
>
>
>             <plugin>
>                 <groupId>org.apache.tomee.maven</groupId>
>                 <artifactId>tomee-maven-plugin</artifactId>
>                 <version>${tomee.version}</version>
>                 <configuration>
>                     <tomeeVersion>${tomee.version}</tomeeVersion>
>                     <tomeeClassifier>plus</tomeeClassifier>
>                     <zip>false</zip>
>                     <classpaths>
>
>
> <classpath>${project.build.directory}/apache-tomee/conf/logback-config</classpath>
>
>
> <classpath>${project.build.directory}/apache-tomee/lib/slf4j-api-${slf4j.version}.jar</classpath>
>
>
> <classpath>${project.build.directory}/apache-tomee/lib/logback-core-${logback.version}.jar</classpath>
>
>
> <classpath>${project.build.directory}/apache-tomee/lib/logback-classic-${logback.version}.jar</classpath>
>                     </classpaths>
>                     <systemVariables>
>                         <file.encoding>UTF-8</file.encoding>
>                         <openejb.log.factory>slf4j</openejb.log.factory>
>
>
> <logback.configurationFile>${project.basedir}/src/main/resources/logback.xml</logback.configurationFile>
>                     </systemVariables>
>                     <libs>
>
>                         <lib>org.slf4j:slf4j-api:${slf4j.version}</lib>
>
> <lib>ch.qos.logback:logback-classic:${logback.version}</lib>
>
> <lib>ch.qos.logback:logback-core:${logback.version}</lib>
>
>                         <lib>remove:slf4j-jdk14</lib>
>                         <lib>remove:slf4j-api-1.7.2</lib>
>                     </libs>
>                     <reloadOnUpdate>true</reloadOnUpdate>
>                     <synchronization>
>                         <extensions>
>                             <extension>.class</extension>
>                         </extensions>
>                         <updateOnlyExtensions>
>
> <updateOnlyExtension>.xhtml</updateOnlyExtension>
>
> <updateOnlyExtension>.html</updateOnlyExtension>
>                             <updateOnlyExtension>.js</updateOnlyExtension>
>                             <updateOnlyExtension>.css</updateOnlyExtension>
>                         </updateOnlyExtensions>
>                     </synchronization>
>                 </configuration>
>             </plugin>
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/tomee-maven-plugin-basic-auth-tp4678356.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message