Why is this happening? Every time I compile it's trying to download a pom for something I installed in my local repository.
I have a directory COPY_TO_REPO in my project: ./COPY_TO_REPO: copy.sh edtftpj-pro-2.1.0.jar license-1.0.jar What's in copy.sh is what I got from the documentation on the maven.apache.org web page: mvn install:install-file \ -DgroupId=edtftpj-pro \ -DartifactId=edtftpj-pro \ -Dversion=2.1.0 \ -Dpackaging=jar \ -Dfile=edtftpj-pro-2.1.0.jar mvn install:install-file \ -DgroupId=edtftpj-pro \ -DartifactId=license \ -Dversion=1.0 \ -Dpackaging=jar \ -Dfile=license-1.0.jar Every time I compile it's always trying to download its pom: mvn -Pdesktop clean compiler:compile [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'compiler'. [INFO] ------------------------------------------------------------------------ [INFO] Building CARS paper accounting net module (ftp and email) [INFO] task-segment: [clean, compiler:compile] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/rusty/java/cars/cars_net/target Downloading: http://repo1.maven.org/maven2/edtftpj-pro/edtftpj-pro/2.1.0/edtftpj-pro-2.1.0.pom Downloading: http://repo1.maven.org/maven2/edtftpj-pro/license/1.0/license-1.0.pom [INFO] [compiler:compile] [INFO] Compiling 5 source files to /home/rusty/java/cars/cars_net/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Fri Oct 10 13:53:01 PDT 2008 [INFO] Final Memory: 5M/11M [INFO] ------------------------------------------------------------------------ Here's what my .m2 directory looks like for it: /home/rusty/.m2/repository/edtftpj-pro: edtftpj-pro/ license/ /home/rusty/.m2/repository/edtftpj-pro/edtftpj-pro: 2.1.0/ maven-metadata-local.xml /home/rusty/.m2/repository/edtftpj-pro/edtftpj-pro/2.1.0: edtftpj-pro-2.1.0.jar /home/rusty/.m2/repository/edtftpj-pro/license: 1.0/ maven-metadata-local.xml /home/rusty/.m2/repository/edtftpj-pro/license/1.0: license-1.0.jar Here's my pom.xml: <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> <parent> <groupId>edu.berkeley.ist</groupId> <artifactId>cars_parent</artifactId> <version>0.0.1-SNAPSHOT</version> <relativePath>../cars_parent/pom.xml</relativePath> </parent> <artifactId>cars_net</artifactId> <packaging>jar</packaging> <name>CARS paper accounting net module (ftp and email)</name> <build> <finalName>${pom.artifactId}-${pom.version}</finalName> </build> <!-- =========================== --> <dependencies> <dependency> <groupId>edtftpj-pro</groupId> <artifactId>edtftpj-pro</artifactId> <version>2.1.0</version> </dependency> <dependency> <groupId>edtftpj-pro</groupId> <artifactId>license</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.1</version> </dependency> </dependencies> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
