Hi, Is there a way to download only specifc JARs from the repository. In the default configuration of setting.xml(shown below), maven is downloading all the jars from that location but I need only couple of them. How this could be achieved? I have specific purpose so don't need unwanted jars to be downloaded.
Below is setting.xml <settings> <localRepository>E:/TestPOM/lib</localRepository> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <username>rohit.gupta</username> <password>mypassword</password> <host>host</host> <port>8080</port> <nonProxyHosts>proxyHost</nonProxyHosts> </proxy> </proxies> <servers> <server> <id>central-mirror-internal</id> <username>rohit.gupta</username> <password>mypassword</password> </server> </servers> <profiles> <profile> <id>ipp</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>central-mirror-internal</id> <url>the url</url> </repository> </repositories> </profile> </profiles> </settings> Below is 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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>TestPOM</groupId> <artifactId>TestPOM</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <name>Test</name> <description>Test POM ZIP</description> <properties> <ipp.version>5.3.7</ipp.version> </properties> <dependencies> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>com.infinity.bpm</groupId> <artifactId>carnot-engine</artifactId> <version>${ipp.version}</version> </dependency> </dependencies> <build> <finalName>TestPOM</finalName> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptors> <descriptor>distribution.xml</descriptor> </descriptors> </configuration> </plugin> </plugins> </build> </project> -- View this message in context: http://maven.40175.n5.nabble.com/Download-specific-JARs-from-the-repository-tp4483536p4483536.html Sent from the Maven - Issues mailing list archive at Nabble.com.