http://people.apache.org/repo/m2-snapshot-repository not available in path
--------------------------------------------------------------------------

         Key: JSF-46
         URL: http://jira.andromda.org/browse/JSF-46
     Project: JSF cartridge
        Type: Bug

 Environment: JDK  jdk150_06
Maven  apache-maven-2.0.9
Windows XP Professional Version 2002 Service Pack 2
    Reporter: Lithesh Anargha
 Assigned to: Chad Brandon 


Hi,

           I am trying to generate sources for a j2ee project using jsf2 
cartridge, i am getting the following error during the build please find the 
stacktrace mentioned below. During analysis i am ble to fond that auto 
generated pom is referencing the following file in system scope

            <scope>system</scope>
            
<systemPath>${pom.basedir}/target/src/WEB-INF/lib/tomahawk-1.1.7-SNAPSHOT.jar</systemPath>

however this file is not generated by the cartridge and causing the error. 
Please do the needful in fixing the same.

[DEBUG]   javax.servlet:jsp-api:jar:2.0:provided
[DEBUG]   oro:oro:jar:2.0.8:runtime
[INFO] found project de.dl.angebot:dlangebotej3-workflow:jar:1.0
[DEBUG] andromda-ejb3-cartridge: using locally installed snapshot
[DEBUG] andromda-jsf2-cartridge: using locally installed snapshot
[DEBUG] Skipping disabled repository central
[DEBUG] andromda-jsf2-cartridge-components: using locally installed snapshot
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.myfaces.tomahawk
ArtifactId: tomahawk
Version: 1.1.7-SNAPSHOT

Reason: System artifact: 
org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT:system is not a file: 
C:\Apps\dlangebotej3\web\target\src\WEB-INF\lib\tomahawk-1.1.7-SNAPSHOT.jar

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk 
-DartifactId=tomahawk -Dversion=1.1.7-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.apache.myfaces.tomahawk 
-DartifactId=tomahawk -Dversion=1.1.7-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT



[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing modules
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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.MojoExecutionException: Error executing 
modules
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.execute(BuildMojo.java:251)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
Caused by: org.apache.maven.plugin.MojoExecutionException: An error occured 
while attempting to execute projects
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.executeProjects(BuildMojo.java:490)
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.executeModules(BuildMojo.java:423)
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.executeModules(BuildMojo.java:374)
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.execute(BuildMojo.java:246)
        ... 18 more
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error 
creating eclipse configuration
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at 
org.andromda.maven.plugin.andromdapp.BuildMojo.executeProjects(BuildMojo.java:483)
        ... 21 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating 
eclipse configuration
        at 
org.andromda.maven.plugin.andromdapp.EclipseMojo.execute(EclipseMojo.java:182)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 27 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: System 
artifact: org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT:system is not 
a file: 
C:\Apps\dlangebotej3\web\target\src\WEB-INF\lib\tomahawk-1.1.7-SNAPSHOT.jar

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk 
-DartifactId=tomahawk -Dversion=1.1.7-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.apache.myfaces.tomahawk 
-DartifactId=tomahawk -Dversion=1.1.7-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT


        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:104)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
        at 
org.andromda.maven.plugin.andromdapp.eclipse.ClasspathWriter.write(ClasspathWriter.java:121)
        at 
org.andromda.maven.plugin.andromdapp.EclipseMojo.execute(EclipseMojo.java:161)
        ... 29 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37 seconds
[INFO] Finished at: Fri Jul 24 12:26:09 IST 2009
[INFO] Final Memory: 27M/49M
[INFO] ------------------------------------------------------------------------

C:\Apps\dlangebotej3>]

      

































































































































































































































-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


------------------------------------------------------------------------------

Reply via email to