Maven-2 portal archetype missing required dependency 
-----------------------------------------------------

                 Key: JS2-783
                 URL: https://issues.apache.org/jira/browse/JS2-783
             Project: Jetspeed 2
          Issue Type: Bug
    Affects Versions: 2.1.3
         Environment: OpenSUSE 10.2, Tomcat 5.5.23
            Reporter: Mohan K R
            Priority: Minor


A custom portal created from the portal archetype can still fail even after 
David's fixes.
 http://svn.apache.org/viewvc?rev=579734&view=rev

 This could be easily replicated by "clearing" out the J2 artifacts from the 
local maven-2 repository. And then trying to build the portal
with the seed data. You would get the cryptic Mojo Failure ... exception. The 
problem is due to a missing dependency jetspeed-serializer.

The resoulution

- add jetspeed-serializer to the dependencyManagement element in
     <TRUNK>/maven-archetypes/portal/src/archetype/archetype-resources/pom.xml
       <dependency>
        <groupId>org.apache.portals.jetspeed-2</groupId>
        <artifactId>jetspeed-serializer</artifactId>
        <version>${org.apache.portals.jetspeed-2.version}</version>
      </dependency>
- enable the dependency in 
   <TRUNK>/maven-archetypes/portal/src/archetype/archetype-resources/etc/pom.xml
   by adding in the <dependencies> element:
       <dependency>
        <groupId>org.apache.portals.jetspeed-2</groupId>
        <artifactId>jetspeed-serializer</artifactId>
      </dependency>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to