11/*
2- * Python :: ITs :: Plugin
3- * Copyright (C) 2012 SonarSource and Waleri Enns
4- * sonarqube@googlegroups. com
2+ * SonarQube Python Plugin
3+ * Copyright (C) 2012-2016 SonarSource SA
4+ * mailto:contact AT sonarsource DOT com
55 *
66 * This program is free software; you can redistribute it and/or
77 * modify it under the terms of the GNU Lesser General Public
1313 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1414 * Lesser General Public License for more details.
1515 *
16- * You should have received a copy of the GNU Lesser General Public
17- * License along with this program; if not, write to the Free Software
18- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
16+ * You should have received a copy of the GNU Lesser General Public License
17+ * along with this program; if not, write to the Free Software Foundation,
18+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919 */
2020package com .sonar .python .it .plugin ;
2121
3030import java .util .Map ;
3131import java .util .Map .Entry ;
3232
33+ import java .io .File ;
34+
3335import static org .fest .assertions .Assertions .assertThat ;
3436
3537@ RunWith (Suite .class )
@@ -43,7 +45,7 @@ public class Tests {
4345
4446 @ ClassRule
4547 public static Orchestrator ORCHESTRATOR = Orchestrator .builderEnv ()
46- .addPlugin (FileLocation .of ( "../../sonar-python-plugin/target/ sonar-python-plugin.jar" ))
48+ .addPlugin (FileLocation .byWildcardMavenFilename ( new File ( "../../sonar-python-plugin/target" ), " sonar-python-plugin-* .jar" ))
4749 .restoreProfileAtStartup (FileLocation .of ("profiles/no_rule.xml" ))
4850 .restoreProfileAtStartup (FileLocation .of ("profiles/pylint.xml" ))
4951 .build ();
0 commit comments