2013/8/12 Baptiste Mathus <[email protected]> > Hi, > Sure Tomcat isn't required (btw, Apache Httpd also supports webdav). > > From the error excerpt you provided("http//", not ftp and missing ":" ?), I > suppose you didn't configure correctly your distributionManagement. > Deploying to ftp is indeed supported. Did you correctly declare the > wagon-ftp extension, like described here: > > http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ftp.html > > Could you show us your pom (putting it on some place like pastebin or > gist@github), or even better a test project? > > It enables Maven to deploy artifacts and files to WebDAV enabled servers. Getting files from WebDAV servers is not fully tested. http://maven.apache.org/wagon/wagon-providers/wagon-webdav-jackrabbit/
Put files with Wagon on ftp -> OK Retrieve files -> NOT WORKING I don't know what to do next. > Cheers > > > 2013/8/9 Manuel Dahmen <[email protected]> > > > > > I configured wagon extension to push over ftp. > > > > I have sources under scm mercurial. > > > > And I have declared a distributionManagement > > > > Really, I don't understand. > > > > Do I really need a public Tomcat server? Because I use Apache and ftp. > > -----Message d'origine----- > > De : SARTAJ HUNDAL [mailto:[email protected]] > > Envoyé : vendredi 9 août 2013 23:07 > > À : Maven Users List > > Objet : Re: Error when loading dependency on a personal repository > > > > On 13-08-09 03:03 PM, Manuel Dahmen wrote: > > > > > > I try to publicize my project. > > > > > > I have two projects that I compile tonight. > > > > > > The dependency compiles and uploads on mysite.be > > > > > > But the dependent myproject doesn't download the dependency. > > > > > > [ERROR] Failed to execute goal on project emptycanvas: Could not > > > resolve depende > > > > > > ncies for project be.mysite:myproject:pom:17.0: Could not transfer > > > artifact > > > > > > com.otherproject:OtherLibrary:jar:0.7.7-STABLE from/to be.mysite > > > (http//www.mysite.be): No connector available to access repository be. > > > mysite (http//ww > > > > > > w. mysite.be) of type legacy using the available factories > > > WagonRepositoryConn > > > > > > ectorFactory -> [Help 1] > > > > > > [ERROR] > > > > > > *-------* > > > > > > *- 0 0 -* > > > > > > *-*/\*-* > > > > > > *_- ~~ -_* > > > > > Have you configured the correct tunnelling protocol before you push it? > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > -- > > Baptiste <Batmat> MATHUS - http://batmat.net > > Sauvez un arbre, > > Mangez un castor ! nbsp;! <[email protected]> >
<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>be.ibiiztera</groupId> <artifactId>emptycanvas</artifactId> <version>19</version> <packaging>jar</packaging> <distributionManagement> <repository> <id>ftp-repository</id> <url>ftp://ftp.ibiiztera.be</url> </repository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <!-- "Project Build" contains more elements than just the BaseBuild set --> <build> <defaultGoal>install</defaultGoal> <directory>${basedir}/target</directory> <finalName>${project.artifactId}-${project.version}</finalName> <!-- <filters> <filter>filters/filter1.properties</filter> </filters> --> <resources> <resource> <targetPath>${basedir}/target/classes</targetPath> <filtering>false</filtering> <directory>${basedir}/src/main/java</directory> <includes> <include>**/*.properties</include> </includes> <excludes> </excludes> </resource> </resources> <sourceDirectory>${basedir}/src/main/java</sourceDirectory> <scriptSourceDirectory>${basedir}/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory> <outputDirectory>${basedir}/target/classes</outputDirectory> <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <mkdir dir="${project.build.outputDirectory}"/> <unzip src="${basedir}/lib/MonteMediaCC-1.0.jar" dest="${project.build.outputDirectory}"/> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.0</version> <configuration> <archive> <manifest> <mainClass>be.ibiiztera.md.pmatrix.starbuck02.NEWMain</mainClass> <packageName>be.ibiiztera.md.pmatrix.starbuck02</packageName> <addClasspath>true</addClasspath> </manifest> <manifestEntries> <mode>development</mode> <url>${pom.url}</url> </manifestEntries> </archive> </configuration> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>copy-resources</id> <!-- here the phase you need --> <phase>validate</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/classes</outputDirectory> <resources> <resource> <directory>${basedir}/src/main/java</directory> <filtering>true</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <showDeprecation>true</showDeprecation> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${basedir}/target/lib</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> <extensions> <!-- Enabling the use of FTP --> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ftp</artifactId> <version>1.0-beta-6</version> </extension> </extensions> </build> <profiles> <profile> </profile> </profiles> <scm> <connection>scm:hg:https://hg.codeplex.com/emptycanvas</connection> <url>https://hg.codeplex.com/emptycanvas</url> </scm> <repositories> <repository> <id>be.ibiiztera</id> <name>ibiiztera</name> <url>ftp://ftp.ibiiztera.be</url> </repository> </repositories> <dependencies> <dependency> <groupId>ch.randelshofer</groupId> <artifactId>MonteMediaCC</artifactId> <version>0.7.7-STABLE</version> <type>pom</type> </dependency> </dependencies> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
