portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohan K R (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-783) Maven-2 portal archetype missing required dependency
Date Fri, 28 Sep 2007 13:56:50 GMT
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message