incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Gratka <artha...@gmail.com>
Subject NPanday 115-010
Date Thu, 10 Jan 2013 20:46:57 GMT
Hi,
I've installed npanday 1.5.0 on Maven 2.x,
and after generating POM.xml, i just can't compile it, doesn't matter witch
kind of project i want to build.
This is  error with -e switch:

  central (http://repo1.maven.org/maven2),
  java.net (https://maven.java.net/content/repositories/public/),
  JBoss repository (http://repository.jboss.org/nexus/content/groups/public/
),
  http://repo1.maven.org/maven2/ (http://repo1.maven.org/maven2/)


        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:228)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:90)
        at
npanday.resolver.DefaultNPandayArtifactResolver.resolve(DefaultNPanda
yArtifactResolver.java:77)
        at
npanday.executable.impl.NetExecutableFactoryImpl.getPluginExecutable(
NetExecutableFactoryImpl.java:396)
        at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:173)
        ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:404)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:216)
        ... 23 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Thu Jan 10 20:08:01 CET 2013
[INFO] Final Memory: 34M/504M
[INFO]
------------------------------------------------------------------------
C:\Users\Jacek\Documents\Visual Studio 2010\Projects\t>mvn clean compile -e
C:\Users\Jacek\Documents\Visual Studio 2010\Projects\t>cd ..

C:\Users\Jacek\Documents\Visual Studio 2010\Projects>dir
 Wolumin w stacji C nie ma etykiety.
 Numer seryjny woluminu: 2484-0F11

 Katalog: C:\Users\Jacek\Documents\Visual Studio 2010\Projects

2013-01-10  19:52    <DIR>          .
2013-01-10  19:52    <DIR>          ..
2012-08-23  00:10    <DIR>          adoTutorials
2012-10-10  19:04    <DIR>          aspTutorials
2012-07-13  12:22    <DIR>          CatalogNamesEdit
2012-07-13  12:22    <DIR>          CRC_COmpare
2012-07-13  12:22    <DIR>          curl_test
2012-07-17  18:23    <DIR>          DelegatesEvents
2012-09-17  16:09    <DIR>          DesignPatterns
2012-12-09  00:43    <DIR>          EventTest1
2012-07-13  12:22    <DIR>          FileReader
2012-07-13  12:22    <DIR>          generic_test
2012-07-13  12:22    <DIR>          generic_types
2012-09-30  16:31    <DIR>          HttpRequestesTutorials
2012-07-13  12:22    <DIR>          Indexers_test
2012-07-13  12:22    <DIR>          LINQTest
2012-07-23  14:17    <DIR>          Logs
2012-10-06  20:34    <DIR>          monodroid
2012-11-28  17:11    <DIR>          MVVMTutorials
2012-08-06  14:03           188 278 NDepend1.ndproj
2012-08-06  14:04    <DIR>          NDependOut
2012-07-17  18:22    <DIR>          pab
2012-07-13  12:22    <DIR>          phptest
2012-10-26  20:02       149 473 489 Projects.rar
2012-09-02  18:02    <DIR>          Regexps
2012-07-13  12:22    <DIR>          Remoting
2012-07-24  22:04    <DIR>          shaders
2012-10-16  12:07    <DIR>          si
2012-09-10  17:50    <DIR>          snippets
2012-07-17  18:24    <DIR>          sql
2012-07-13  12:22    <DIR>          structure_test
2013-01-10  19:53    <DIR>          t
2013-01-10  19:22    <DIR>          test
2013-01-10  19:31    <DIR>          test2
2012-10-04  23:27    <DIR>          tests
2012-07-13  12:22    <DIR>          VSMacros80
2012-12-19  20:05    <DIR>          WPFTutorials
               2 plik(ów)        149 661 767 bajtów
              35 katalog(ów)  38 977 032 192 bajtów wolnych

C:\Users\Jacek\Documents\Visual Studio 2010\Projects>cd CRC_COmpare

C:\Users\Jacek\Documents\Visual Studio 2010\Projects\CRC_COmpare>cd ..

C:\Users\Jacek\Documents\Visual Studio 2010\Projects>cd FileReader

