[jira] Created: (MRM-215) Fails to build from clean checkout

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (MRM-215) Fails to build from clean checkout

JIRA jira@codehaus.org
Fails to build from clean checkout
----------------------------------

                 Key: MRM-215
                 URL: http://jira.codehaus.org/browse/MRM-215
             Project: Archiva
          Issue Type: Bug
         Environment: Linux, Maven 2.0.4
            Reporter: Max Bowsher


$ svn co $ra/maven/archiva/trunk archiva-trunk
$ cd archiva-trunk/
$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.archiva:archiva-plexus-application
POM Location: /home/maxb/work/proving/archiva-trunk/archiva-plexus-application/pom.xml
Validation Messages:

    [0]  'dependencies.dependency.version' is missing for org.apache.maven.archiva:archiva-webapp


Reason: Failed to validate POM
......



This patch made the build work for me:
--- archiva-plexus-application/pom.xml  (revision 470042)
+++ archiva-plexus-application/pom.xml  (working copy)
@@ -49,6 +49,7 @@
     <dependency>
       <groupId>org.apache.maven.archiva</groupId>
       <artifactId>archiva-webapp</artifactId>
+      <type>war</type>
     </dependency>
   </dependencies>
   <!-- For filtering -->


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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (MRM-215) Fails to build from clean checkout

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/MRM-215?page=all ]

Max Bowsher closed MRM-215.
---------------------------

    Resolution: Fixed

Fixed by joakime in r470095.



> Fails to build from clean checkout
> ----------------------------------
>
>                 Key: MRM-215
>                 URL: http://jira.codehaus.org/browse/MRM-215
>             Project: Archiva
>          Issue Type: Bug
>         Environment: Linux, Maven 2.0.4
>            Reporter: Max Bowsher
>
> $ svn co $ra/maven/archiva/trunk archiva-trunk
> $ cd archiva-trunk/
> $ mvn install
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: org.apache.maven.archiva:archiva-plexus-application
> POM Location: /home/maxb/work/proving/archiva-trunk/archiva-plexus-application/pom.xml
> Validation Messages:
>     [0]  'dependencies.dependency.version' is missing for org.apache.maven.archiva:archiva-webapp
> Reason: Failed to validate POM
> ......
> This patch made the build work for me:
> --- archiva-plexus-application/pom.xml  (revision 470042)
> +++ archiva-plexus-application/pom.xml  (working copy)
> @@ -49,6 +49,7 @@
>      <dependency>
>        <groupId>org.apache.maven.archiva</groupId>
>        <artifactId>archiva-webapp</artifactId>
> +      <type>war</type>
>      </dependency>
>    </dependencies>
>    <!-- For filtering -->

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