[
https://issues.apache.org/jira/browse/NPANDAY-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter resolved NPANDAY-456.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.1-incubating
Assignee: Brett Porter
This was fixed as part of NPANDAY-410
> dependencies installed in wrong location when calling pom.xml from a
> different directory
> ----------------------------------------------------------------------------------------
>
> Key: NPANDAY-456
> URL: https://issues.apache.org/jira/browse/NPANDAY-456
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Reporter: Paul Dietrich
> Assignee: Brett Porter
> Fix For: 1.4.1-incubating
>
>
> Create a single pom.xml that has a dependency on a dotnet-executable. The
> following shows one that depends on the executable for the generate-sources
> phase.
> When this is run using -f <path/file> generate-sources,
> the dependency CodeGenerator.exe is placed in a target directory in the
> current working directory rather than in the project.build.directory.
> <?xml version="1.0" encoding="utf-8"?>
> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns="http://maven.apache.org/POM/4.0.0">
> <modelVersion>4.0.0</modelVersion>
> <groupId>Company.LTKNet</groupId>
> <version>10.14.0.1-SNAPSHOT</version>
> <artifactId>LLRP</artifactId>
> <packaging>dotnet-library</packaging>
> <name>Company.LTKNet : LLRP</name>
> <build>
> <sourceDirectory>./</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.apache.npanday.plugins</groupId>
> <artifactId>maven-compile-plugin</artifactId>
> <extensions>true</extensions>
> <executions>
> <execution>
> <id>CompileSourceFiles</id>
> <phase>compile</phase>
> <goals>
> <goal>compile</goal>
> </goals>
> <configuration>
> <includeSources>
> <includeSource>Properties/AssemblyInfo.cs</includeSource>
> </includeSources>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>exec-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>LLRPParam</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>exec</goal>
> </goals>
> <configuration>
>
> <executable>${project.build.directory}/CodeGenerator.exe</executable>
> <arguments>
> <argument>../../Definitions/Core/llrp-1x0-def.xml</argument>
> <argument>LLRPParam.cs</argument>
> <argument>LLRPParam.xslt</argument>
> </arguments>
> </configuration>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <groupId>Company.LTKNet</groupId>
> <artifactId>CodeGenerator</artifactId>
> <version>10.14.0.1-SNAPSHOT</version>
> <type>dotnet-executable</type>
> <scope>compile</scope>
> </dependency>
> </dependencies>
> </project>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira