mirror of https://github.com/apache/archiva.git
[MRM-290] Ability to pre-configure the Jetty port in conf/plexus.xml
Submitted by: Olivier Lamy git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@560419 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
baa1c8af97
commit
f96925f95c
|
@ -32,7 +32,7 @@
|
||||||
<standardWebappClassloader>true</standardWebappClassloader>
|
<standardWebappClassloader>true</standardWebappClassloader>
|
||||||
<listeners>
|
<listeners>
|
||||||
<http-listener>
|
<http-listener>
|
||||||
<port>8080</port>
|
<port>${jetty.port}</port>
|
||||||
</http-listener>
|
</http-listener>
|
||||||
<!--
|
<!--
|
||||||
<proxy-http-listener>
|
<proxy-http-listener>
|
||||||
|
|
|
@ -87,6 +87,11 @@
|
||||||
<artifactId>mail</artifactId>
|
<artifactId>mail</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
|
<artifactId>plexus-contextualizer</artifactId>
|
||||||
|
<version>1.0-alpha-1</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@ -123,6 +128,7 @@
|
||||||
<additionalCoreArtifact>directory-naming:naming-config</additionalCoreArtifact>
|
<additionalCoreArtifact>directory-naming:naming-config</additionalCoreArtifact>
|
||||||
<additionalCoreArtifact>javax.mail:mail</additionalCoreArtifact>
|
<additionalCoreArtifact>javax.mail:mail</additionalCoreArtifact>
|
||||||
<additionalCoreArtifact>javax.activation:activation</additionalCoreArtifact>
|
<additionalCoreArtifact>javax.activation:activation</additionalCoreArtifact>
|
||||||
|
<additionalCoreArtifact>org.codehaus.plexus:plexus-contextualizer</additionalCoreArtifact>
|
||||||
</additionalCoreArtifacts>
|
</additionalCoreArtifacts>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
<role>org.codehaus.plexus.naming.Naming</role>
|
<role>org.codehaus.plexus.naming.Naming</role>
|
||||||
<role-hint>dataSources</role-hint>
|
<role-hint>dataSources</role-hint>
|
||||||
</component>
|
</component>
|
||||||
|
<component>
|
||||||
|
<role>org.codehaus.plexus.contextualizer.Contextualizer</role>
|
||||||
|
<role-hint>jettyConfiguration</role-hint>
|
||||||
|
</component>s
|
||||||
</load-on-start>
|
</load-on-start>
|
||||||
<components>
|
<components>
|
||||||
<component>
|
<component>
|
||||||
|
@ -108,6 +112,16 @@
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
||||||
|
<component>
|
||||||
|
<role>org.codehaus.plexus.contextualizer.Contextualizer</role>
|
||||||
|
<role-hint>jettyConfiguration</role-hint>
|
||||||
|
<implementation>org.codehaus.plexus.contextualizer.DefaultContextualizer</implementation>
|
||||||
|
<configuration>
|
||||||
|
<contextValues>
|
||||||
|
<jetty.port>8080</jetty.port>
|
||||||
|
</contextValues>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
</components>
|
</components>
|
||||||
</plexus>
|
</plexus>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue