Yours looks right. On Sun, May 17, 2009 at 8:15 PM, Reiner Saddey <r...@saddey.net> wrote:
> > > BRIAN FOX-5 wrote: > > > > Paste the output of help:effective-pom > > > > On Sun, May 17, 2009 at 2:09 PM, Reiner Saddey <r...@saddey.net> wrote: > > > >> > >> > >> Jan Torben Heuer-5 wrote: > >> > > >> > Hi, > >> > > >> > When I deploy my artifact (version 1.0-SNAPSHOT), maven puts it in the > >> > /releases directory although I set up both, repository and > >> > snapshotrepository in the parent pom > >> > ... > >> > > >> > >> Hi Jan, > >> > >> are you sure - or are you using Apache Archiva (1.2)? > >> > >> Using Maven 2.1.0, after having deployed a snapshot pom to an Archiva > >> repository, I thought that Maven had failed (just as you described). > >> > >> However, the artifact has indeed correctly been saved to my snapshots > >> repository, BUT within its GUI (and just there), Archiva would "lie" and > >> state the wrong (releases) repository. > > > > Hi Brian, > yep, gladly. Mine looks rather dull though, maybe Jan's more interesting. > Regards, > Reiner > > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'help'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Elegate Root Parent Project > [INFO] task-segment: [help:effective-pom] (aggregator-style) > [INFO] > ------------------------------------------------------------------------ > [INFO] [help:effective-pom] > [INFO] > Effective POMs, after inheritance, interpolation, and profiles are applied: > > <?xml version="1.0" encoding="UTF-8"?> > <!-- ====================================================================== > --> > <!-- > --> > <!-- Generated by Maven Help Plugin on 5/18/09 2:00 AM > --> > <!-- See: http://maven.apache.org/plugins/maven-help-plugin/ > --> > <!-- > --> > <!-- ====================================================================== > --> > > <!-- ====================================================================== > --> > <!-- > --> > <!-- Effective POM for project 'com.elegate:root-parent:pom:1.0-SNAPSHOT' > --> > <!-- > --> > <!-- ====================================================================== > --> > > <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/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.elegate</groupId> > <artifactId>root-parent</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>pom</packaging> > <name>Elegate Root Parent Project</name> > <description>Elegate, the Mobile Link.</description> > <url>http://www.elegate.com/</url> > <inceptionYear>2009</inceptionYear> > <organization> > <name>Elegate GmbH</name> > <url>http://www.elegate.com/</url> > </organization> > <licenses> > <license> > <name>Elegate propriatary software.</name> > <url>http://www.elegate.com/licenses/</url> > <distribution>repo</distribution> > </license> > </licenses> > <scm> > > <connection>scm:svn: > http://vcgsvn.carano.de/svn/2008_Elegate/Projekte/maven/pom/trunk/root-parent > </connection> > > <developerConnection>scm:svn: > http://vcgsvn.carano.de/svn/2008_Elegate/Projekte/maven/pom/trunk/root-parent > </developerConnection> > > <url> > http://vcgsvn.carano.de/trac/elegate/browser/Projekte/maven/pom/trunk/root-parent > </url> > </scm> > <build> > <sourceDirectory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\src\main\java</sourceDirectory> > <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> > <testSourceDirectory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\src\test\java</testSourceDirectory> > <outputDirectory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\target\classes</outputDirectory> > <testOutputDirectory>C:\Dokumente und Einstellungen\rsa\Eigene > > Dateien\NetBeansProjects\root-parent\target\test-classes</testOutputDirectory> > <resources> > <resource> > <mergeId>resource-0</mergeId> > <directory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\src\main\resources</directory> > </resource> > </resources> > <testResources> > <testResource> > <mergeId>resource-1</mergeId> > <directory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\src\test\resources</directory> > </testResource> > </testResources> > <directory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\target</directory> > <finalName>root-parent-1.0-SNAPSHOT</finalName> > <pluginManagement> > <plugins> > <plugin> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.3</version> > </plugin> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <version>2.2-beta-2</version> > </plugin> > <plugin> > <artifactId>maven-clean-plugin</artifactId> > <version>2.2</version> > </plugin> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.0.2</version> > <configuration> > <encoding>UTF-8</encoding> > </configuration> > </plugin> > <plugin> > <artifactId>maven-dependency-plugin</artifactId> > <version>2.0</version> > </plugin> > <plugin> > <artifactId>maven-deploy-plugin</artifactId> > <version>2.4</version> > </plugin> > <plugin> > <artifactId>maven-ear-plugin</artifactId> > <version>2.3.1</version> > </plugin> > <plugin> > <artifactId>maven-ejb-plugin</artifactId> > <version>2.1</version> > </plugin> > <plugin> > <artifactId>maven-install-plugin</artifactId> > <version>2.2</version> > </plugin> > <plugin> > <artifactId>maven-jar-plugin</artifactId> > <version>2.2</version> > </plugin> > <plugin> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.5</version> > </plugin> > <plugin> > <artifactId>maven-plugin-plugin</artifactId> > <version>2.4.3</version> > </plugin> > <plugin> > <artifactId>maven-rar-plugin</artifactId> > <version>2.2</version> > </plugin> > <plugin> > <artifactId>maven-release-plugin</artifactId> > <version>2.0-beta-8</version> > </plugin> > <plugin> > <artifactId>maven-resources-plugin</artifactId> > <version>2.3</version> > <configuration> > <encoding>UTF-8</encoding> > </configuration> > </plugin> > <plugin> > <artifactId>maven-site-plugin</artifactId> > <version>2.0-beta-7</version> > </plugin> > <plugin> > <artifactId>maven-source-plugin</artifactId> > <version>2.0.4</version> > </plugin> > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.4.3</version> > </plugin> > <plugin> > <artifactId>maven-war-plugin</artifactId> > <version>2.1-alpha-2</version> > </plugin> > </plugins> > </pluginManagement> > <plugins> > <plugin> > <artifactId>maven-help-plugin</artifactId> > <version>2.1</version> > </plugin> > </plugins> > </build> > <distributionManagement> > <repository> > <id>elegate-releases</id> > <name>Elegate Maven2 Releases</name> > > <url> > http://vcgdevelegate.carano.de:8889/archiva/repository/elegate-releases > </url> > </repository> > <snapshotRepository> > <id>elegate-snapshots</id> > <name>Elegate Maven2 Snapshots</name> > > <url> > http://vcgdevelegate.carano.de:8889/archiva/repository/elegate-snapshots > </url> > </snapshotRepository> > </distributionManagement> > <repositories> > <repository> > <releases> > <enabled>false</enabled> > </releases> > <snapshots /> > <id>elegate-snapshots</id> > <name>Elegate Maven2 Snapshots</name> > > <url> > http://vcgdevelegate.carano.de:8889/archiva/repository/elegate-snapshots > </url> > </repository> > <repository> > <releases /> > <snapshots> > <enabled>false</enabled> > </snapshots> > <id>elegate-releases</id> > <name>Elegate Maven2 Releases</name> > > <url> > http://vcgdevelegate.carano.de:8889/archiva/repository/elegate-releases > </url> > </repository> > <repository> > <snapshots> > <enabled>false</enabled> > </snapshots> > <id>central</id> > <name>Maven Repository Switchboard</name> > <url>http://repo1.maven.org/maven2</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <releases> > <updatePolicy>never</updatePolicy> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > <id>central</id> > <name>Maven Plugin Repository</name> > <url>http://repo1.maven.org/maven2</url> > </pluginRepository> > </pluginRepositories> > <reporting> > <outputDirectory>C:\Dokumente und Einstellungen\rsa\Eigene > Dateien\NetBeansProjects\root-parent\target/site</outputDirectory> > </reporting> > <properties> > <cvs.pass>not-used</cvs.pass> > <cvs.user>not-used</cvs.user> > <svn.pass>********</svn.pass> > <svn.user>********<svn.user> > </properties> > </project> > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Mon May 18 02:00:04 CEST 2009 > [INFO] Final Memory: 5M/10M > [INFO] > ------------------------------------------------------------------------ > > > -- > View this message in context: > http://www.nabble.com/mvn-deploy-puts-snapshots-into-releases-directory-tp23278391p23589321.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >