[Design of JBoss Build System] - Re: jboss common maven build
by scott.stark@jboss.org
"dimitris(a)jboss.org" wrote : That's my latest change (log4j.jar 1.2.8 -> 1.2.14) but how to upload the log4j. jar on the maven repository?
|
| I tried this and it will just store it on the local filesystem.
|
| X:\cvs\jboss-public\common\build>mvn install:install-file -DgroupId=apache-log4j
| -DartifactId=log4j -Dversion=1.2.14 -Dpackaging=jar -Dfile=log4j.jar
|
|
|
To effectively use the repos as a local store and the path to push content into the repository, you need to setup your local repository to point to the cvs checkout of the repository.jboss.com/maven2 cvs module. This is done in your local ~/.m2/settings.xml or the mvn install conf/settings.xml. My settings.xml looks like:
| [starksm@succubus Bios]$ cat ~/.m2/settings.xml
| <settings>
| <!-- This could point to the cvs checkout of the
| repository.jboss.com/maven2 contents, or a separate local
| maven repo
| -->
| <localRepository>/usr/Repository/repository.jboss.com/maven2</localRepository>
| <profiles>
| <profile>
| <id>local-properties</id>
| <properties>
| <!-- This must point to the cvs or svn checkout of the jboss repository -->
| <jboss.repository.root>/usr/Repository/repository.jboss.com</jboss.repository.root>
| <!-- This must point to the cvs checkout of the
| repository.jboss.com/maven2 contents
| -->
| <maven.cvs.root>/usr/Repository/repository.jboss.com/maven2</maven.cvs.root>
| </properties>
| </profile>
| </profiles>
|
| <activeProfiles>
| <activeProfile>local-properties</activeProfile>
| </activeProfiles>
| </settings>
|
where the /usr/Repository/repository.jboss.com path is where I have checked out the repository.jboss.com contents.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032863#4032863
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032863
17 years, 9 months
[Design of JBoss Build System] - Build System Meeting Agenda Mar 29, 2007
by pgier
Progress Since Last Meeting
Updated JIRA, so the issues are up to date and schedule is now correct
Microcontainer has been migrated fully to maven
Released a new version of JBossRetro (bug fixes and minor interface changes. Release of jboss-retro-maven-plugin is scheduled for tomorrow (March 30th)
Made some improvements to the jboss-deploy maven plugin and released version 1.1
IT created snapshot repository, they are still working on setting up access for all developers.
IT started CVS to SVN migration
Topics to Discuss
Thirdparty repository - It would be helpful to have a thirdparty repository to separate all the non-jboss dependencies. Maybe a plugin can be created to copy a project's dependencies from the central repository to this thirdparty repo.
Release process - next R&D meeting will include a discussion of the release process, what questions remain about this?
Anything else?
Goals for next meeting
Work on CVS to SVN migration (repository.jboss.com, serialization, jbossretro)
Release version 2 of the jboss-parent (includes retro and deploy plugins, some new eclipse configuration, and the snapshots repo)
Create a wiki page with a list of jboss projects showing what stage of mavenization they are in.
Finalize the new maven based release process
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032828#4032828
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032828
17 years, 9 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: MDB/JCA adapter connection failures
by adrian@jboss.org
This looks like an error in the MDB container or the resource adapter.
The first error says the consumer can't deliver the message
because the server session pool is not started:
| I think the problem is fixed now. I changed the log4j dependency to point to the correct path. Log4j 1.2.14 was not in our repository, but it is in the central maven repository under /log4j/log4j.
|
What I don't see is an invocation of the ExceptionListener
when it encounters this problem, instead it just logs a warning:
| WARN 28-03 17:15:21,093 (JBossConnectionConsumer.java:run:303) -Connection consumer closing due to error in listening thread JBossConnectionConsumer[22, 1]
| javax.jms.JMSException: Unable to get a server session java.lang.Exception: Cannot get a server session after the pool is stopped
|
which is useless for recovery.
The rest of the log is NOISE that should not be there.
Why log an error during close at ERROR level? It should be DEBUG
at most, otherwise the user is not going to understand what the real problem is
(in this case, it was already broken) - like Bill didn't,
"Error closing a session" is not the problem it is a symptom.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032798#4032798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032798
17 years, 9 months
[Design of JBoss Build System] - Re: jboss common maven build
by adrian@jboss.org
"pgier" wrote : I think the problem is fixed now. I changed the log4j dependency to point to the correct path. Log4j 1.2.14 was not in our repository, but it is in the central maven repository under /log4j/log4j.
That's not a fix. We should be downloading everything from our repository.
We need to guarantee that we have control over the bytes we ship.
Which is just healthy paranoia.
Not to mention that in my limited use of Maven so far, I've personally
had at least three problems with stuff getting upgraded automatically inside
maven that just doesn't work and breaks the build.
This includes artifacts disappearing so it is impossible to even reproduce
an earlier build.
I'd prefer it if the maven repository (or any other) wasn't even checked when
we download stuff for JBoss projects.
We should be using a version of Maven from the jboss repository
that we know works and more importantly in two years time, we can download the
same version of Maven again to reproduce an old jboss project down to the exact byte.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032789#4032789
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032789
17 years, 9 months