C:\Users\Jacek\Documents\Visual Studio 2010\Projects\FileReader>mvn clean
compil
e
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   FileReader : FileReader-parent
[INFO]   FileReader : FileReader
[INFO]
------------------------------------------------------------------------
[INFO] Building FileReader : FileReader-parent
[INFO]    task-segment: [clean, compile]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] No goals needed for project - skipping
[INFO]
------------------------------------------------------------------------
[INFO] Building FileReader : FileReader
[INFO]    task-segment: [clean, compile]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/apache
/npanday/plugins/NPanday.Plugin.Settings.JavaBinding/1.5.0-incubating-SNAPSHOT/N
Panday.Plugin.Settings.JavaBinding-1.5.0-incubating-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.npanday.plugins:NPanday.Plugin.Settin
gs.JavaBinding:pom:1.5.0-incubating-SNAPSHOT' in repository JBoss
repository (ht
tp://repository.jboss.org/nexus/content/groups/public/)
Downloading:
https://maven.java.net/content/repositories/public//org/apache/npan
day/plugins/NPanday.Plugin.Settings.JavaBinding/1.5.0-incubating-SNAPSHOT/NPanda
y.Plugin.Settings.JavaBinding-1.5.0-incubating-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.npanday.plugins:NPanday.Plugin.Settin
gs.JavaBinding:pom:1.5.0-incubating-SNAPSHOT' in repository java.net (
https://ma
ven.java.net/content/repositories/public/)
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/apache
/npanday/plugins/maven-resgen-plugin/1.5.0-incubating-SNAPSHOT/maven-resgen-plug
in-1.5.0-incubating-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.npanday.plugins:maven-resgen-plugin:p
om:1.5.0-incubating-SNAPSHOT' in repository JBoss repository (
http://repository.
jboss.org/nexus/content/groups/public/)
Downloading:
https://maven.java.net/content/repositories/public//org/apache/npan
day/plugins/maven-resgen-plugin/1.5.0-incubating-SNAPSHOT/maven-resgen-plugin-1.
5.0-incubating-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.npanday.plugins:maven-resgen-plugin:p
om:1.5.0-incubating-SNAPSHOT' in repository java.net (
https://maven.java.net/con
tent/repositories/public/)
[INFO] [compile:initialize {execution: default-initialize}]
[INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution:
defaul
t-generate-settings}]
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/apache
/npanday/plugins/NPanday.Plugin.Settings/1.5.0-incubating-SNAPSHOT/NPanday.Plugi
n.Settings-1.5.0-incubating-SNAPSHOT.dll
[INFO] Unable to find resource
'org.apache.npanday.plugins:NPanday.Plugin.Settin
gs:dotnet-maven-plugin:1.5.0-incubating-SNAPSHOT' in repository JBoss
repository
 (http://repository.jboss.org/nexus/content/groups/public/)
Downloading:
https://maven.java.net/content/repositories/public//org/apache/npan
day/plugins/NPanday.Plugin.Settings/1.5.0-incubating-SNAPSHOT/NPanday.Plugin.Set
tings-1.5.0-incubating-SNAPSHOT.dll
[INFO] Unable to find resource
'org.apache.npanday.plugins:NPanday.Plugin.Settin
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] NPANDAY-115-010: Error on resolving plugin artifact(s)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: NPANDAY-115-010: Error on resolving
plug
in artifact(s)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:715)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: NPANDAY-115-010:
Error
on resolving plugin artifact(s)
        at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:189)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.npanday.plugins
-DartifactId=N
Panday.Plugin.Settings -Dversion=1.5.0-incubating-SNAPSHOT
-Dpackaging=dotnet-ma
ven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.npanday.plugins
-DartifactId=NPa
nday.Plugin.Settings -Dversion=1.5.0-incubating-SNAPSHOT
-Dpackaging=dotnet-mave
n-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



org.apache.npanday.plugins:NPanday.Plugin.Settings:dotnet-maven-plugin:1.5.0-i
ncubating-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven.java.net/content/repositories/public/),
  JBoss repository (http://repository.jboss.org/nexus/content/groups/public/
),
  http://repo1.maven.org/maven2/ (http://repo1.maven.org/maven2/)


        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:228)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:90)
        at
npanday.resolver.DefaultNPandayArtifactResolver.resolve(DefaultNPanda
yArtifactResolver.java:77)
        at
npanday.executable.impl.NetExecutableFactoryImpl.getPluginExecutable(
NetExecutableFactoryImpl.java:396)
        at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:173)
        ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:404)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:216)
        ... 23 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Jan 10 21:44:10 CET 2013
[INFO] Final Memory: 33M/504M


and this is my settings.xml from maven:

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <localRepository>C:\Users\Jacek\.m2\repository</localRepository>
  <pluginGroups>
  </pluginGroups>
  <proxies>
  </proxies>
  <servers>
  </servers>
  <mirrors>
  </mirrors>
  <profiles>
  <profile>
  <activation>
    <activeByDefault>true</activeByDefault>
  </activation>
  <repositories>
    <repository>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>http://repo1.maven.org/maven2/</id>
      <url>http://repo1.maven.org/maven2/</url>
    </repository>
<repository>
<id>JBoss repository</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
    </repository>
<repository>
      <id>java.net</id>
      <url>https://maven.java.net/content/repositories/public/</url>
    </repository>
  </repositories>
  <id>NPanday.id</id>
</profile>
  </profiles>
</settings>


Can you help me to handle it?


-- 
Pozdrawiam
Jacek Gratka

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message