- modified carious pom.xml file to inherit the version number for the slf4j-api project from
slf4j-parent module
- fixed slf4j-archetype module (it can now create a functional albeit simple SLF4J binding)
- updated the FAQ and news in preparation for the 1.4.0 release
where John E. Conlon left them previously.
The project builds properly. I have yet to test/exercise the various
OSGi modules.
- Instead of manually editing the <Bundle-Version> element manually
for each module, it is injected using the ${project_version_for_osgi}
property as set in the parent pom.xml file.
mvn package -Posgi
I still get:
[INFO] Building SLF4J OSGi Integration Test
[INFO] task-segment: [package]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.springframework.osgi:backport-util-concurrent:3.0-SNAPSHOT: checking for updates from springframework.org
Downloading: http://static.springframework.org/maven2-snapshots//org/springframework/osgi/backport-util-concurrent/3.0-SNAPSHOT/backport-util-concurrent-3.0-2007
0216.105210-78.pom
1K downloaded
[snip]
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.springframework.osgi:jcl104-over-slf4j.osgi🫙1.1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.springframework.osgi -DartifactId=jcl104-over-slf4j.osgi \
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.slf4j:slf4j-osgi-integration-test:jar:1.3.0-SNAPSHOT
2) org.springframework.osgi:jcl104-over-slf4j.osgi🫙1.1.0
2) org.slf4j:slf4j-log4j-full:jar:1.1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-log4j-full \
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.slf4j:slf4j-osgi-integration-test:jar:1.3.0-SNAPSHOT
2) org.slf4j:slf4j-log4j-full:jar:1.1.0
----------
2 required artifacts are missing.
for artifact:
org.slf4j:slf4j-osgi-integration-test:jar:1.3.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
m2apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
springframework.org (http://static.springframework.org/maven2-snapshots/)
creation of OSGi compatible jars.
Changed multiproject version to 1.3.0-SNAPSHOT to adhere to maven and OSGi
conventions.
Packages from the sl4fj-api project are now copied at build time by the
org.apache.felix.maven-bundle-plugin to all SLF4J Binding projects.
- minor fixes in preparation for the 1.1.0-RC0 release
- the resulting assembly should be named after $aversion not ${parent.version}
- o.a.log4j.Log4jLoggerFactory is now accessible to the same package (instead of public)
See also http://bugzilla.slf4j.org/show_bug.cgi?id=27
- added eclipse codeStyle.xml
- The various SLF4J inherit their version number through a poperty,
namely "aversion", defined in the parent pom. This little trick seems
to work well and saves alot of time.