Author: fmeschbe
Date: Thu May 10 21:03:29 2012
New Revision: 1336883
URL: http://svn.apache.org/viewvc?rev=1336883&view=rev
Log:
SLING-2470 Create package-info.java files for package export versioning
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/auth/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/package-info.java
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/wrappers/package-info.java
Modified:
sling/trunk/bundles/api/pom.xml
Modified: sling/trunk/bundles/api/pom.xml
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/pom.xml?rev=1336883&r1=1336882&r2=1336883&view=diff
==============================================================================
--- sling/trunk/bundles/api/pom.xml (original)
+++ sling/trunk/bundles/api/pom.xml Thu May 10 21:03:29 2012
@@ -64,6 +64,13 @@
<artifactId>slf4j-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>biz.aQute</groupId>
+ <artifactId>bndlib</artifactId>
+ <version>1.50.0</version>
+ <scope>provided</scope>
+ </dependency>
+
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
@@ -87,22 +94,13 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
+ <version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-DocURL>
http://sling.apache.org/site/sling-api.html
</Bundle-DocURL>
- <Export-Package>
- org.apache.sling.api;version=2.2,
- org.apache.sling.api.adapter;version=2.2,
- org.apache.sling.api.auth;version=1.0,
- org.apache.sling.api.request;version=2.2,
- org.apache.sling.api.resource;version=2.1,
- org.apache.sling.api.scripting;version=2.1,
- org.apache.sling.api.servlets;version=2.1,
- org.apache.sling.api.wrappers;version=2.1
- </Export-Package>
<!-- Require explicit version of the servlet API -->
<Import-Package>
javax.servlet.*;version=2.4,*
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.2")
+package org.apache.sling.api.adapter;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/auth/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/auth/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/auth/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/auth/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("1.0")
+package org.apache.sling.api.auth;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.2")
+package org.apache.sling.api;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.2")
+package org.apache.sling.api.request;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.1")
+package org.apache.sling.api.resource;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.1")
+package org.apache.sling.api.scripting;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.1")
+package org.apache.sling.api.servlets;
+
+import aQute.bnd.annotation.Version;
+
Added:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/wrappers/package-info.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/wrappers/package-info.java?rev=1336883&view=auto
==============================================================================
---
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/wrappers/package-info.java
(added)
+++
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/wrappers/package-info.java
Thu May 10 21:03:29 2012
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("2.1")
+package org.apache.sling.api.wrappers;
+
+import aQute.bnd.annotation.Version;
+