incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Leung" <tom.le...@netage.com.hk>
Subject RE: Nuget package support
Date Fri, 29 Nov 2013 04:47:12 GMT
I try to run library-importer-maven-plugin and get the following error.

The plugin tries to run " manifestinfo" command.  Where I can download this
executable?

Best Rgds,

Tom



[INFO] ---
library-importer-maven-plugin:1.5.0-incubating-SNAPSHOT:generate-package-man
ifestinfos (default-generate-pack
age-manifestinfos) @ libimporter ---
[WARNING] NPANDAY-126-002: Did not find path for manifestinfo in
[C:\Windows\Microsoft.NET\Framework64\v2.0.50727]
[INFO]  +--[ RUNNING: cmd.exe /X /C "manifestinfo
C:\work\npanday\importer\target\packages\NUnit.2.6.0.12054\lib -x -r -
q -o
C:\work\npanday\importer\target\packages\NUnit.2.6.0.12054\lib\manifestinfo.
xml"]
[ERROR]  | 'manifestinfo' 不是內部或外部命令、可執行的程式或批次檔。
[INFO]  +--[ FAILED, result = 1, error output = true]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.522s
[INFO] Finished at: Fri Nov 29 11:50:01 GMT+08:00 2013
[INFO] Final Memory: 7M/133M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.npanday.plugins:library-importer-maven-plugin:1.5.0-incubating-SN
APSHOT:genera
te-package-manifestinfos (default-generate-package-manifestinfos) on project
libimporter: NPANDAY-151-001: error handlin
g [NUnit, v2.6.0.12054]: NPANDAY-140-000: Error occured when running
manifestinfo for C:\work\npanday\importer\target\pa
ckages\NUnit.2.6.0.12054\lib: NPANDAY-040-001: Could not execute: Command =
cmd.exe /X /C "manifestinfo C:\work\npanday\
importer\target\packages\NUnit.2.6.0.12054\lib -x -r -q -o
C:\work\npanday\importer\target\packages\NUnit.2.6.0.12054\li
b\manifestinfo.xml", Result = 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


-----Original Message-----
From: Lars Corneliussen [mailto:me@lcorneliussen.de] 
Sent: Friday, November 22, 2013 5:23 PM
To: npanday-users@incubator.apache.org
Subject: Re: Nuget package support

Hi,

you need to set up the distribution management and then run mvn deploy:

  <distributionManagement>
    <snapshotRepository>
      <id>ikas-3dparty</id>
      <url>…..</url>
    </snapshotRepository>
  </distributionManagement>

You could install a nexus or archiva to host your own repositories.

there is maven-central. I don't know how hard it is to get stuff deployed
there.
brett?

_
Lars


Am 21.11.2013 um 17:18 schrieb "Tom Leung" <tom.leung@netage.com.hk>:

> How can I upload the third-party libraries into the third party-repo? 
> any instruction.
> 
> Is there any public NPanday repository? so I can upload the libraries 
> to there.
> 
> Best Rgds,
> 
> Tom
> 
> 
> -----Original Message-----
> From: Lars Corneliussen [mailto:me@lcorneliussen.de]
> Sent: Thursday, November 21, 2013 7:27 PM
> To: npanday-users@incubator.apache.org
> Subject: Re: Nuget package support
> 
> sure!
> would also be great if we could maintain some "official" package 
> mappings and deploy them to our thirdparty-repo...
> 
> let me know if it worked as expected.
> 
> Am 21.11.2013 um 12:06 schrieb Tom Leung <tocsleung@gmail.com>:
> 
>> Thank you very much.
>> 
>> I think many people are waiting for this great feature.
>> 
>> Best Rgds,
>> 
>> Tom
>> 
>> 
>> 
>>> Lars Corneliussen <me@lcorneliussen.de> 於 2013年11月21日 18:21 寫道:
>>> 
>>> Hi,
>>> 
>>> yes; we do that all day :-)
>>> 
>>> I think this is a good point to start:
>>> 
>>> https://builds.apache.org/view/M-R/view/NPanday/job/NPanday-docs/ws/
>>> h 
>>> udsonhudson-slaveworkspaceNPanday-docs/target/jenkins-site/plugins/l
>>> i brary-importer-maven-plugin/index.html
>>> 
>>> Find some import definitions aside… by default the plugin takes all
> *.lib.xml files that are located in the project root.
>>> <package-imports.zip>
>>> 
>>> 
>>> The pom you could start with:
>>> 
>>> <?xml version="1.0" encoding="utf-8"?> <project 
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>       xmlns="http://maven.apache.org/POM/4.0.0"
>>>       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>
>>> 
>>> <artifactId>Thirdparty</artifactId>
>>> <version>1-SNAPSHOT</version>
>>> <packaging>dotnet-library-importer</packaging>
>>> 
>>> <build>
>>>  <plugins>
>>>    <plugin>
>>>      <groupId>org.apache.npanday.plugins</groupId>
>>>      <artifactId>library-importer-maven-plugin</artifactId>
>>>      <version>1.5.0-incubating-SNAPSHOT</version>
>>>      <extensions>true</extensions>
>>>      <configuration>
>>>        <!--localRepository>target/repo</localRepository-->
>>>      </configuration>
>>>    </plugin>
>>>  </plugins>
>>> </build>
>>> </project>
>>> 
>>> 
>>> _
>>> Lars
>>> 
>>>> Am 14.11.2013 um 04:52 schrieb "Tom Leung" <tom.leung@netage.com.hk>:
>>>> 
>>>> Does the current NPanday snapshot v1.5.0 may import Nuget package 
>>>> into the maven project.
>>>> 
>>>> 
>>>> 
>>>> if can, may anyone write out some simple example how to get it work.
>>>> 
>>>> 
>>>> 
>>>> Best Rgds,
>>>> 
>>>> 
>>>> 
>>>> Tom
>>> 
> 


Mime
View raw message