<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
@FredBricon The build is not broke anymore.<br>
<br>
@Kris Borchers<br>
Could you take a look at this commit
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="https://github.com/jboss-jdf/jboss-as-quickstart/compare/80f247a...b20a111">https://github.com/jboss-jdf/jboss-as-quickstart/compare/80f247a...b20a111</a><br>
and try to apply those diffs to aerogear repo
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/aerogear/as-quickstarts/">https://github.com/aerogear/as-quickstarts/</a><br>
<br>
This will make easy to not broke the quickstarts anymore on next
merge from aerogear repo.<br>
<br>
<br>
Thank you!<br>
<br>
Em 12-10-2012 11:25, Fred Bricon escreveu:
<blockquote cite="mid:50782867.6050603@redhat.com" type="cite">Pete,
have you decided a strategy to handle the directory/project
rename?
<br>
I started scripting a folder rename as it seems easier to me.
<br>
<br>
@Rafael, you broke the quickstarts with
<a class="moz-txt-link-freetext" href="https://github.com/jboss-jdf/jboss-as-quickstart/commit/a4f9bbba5218b71d1d843f2d8c6141b9878f2963">https://github.com/jboss-jdf/jboss-as-quickstart/commit/a4f9bbba5218b71d1d843f2d8c6141b9878f2963</a>
: projects don't compile anymore
<br>
<br>
$ mvn clean
<br>
[INFO] Scanning for projects...
<br>
Downloading:
<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/bom/jboss-javaee-6.0-with-tools/$">https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/bom/jboss-javaee-6.0-with-tools/$</a>{version.org.jboss.bom}/jboss-javaee-6.0-<br>
with-tools-${version.org.jboss.bom}.pom
<br>
Downloading:
<a class="moz-txt-link-freetext" href="http://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0-with-tools/$">http://repo.maven.apache.org/maven2/org/jboss/bom/jboss-javaee-6.0-with-tools/$</a>{version.org.jboss.bom}/jboss-javaee-6.0-with-tools-${version.org.jb<br>
oss.bom}.pom
<br>
Downloading:
<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/spec/jboss-javaee-web-6.0/$">https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/spec/jboss-javaee-web-6.0/$</a>{version.org.jboss.spec.jboss.javaee.6.0}/jboss<br>
-javaee-web-6.0-${version.org.jboss.spec.jboss.javaee.6.0}.pom
<br>
Downloading:
<a class="moz-txt-link-freetext" href="http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-web-6.0/$">http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-web-6.0/$</a>{version.org.jboss.spec.jboss.javaee.6.0}/jboss-javaee-web-6.0-${version.o<br>
rg.jboss.spec.jboss.javaee.6.0}.pom
<br>
[ERROR] The build could not read 2 projects -> [Help 1]
<br>
[ERROR]
<br>
[ERROR] The project
org.jboss.as.quickstarts:jboss-as-helloworld-html5:7.1.2-SNAPSHOT
(D:\Dev\GitHub\jboss-as-quickstart\helloworld-html5\pom.xml) has 8
error
<br>
s
<br>
[ERROR] Non-resolvable import POM: Could not transfer artifact
org.jboss.bom:jboss-javaee-6.0-with-tools:pom:${version.org.jboss.bom}
from/to jboss-public-r
<br>
epository
(<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/">https://repository.jboss.org/nexus/content/groups/public-jboss/</a>):
IllegalArgumentException @ line 53, column 25: Illegal character
in path at index 1
<br>
06:
<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/bom/jboss-javaee-6.0-with-tools/$">https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/bom/jboss-javaee-6.0-with-tools/$</a>{version.org.jboss.bom}/jboss-javaee-6.0-with-tool<br>
s-${version.org.jboss.bom}.pom -> [Help 2]
<br>
[ERROR] 'dependencies.dependency.version' for
javax.enterprise:cdi-api:jar is missing. @ line 67, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar
is missing. @ line 75, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is
missing. @ line 83, column 21
<br>
[ERROR] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-war-plugin must be a valid version
but is '${version.war.plugin}'. @ line 97, colu
<br>
mn 26
<br>
[ERROR] 'build.plugins.plugin.version' for
org.jboss.as.plugins:jboss-as-maven-plugin must be a valid version
but is '${version.org.jboss.as.plugins.maven.p
<br>
lugin}'. @ line 108, column 26
<br>
[ERROR] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin must be a valid
version but is '${version.compiler.plugin}'. @ lin
<br>
e 114, column 26
<br>
[ERROR] 'build.plugins.plugin.version' for
com.mycila.maven-license-plugin:maven-license-plugin must be a
valid version but is '${version.license.plugin}'.
<br>
@ line 124, column 26
<br>
[ERROR]
<br>
[ERROR] The project
org.jboss.as.quickstarts:jboss-as-kitchensink-html5-mobile:7.1.2-SNAPSHOT
(D:\Dev\GitHub\jboss-as-quickstart\kitchensink-html5-mobile\pom.
<br>
xml) has 8 errors
<br>
[ERROR] Non-resolvable import POM: Could not transfer artifact
org.jboss.spec:jboss-javaee-web-6.0:pom:${version.org.jboss.spec.jboss.javaee.6.0}
from/to jb
<br>
oss-public-repository
(<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/">https://repository.jboss.org/nexus/content/groups/public-jboss/</a>):
IllegalArgumentException @ line 80, column 25: Illegal character
in pat
<br>
h at index 100:
<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/spec/jboss-javaee-web-6.0/$">https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/spec/jboss-javaee-web-6.0/$</a>{version.org.jboss.spec.jboss.javaee.6.0}/jb<br>
oss-javaee-web-6.0-${version.org.jboss.spec.jboss.javaee.6.0}.pom
-> [Help 2]
<br>
[ERROR] 'dependencies.dependency.version' for
javax.enterprise:cdi-api:jar is missing. @ line 94, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar
is missing. @ line 101, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is
missing. @ line 108, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is
missing. @ line 115, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @
line 122, column 21
<br>
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is
missing. @ line 129, column 21
<br>
[ERROR] 'build.plugins.plugin.version' for
org.jboss.as.plugins:jboss-as-maven-plugin must be a valid version
but is '${version.org.jboss.as.plugins.maven.p
<br>
lugin}'. @ line 214, column 26
<br>
[ERROR]
<br>
[ERROR] To see the full stack trace of the errors, re-run Maven
with the -e switch.
<br>
[ERROR] Re-run Maven using the -X switch to enable full debug
logging.
<br>
[ERROR]
<br>
[ERROR] For more information about the errors and possible
solutions, please read the following articles:
<br>
[ERROR] [Help 1]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a><br>
[ERROR] [Help 2]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException">http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException</a><br>
<br>
<br>
Le 10/10/2012 13:54, Pete Muir a écrit :
<br>
<blockquote type="cite">Fred,
<br>
<br>
I think the way to do this is:
<br>
<br>
1) define some quickstarts as "promoted" - those that are
relevant to a developer, today. Relevance could be based on a
large existing userbase, or the fact that the technology is new
and upcoming. How about we aim for 15 promoted quickstarts?
<br>
2) display only the promoted quickstarts in JBDS
<br>
3) revisit what is promoted regularly, eg. every 6 months
<br>
<br>
At some point, we should actually encode this into the
quickstart metadata.
<br>
<br>
For now, let's do it manually.
<br>
<br>
1) helloworld
<br>
2) greeter
<br>
3) numberguess
<br>
4) kitchensink
<br>
5) kitchensink-html5-mobile
<br>
6) helloworld-errai
<br>
7) helloworld-jsf (renaming to helloworld-richfaces sometime
soon
<br>
8) tasks-rs
<br>
9) tasks-jsf
<br>
10) helloworld-rs
<br>
11) kitchensink-cordova
<br>
12) carmart
<br>
13) carmart-transactional
<br>
14) forge-from-scratch
<br>
15) helloworld-jms
<br>
<br>
WDYT?
<br>
<br>
On 9 Oct 2012, at 17:08, Fred Bricon wrote:
<br>
<br>
<blockquote type="cite">Le 09/10/2012 17:39, Burr Sutter a écrit
:
<br>
<blockquote type="cite">If there are better examples than the
current ones, please nominate them!
<br>
<br>
</blockquote>
The "old" examples from previous JBT versions and still
available until now use old/incomplete descriptors. There are
literally dozens of them that need to be tested against JBT4,
which represents a significant effort. Many examples relate to
ESB (or other technologies) and I don't think they should be
included in JBT anymore, but rather contributed by some SOA
plugins.
<br>
<br>
Likewise, identifying the JDF examples deserving to appear in
JBT is no small feat, so I hoped this thread would help me
gather some informations on what exactly we want to show the
end-users.
<br>
<br>
<blockquote type="cite">On Oct 9, 2012, at 11:14 AM, Fred
Bricon wrote:
<br>
<br>
<blockquote type="cite">Hi,
<br>
<br>
we need to clean up the project examples in JBoss Tools
4.0/JBDS 6.0 (as part of
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JBIDE-12554">https://issues.jboss.org/browse/JBIDE-12554</a>).
<br>
So, my idea was to replace all the old examples with the
quickstarts from
<a class="moz-txt-link-freetext" href="https://github.com/jboss-jdf/jboss-as-quickstart">https://github.com/jboss-jdf/jboss-as-quickstart</a>
<br>
<br>
Since the quickstarts are not available as standalone
zips, for consumption in JBT/JBDS, I created a script
(<a class="moz-txt-link-freetext" href="https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb">https://github.com/fbricon/jboss-as-quickstart/commit/cb1a0638b352434c48c7ecb6de20ed514e0c31fb</a>)
that does that, and it also generates a project example
stub we can use almost directly in JBT.
<br>
<br>
D:\Dev\GitHub\jboss-as-quickstart>mvn groovy:execute -N
-Pzip-modules,requires-postgres,complex-dependencies,requires-full,requires-xts
<br>
[INFO] Scanning for projects...
<br>
[INFO]
<br>
[INFO]
------------------------------------------------------------------------
<br>
[INFO] Building JBoss AS Quickstarts Parent 7.1.2-SNAPSHOT
<br>
[INFO]
------------------------------------------------------------------------
<br>
[INFO]
<br>
[INFO] --- gmaven-plugin:1.4:execute (default-cli) @
jboss-as-quickstarts-parent ---
<br>
Starting zipping JBoss AS Quickstarts Parent modules
<br>
Deleting D:\Dev\GitHub\jboss-as-quickstart\target\zips
<br>
Zipped 51 quickstart modules
<br>
Generating project examples descriptor for JBoss Tools
<br>
[WARNING] module 'bmt' has a non matching artifactId
'jboss-as-bmt'
<br>
[WARNING] module 'cdi-injection' has a non matching
artifactId 'jboss-as-cdi-injection'
<br>
[WARNING] module 'cdi-portable-extension' has a non
matching artifactId 'jboss-as-cdi-portable-extension'
<br>
[WARNING] module 'ejb-in-ear' has a non matching
artifactId 'jboss-as-ejb-in-ear'
<br>
[WARNING] module 'ejb-in-war' has a non matching
artifactId 'jboss-as-ejb-in-war'
<br>
[WARNING] module 'ejb-remote' has a non matching
artifactId 'jboss-as-ejb-remote-parent'
<br>
[WARNING] module 'ejb-security' has a non matching
artifactId 'jboss-as-ejb-security'
<br>
[WARNING] module 'greeter' has a non matching artifactId
'jboss-as-greeter'
<br>
[WARNING] module 'helloworld' has a non matching
artifactId 'jboss-as-helloworld'
<br>
[WARNING] module 'helloworld-errai' has a non matching
artifactId 'jboss-as-helloworld-errai'
<br>
[WARNING] module 'helloworld-gwt' has a non matching
artifactId 'jboss-as-helloworld-gwt'
<br>
[WARNING] module 'helloworld-html5' has a non matching
artifactId 'jboss-as-helloworld-html5'
<br>
[WARNING] module 'helloworld-jms' has a non matching
artifactId 'jboss-as-helloworld-jms'
<br>
[WARNING] module 'helloworld-osgi' has a non matching
artifactId 'jboss-as-helloworld-osgi'
<br>
[WARNING] module 'helloworld-rs' has a non matching
artifactId 'jboss-as-helloworld-rs'
<br>
[WARNING] module 'helloworld-singleton' has a non matching
artifactId 'jboss-as-helloworld-singleton'
<br>
[WARNING] module 'hibernate3' has a non matching
artifactId 'jboss-as-hibernate3'
<br>
[WARNING] module 'hibernate4' has a non matching
artifactId 'jboss-as-hibernate4'
<br>
[WARNING] module 'kitchensink' has a non matching
artifactId 'jboss-as-kitchensink'
<br>
[WARNING] module 'kitchensink-ear' has a non matching
artifactId 'jboss-as-kitchensink-ear'
<br>
[WARNING] module 'kitchensink-html5-mobile' has a non
matching artifactId 'jboss-as-kitchensink-html5-mobile'
<br>
[WARNING] module 'kitchensink-jsp' has a non matching
artifactId 'jboss-as-kitchensink-jsp'
<br>
[WARNING] module 'kitchensink-ml' has a non matching
artifactId 'jboss-as-kitchensink-ml'
<br>
[WARNING] module 'kitchensink-ml-ear' has a non matching
artifactId 'jboss-as-kitchensink-ml-ear'
<br>
[WARNING] module 'log4j' has a non matching artifactId
'jboss-as-log4j'
<br>
[WARNING] module 'logging-tools' has a non matching
artifactId 'jboss-as-logging-tools'
<br>
[WARNING] module 'mail' has a non matching artifactId
'jboss-as-mail'
<br>
[WARNING] module 'numberguess' has a non matching
artifactId 'jboss-as-numberguess'
<br>
[WARNING] module 'payment-cdi-event' has a non matching
artifactId 'jboss-as-payment-cdi-event'
<br>
[WARNING] module 'richfaces-validation' has a non matching
artifactId 'jboss-as-richfaces-validation'
<br>
[WARNING] module 'servlet-async' has a non matching
artifactId 'jboss-as-servlet-async'
<br>
[WARNING] module 'servlet-filterlistener' has a non
matching artifactId 'jboss-as-servlet-filterlistener'
<br>
[WARNING] module 'servlet-security' has a non matching
artifactId 'jboss-as-servlet-security'
<br>
[WARNING] module 'tasks' has a non matching artifactId
'jboss-as-tasks'
<br>
[WARNING] module 'tasks-jsf' has a non matching artifactId
'jboss-as-tasks-jsf'
<br>
[WARNING] module 'temperature-converter' has a non
matching artifactId 'jboss-as-temperature-converter'
<br>
[WARNING] module 'tasks-rs' has a non matching artifactId
'jboss-as-tasks-rs'
<br>
[WARNING] module 'wicket-ear' has a non matching
artifactId 'jboss-as-wicket-ear-parent'
<br>
[WARNING] module 'wicket-war' has a non matching
artifactId 'jboss-as-wicket-war'
<br>
[WARNING] module 'xml-jaxp' has a non matching artifactId
'jboss-as-xml-jaxp'
<br>
[WARNING] module 'xml-dom4j' has a non matching artifactId
'jboss-as-xml-dom4j'
<br>
[WARNING] module 'cmt' has a non matching artifactId
'jboss-as-cmt'
<br>
[WARNING] module 'jts' has a non matching artifactId
'jboss-as-jts-parent'
<br>
[WARNING] module 'jax-rs-client' has a non matching
artifactId 'jboss-as-jax-rs-client'
<br>
[WARNING] module 'inter-app' has a non matching artifactId
'jboss-as-inter-app-parent'
<br>
[WARNING] module 'helloworld-mdb' has a non matching
artifactId 'jboss-as-helloworld-mdb'
<br>
[WARNING] module 'jta-crash-rec' has a non matching
artifactId 'jboss-as-jta-crash-rec'
<br>
[WARNING] module 'wsat-simple' has a non matching
artifactId 'jboss-as-wsat-simple'
<br>
[WARNING] module 'wsba-coordinator-completion-simple' has
a non matching artifactId
'jboss-as-wsba-coordinator-completion-simple'
<br>
[WARNING] module 'wsba-participant-completion-simple' has
a non matching artifactId
'jboss-as-wsba-participant-completion-simple'
<br>
D:\Dev\GitHub\jboss-as-quickstart\target\zips\quickstarts.xml
generated
<br>
<br>
<br>
[WARNING] 50 quickstart artifactIds mismatch with their
folder name.
<br>
This will prevent WTP from opening the proper url when
running on a server.
<br>
<br>
[INFO]
------------------------------------------------------------------------
<br>
[INFO] BUILD SUCCESS
<br>
[INFO]
------------------------------------------------------------------------
<br>
[INFO] Total time: 5.506s
<br>
[INFO] Finished at: Tue Oct 09 15:02:44 CEST 2012
<br>
[INFO] Final Memory: 11M/490M
<br>
[INFO]
------------------------------------------------------------------------
<br>
<br>
As hinted in the log, the examples wouldn't quite work
perfectly OOTB.
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/M2E-WTP_FAQ#How_do_I_change_the_context_root_of_my_project.3F">http://wiki.eclipse.org/M2E-WTP_FAQ#How_do_I_change_the_context_root_of_my_project.3F</a>
explains how the context root is inferred from the pom.xml
by m2e-wtp. However our own JBoss AS server adapter
ignores the WTP project context root and bases its
deployment on the project name, leading to 404s as seen in
the video below.
<br>
<br>
End result in JBT / Central :
<a class="moz-txt-link-freetext" href="http://www.screencast.com/users/fbricon/folders/Jing/media/464f8246-84bc-4941-b84c-7ae6420c2ac7">http://www.screencast.com/users/fbricon/folders/Jing/media/464f8246-84bc-4941-b84c-7ae6420c2ac7</a><br>
<br>
Now.
<br>
* are you guys ok to actually remove and replace the old
examples with the JDF quickstarts
<br>
* if you're ok, I'll setup a CI job to deploy the
quickstarts to download.jboss.org
<br>
* who's willing to give me a hand in validating the
quickstarts properly work in JBT/JBDS. That includes :
<br>
- checking the project belongs (or not) to JBT/JBDS
<br>
- checking there's a proper project description
<br>
- checking the projects are properly configured (I
noticed some EARs are seen as 1.3 instead of 6.0) and
compile without errors
<br>
- checking the projects deploy OOTB on AS7/EAP6
<br>
<br>
Regards,
<br>
<br>
Fred Bricon
<br>
<br>
</blockquote>
</blockquote>
_______________________________________________
<br>
jdf-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>