[ https://issues.apache.org/jira/browse/NPANDAY-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571042#comment-13571042 ]
Brett Porter commented on NPANDAY-569: -------------------------------------- Sorry for overlooking this issue. Are you saying that you are referencing a dependency that does not have a POM in the local repository? Can you clarify how the DLL was added to ~/.m2? > local dependency and Npanday > ---------------------------- > > Key: NPANDAY-569 > URL: https://issues.apache.org/jira/browse/NPANDAY-569 > Project: NPanday > Issue Type: Bug > Reporter: François > > When adding the following a dll from a local .m2, NPanday tries to build the > pom in the dependency repo. This leads to an error because it the > configuration does not fit anymore. In the .m2 folder there is the > corresponding dll. Here is the error, which is generate from the console > … > [INFO] --- maven-compile-plugin:1.4.0-incubating:initialize > (default-initialize) @ ServiceTestConsole --- > Jul 04, 2012 11:45:29 PM npanday.dao.impl.ProjectDaoImpl > storeProjectAndResolveDependencies > WARNING: NPANDAY-180-018: Not found in local repository, now retrieving > artifact from > wagon:org.openengsb.loom.csharp.common.bridge:ExampleDomainEventsInterfaces:dotnet-library:1.0.0-SNAPSHOT, > Failed Path Check = > C:\Users\User\Projekts\Example\target\ExampleDomainEventsInterfaces.dll > Jul 04, 2012 11:45:29 PM > npanday.dao.impl.ProjectDaoImplstoreProjectAndResolveDependencies > WARNING: NPANDAY-180-018: Not found in local repository, now retrieving > artifact from > wagon:org.openengsb.loom.csharp.common.bridge:ExampleDomainInterfaces:dotnet-library:1.0.0-SNAPSHOT, > Failed Path Check = > C:\Users\User\Projekts\Example\target\ExampleDomainInterfaces.dll > Jul 04, 2012 11:45:29 PM npanday.dao.impl.ProjectDaoImpl > storeProjectAndResolveDependencies > WARNING: NPANDAY-180-018: Not found in local repository, now retrieving > artifact from > wagon:org.openengsb.loom.csharp.common.bridge:Implementation:dotnet-library:1.0.0-SNAPSHOT, > Failed Path Check = C:\Users\User\Projekts\Example\target\Implementation.dll > Jul 04, 2012 11:45:29 PM npanday.dao.impl.ProjectDaoImpl > storeProjectAndResolveDependencies > WARNING: NPANDAY-180-018: Not found in local repository, now retrieving > artifact from > wagon:org.openengsb.loom.csharp.common.bridge:Interface:dotnet-library:1.0.0-SNAPSHOT, > Failed Path Check = C:\Users\User\Projekts\Example\target\Interface.dll > Jul 04, 2012 11:45:29 PM npanday.PathUtil getDotNetArtifact > WARNING: > NPANDAY-1005-0001: Error copying dependency > org.openengsb.domain:org.openengsb.domain.example:wsdl:ExampleDomainEvents:3.0.0-SNAPSHOT:compile > File > C:\Users\User\.m2\repository\org\openengsb\domain\org.openengsb.domain.example\3.0.0-SNAPSHOT\org.openengsb.domain.example > -3.0.0-SNAPSHOT-ExampleDomainEvents.jar does not exist > Jul 04, 2012 11:45:29 PM npanday.PathUtil getDotNetArtifact > WARNING: > NPANDAY-1005-0001: Error copying dependency > org.openengsb.domain:org.openengsb.domain.example:wsdl:ExampleDomainEvents:3.0.0-SNAPSHOT:compile > File > C:\Users\User\.m2\repository\org\openengsb\domain\org.openengsb.domain.example\3.0.0-SNAPSHOT\org.openengsb.domain.example > -3.0.0-SNAPSHOT-ExampleDomainEvents.jar does not exist > Jul 04, 2012 11:45:29 PM npanday.dao.impl.ProjectDaoImpl > storeProjectAndResolveDependencies > WARNING: NPANDAY-180-018: Not found in local repository, now retrieving > artifact from > wagon:org.openengsb.domain:org.openengsb.domain.example:wsdl:ExampleDomainEvents:3.0.0-SNAPSHOT, > Failed Path Check = > C:\Users\User\Projekts\Example\target\org.openengsb.domain.example.wsdl > Jul 04, 2012 11:45:29 PM npanday.dao.ProjectFactory > logAndVerifyProjectParameters > WARNING: NPANDAY-180-003: Project Version is missing: Group Id = > org.openengsb.labs.delegation, Artifact Id = > org.openengsb.labs.delegation.service > … > The pom in the .m2 repo looks like the following: > … > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <executions> > <execution> > <id>copy</id> > <phase>compile</phase> > <goals> > <goal>copy</goal> > </goals> > <configuration> > <artifactItems> > <artifactItem> > <groupId>org.openengsb.domain</groupId> > <artifactId>org.openengsb.domain.example</artifactId> > <classifier>ExampleDomainEvents</classifier> > <type>wsdl</type> > <overWrite>false</overWrite> > > <outputDirectory>${project.build.directory}</outputDirectory> > <destFileName>ExampleDomainEvents.wsdl</destFileName> > </artifactItem> > </artifactItems> > </configuration> > </execution> > </executions> > </plugin> > <plugin> > <groupId>org.openengsb.loom.csharp.common</groupId> > <artifactId>wsdltodll-maven-plugin</artifactId> > <configuration> > > <wsdl_location>${project.build.directory}\ExampleDomainEvents.wsdl</wsdl_location> > <namespace>ExampleDomainEvents</namespace> > </configuration> > <executions> > <execution> > <phase>compile</phase> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>build-helper-maven-plugin</artifactId> > <executions> > <execution> > <id>attach-artifacts</id> > <phase>package</phase> > <goals> > <goal>attach-artifact</goal> > </goals> > <configuration> > <artifacts> > <artifact> > <file>target/ExampleDomainEventsInterfaces.dll</file> > <type>dll</type> > </artifact> > </artifacts> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </build> > <dependencies> > <dependency> > <groupId>org.openengsb.domain</groupId> > <artifactId>org.openengsb.domain.example</artifactId> > <version>3.0.0-SNAPSHOT</version> > <classifier>ExampleDomainEvents</classifier> > <type>wsdl</type> > </dependency> > </dependencies> > … > The pom of the Npanday project has the following structure: > … > <dependency> > <groupId>org.openengsb.loom.csharp.common.bridge</groupId> > <artifactId>ExampleDomainInterfaces</artifactId> > <version>1.0.0-SNAPSHOT</version> > <type>dotnet-library</type> > </dependency> > <dependency> > <groupId>org.openengsb.loom.csharp.common.bridge</groupId> > <artifactId>ExampleDomainEventsInterfaces</artifactId> > <version>1.0.0-SNAPSHOT</version> > <type>dotnet-library</type> > </dependency> > … > The dll has the following only the following: > namespace ExampleDomainEvents > { > [WebServiceBinding(Name = "ExampleDomainEventsSoap11Binding", Namespace = > "http://example.domain.openengsb.org")] > [XmlInclude(typeof(Event))] > [GeneratedCode("wsdl", "2.0.50727.3038")] > public interface IExampleDomainEventsSoap11Binding > { > [WebMethod] > [SoapDocumentMethod("urn:raiseEvent", RequestNamespace = > "http://example.domain.openengsb.org", OneWay = true, Use = > SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] > void raiseEvent(LogEvent args0); > } > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira