OK, got it in the end. So here for info.... Created a pom above the 'tomee' directory like so:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.orprovision</groupId> <artifactId>openejb</artifactId> <version>4.6.0-SNAPSHOT</version> <packaging>pom</packaging> <prerequisites> <maven>3.0.5</maven> </prerequisites> <modules> <module>tomee</module> </modules> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.7</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> </plugin> </plugins> </build> </project> Added the server to my settings: <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>*ext-snapshot-local*</id> <username>aname</username> <password>apassword</password> </server> </servers> </settings> And the following command line does the trick: mvn deploy -P quick -DaltDeploymentRepository=*ext-snapshot-local*::default::http://[repo]/ext-snapshot-local -DskipTests -- View this message in context: http://openejb.979440.n4.nabble.com/Deploy-snapshot-build-to-a-remote-repository-in-local-network-tp4661650p4661651.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
