This is an automated email from the ASF dual-hosted git repository. olamy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
The following commit(s) were added to refs/heads/master by this push: new dfe667f remove emma it this tool does not exists anymore dfe667f is described below commit dfe667f1fd1231d1ade0230fd9652236d827398e Author: olivier lamy <ol...@apache.org> AuthorDate: Fri Nov 30 14:04:20 2018 +1000 remove emma it this tool does not exists anymore Signed-off-by: olivier lamy <ol...@apache.org> --- src/it/emma-plugin-it/a/pom.xml | 35 --------- .../a/src/main/java/hello/Hello.java | 29 -------- .../a/src/test/java/hello/HelloTest.java | 32 --------- src/it/emma-plugin-it/b/pom.xml | 35 --------- .../b/src/main/java/byebye/ByeBye.java | 29 -------- .../b/src/test/java/byebye/ByeByeTest.java | 33 --------- src/it/emma-plugin-it/pom.xml | 83 ---------------------- src/it/emma-plugin-it/verify.bsh | 48 ------------- 8 files changed, 324 deletions(-) diff --git a/src/it/emma-plugin-it/a/pom.xml b/src/it/emma-plugin-it/a/pom.xml deleted file mode 100644 index 14edab6..0000000 --- a/src/it/emma-plugin-it/a/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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> - <parent> - <groupId>org.apache.maven.plugins.site.its</groupId> - <artifactId>emma-plugin-it</artifactId> - <version>1.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>it03-a</artifactId> - - <name>EMMA plugin :: Integration test 03 :: A</name> -</project> diff --git a/src/it/emma-plugin-it/a/src/main/java/hello/Hello.java b/src/it/emma-plugin-it/a/src/main/java/hello/Hello.java deleted file mode 100644 index de915f7..0000000 --- a/src/it/emma-plugin-it/a/src/main/java/hello/Hello.java +++ /dev/null @@ -1,29 +0,0 @@ -package hello; - -/* - * 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 Hello -{ - public String hello( String name ) - { - final String myName = name == null ? "world" : name; - return "Hello " + myName + "!"; - } -} diff --git a/src/it/emma-plugin-it/a/src/test/java/hello/HelloTest.java b/src/it/emma-plugin-it/a/src/test/java/hello/HelloTest.java deleted file mode 100644 index 33e5be8..0000000 --- a/src/it/emma-plugin-it/a/src/test/java/hello/HelloTest.java +++ /dev/null @@ -1,32 +0,0 @@ -package hello; - -/* - * 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 junit.framework.TestCase; - -public class HelloTest extends TestCase -{ - public void testHello() - { - final Hello hello = new Hello(); - assertEquals( "Hello world!", hello.hello( null ) ); - assertEquals( "Hello EMMA!", hello.hello( "EMMA" ) ); - } -} diff --git a/src/it/emma-plugin-it/b/pom.xml b/src/it/emma-plugin-it/b/pom.xml deleted file mode 100644 index 4985d69..0000000 --- a/src/it/emma-plugin-it/b/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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> - <parent> - <groupId>org.apache.maven.plugins.site.its</groupId> - <artifactId>emma-plugin-it</artifactId> - <version>1.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>it03-b</artifactId> - - <name>EMMA plugin :: Integration test 03 :: B</name> -</project> diff --git a/src/it/emma-plugin-it/b/src/main/java/byebye/ByeBye.java b/src/it/emma-plugin-it/b/src/main/java/byebye/ByeBye.java deleted file mode 100644 index 4a798ed..0000000 --- a/src/it/emma-plugin-it/b/src/main/java/byebye/ByeBye.java +++ /dev/null @@ -1,29 +0,0 @@ -package byebye; - -/* - * 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 ByeBye -{ - public String byebye( String name ) - { - final String myName = name == null ? "world" : name; - return "Bye bye " + myName + "!"; - } -} diff --git a/src/it/emma-plugin-it/b/src/test/java/byebye/ByeByeTest.java b/src/it/emma-plugin-it/b/src/test/java/byebye/ByeByeTest.java deleted file mode 100644 index bfc2fa5..0000000 --- a/src/it/emma-plugin-it/b/src/test/java/byebye/ByeByeTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package byebye; - -/* - * 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 byebye.ByeBye; -import junit.framework.TestCase; - -public class ByeByeTest extends TestCase -{ - public void testByeBye() - { - final ByeBye byeBye = new ByeBye(); - assertEquals( "Bye bye world!", byeBye.byebye( null ) ); - assertEquals( "Bye bye EMMA!", byeBye.byebye( "EMMA" ) ); - } -} diff --git a/src/it/emma-plugin-it/pom.xml b/src/it/emma-plugin-it/pom.xml deleted file mode 100644 index d7176bc..0000000 --- a/src/it/emma-plugin-it/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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.maven.plugins.site.its</groupId> - <artifactId>emma-plugin-it</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>EMMA plugin :: Integration test 03</name> - - <dependencies> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.3</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <version>1.3.0</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.2</version> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <artifactId>maven-site-plugin</artifactId> - <version>@project.version@</version> - </plugin> - </plugins> - </build> - - <reporting> - <excludeDefaults>true</excludeDefaults> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>emma-maven-plugin</artifactId> - <version>1.0-alpha-3</version> - <configuration> - <filters> - <filter>+hello.*</filter> - <filter>+byebye.*</filter> - </filters> - </configuration> - </plugin> - </plugins> - </reporting> - - <modules> - <module>a</module> - <module>b</module> - </modules> -</project> diff --git a/src/it/emma-plugin-it/verify.bsh b/src/it/emma-plugin-it/verify.bsh deleted file mode 100644 index 4d873ce..0000000 --- a/src/it/emma-plugin-it/verify.bsh +++ /dev/null @@ -1,48 +0,0 @@ -/* - * 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. - */ - -File aEmmaIndex = new File( basedir, "a/target/site/emma/index.html" ); -if ( !aEmmaIndex.exists() || aEmmaIndex.length() == 0 ) -{ - System.out.println( "Missing 'index.html' for A" ); - return false; -} - -File aEmmaFiles = new File( basedir, "a/target/site/emma/_files" ); -if ( !aEmmaFiles.exists() || aEmmaFiles.list().length == 0 ) -{ - System.out.println( "Missing or empty directory '_files' for A" ); - return false; -} - -File bEmmaIndex = new File( basedir, "b/target/site/emma/index.html" ); -if ( !bEmmaIndex.exists() || bEmmaIndex.length() == 0 ) -{ - System.out.println( "Missing 'index.html' for B" ); - return false; -} - -File bEmmaFiles = new File( basedir, "b/target/site/emma/_files" ); -if ( !bEmmaFiles.exists() || bEmmaFiles.list().length == 0 ) -{ - System.out.println( "Missing or empty directory '_files' for B" ); - return false; -} - -return true;