Commit 73d1fabc authored by Brian Long's avatar Brian Long
Browse files

fix central publishing

parent 3e189b31
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@
			</dependency>
			
			<!-- Provided by ACS -->
			<!-- versions need to be explicit for central-publishing-maven-plugin -->
			<dependency>
				<groupId>org.apache.cxf</groupId>
				<artifactId>cxf-core</artifactId>
@@ -76,11 +77,13 @@
			<dependency>
				<groupId>org.apache.cxf</groupId>
				<artifactId>cxf-rt-transports-http</artifactId>
				<version>${dependency.cxf.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.fasterxml.jackson.module</groupId>
				<artifactId>jackson-module-jaxb-annotations</artifactId>
				<version>${dependency.jackson.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
@@ -98,21 +101,26 @@
			<dependency>
				<groupId>jakarta.jws</groupId>
				<artifactId>jakarta.jws-api</artifactId>
				<version>${dependency.jakarta-jws-api.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>jakarta.ws.rs</groupId>
				<artifactId>jakarta.ws.rs-api</artifactId>
				<!-- unimportant.version tries to download a milestone release that doesn't exist -->
				<version>4.0.0</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.sun.activation</groupId>
				<artifactId>jakarta.activation</artifactId>
				<version>${dependency.jakarta-ee-activation.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>jakarta.annotation</groupId>
				<artifactId>jakarta.annotation-api</artifactId>
				<version>${dependency.jakarta-annotation-api.version}</version>
				<scope>provided</scope>
			</dependency>
		</dependencies>
@@ -210,6 +218,14 @@
							<publishingServerId>central</publishingServerId>
							<autoPublish>true</autoPublish>
						</configuration>
						<!-- for some reason this is required... -->
						<executions>
							<execution>
								<id>deploy</id>
								<phase>deploy</phase>
								<goals><goal>publish</goal></goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
@@ -222,10 +238,4 @@
			<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
		</repository>
	</repositories>

	<distributionManagement>
		<repository>
			<id>central</id>
		</repository>
	</distributionManagement>
</project>