Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/invoker-report/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/invoker-report/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/invoker-report/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/invoker-report/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; @@ -10,4 +29,4 @@ if ( !reportFile.exists() ) return false; } -return true; \ No newline at end of file +return true;
Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/src/it/project/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/src/it/project/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/src/it/project/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/src/it/project/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-default/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-isolated/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-isolated/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-isolated/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-isolated/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-path/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-path/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-path/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/local-repo-path/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-encoding/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-encoding/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-encoding/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-encoding/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-reactor/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-reactor/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-reactor/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering-reactor/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/pom-filtering/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/pom-less-invocation/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/pom-less-invocation/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/pom-less-invocation/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/pom-less-invocation/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning-reactor/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning-reactor/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning-reactor/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning-reactor/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/setup.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/setup.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/setup.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/project-cloning/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/src/it/project1/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/src/it/project1/invoker.properties?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/src/it/project1/invoker.properties (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/src/it/project1/invoker.properties Sat Sep 6 22:33:50 2014 @@ -1,2 +1,19 @@ +# 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. + invoker.name = Foo -invoker.description = good foo \ No newline at end of file +invoker.description = good foo Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/project-setup/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/invoker.properties?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/invoker.properties (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/invoker.properties Sat Sep 6 22:33:50 2014 @@ -1 +1,18 @@ +# 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. + invoker.goals = clean compile Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/beanshell/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/beanshell/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/beanshell/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/beanshell/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import org.MyClass; System.out.println( MyClass.PUBLIC ); Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/groovy/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/groovy/verify.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/groovy/verify.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/it/groovy/verify.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import org.MyClass; println MyClass.PUBLIC Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/main/java/org/MyClass.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/main/java/org/MyClass.java?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/main/java/org/MyClass.java (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-accessibility/src/main/java/org/MyClass.java Sat Sep 6 22:33:50 2014 @@ -1,5 +1,25 @@ package org; +/* + * 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. + */ + + public class MyClass { Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/prebuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/prebuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/prebuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/prebuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/selector.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/selector.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/selector.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/beanshell/selector.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/postbuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/postbuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/postbuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/postbuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/prebuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/prebuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/prebuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/prebuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/selector.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/selector.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/selector.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-additional-vars/src/it/groovy/selector.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/invoker.properties?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/invoker.properties (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/invoker.properties Sat Sep 6 22:33:50 2014 @@ -1 +1,18 @@ +# 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. + invoker.goals = clean test-compile Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/prebuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/prebuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/prebuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/beanshell/prebuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/postbuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/postbuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/postbuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/postbuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/prebuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/prebuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/prebuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/it/groovy/prebuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/test/java/org/MyUtils.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/test/java/org/MyUtils.java?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/test/java/org/MyUtils.java (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-class-loading/src/test/java/org/MyUtils.java Sat Sep 6 22:33:50 2014 @@ -1,5 +1,25 @@ package org; +/* + * 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. + */ + + public class MyUtils { Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/prebuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/prebuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/prebuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/beanshell/prebuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/postbuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/src/it/groovy/prebuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-classpath-duplicates/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/setup.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/setup.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/setup.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/beanshell/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/setup.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/setup.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/setup.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/setup.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* import java.util.regex.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/verify.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/verify.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/src/it/groovy/verify.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* import java.util.regex.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-context/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/beanshell/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/beanshell/setup.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/beanshell/setup.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/beanshell/setup.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; // marker for parent build that this sub build was indeed run Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/groovy/setup.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/groovy/setup.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/groovy/setup.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/src/it/groovy/setup.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; // marker for parent build that this sub build was indeed run Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-errors/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/setup.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/setup.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/setup.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/beanshell/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/setup.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/setup.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/setup.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/setup.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* import java.util.regex.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/verify.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/verify.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-global-vars/src/it/groovy/verify.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.util.* import java.util.regex.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/prebuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/prebuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/prebuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/beanshell/prebuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.lang.reflect.*; import java.util.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/postbuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/src/it/groovy/prebuild.groovy Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.* import java.lang.reflect.* import java.util.* Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/verify.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/verify.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-interpreter-detection/verify.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; import java.util.*; import java.util.regex.*; Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/script-verify-xml/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/script-verify-xml/verify.groovy?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/script-verify-xml/verify.groovy (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/script-verify-xml/verify.groovy Sat Sep 6 22:33:50 2014 @@ -1,48 +1,67 @@ -// from http://groovy.codehaus.org/Reading+XML+using+Groovy's+XmlSlurper -// A lot of examples covering xml assertions - -class XmlExamples { - static def CAR_RECORDS = ''' - <records> - <car name='HSV Maloo' make='Holden' year='2006'> - <country>Australia</country> - <record type='speed'>Production Pickup Truck with speed of 271kph</record> - </car> - <car name='P50' make='Peel' year='1962'> - <country>Isle of Man</country> - <record type='size'>Smallest Street-Legal Car at 99cm wide and 59 kg in weight</record> - </car> - <car name='Royale' make='Bugatti' year='1931'> - <country>France</country> - <record type='price'>Most Valuable Car at $15 million</record> - </car> - </records> - ''' -} -def records = new XmlSlurper().parseText(XmlExamples.CAR_RECORDS) -def allRecords = records.car -assert 3 == allRecords.size() -def allNodes = records.depthFirst().collect{ it } -assert 10 == allNodes.size() -def firstRecord = records.car[0] -assert 'car' == firstRecord.name() -assert 'Holden' == [email protected]() -assert 'Australia' == firstRecord.country.text() -def carsWith_e_InMake = records.car.findAll{ [email protected]().contains('e') } -assert carsWith_e_InMake.size() == 2 -// alternative way to find cars with 'e' in make -assert 2 == records.car.findAll{ it.@make =~ '.*e.*' }.size() -// makes of cars that have an 's' followed by an 'a' in the country -assert ['Holden', 'Peel'] == records.car.findAll{ it.country =~ '.*s.*a.*' }[email protected]{ it.text() } -def expectedRecordTypes = ['speed', 'size', 'price'] -assert expectedRecordTypes == records.depthFirst().grep{ it.@type != '' }.'@type'*.text() -assert expectedRecordTypes == records.'**'.grep{ it.@type != '' }.'@type'*.text() -def countryOne = records.car[1].country -assert 'Peel' == countryOne.parent()[email protected]() -assert 'Peel' == countryOne.'..'[email protected]() -// names of cars with records sorted by year -def sortedNames = records.car.list().sort{ [email protected]() }.'@name'*.text() -assert ['Royale', 'P50', 'HSV Maloo'] == sortedNames -assert ['Australia', 'Isle of Man'] == records.'**'.grep{ it.@type =~ 's.*' }*.parent().country*.text() -assert 'co-re-co-re-co-re' == records.car.children().collect{ it.name()[0..1] }.join('-') -assert 'co-re-co-re-co-re' == records.car.'*'.collect{ it.name()[0..1] }.join('-') \ No newline at end of file +/* + * 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. + */ + +// from http://groovy.codehaus.org/Reading+XML+using+Groovy's+XmlSlurper +// A lot of examples covering xml assertions + +class XmlExamples { + static def CAR_RECORDS = ''' + <records> + <car name='HSV Maloo' make='Holden' year='2006'> + <country>Australia</country> + <record type='speed'>Production Pickup Truck with speed of 271kph</record> + </car> + <car name='P50' make='Peel' year='1962'> + <country>Isle of Man</country> + <record type='size'>Smallest Street-Legal Car at 99cm wide and 59 kg in weight</record> + </car> + <car name='Royale' make='Bugatti' year='1931'> + <country>France</country> + <record type='price'>Most Valuable Car at $15 million</record> + </car> + </records> + ''' +} +def records = new XmlSlurper().parseText(XmlExamples.CAR_RECORDS) +def allRecords = records.car +assert 3 == allRecords.size() +def allNodes = records.depthFirst().collect{ it } +assert 10 == allNodes.size() +def firstRecord = records.car[0] +assert 'car' == firstRecord.name() +assert 'Holden' == [email protected]() +assert 'Australia' == firstRecord.country.text() +def carsWith_e_InMake = records.car.findAll{ [email protected]().contains('e') } +assert carsWith_e_InMake.size() == 2 +// alternative way to find cars with 'e' in make +assert 2 == records.car.findAll{ it.@make =~ '.*e.*' }.size() +// makes of cars that have an 's' followed by an 'a' in the country +assert ['Holden', 'Peel'] == records.car.findAll{ it.country =~ '.*s.*a.*' }[email protected]{ it.text() } +def expectedRecordTypes = ['speed', 'size', 'price'] +assert expectedRecordTypes == records.depthFirst().grep{ it.@type != '' }.'@type'*.text() +assert expectedRecordTypes == records.'**'.grep{ it.@type != '' }.'@type'*.text() +def countryOne = records.car[1].country +assert 'Peel' == countryOne.parent()[email protected]() +assert 'Peel' == countryOne.'..'[email protected]() +// names of cars with records sorted by year +def sortedNames = records.car.list().sort{ [email protected]() }.'@name'*.text() +assert ['Royale', 'P50', 'HSV Maloo'] == sortedNames +assert ['Australia', 'Isle of Man'] == records.'**'.grep{ it.@type =~ 's.*' }*.parent().country*.text() +assert 'co-re-co-re-co-re' == records.car.children().collect{ it.name()[0..1] }.join('-') +assert 'co-re-co-re-co-re' == records.car.'*'.collect{ it.name()[0..1] }.join('-') Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/invoker.properties?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/invoker.properties (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/invoker.properties Sat Sep 6 22:33:50 2014 @@ -1 +1,18 @@ +# 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. + invoker.java.version = 1.4-, 1.4, 1.5+ Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/postbuild.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/postbuild.bsh?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/postbuild.bsh (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-match/postbuild.bsh Sat Sep 6 22:33:50 2014 @@ -1,3 +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 + * + * 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. + */ + import java.io.*; // create touch file so that the parent build can verify whether this build was executed Modified: maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-mismatch/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-mismatch/invoker.properties?rev=1622958&r1=1622957&r2=1622958&view=diff ============================================================================== --- maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-mismatch/invoker.properties (original) +++ maven/plugins/trunk/maven-invoker-plugin/src/it/selector-conditions/src/it/jre-version-mismatch/invoker.properties Sat Sep 6 22:33:50 2014 @@ -1 +1,18 @@ +# 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. + invoker.java.version = 1.2
