You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Mohan K R (JIRA)" <je...@portals.apache.org> on 2007/09/28 15:56:50 UTC
[jira] Created: (JS2-783) Maven-2 portal archetype missing required
dependency
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
[jira] Resolved: (JS2-783) Maven-2 portal archetype missing
required dependency
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma resolved JS2-783.
---------------------------
Resolution: Won't Fix
Jetspeed 2.2 provides a brand new jetspeed-archetype (and a new maven-2 build configuration overall).
The old archetypes are no longer used nor provided so this issue no longer applies.
> 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 Kannapareddy
> 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