maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre999 <andre...@hotmail.com>
Subject Re: Maven install phase - Access is denied
Date Wed, 08 Jan 2014 20:26:00 GMT
I have run the cmd and there is no issue with right to create or delete
folders. 

Here are the build in pom.xml

<build>
		<finalName>certloader-custom-action</finalName>
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<excludes>
					<exclude>**/*.png</exclude>
					<exclude>*images*</exclude>
				</excludes>
			</resource>
		</resources>	
		<plugins>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<includeEmptyDirs>true</includeEmptyDirs>
					<outputDirectory>${basedir}/target/install4j</outputDirectory>					
				</configuration>
				<executions>
					<execution>
						<id>copy-resources</id>
						<phase>validate</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>							
						
<outputDirectory>${basedir}/target/install4j/certImport</outputDirectory>
							<resources>
								<resource>
									<directory>${basedir}/src/main/resources/certImport</directory>					
			
								</resource>								
							</resources>
							<includeEmptyDirs>true</includeEmptyDirs>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
          		<artifactId>maven-install-plugin</artifactId>
          		<version>2.5.1</version>
          		<configuration>
          			<file>certloader-custom-action.jar</file>
          			<file>certloader-custom-action-sources.jar</file>
          		</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>2.5.1</version>
				<executions>
					<execution>
						<id>properties</id>
						<goals>
							<goal>properties</goal>
						</goals>
					</execution>
					<execution>
						<id>validate-exe</id>
						<phase>validate</phase>
						<goals>
							<goal>unpack</goal>
						</goals>
						<configuration>
							<outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename>
							<artifactItems>
								<artifactItem>
									<groupId>net.install4j</groupId>
									<artifactId>install4j</artifactId>
									<version>5.0.10</version>
									<type>zip</type>
								</artifactItem>
							</artifactItems>
							<outputDirectory>${install4j_path}</outputDirectory>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>true</overWriteSnapshots>
						</configuration>
					</execution>
					<execution>
						<phase>process-sources</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/target/dependency</outputDirectory>
							<stripVersion>true</stripVersion>
							<overWriteIfNewer>true</overWriteIfNewer>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<id>make-assembly</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<finalName>Loader-${project.version}</finalName>
							<descriptors>
								<descriptor>src/main/assembly/assembly.xml</descriptor>
							</descriptors>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
</build>		








--
View this message in context: http://maven.40175.n5.nabble.com/Maven-install-phase-Access-is-denied-tp5780920p5780962.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message