Author: alien11689 Date: Fri Feb 17 22:08:50 2017 New Revision: 1783474 URL: http://svn.apache.org/viewvc?rev=1783474&view=rev Log: [ARIES-1685] Add integration tests for BMP
Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/src/main/java/org/apache/aries/blueprint/annotation/bean/packageinfo - copied unchanged from r1781298, aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/src/main/java/org/apache/aries/blueprint/annotation/referencelistener/packageinfo aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/ (with props) aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/pom.xml aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/T1.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/verify.groovy aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/ (with props) aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/pom.xml aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/T1.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/T2.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/verify.groovy aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/ (with props) aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/pom.xml aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/T1.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/T2.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/T3.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/verify.groovy aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/ (with props) aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/pom.xml aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T1.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T2.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/verify.groovy Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/ResourceInitializer.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/handlers/bean/BeanHandler.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/model/BeanRefStore.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceWithTypedParameters.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BasicBean.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BeanWithCallbackMethods.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/NamedBean.java aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/SimpleProducedBean.java Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml Fri Feb 17 22:08:50 2017 @@ -99,6 +99,26 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>1.10</version> + <configuration> + <projectsDirectory>src/it</projectsDirectory> + <pomIncludes> + <pomInclude>**/pom.xml</pomInclude> + </pomIncludes> + <postBuildHookScript>verify</postBuildHookScript> + <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> + </configuration> + <executions> + <execution> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> <plugins> @@ -136,6 +156,7 @@ </plugin> </plugins> </pluginManagement> + </build> <dependencies> @@ -329,5 +350,4 @@ </dependencies> - </project> Propchange: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Fri Feb 17 22:08:50 2017 @@ -0,0 +1 @@ +build.log Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/pom.xml URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/pom.xml?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/pom.xml (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/pom.xml Fri Feb 17 22:08:50 2017 @@ -0,0 +1,58 @@ +<!-- + 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. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.aries.blueprint.plugin.itest</groupId> + <artifactId>simple-project</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <dependencies> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.aries.blueprint</groupId> + <artifactId>blueprint-maven-plugin</artifactId> + <version>@project.version@</version> + <configuration> + <generatedFileName>blueprint.xml</generatedFileName> + <generatedDir>custom/my</generatedDir> + </configuration> + <executions> + <execution> + <goals> + <goal>add-resource-dir</goal> + <goal>blueprint-generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/T1.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/T1.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/T1.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/src/main/java/p1/T1.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p1; + +import javax.inject.Singleton; + +@Singleton +public class T1 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/verify.groovy URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/verify.groovy?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/verify.groovy (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/custom-destination/verify.groovy Fri Feb 17 22:08:50 2017 @@ -0,0 +1,25 @@ +/* + * 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. + */ + +def file = new File(basedir, 'target/generated-sources/blueprint/custom/my/blueprint.xml') +assert file.exists() +def xml = new groovy.util.XmlSlurper().parse(file) +assert xml.name() == 'blueprint' +assert xml.bean.@class == 'p1.T1' +assert xml.bean.@id == 't1' Propchange: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Fri Feb 17 22:08:50 2017 @@ -0,0 +1 @@ +build.log Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/pom.xml URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/pom.xml?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/pom.xml (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/pom.xml Fri Feb 17 22:08:50 2017 @@ -0,0 +1,74 @@ +<!-- + 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. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.aries.blueprint.plugin.itest</groupId> + <artifactId>simple-project</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <dependencies> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.aries.blueprint</groupId> + <artifactId>blueprint-maven-plugin</artifactId> + <version>@project.version@</version> + <executions> + <execution> + <id>p1</id> + <goals> + <goal>blueprint-generate</goal> + </goals> + <configuration> + <scanPaths> + <scanPath>p1</scanPath> + </scanPaths> + <generatedFileName>p1.xml</generatedFileName> + <defaultActivation>LAZY</defaultActivation> + </configuration> + </execution> + <execution> + <id>p2</id> + <goals> + <goal>blueprint-generate</goal> + </goals> + <configuration> + <scanPaths> + <scanPath>p2</scanPath> + </scanPaths> + <generatedFileName>p2.xml</generatedFileName> + <defaultActivation>EAGER</defaultActivation> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/T1.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/T1.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/T1.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p1/T1.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p1; + +import javax.inject.Singleton; + +@Singleton +public class T1 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/T2.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/T2.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/T2.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/src/main/java/p2/T2.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p2; + +import javax.inject.Singleton; + +@Singleton +public class T2 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/verify.groovy URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/verify.groovy?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/verify.groovy (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/multiple-invocation/verify.groovy Fri Feb 17 22:08:50 2017 @@ -0,0 +1,36 @@ +/* + * 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. + */ + +def p1 = new File(basedir, 'target/generated-sources/blueprint/OSGI-INF/blueprint/p1.xml') +assert p1.exists() +def xmlP1 = new groovy.util.XmlSlurper().parse(p1) +assert xmlP1.name() == 'blueprint' +assert xmlP1.'@default-activation' == 'lazy' +assert xmlP1.bean.find { it.@class == 'p2.T2' }.size() == 0 +assert xmlP1.bean.@class == 'p1.T1' +assert xmlP1.bean.@id == 't1' + +def p2 = new File(basedir, 'target/generated-sources/blueprint/OSGI-INF/blueprint/p2.xml') +assert p2.exists() +def xmlP2 = new groovy.util.XmlSlurper().parse(p2) +assert xmlP2.name() == 'blueprint' +assert xmlP2.'@default-activation' == 'eager' +assert xmlP2.bean.find { it.@class == 'p1.T1' }.size() == 0 +assert xmlP2.bean.@class == 'p2.T2' +assert xmlP2.bean.@id == 't2' \ No newline at end of file Propchange: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Fri Feb 17 22:08:50 2017 @@ -0,0 +1 @@ +build.log Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/pom.xml URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/pom.xml?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/pom.xml (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/pom.xml Fri Feb 17 22:08:50 2017 @@ -0,0 +1,59 @@ +<!-- + 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. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.aries.blueprint.plugin.itest</groupId> + <artifactId>simple-project</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <dependencies> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.aries.blueprint</groupId> + <artifactId>blueprint-maven-plugin</artifactId> + <version>@project.version@</version> + <configuration> + <scanPaths> + <scanPath>p2</scanPath> + </scanPaths> + </configuration> + <executions> + <execution> + <goals> + <goal>add-resource-dir</goal> + <goal>blueprint-generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/T1.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/T1.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/T1.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p1/T1.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p1; + +import javax.inject.Singleton; + +@Singleton +public class T1 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/T2.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/T2.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/T2.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/T2.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p2; + +import javax.inject.Singleton; + +@Singleton +public class T2 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/T3.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/T3.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/T3.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/src/main/java/p2/inner/T3.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,28 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p2.inner; + +import javax.inject.Singleton; +import javax.inject.Named; + +@Singleton +@Named("test3") +public class T3 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/verify.groovy URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/verify.groovy?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/verify.groovy (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/scanpath-restrict/verify.groovy Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/* + * 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. + */ + +def file = new File(basedir, 'target/generated-sources/blueprint/OSGI-INF/blueprint/autowire.xml') +assert file.exists() + +def xml = new groovy.util.XmlSlurper().parse(file) +assert xml.bean.find {it.@class == 'p1.T1'}.size() == 0 +assert xml.bean.find {it.@class == 'p2.T2'}.@id == 't2' +assert xml.bean.find {it.@class == 'p2.inner.T3'}.@id == 'test3' Propchange: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Fri Feb 17 22:08:50 2017 @@ -0,0 +1 @@ +build.log Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/pom.xml URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/pom.xml?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/pom.xml (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/pom.xml Fri Feb 17 22:08:50 2017 @@ -0,0 +1,54 @@ +<!-- + 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. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.aries.blueprint.plugin.itest</groupId> + <artifactId>simple-project</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <dependencies> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.aries.blueprint</groupId> + <artifactId>blueprint-maven-plugin</artifactId> + <version>@project.version@</version> + <executions> + <execution> + <goals> + <goal>add-resource-dir</goal> + <goal>blueprint-generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T1.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T1.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T1.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T1.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,26 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p1; + +import javax.inject.Singleton; + +@Singleton +public class T1 { + +} \ No newline at end of file Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T2.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T2.java?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T2.java (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/src/main/java/p1/T2.java Fri Feb 17 22:08:50 2017 @@ -0,0 +1,22 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ +package p1; + +public class T2 { +} Added: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/verify.groovy URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/verify.groovy?rev=1783474&view=auto ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/verify.groovy (added) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/it/simple-project/verify.groovy Fri Feb 17 22:08:50 2017 @@ -0,0 +1,25 @@ +/* + * 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. + */ + +def file = new File(basedir, 'target/generated-sources/blueprint/OSGI-INF/blueprint/autowire.xml') +assert file.exists() +def xml = new groovy.util.XmlSlurper().parse(file) +assert xml.name() == 'blueprint' +assert xml.bean.find{ it.@class == 'p1.T1'}.@id == 't1' +assert xml.bean.find{ it.@class == 'p1.T2'}.size() == 0 Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/ResourceInitializer.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/ResourceInitializer.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/ResourceInitializer.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/ResourceInitializer.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin; import org.apache.maven.model.Resource; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/handlers/bean/BeanHandler.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/handlers/bean/BeanHandler.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/handlers/bean/BeanHandler.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/handlers/bean/BeanHandler.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.handlers.bean; import org.apache.aries.blueprint.annotation.bean.Activation; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/model/BeanRefStore.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/model/BeanRefStore.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/model/BeanRefStore.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/model/BeanRefStore.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.model; import java.util.Collection; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceWithTypedParameters.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceWithTypedParameters.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceWithTypedParameters.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/ServiceWithTypedParameters.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.test; import org.ops4j.pax.cdi.api.OsgiServiceProvider; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BasicBean.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BasicBean.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BasicBean.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BasicBean.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.test.bean; import org.apache.aries.blueprint.annotation.bean.Activation; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BeanWithCallbackMethods.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BeanWithCallbackMethods.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BeanWithCallbackMethods.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/BeanWithCallbackMethods.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.test.bean; import org.apache.aries.blueprint.annotation.bean.Activation; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/NamedBean.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/NamedBean.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/NamedBean.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/NamedBean.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.test.bean; import org.apache.aries.blueprint.annotation.bean.Activation; Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/SimpleProducedBean.java URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/SimpleProducedBean.java?rev=1783474&r1=1783473&r2=1783474&view=diff ============================================================================== --- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/SimpleProducedBean.java (original) +++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/test/java/org/apache/aries/blueprint/plugin/test/bean/SimpleProducedBean.java Fri Feb 17 22:08:50 2017 @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ package org.apache.aries.blueprint.plugin.test.bean; public class SimpleProducedBean {