-
1. Re: 2.0.0.FINAL Maven archetypes not yet up?
wesleyhales May 17, 2010 7:34 PM (in response to blaverman)I have fixed and deployed the archetypes as of now:
mvn archetype:generate -DarchetypeGroupId=org.jboss.portletbridge.archetypes -DarchetypeArtifactId=seam-basic -DarchetypeVersion=2.0.0.FINAL -DgroupId=org.example.project -DartifactId=exampleProject -Dversion=2.0.0.FINAL -DarchetypeRepository=https://repository.jboss.org/nexus/content/repositories/releases/
**Note the -DarchetypeRepository=https://repository.jboss.org/nexus/content/repositories/releases/ which has also been reflected in the docs here.
-
2. Re: 2.0.0.FINAL Maven archetypes not yet up?
blaverman May 18, 2010 3:17 AM (in response to wesleyhales)Wesley,
I was reading the HTML file per chapter version of the manual, and that hasn't been updated yet (as of this morning CET). I'll take a shot at the other one.
BTW
where can I download the examples used in the screencasts?
Bert
-
3. Re: 2.0.0.FINAL Maven archetypes not yet up?
wesleyhales May 18, 2010 5:15 PM (in response to blaverman)1 of 1 people found this helpfulWhat is not showing up for you in the docs? The link I provided above displays the correct archetype settings.
Also, you may download the Episode 6 project here: http://downloads.jboss.org/portletbridge/episode6.zip
Keep in mind that it is intentionally left blank for the user to implement while he follows along with the video.
-
4. Re: 2.0.0.FINAL Maven archetypes not yet up?
blaverman May 19, 2010 2:25 AM (in response to wesleyhales)Wesley,
I looked at http://docs.jboss.org/portletbridge/docs/2.0.0.FINAL/en/html/chap-JBoss_Portlet_Bridge_Reference_Guide-Getting_started_with_JBoss_Portlet_Bridge.html#sect-JBoss_Portlet_Bridge_Reference_Guide-Getting_started_with_JBoss_Portlet_Bridge-Maven_Archetypes. That showed the non-nexus repository URL. It looks fine today, so I guess it was fixed. May have been a proxied cache...
Cheers,
Bert
-
5. Re: 2.0.0.FINAL Maven archetypes not yet up?
carloshp.silva Jun 8, 2010 2:57 PM (in response to wesleyhales)Hi Wesley,
Thanks for fixing the archetype. I am now able to use it to create the example project. However, there's a small glitch on it. When I try to do a mvn clean or mvn install, I get the following error:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project br.com.todobpo.poc:seam-portlet-ear:2.0.0.FINAL (D:\PROJETOS\POC\jboss_seam_portlet\seam-portlet\ear\pom.xml) has 1 error
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.el:jboss-el:jar -> duplicate declaration of version (?)
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptionLuckly, the fix is quite simple: just find and comment out/remove the following section in the pom.xml for the generated EAR project:
<dependency>
<groupId>org.jboss.el</groupId>
<artifactId>jboss-el</artifactId>
</dependency>And everything works as expected.